Core Functions
Allows anyone to distribute an undistributed balance of token (i.e. M, Cash, etc) to Zero holders pro rata to their respective balances at the end of the current epoch.
Gets current epoch
Stores delta between current balanceOf Vault and last stored balance per current epoch.
Allows ZERO holders to claim their accumulated distributed token (i.e. M, Cash, etc) for an arbitrarily ordered array of previous epochs.
For each epoch from to inclusives:
Checks if has not claimed their distribution yet
Calculates pro-rata share of distributable funds based on balance of at the end of epoch
Returns total claimable amount for all eligible epochs.
Allows ZERO holders to claim their accumulated distributed token (i.e. M, Cash, etc) between a previous start and end epoch, inclusively.
For each epoch from to inclusives:
Claims funds, if not claimed yet, for
Sets
Transfers claimed of to
Returns claimed amount.
Last updated