IAStaking
Overview
License: Apache 2.0
interface IAStakingFunctions info
stake (0xa694fc3a)
function stake(uint256 amount) externalStakes an amount of GRG to own staking pool. Creates staking pool if doesn't exist.
Creating staking pool if doesn't exist effectively locks direct call.
Parameters:
Name
Type
Description
amount
uint256
Amount of GRG to stake.
undelegateStake (0x4aace835)
function undelegateStake(uint256 amount) externalUndelegates stake for the pool.
Parameters:
Name
Type
Description
amount
uint256
Number of GRG units with undelegate.
unstake (0x2e17de78)
Unstakes staked undelegated tokens for the pool.
Parameters:
Name
Type
Description
amount
uint256
Number of GRG units to unstake.
withdrawDelegatorRewards (0xb880660b)
Withdraws delegator rewards of the pool.
Last updated