Staking
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
0
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
Balances ($0.00)
No balances found for "Staking"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "Staking"
ABI
ABI objects
Getter at block 21219427
getActiveLivePoolIDs() view returns (uint256, uint256[])
(0, [])
getActivePastPoolIDs() view returns (uint256, uint256[])
(0, [])
getActivePoolIDs() view returns (uint256, uint256[])
(0, [])
getActiveUpcomingPoolIDs() view returns (uint256, uint256[])
(0, [])
getInactiveLivePoolIDs() view returns (uint256, uint256[])
(0, [])
getInactivePastPoolIDs() view returns (uint256, uint256[])
(0, [])
getInactivePoolIDs() view returns (uint256, uint256[])
(0, [])
getInactiveUpcomingPoolIDs() view returns (uint256, uint256[])
(0, [])
getLivePoolIDs() view returns (uint256, uint256[])
(0, [])
getPastPoolIDs() view returns (uint256, uint256[])
(0, [])
getStakeholders() view returns (address[])
[]
getUpcomingPoolIDs() view returns (uint256, uint256[])
(0, [])
maxStakePerPool() view returns (uint256)
0
memagToken() view returns (address)
0x0000000000000000000000000000000000000000
owner() view returns (address)
0x0000000000000000000000000000000000000000
stakingReserveAddress() view returns (address)
0x0000000000000000000000000000000000000000
totalPools() view returns (uint256)
0
Read-only
calculateReward(uint256 _poolId, uint256 _amount) view returns (uint256)
getAllStakeDetails(address _address, uint256 _poolId) view returns (struct StakingStakeInfoResponse[])
getAllStakeDetailsFor(address _address) view returns (struct StakingStakeInfoResponse[])
getPoolDetailsFrom(uint256 _startingPoolId, uint256 _numberOfPools) view returns (struct StakingPoolInfoResponse[])
getPools(uint256[] _poolIDs) view returns (struct StakingPoolInfoResponse[])
getStakeCountInPoolsFor(address _address, uint256[] _poolIDs) view returns (uint256, uint256[])
getStakeDetailsInPoolFrom(uint256 _poolId, uint256 _startStakeNum, uint256 _count) view returns (struct StakingStakeInfoResponse[])
getStakeDetailsInPoolsFor(address _address, uint256[] _poolIDs) view returns (struct StakingStakeInfoResponse[])
getStakerInfo(uint256 _poolId, uint256 _stakeNum) view returns (struct StakingStakerInfo)
getStakerInfoFrom(uint256 _poolId, uint256 _startStakeNum, uint256 _count) view returns (struct StakingStakerInfo[])
getTotalStakes(address _address) view returns (uint256)
isStakeholder(address) view returns (bool)
poolDetails(uint256) view returns (string name, uint256 apyPercent, uint256 apyDivisor, uint256 minStakeAmount, uint256 maxStakeAmount, uint256 duration, uint256 startTimestamp, uint256 endTimestamp, bool isActive)
poolExists(uint256 _poolId) view returns (bool)
stakeDetails(address, uint256, uint256) view returns (uint256 poolId, uint256 startTimestamp, uint256 amount, bool isWithdrawn)
stakeExists(address _address, uint256 _poolId, uint256 _stakeId) view returns (bool)
totalStakedAmount(address) view returns (uint256)
totalStakesInPool(uint256) view returns (uint256)
totalStakesInPoolBy(address, uint256) view returns (uint256)
State-modifying
Events createPool(string _name, uint256 _apyPercent, uint256 _apyDivisor, uint256 _minStakeAmount, uint256 _maxStakeAmount, uint256 _duration, uint256 _startTimestamp, uint256 _endTimestamp, bool _isActive)
createStake(uint256 _poolId, uint256 _amount) returns (uint256)
initialize(address _memagAddress, address _stakingReserveAddress, uint256 _maxStakeLimitPerPool)
renounceOwnership()
setMaxStakeLimitPerPool(uint256 _maxStakeLimit)
setStakingReserveAddress(address _reserveAddress)
transferOwnership(address newOwner)
updatePool(uint256 _poolId, string _name, uint256 _apyPercent, uint256 _apyDivisor, uint256 _minStakeAmount, uint256 _maxStakeAmount, uint256 _duration, uint256 _startTimestamp, uint256 _endTimestamp, bool _isActive)
withdrawStake(uint256 _poolId, uint256 _stakeId)
Initialized(uint8 version)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
PoolCreated(address indexed by, uint256 indexed poolId, string name, uint256 apyPercent, uint256 apyDivisor, uint256 minStakeAmount, uint256 maxStakeAmount, uint256 duration, uint256 startTimestamp, uint256 endTimestamp, bool isActive, uint256 createdAt)
PoolUpdated(address indexed by, uint256 indexed poolId, string name, uint256 apyPercent, uint256 apyDivisor, uint256 minStakeAmount, uint256 maxStakeAmount, uint256 duration, uint256 startTimestamp, uint256 endTimestamp, bool isActive, uint256 updatedAt)
RewardWithdrawn(address indexed by, uint256 indexed poolId, uint256 indexed stakeId, uint256 amount, uint256 withdrawnAt)
StakeCreated(address indexed by, uint256 indexed poolId, uint256 indexed stakeId, uint256 startTimestamp, uint256 endTimestamp, uint256 amount)
StakeRemoved(address indexed by, uint256 indexed poolId, uint256 indexed stakeId, uint256 amount, uint256 removedAt)
constructor()
This contract contains no fallback and receive objects.
This contract contains no error objects.