Staking

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xf7df029d at 16826753
Slot
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

No balances found for "Staking"

No transactions found for "Staking"


Functions
Getter at block 21219427
getActiveLivePoolIDs(view returns (uint256uint256[])
(0, [])
getActivePastPoolIDs(view returns (uint256uint256[])
(0, [])
getActivePoolIDs(view returns (uint256uint256[])
(0, [])
getActiveUpcomingPoolIDs(view returns (uint256uint256[])
(0, [])
getInactiveLivePoolIDs(view returns (uint256uint256[])
(0, [])
getInactivePastPoolIDs(view returns (uint256uint256[])
(0, [])
getInactivePoolIDs(view returns (uint256uint256[])
(0, [])
getInactiveUpcomingPoolIDs(view returns (uint256uint256[])
(0, [])
getLivePoolIDs(view returns (uint256uint256[])
(0, [])
getPastPoolIDs(view returns (uint256uint256[])
(0, [])
getStakeholders(view returns (address[])
[]
getUpcomingPoolIDs(view returns (uint256uint256[])
(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 _poolIduint256 _amountview returns (uint256)
getAllStakeDetails(address _addressuint256 _poolIdview returns (struct StakingStakeInfoResponse[])
getAllStakeDetailsFor(address _addressview returns (struct StakingStakeInfoResponse[])
getPoolDetailsFrom(uint256 _startingPoolIduint256 _numberOfPoolsview returns (struct StakingPoolInfoResponse[])
getPools(uint256[] _poolIDsview returns (struct StakingPoolInfoResponse[])
getStakeCountInPoolsFor(address _addressuint256[] _poolIDsview returns (uint256uint256[])
getStakeDetailsInPoolFrom(uint256 _poolIduint256 _startStakeNumuint256 _countview returns (struct StakingStakeInfoResponse[])
getStakeDetailsInPoolsFor(address _addressuint256[] _poolIDsview returns (struct StakingStakeInfoResponse[])
getStakerInfo(uint256 _poolIduint256 _stakeNumview returns (struct StakingStakerInfo)
getStakerInfoFrom(uint256 _poolIduint256 _startStakeNumuint256 _countview returns (struct StakingStakerInfo[])
getTotalStakes(address _addressview returns (uint256)
isStakeholder(addressview returns (bool)
poolDetails(uint256view returns (string nameuint256 apyPercentuint256 apyDivisoruint256 minStakeAmountuint256 maxStakeAmountuint256 durationuint256 startTimestampuint256 endTimestampbool isActive)
poolExists(uint256 _poolIdview returns (bool)
stakeDetails(addressuint256uint256view returns (uint256 poolIduint256 startTimestampuint256 amountbool isWithdrawn)
stakeExists(address _addressuint256 _poolIduint256 _stakeIdview returns (bool)
totalStakedAmount(addressview returns (uint256)
totalStakesInPool(uint256view returns (uint256)
totalStakesInPoolBy(addressuint256view returns (uint256)
State-modifying
createPool(string _nameuint256 _apyPercentuint256 _apyDivisoruint256 _minStakeAmountuint256 _maxStakeAmountuint256 _durationuint256 _startTimestampuint256 _endTimestampbool _isActive
createStake(uint256 _poolIduint256 _amountreturns (uint256)
initialize(address _memagAddressaddress _stakingReserveAddressuint256 _maxStakeLimitPerPool
renounceOwnership(
setMaxStakeLimitPerPool(uint256 _maxStakeLimit
setStakingReserveAddress(address _reserveAddress
transferOwnership(address newOwner
updatePool(uint256 _poolIdstring _nameuint256 _apyPercentuint256 _apyDivisoruint256 _minStakeAmountuint256 _maxStakeAmountuint256 _durationuint256 _startTimestampuint256 _endTimestampbool _isActive
withdrawStake(uint256 _poolIduint256 _stakeId
Events
Initialized(uint8 version
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PoolCreated(address indexed byuint256 indexed poolIdstring nameuint256 apyPercentuint256 apyDivisoruint256 minStakeAmountuint256 maxStakeAmountuint256 durationuint256 startTimestampuint256 endTimestampbool isActiveuint256 createdAt
PoolUpdated(address indexed byuint256 indexed poolIdstring nameuint256 apyPercentuint256 apyDivisoruint256 minStakeAmountuint256 maxStakeAmountuint256 durationuint256 startTimestampuint256 endTimestampbool isActiveuint256 updatedAt
RewardWithdrawn(address indexed byuint256 indexed poolIduint256 indexed stakeIduint256 amountuint256 withdrawnAt
StakeCreated(address indexed byuint256 indexed poolIduint256 indexed stakeIduint256 startTimestampuint256 endTimestampuint256 amount
StakeRemoved(address indexed byuint256 indexed poolIduint256 indexed stakeIduint256 amountuint256 removedAt
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.