RocketNodeStakingInterface

Git Source

Functions

getTotalRPLStake

function getTotalRPLStake() external view returns (uint256);

getNodeRPLStake

function getNodeRPLStake(address _nodeAddress) external view returns (uint256);

getNodeRPLStakedTime

function getNodeRPLStakedTime(address _nodeAddress) external view returns (uint256);

getTotalEffectiveRPLStake

function getTotalEffectiveRPLStake() external view returns (uint256);

calculateTotalEffectiveRPLStake

function calculateTotalEffectiveRPLStake(uint256 offset, uint256 limit, uint256 rplPrice)
    external
    view
    returns (uint256);

getNodeEffectiveRPLStake

function getNodeEffectiveRPLStake(address _nodeAddress) external view returns (uint256);

getNodeMinimumRPLStake

function getNodeMinimumRPLStake(address _nodeAddress) external view returns (uint256);

getNodeMaximumRPLStake

function getNodeMaximumRPLStake(address _nodeAddress) external view returns (uint256);

getNodeMinipoolLimit

function getNodeMinipoolLimit(address _nodeAddress) external view returns (uint256);

stakeRPL

function stakeRPL(uint256 _amount) external;

stakeRPLFor

function stakeRPLFor(address _nodeAddress, uint256 _amount) external;

withdrawRPL

function withdrawRPL(uint256 _amount) external;

slashRPL

function slashRPL(address _nodeAddress, uint256 _ethSlashAmount) external;