Launchpad Staking Contract
IFAllocationMaster.sol
Events
event AddTrack(string indexed name, address indexed token);
event DisableTrack(uint24 indexed trackId);
event ActiveRollOver(uint24 indexed trackId, address indexed user);
event BumpSaleCounter(uint24 indexed trackId, uint32 newCount);
event AddUserCheckpoint(uint24 indexed trackId, uint80 blockNumber);
event AddTrackCheckpoint(uint24 indexed trackId, uint80 blockNumber);
event Stake(uint24 indexed trackId, address indexed user, uint104 amount);
event Unstake(uint24 indexed trackId, address indexed user, uint104 amount);Public variables
trackFinishedSaleBlocks
mapping(uint24 => mapping(uint24 => uint80))
public trackFinishedSaleBlocks;trackActiveRollOvers
trackTotalActiveRollOvers
tracks
numTrackStakers
trackStakers
trackCheckpointCounts
trackCheckpoints
userCheckpointCounts
userCheckpoints
Functions
constructor
trackCount
addTrack
bumpSaleCounter
disableTrack
activeRollOver
getUserStakeWeight
getTotalStakeWeight
stake
unstake
Other useful notes
Getting user's stake amount in a track
Last updated