Skip to content

protocol

go
import "github.com/rocket-pool/rocketpool-go/dao/protocol"

Index

func BootstrapAddress

go
func BootstrapAddress(rp *rocketpool.RocketPool, contractName, settingPath string, value common.Address, opts *bind.TransactOpts) (common.Hash, error)

Bootstrap an address setting

func BootstrapBool

go
func BootstrapBool(rp *rocketpool.RocketPool, contractName, settingPath string, value bool, opts *bind.TransactOpts) (common.Hash, error)

Bootstrap a bool setting

func BootstrapClaimer

go
func BootstrapClaimer(rp *rocketpool.RocketPool, contractName string, amount float64, opts *bind.TransactOpts) (common.Hash, error)

Bootstrap a rewards claimer

func BootstrapUint

go
func BootstrapUint(rp *rocketpool.RocketPool, contractName, settingPath string, value *big.Int, opts *bind.TransactOpts) (common.Hash, error)

Bootstrap a uint256 setting

func EstimateBootstrapAddressGas

go
func EstimateBootstrapAddressGas(rp *rocketpool.RocketPool, contractName, settingPath string, value common.Address, opts *bind.TransactOpts) (rocketpool.GasInfo, error)

Estimate the gas of BootstrapAddress

func EstimateBootstrapBoolGas

go
func EstimateBootstrapBoolGas(rp *rocketpool.RocketPool, contractName, settingPath string, value bool, opts *bind.TransactOpts) (rocketpool.GasInfo, error)

Estimate the gas of BootstrapBool

func EstimateBootstrapClaimerGas

go
func EstimateBootstrapClaimerGas(rp *rocketpool.RocketPool, contractName string, amount float64, opts *bind.TransactOpts) (rocketpool.GasInfo, error)

Estimate the gas of BootstrapClaimer

func EstimateBootstrapUintGas

go
func EstimateBootstrapUintGas(rp *rocketpool.RocketPool, contractName, settingPath string, value *big.Int, opts *bind.TransactOpts) (rocketpool.GasInfo, error)

Estimate the gas of BootstrapUint