ADD: Fixed-fee RUNE for Transactions

This should work:

FEE

All transactions to the statechain cost a fee of 1 Rune to pay for gas. Admins can change this later with: ADMIN:FEE:200000000 will change the fee to 2 RUNE as example.

Transactions

  • Swap token to RUNE: Deduct 1 rune after
  • Swap Rune to token: deduct 1 rune before
  • Swap Token to Token: deduct 1 rune after the first pool
  • Withdraw: deduct 1 rune from the rune withdrawal, and 1 RUNE of asset from the asset (cus two outputs, twice the fee)
  • Refund Rune: deduct 1 Rune after
  • Refund Token: deduct 1 Rune worth of asset
  • Refund n tokens: deduct 1 RUNE worth for each asset

Add all of this rune to the RUNE side of the BNB pool. ie, for 100 outputs, there should be 100 RUNE collected and added to the BNB pool.

this will pay a dividend to BNB stakers by making BNB more valuable, attracting BNB sellers, which accumulates BNB. The fee of RUNE is set to approximately double the BNB required (2-3c).

BNB.GAS && BNB.POOL

  • Maintain a 1 BNB float of BNB in BNB.gas
  • Every time it goes to 0.9 BNB, then deduct 0.1 BNB from BNB.pool and add it to BNB.gas
  • Let anyone top it up with a GAS transaction

Claims

When people send/stake tokens that do not have a pool, then do not refund. Keep it in the address.

CLAIM:ASSET-XXX with 1 RUNE will let them claim assets that are theirs.

Assignee Loading
Time tracking Loading