Stargaze Fair Burn v1.0.4
Details
Description
"## Store WASM Code\n\nThis proposal uploads the code for Stargaze Fair Burn v1.0.4\n\nThe source code is available at https://github.com/public-awesome/core/releases/tag/stargaze_fair_burn-v1.0.4\n\nThe 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:\n\n- 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.\n- 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.\n- The specified recipient address can be used as a developer payout address.\n\nTo integrate with the Stargaze Fair Burn contract please refer to the following documentation https://crates.io/crates/stargaze-fair-burn\n\n### Compile Instructions\n\nsh\ndocker run --rm -v \"$(pwd)\":/code --platform linux/amd64 \\\n\t--mount type=volume,source=\"$(basename \"$(pwd)\")_cache\",target=/code/target \\\n\t--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \\\n\tcosmwasm/workspace-optimizer:0.12.13\n\n\nThis results in the following SHA256 checksum:\n\n\nbf1497f4303d20c1db5f1af2ccec7b367e150c84c5e86f6a2798a1c4cc0d52c9 stargaze_fair_burn.wasm\n\n\n### Verify On-chain Contract\n\nsh\nstarsd q gov proposal $id --output json \\\\\n| jq -r '.content.wasm_byte_code' \\\\\n| base64 -d \\\\\n| gzip -dc \\\\\n| sha256sum\n\n\n\n### Verify Local Contract\n\n\nsha256sum artifacts/stargaze_fair_burn.wasm\n\n"
Votes