Core Functions
Last updated
Last updated
Copyright 2024 M^0 Foundation
Allows any user to purchase POWER token inflation of inactive participants.
Reverts if
Reverts if OR are equal to 0
Calculates the amount for purchase as
Reverts if the available amount is less than
Calculates for purchase
Transfers of tokens from to Vault
Mints of tokens to
Returns .
Reverts if not called by
Sets target inflated supply for a next voting epoch.
Reverts if not called by
If voted on all proposals in the current epoch: - Inflate their voting power - Add inflation to of POWER token.
Saves value of next cash token for starting next Auction with new Cash token.
Reverts if not called by
Returns the total amount of tokens available for the auction: - If epoch is Voting epoch, return 0 - If epoch is Transfer epoch, return .
Returns cost in per amount in token.
Returns target supply of POWER token if all POWER inflation is minted (i.e. was auctioned of).