RocketMinipoolInterface

Git Source

Functions

initialise

function initialise(address _nodeAddress, MinipoolDeposit _depositType) external;

getStatus

function getStatus() external view returns (MinipoolStatus);

getFinalised

function getFinalised() external view returns (bool);

getStatusBlock

function getStatusBlock() external view returns (uint256);

getStatusTime

function getStatusTime() external view returns (uint256);

getScrubVoted

function getScrubVoted(address _member) external view returns (bool);

getDepositType

function getDepositType() external view returns (MinipoolDeposit);

getNodeAddress

function getNodeAddress() external view returns (address);

getNodeFee

function getNodeFee() external view returns (uint256);

getNodeDepositBalance

function getNodeDepositBalance() external view returns (uint256);

getNodeRefundBalance

function getNodeRefundBalance() external view returns (uint256);

getNodeDepositAssigned

function getNodeDepositAssigned() external view returns (bool);

getUserDepositBalance

function getUserDepositBalance() external view returns (uint256);

getUserDepositAssigned

function getUserDepositAssigned() external view returns (bool);

getUserDepositAssignedTime

function getUserDepositAssignedTime() external view returns (uint256);

getTotalScrubVotes

function getTotalScrubVotes() external view returns (uint256);

calculateNodeShare

function calculateNodeShare(uint256 _balance) external view returns (uint256);

calculateUserShare

function calculateUserShare(uint256 _balance) external view returns (uint256);

nodeDeposit

function nodeDeposit(bytes calldata _validatorPubkey, bytes calldata _validatorSignature, bytes32 _depositDataRoot)
    external
    payable;

userDeposit

function userDeposit() external payable;

distributeBalance

function distributeBalance() external;

distributeBalanceAndFinalise

function distributeBalanceAndFinalise() external;

refund

function refund() external;

slash

function slash() external;

finalise

function finalise() external;

canStake

function canStake() external view returns (bool);

stake

function stake(bytes calldata _validatorSignature, bytes32 _depositDataRoot) external;

setWithdrawable

function setWithdrawable() external;

dissolve

function dissolve() external;

close

function close() external;

voteScrub

function voteScrub() external;