WAX Blockchain
The smart contract flow regulating usage of ChainFLEX tools is summarized below:
When executing a TXS based transaction we insert a logflex action which will either allow the transaction to complete or not.
It first checks the TXS balance in the users FLEX Wallet. If there is no FLEX Wallet then one is created with a balance of 10 TXS and the transaction passes.
If there is a FLEX Wallet then it checks if it has been 30 days or more since the last free TXS air-grab. If so then it checks if the user has been active for at least 100 logflex actions. If so then 10 TXS is added to the balance and the transaction passes. If the user has not been active for at least 100 logflex actions then it resets the airdrop timer, adds one to the users logflex count, and allows the transaction to pass for free.
If it has not been 30 days then the requisite TXS fee is deducted and the transaction passes.
If the TXS balance is insufficient to cover the requisite fee then the FLEX balance is checked. If there is at least 1 FLEX then the contract deducts 0.1 FLEX and the transaction passes.
If none of the above pass then the transaction will fail. You must buy more TXS, subscribe, or wait for the next 30 day TXS air grab.
Why do we do it this way? This model does not box you into a use-it or lose-it monthly cost and scales the cost with your actual usage. That way our fee based tools are available to all users, with the tools being free for low volume and generously scaling upward as needed by each individual user. In addition, if there are times when ChainFLEX tools are unavailable for any reason you won't lose TXS or FLEX value since you only pay when you perform logflex actions.
This model is subject to change with market demand.
Last updated