3 stable releases

1.0.4 Jun 28, 2023
1.0.2 Jun 14, 2023

#9 in #fair

38 downloads per month
Used in 3 crates

Apache-2.0

33KB
584 lines

Stargaze Fair Burn

The Stargaze Fair Burn contract is a CosmWasm smart contract deployed on the Stargaze chain. It is responsible for handlintg 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, or a specified recipient address.

Addresses

  • elfagar-1: stars1mp4dg9mst3hxn5xvcd9zllyx6gguu5jsp5tyt9nsfrtghhwj2akqudhls8

lib.rs:

Stargaze Fair Burn

The Stargaze Fair Burn contract is a CosmWasm smart contract deployed on the Stargaze chain. It is responsible for handlintg 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, or a specified recipient address.

Addresses

  • elfagar-1: stars1mp4dg9mst3hxn5xvcd9zllyx6gguu5jsp5tyt9nsfrtghhwj2akqudhls8

Dependencies

~5–7MB
~147K SLoC