3 stable releases

1.0.4 Jun 28, 2023
1.0.2 Jun 14, 2023

#8 in #funds

43 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

~4–6MB
~126K SLoC