protocol

package
v1.18.6-devnet6 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2025 License: GPL-3.0, GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NodeSettingsContractName           string = "rocketDAOProtocolSettingsNode"
	MinimumPerMinipoolStakeSettingPath string = "node.per.minipool.stake.minimum"
	MaximumPerMinipoolStakeSettingPath string = "node.per.minipool.stake.maximum"
)

Config

Variables

This section is empty.

Functions

func EstimateProposeMaximumPerMinipoolStakeGas

func EstimateProposeMaximumPerMinipoolStakeGas(rp *rocketpool.RocketPool, value *big.Int, blockNumber uint32, treeNodes []types.VotingTreeNode, opts *bind.TransactOpts) (rocketpool.GasInfo, error)

func EstimateProposeMinimumPerMinipoolStakeGas

func EstimateProposeMinimumPerMinipoolStakeGas(rp *rocketpool.RocketPool, value *big.Int, blockNumber uint32, treeNodes []types.VotingTreeNode, opts *bind.TransactOpts) (rocketpool.GasInfo, error)

func GetMaximumPerMinipoolStake

func GetMaximumPerMinipoolStake(rp *rocketpool.RocketPool, opts *bind.CallOpts) (float64, error)

The maximum RPL stake per minipool as a fraction of assigned user ETH

func GetMaximumPerMinipoolStakeRaw

func GetMaximumPerMinipoolStakeRaw(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error)

The maximum RPL stake per minipool as a fraction of assigned user ETH

func GetMinimumPerMinipoolStake

func GetMinimumPerMinipoolStake(rp *rocketpool.RocketPool, opts *bind.CallOpts) (float64, error)

The minimum RPL stake per minipool as a fraction of assigned user ETH

func GetMinimumPerMinipoolStakeRaw

func GetMinimumPerMinipoolStakeRaw(rp *rocketpool.RocketPool, opts *bind.CallOpts) (*big.Int, error)

The minimum RPL stake per minipool as a fraction of assigned user ETH

func ProposeMaximumPerMinipoolStake

func ProposeMaximumPerMinipoolStake(rp *rocketpool.RocketPool, value *big.Int, blockNumber uint32, treeNodes []types.VotingTreeNode, opts *bind.TransactOpts) (uint64, common.Hash, error)

func ProposeMinimumPerMinipoolStake

func ProposeMinimumPerMinipoolStake(rp *rocketpool.RocketPool, value *big.Int, blockNumber uint32, treeNodes []types.VotingTreeNode, opts *bind.TransactOpts) (uint64, common.Hash, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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