Skip to content

EOS Token with retire and burning for each account. incl. an signup (for making the token RAM cheap). Compatible and tested with EOSIO & WAX

License

Notifications You must be signed in to change notification settings

KFreakDJ/aurian.token

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aurian.token

EOS Token Contract with "Burning" and "Signup" built in (for making the token RAM cheap)

This token uses the standard eosio.token contract with two modifications.

To signup users for use the personal ram:

´cleos push action 1auriantoken signup '{"owner":"iwanttokens1","quantity":"0.0000 AURI"}' -p iwanttokens1@active`

The signup function allows an account to create a balance entry using their own personal ram.

The signup restricts the quantity to 0 however you could configure this in the contract code to allow a "signup bonus". You would have to add some controls to prevent double signups though, so 0 quantity signup is safest.

To burn tokens run the command:

´cleos push action 1auriantoken burn '{"from":"tokensowner1","quantity":"1.0000 AURI","memo":"Lets remove AURI supply!"}' -p tokensowner1@active`

The burn function burns the token from the "from account" and also reduces the supply.

The burn function makes sure you can't burn more tokens than supply.

The burn function has been modified to allow you to burn your zero balance if you don't want to wait for the airdrop.

Guarantee you don't pay ram

Two additional commands have been added:

  1. issuefree
  2. transferfree

These commands work the same as issue and transfer, however they fail if the destination does not have a table row already.

The purpose of this is to prevent you accidentally paying RAM for accounts that unregister from the airgrab (via burn) after you've taken a snapshot.

About

EOS Token with retire and burning for each account. incl. an signup (for making the token RAM cheap). Compatible and tested with EOSIO & WAX

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%