Proposal Details
Proposal #251
Proposal title
Upload Cosmos Coin Flip update contract
Submit time
Deposit end time
Voting start time
Voting end time
Tally result
Proposal #251 description
Summary - Upload WASM Code for new version of Cosmos Coin Flip
Cosmos Coin Flip is a coinflip game for Cosmos IBC enabled tokens, initially launched April 2023 over 1 Million tokens have been flipped since instantiated. We are pleased to introduce Cosmos Coin Flip v2, which is a wholesale update to increase functionality, attract larger flipping volume and grow the user base.
The following updates are included in the new contract: Expand flipping to multiple denominations. (Starting with & , with options for additional expansion in the future) Increase max bet size. Add 'streaks' functionality allowing users to win NFT or prizes.
Please review and consider the necessary information below.
Github Repo for review: https://github.com/Cosmos-Coin-Flip/Cosmos-Coin-Flip Code diff from previous version: https://github.com/Cosmos-Coin-Flip/Cosmos-Coin-Flip/pull/1/files Website: https://www.cosmoscoinflip.com/ Twitter: https://twitter.com/CosmosCoinFlip Discord: https://discord.gg/TnSKYhs3
Compile Instructions
Source code: https://github.com/Cosmos-Coin-Flip/Cosmos-Coin-Flip
docker run --rm -v "/home/yan/Projects/cosmos-coin-flip/ccf-public/devtools":/code --mount type=volume,source="devtools_cache",target=/target --mount type=volume,source=registry_cache,target=/usr/local/cargo/registry cosmwasm/optimizer:0.15.0
Or clone the repo and run: " ./devtools/optimizer.sh "
This results in the following SHA256 checksum:
ef29dd0f5f42941cb056fe8fe6de4e6f42b0bb37ddcf2ff92d6166d944b44f77
Verify On-chain Contract
starsd q gov proposal --output json
| jq -r '.content.wasm_byte_code'
| base64 -d
| gzip -dc
| sha256sum
Verify Local Contract
sha256sum artifacts/coin_flip.wasm