Documentation ¶
Index ¶
- func Deposit(t *testing.T, rp *rocketpool.RocketPool, nodeAccount *accounts.Account, ...) (common.Address, *types.Receipt, error)
- func GetSalt() *big.Int
- func MintTrustedNodeBond(rp *rocketpool.RocketPool, ownerAccount *accounts.Account, ...) error
- func RegisterTrustedNode(rp *rocketpool.RocketPool, ownerAccount *accounts.Account, ...) error
- func StakeRPL(rp *rocketpool.RocketPool, ownerAccount, nodeAccount *accounts.Account, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Deposit ¶
func Deposit(t *testing.T, rp *rocketpool.RocketPool, nodeAccount *accounts.Account, depositAmount *big.Int, pubkey int) (common.Address, *types.Receipt, error)
Call deposit on the node using the validator test values
func MintTrustedNodeBond ¶
func MintTrustedNodeBond(rp *rocketpool.RocketPool, ownerAccount *accounts.Account, trustedNodeAccount *accounts.Account) error
Mint trusted node DAO RPL bond to a node account and approve it for spending
func RegisterTrustedNode ¶
func RegisterTrustedNode(rp *rocketpool.RocketPool, ownerAccount *accounts.Account, trustedNodeAccount *accounts.Account) error
Register a trusted node
func StakeRPL ¶
func StakeRPL(rp *rocketpool.RocketPool, ownerAccount, nodeAccount *accounts.Account, amount *big.Int) error
Mint & stake an amount of RPL against a node
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.