Proposal Details

Proposal #164

Passed

Proposal title

Deploy PixelWizards cw-wager contract

Submit time

Deposit end time

Voting start time

Voting end time

Tally result

99.61%

Proposal #164 description

Summary - Store WASM Code

cw-wager matches owners of Pixel Wizards NFTs looking to make a bet on which of two crypto token assets will surge the most in price (by percentage points) in a specified amount of time. More info about the game available on Medium.

Querying the contract

  • Wagers { } returns all currently running wagers
  • Wager { token: u64 } returns a wager the specified token is involved in
  • TokenStatus { token: u64 } returns if a token is in a wager or the matchmaking pool
  • Matchmaking { } returns all tokens currently in the matchmaking pool
  • Config { } returns the current configuration of the contract

Wagering against other assets using cw-wager

cw-wager matches owners of Pixel Wizards NFTs looking to make a bet on which of two assets will surge the most in price (by percentage points) in a specified amount of time.

Both parties must have bet the same amount (available in increments determined at instantiation). The winner of the wager gains all of the funds deposited, minus a set percentage for service fees and fair burn, both of which are set at instantiation and can be updated by the contract admin.

Party 1 submit their intentions to start a wager to the contract, which matches them immediately if another party's submission matches their specific conditions. If none are available, Party 1 is added to the matchmaking pool, and their wager will be started when a suitable opponent is found. The time in seconds for a matchmaking item to expire can be set at instantiation.

Example:

  • stars1...abc has a $STARS Pixel Wizard and wants to bet against $OSMO or $JUNO for 30m.
  • stars1...9fg has a $JUNO Pixel Wizard and wants to bet against $STARS, $OSMO or $BTC for 30m.

The contract will match both of these users, and a cosmjs agent will determine the winner of the wager based on data made publicly available by the Pixel Wizards Knowledge API, with prices pulled every two minutes from Coingecko's API.

Commonwealth: https://gov.stargaze.zone/discussion/10183-deploy-pixelwizards-cwwager-contract

Source: https://github.com/pixelwizardsnft/cw-wager

Testnet deploymenthttps://duel.pixelwizards.art

Twitterhttps://twitter.com/pixlwizardsnft

Discord: https://discord.gg/pixelwizards

Checksum

81d325cc6c8188b702fef5b058afd13248e218ca902bc7b9f9d8ebac20fc8265 cw_wager-aarch64.wasm

Proposal #164 overview

Total votes
2,218
Voters
2,172
Total deposit
20,000 STARS

Proposal #164 votes

#

Validator

Account Address

Options
1Coinage x DAICYes
2The Cosmos LadiesYes
3CrosnestYes
4Chorus OneYes
5dimi 🦙Yes
6OmniFlix NetworkYes
7Simply StakingYes
8Stakewolle.com | Auto-compoundYes
9MultiplexYes
10Vitwit (Previously Witval)Yes
11IBCNFTs.com 🌈Yes
12DSRVYes
13PUPMØSYes
14a41Yes
15NacionCrypto - ParcerosYes
16NosNode🔮Yes
17Hathor NodeYes
18Easy 2 StakeYes
19BlueStake 🚀 | 100% insuranceYes
20WhisperNode 🤐Yes
21Virtual HiveYes
22#decentralizehk - DHK daoYes
23Stakepile - Auto-restake enableYes
24Imperator.coYes
25StakinYes
26Larry EngineerYes
27Inter Blockchain ServicesYes
28Kalia NetworkYes
29CryptoCrew Validators ✅Yes
30CosmostationYes
31FreshSTAKINGYes
32Gelotto 🛡 Slash ProtectedYes
33in/habitants 🌐Yes
34Bro_n_BroYes
35Ubik CapitalAbstain
36RHINO | 10% to WildlifeYes
37Crypto PlantYes
38LOA LabsYes
390base.vcYes
40GraviDAO Community with Slashing ProtectionYes
41AutoStake 🛡️ Slash ProtectedYes
42rektDAOYes
43Broxa ⚛️ - Ru-Speak Community / SUNREN 🌤️🐳Yes
44Army IDsYes
45Cosmos Spaces ☮️ 💜 ⚛️Yes
46testovichYes
47alkadetaYes
48Smart Stake 📈📊Yes
49web34everYes
50ArcpoolYes
51TheNop.ioYes
52STAKECRAFTYes
53StakerHouseYes
54moonsoonYes
55cyberGYes
56White Marlin StakingYes
57max999Yes
58ushakovYes
59POSTHUMAN 🧬 StakeDropYes
60BlackhoxYes
61CryptoDungeonYes
62✪ramuchi.tech✪Yes
63n1stakeYes
64mahofYes
65Empower Validator ♻️ | 20% to plastic waste cleanupsYes
66KingSuperYes
67dreamstakerYes
68OranG3cluBYes
69polkachu.comYes
70Frens (🤝,🤝)Yes
71D-StakeYes
72StakeAngleYes
73SydYes
74StakecitoYes

View: