# Fix Whitelist the Osmosis\<\>WhiteWhale Pool interface contract -\> Prop 742

**URL:** https://forum.osmosis.zone/t/fix-whitelist-the-osmosis-whitewhale-pool-interface-contract-prop-742/2370
**Category:** Proposal Discussion
**Tags:** passed
**Created:** [February 2, 2024, 5:58pm UTC](https://forum.osmosis.zone/t/fix-whitelist-the-osmosis-whitewhale-pool-interface-contract-prop-742/2370 "2024-02-02T17:58:53Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![kerber0x](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.osmosis.zone/kerber0x/32/1662_2.png) [@kerber0x](https://forum.osmosis.zone/u/kerber0x)
#### Post date: [February 2, 2024, 5:58pm UTC](https://forum.osmosis.zone/t/fix-whitelist-the-osmosis-whitewhale-pool-interface-contract-prop-742/2370/1 "2024-02-02T17:58:53Z")

</div>

The Osmosis\<\>WhiteWhale Pool interface contract allows connecting the Osmosis pool manager with White Whale pools. It translates the responses and messages the White Whale pools use to the interfaces Osmosis expects to operate based on the CosmWasm Pool Contract Interface specification found [here](https://github.com/osmosis-labs/osmosis/tree/main/x/cosmwasmpool#cosmwasm-pool-contract-interface).

This completes the White Whale deployment previously discussed in the SAIL proposal.

## Contract information

Release: v1.0.0  
Compiler Version: cosmwasm/optimizer-arm64:0.15.0  
Checksum: 6f884e470d3e99b5745d8dacfa8e2c09e8ffcacabe062e1f4d412ef24e0b0c4f Code repository: [https://github.com/White-Whale-Defi-Platform/white-whale-periphery/tree/main/osmosis-cw-pool](https://github.com/White-Whale-Defi-Platform/white-whale-periphery/tree/main/osmosis-cw-pool)  
Tag: v1.0.0  
Commit ID: 2001cd7

* * *

## New prop 742

So the contract mentioned above, v1.0.0 had an issue preventing the Osmosis pool manager to integrate correctly with the interface contract.

After weeks of assistance by the Osmosis team and testing the end-to-end integration on the testnet, we got the green light by the Osmosis team to push the new contract to the mainnet. Ideally, proposal 742 would be a `MigratePoolContractsProposal`, but due to a bug encountered while testing this on testnet (and fixed [here](https://github.com/osmosis-labs/osmosis/pull/7595)) we were instructed to move forward by uploading the patched contract instead since the `MigratePoolContractsProposal` fix requires a chain upgrade and it would take some time to get it through.

The fix for the interface contract was done [here](https://github.com/White-Whale-Defi-Platform/white-whale-periphery/pull/2).

### Contract details

Release: [v1.0.1](https://github.com/White-Whale-Defi-Platform/white-whale-periphery/releases/tag/v1.0.1)  
Compiler Version: cosmwasm/optimizer-arm64:0.15.0  
Checksum: 500a57b6d62b7f00648aca57b87ccb615b0950dcfa04a4b3e7b9f437979dffaa

---

<div class="post-metadata">

### Author: ![LeonoorsCryptoman](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.osmosis.zone/leonoorscryptoman/32/208_2.png) [@LeonoorsCryptoman](https://forum.osmosis.zone/u/LeonoorsCryptoman)
#### Post date: [February 5, 2024, 3:15pm UTC](https://forum.osmosis.zone/t/fix-whitelist-the-osmosis-whitewhale-pool-interface-contract-prop-742/2370/2 "2024-02-05T15:15:39Z")

</div>

We already whitelisted addresses in proposal #716:

> **[Mintscan](https://www.mintscan.io/osmosis/proposals/716)**
>
> Interchain explorer and analytics powered by Cosmostation.

Is this a new requirement? Not foreseen at that time?  
Or how come do we find a new contract which we need to approve while I (and possibly others) expected that we had whitelisted all we needed in 716?

---

<div class="post-metadata">

### Author: ![kerber0x](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.osmosis.zone/kerber0x/32/1662_2.png) [@kerber0x](https://forum.osmosis.zone/u/kerber0x)
#### Post date: [February 5, 2024, 3:22pm UTC](https://forum.osmosis.zone/t/fix-whitelist-the-osmosis-whitewhale-pool-interface-contract-prop-742/2370/3 "2024-02-05T15:22:43Z")

</div>

Good question!

Yes apparently to upload cosmwasm pools you need to go via another entry point, uploading the contract using the regular store command wouldn’t work. According to the documentation, `cosmwasm pools` need to be uploaded through [`UploadCosmWasmPoolCodeAndWhiteListProposal`](https://github.com/osmosis-labs/osmosis/blob/b94dbe643ff37d93a639f49ee9b81208dbc3ba8c/proto/osmosis/cosmwasmpool/v1beta1/gov.proto#L8-L21) or [`MigratePoolContractsProposal`](https://github.com/osmosis-labs/osmosis/blob/b94dbe643ff37d93a639f49ee9b81208dbc3ba8c/proto/osmosis/cosmwasmpool/v1beta1/gov.proto#L23-L74) in case of migration instead of the usual `StoreCodeProposal` .

So that’s what we are doing. Notice the contract we are uploading, i.e. the osmosis-cw-pool, is just an interface between the osmosis pool manager and the white whale pools that we have already deployed. This will allow users trade on the white whale pools directly through the osmosis frontend.

Prop is live now! [Proposal #723 | Osmosis | Keplr Dashboard](https://wallet.keplr.app/chains/osmosis/proposals/723)

---

<div class="post-metadata">

### Author: ![MattSkyLimit](https://avatars.discourse-cdn.com/v4/letter/m/c0e974/32.png) [@MattSkyLimit](https://forum.osmosis.zone/u/MattSkyLimit)
#### Post date: [February 5, 2024, 3:47pm UTC](https://forum.osmosis.zone/t/fix-whitelist-the-osmosis-whitewhale-pool-interface-contract-prop-742/2370/4 "2024-02-05T15:47:42Z")

</div>

Is everything on the up and up with this proposal? I’m going to defer to the experts in this governance situation. I’m just getting started learning about decentralized governance.

---

<div class="post-metadata">

### Author: ![kerber0x](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.osmosis.zone/kerber0x/32/1662_2.png) [@kerber0x](https://forum.osmosis.zone/u/kerber0x)
#### Post date: [February 5, 2024, 5:36pm UTC](https://forum.osmosis.zone/t/fix-whitelist-the-osmosis-whitewhale-pool-interface-contract-prop-742/2370/5 "2024-02-05T17:36:26Z")

</div>

Hi Matt, this is a missing piece in the original SAIL proposal, found [here](https://forum.osmosis.zone/t/sail-with-the-whale-v2-sail-dao-updated/1041).

Even though the White Whale team has a whitelisted address for contract uploads, we learned we can’t just upload this one as we would do normally since it needs to be done via the specific proposal as i mentioned above.

Cheers and welcome!

---

<div class="post-metadata">

### Author: ![LeonoorsCryptoman](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.osmosis.zone/leonoorscryptoman/32/208_2.png) [@LeonoorsCryptoman](https://forum.osmosis.zone/u/LeonoorsCryptoman)
#### Post date: [February 7, 2024, 2:57pm UTC](https://forum.osmosis.zone/t/fix-whitelist-the-osmosis-whitewhale-pool-interface-contract-prop-742/2370/6 "2024-02-07T14:57:43Z")

</div>

Thanks for the feedback!

In its current form it will pass 🙂
