Proposal Details

Proposal #195

Passed

Proposal title

Stargaze Fair Burn v1.0.4

Submit time

Deposit end time

Voting start time

Voting end time

Tally result

98.04%

Proposal #195 description

"## Store WASM Code

This proposal uploads the code for Stargaze Fair Burn v1.0.4

The source code is available at https://github.com/public-awesome/core/releases/tag/stargaze_fair_burn-v1.0.4

The Stargaze Fair Burn contract is is responsible for handling fees paid by other contracts. Fees can be paid in multiple denoms. The Fair Burn contract performs the following logic:

  • If the funds transferred are in STARS, then a percentage of the funds are burned, and the remaining funds are sent either to the treasury, or a specified recipient address.
  • If the funds transferred are not in STARS, then a percentage of the funds are sent to the treasury, and the remaining funds are sent either to the treasury (also), or a specified recipient address.
  • The specified recipient address can be used as a developer payout address.

To integrate with the Stargaze Fair Burn contract please refer to the following documentation https://crates.io/crates/stargaze-fair-burn

Compile Instructions

docker run --rm -v \"$(pwd)\":/code --platform linux/amd64 \\ --mount type=volume,source=\"$(basename \"$(pwd)\")_cache\",target=/code/target \\ --mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \\ cosmwasm/workspace-optimizer:0.12.13

This results in the following SHA256 checksum:

bf1497f4303d20c1db5f1af2ccec7b367e150c84c5e86f6a2798a1c4cc0d52c9 stargaze_fair_burn.wasm

Verify On-chain Contract

starsd q gov proposal $id --output json \\\\ | jq -r '.content.wasm_byte_code' \\\\ | base64 -d \\\\ | gzip -dc \\\\ | sha256sum

Verify Local Contract

sha256sum artifacts/stargaze_fair_burn.wasm

"

Proposal #195 overview

Total votes
1,152
Voters
1,148
Total deposit
50,000 STARS