FCT_Tokenomics
Implements the tokenomics algorithm.
Process the FCT return struct (from the FCT_Engine) and returns payers and payees for the FCT_Actuator to use.
Main Functions
setFeesAndShares
Defines activation fees and payment split between the activator and the FCT builder.
calcPayments
Calculates all fees for an FCT. Aggregates payments by adjacent payers. Returns a list of payers, effective gas for each one of them that represents the cumulative cost (base+fee+bonus), builder and activator shares, and the builder identity.
estimateExtraCommonGas
Returns the estimated gas for doing the actual payments, so it can be added to in advance to payers fees.
Last updated