stargaze

Prop 195: Stargaze Fair Burn v1.0.4

"## 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

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

This results in the following SHA256 checksum:

<br />bf1497f4303d20c1db5f1af2ccec7b367e150c84c5e86f6a2798a1c4cc0d52c9 stargaze_fair_burn.wasm<br />

### Verify On-chain Contract

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

### Verify Local Contract

<br />sha256sum artifacts/stargaze_fair_burn.wasm<br />
"