StakingManager
The StakingManager allows an ERC20 token to be staked by users and distributes pro-rata ETH rewards from Flaunch stream to staking users.
Initialization
/**
* Parameters passed during manager initialization.
*
* @member stakingToken The address of the token to be staked
* @member minEscrowDuration The minimum duration that the creator's NFT is locked for
* @member minStakeDuration The minimum duration that the user's tokens are locked for
* @member creatorShare The share that a creator will earn from their token
* @member ownerShare The share that the manager owner will earn from their token
*/
struct InitializeParams {
address stakingToken;
uint minEscrowDuration;
uint minStakeDuration;
uint creatorShare;
uint ownerShare;
}Deposit
Public Calls
Creator Calls
Who is using the StakingManager?
Last updated
Was this helpful?