3 stable releases

1.0.4 Jun 28, 2023
1.0.2 Jun 14, 2023

#10 in #fair

Download history 19/week @ 2024-02-12 5/week @ 2024-02-19 16/week @ 2024-02-26 16/week @ 2024-03-04 10/week @ 2024-03-11 4/week @ 2024-03-18 31/week @ 2024-03-25 26/week @ 2024-04-01

74 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–5.5MB
~121K SLoC