node

package
v0.0.0-...-a5a7577 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MintTrustedNodeBond

func MintTrustedNodeBond(rp *stader.EthxContractManager, 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 *stader.EthxContractManager, ownerAccount *accounts.Account, trustedNodeAccount *accounts.Account) error

Register a trusted node

func StakeRPL

func StakeRPL(rp *stader.EthxContractManager, ownerAccount, nodeAccount *accounts.Account, amount *big.Int) error

Mint & stake an amount of RPL against a node

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL