Smart Contracts
Last updated
Last updated
All of the project related smart contracts are located under “waxfun” short (a.k.a domain) name. WAX.FUN main smart contract is located at account main.waxfun.
All fees generated by WAX.FUN service are to be sent into fees.waxfun account.
Main smart contract act as a factory of all token smart contracts. So we are adding 5 smart contracts initially to allow users to create up to five tickers with the same names, due to the limitation that one standard token smart contract cannot have two exact tickers.
Current list of WAX.FUN Token Smart contracts: alpha.waxfun , beta.waxfun, gamma.waxfun, delta.waxfun, theta.waxfun
Token states, once created, have a state that can be purchased, but cannot be transferred. As main purpose is to wait until it shows on Alcor Swap or user can sell it back at WAX.FUN
Next state is once a token reaches 100% bonding curve, users cannot buy or sell it anymore. It will be deployed into Alcor Swap.
Once upon deployment, it becomes a transferable token.
WAX.FUN Token Smart Contracts mainly act as regular eosio token smart contracts standard, however there are small states of token added to meet platform needs:
If you are familiar with block explorers you can find a new table called tokenmdata. Basically there are fields that we ask users to enter on meme creation process such as Name, Symbol(Ticker), Description, Website, Telegram. Also we store there Creation time and creator account.