Versions in this module Expand all Collapse all v1 v1.0.10 Dec 11, 2021 Changes in this version + const CacheTTL + const GasLimitMultiplier + const MaxGasLimit + func DecodeAbi(abiEncoded string) (*abi.ABI, error) + func EncodeAbiStr(abiStr string) (string, error) + type Contract struct + ABI *abi.ABI + Address *common.Address + Client *ethclient.Client + Contract *bind.BoundContract + func (c *Contract) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error + func (c *Contract) GetTransactionEvents(txReceipt *types.Receipt, eventName string, eventPrototype interface{}) ([]interface{}, error) + func (c *Contract) GetTransactionGasInfo(opts *bind.TransactOpts, method string, params ...interface{}) (GasInfo, error) + func (c *Contract) GetTransferGasInfo(opts *bind.TransactOpts) (GasInfo, error) + func (c *Contract) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (common.Hash, error) + func (c *Contract) Transfer(opts *bind.TransactOpts) (common.Hash, error) + type GasInfo struct + EstGasLimit uint64 + SafeGasLimit uint64 + type RocketPool struct + Client *ethclient.Client + RocketStorage *contracts.RocketStorage + RocketStorageContract *Contract + func NewRocketPool(client *ethclient.Client, rocketStorageAddress common.Address) (*RocketPool, error) + func (rp *RocketPool) GetABI(contractName string) (*abi.ABI, error) + func (rp *RocketPool) GetABIs(contractNames ...string) ([]*abi.ABI, error) + func (rp *RocketPool) GetAddress(contractName string) (*common.Address, error) + func (rp *RocketPool) GetAddresses(contractNames ...string) ([]*common.Address, error) + func (rp *RocketPool) GetContract(contractName string) (*Contract, error) + func (rp *RocketPool) GetContracts(contractNames ...string) ([]*Contract, error) + func (rp *RocketPool) MakeContract(contractName string, address common.Address) (*Contract, error)