Proposals of #251

Upload Cosmos Coin Flip update contract

Exec Legacy Content
passed
Expected result
Turnout / Quorum
92.38% / 20.00%
Voting start 2024.02.05 at 21:02:23
Voting end 2024.02.08 at 21:02:23
92.83%
689 315 877 stars
Yes
0.00%
29 881 stars
No
0.00%
14 097 stars
Veto
7.16%
53 189 025 stars
Abstain

Details

Proposer
-
Total deposit
25 000 stars
Submit time
2024.02.05 at 21:02:23
Deposit end time
2024.02.19 at 21:02:23

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

Votes

Voter
Answer