# contracts
import "github.com/rocket-pool/rocketpool-go/contracts"
# Index
- Constants
- type RocketStorage
- type RocketStorageCaller
- func NewRocketStorageCaller(address common.Address, caller bind.ContractCaller) (*RocketStorageCaller, error)
- func (_RocketStorage *RocketStorageCaller) GetAddress(opts *bind.CallOpts, _key [32]byte) (common.Address, error)
- func (_RocketStorage *RocketStorageCaller) GetBool(opts *bind.CallOpts, _key [32]byte) (bool, error)
- func (_RocketStorage *RocketStorageCaller) GetBytes(opts *bind.CallOpts, _key [32]byte) ([]byte, error)
- func (_RocketStorage *RocketStorageCaller) GetBytes32(opts *bind.CallOpts, _key [32]byte) ([32]byte, error)
- func (_RocketStorage *RocketStorageCaller) GetInt(opts *bind.CallOpts, _key [32]byte) (*big.Int, error)
- func (_RocketStorage *RocketStorageCaller) GetString(opts *bind.CallOpts, _key [32]byte) (string, error)
- func (_RocketStorage *RocketStorageCaller) GetUint(opts *bind.CallOpts, _key [32]byte) (*big.Int, error)
- type RocketStorageCallerRaw
- type RocketStorageCallerSession
- func (_RocketStorage *RocketStorageCallerSession) GetAddress(_key [32]byte) (common.Address, error)
- func (_RocketStorage *RocketStorageCallerSession) GetBool(_key [32]byte) (bool, error)
- func (_RocketStorage *RocketStorageCallerSession) GetBytes(_key [32]byte) ([]byte, error)
- func (_RocketStorage *RocketStorageCallerSession) GetBytes32(_key [32]byte) ([32]byte, error)
- func (_RocketStorage *RocketStorageCallerSession) GetInt(_key [32]byte) (*big.Int, error)
- func (_RocketStorage *RocketStorageCallerSession) GetString(_key [32]byte) (string, error)
- func (_RocketStorage *RocketStorageCallerSession) GetUint(_key [32]byte) (*big.Int, error)
- type RocketStorageFilterer
- type RocketStorageRaw
- func (_RocketStorage *RocketStorageRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
- func (_RocketStorage *RocketStorageRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_RocketStorage *RocketStorageRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type RocketStorageSession
- func (_RocketStorage *RocketStorageSession) DeleteAddress(_key [32]byte) (*types.Transaction, error)
- func (_RocketStorage *RocketStorageSession) DeleteBool(_key [32]byte) (*types.Transaction, error)
- func (_RocketStorage *RocketStorageSession) DeleteBytes(_key [32]byte) (*types.Transaction, error)
- func (_RocketStorage *RocketStorageSession) DeleteBytes32(_key [32]byte) (*types.Transaction, error)
- func (_RocketStorage *RocketStorageSession) DeleteInt(_key [32]byte) (*types.Transaction, error)
- func (_RocketStorage *RocketStorageSession) DeleteString(_key [32]byte) (*types.Transaction, error)
- func (_RocketStorage *RocketStorageSession) DeleteUint(_key [32]byte) (*types.Transaction, error)
- func (_RocketStorage *RocketStorageSession) GetAddress(_key [32]byte) (common.Address, error)
- func (_RocketStorage *RocketStorageSession) GetBool(_key [32]byte) (bool, error)
- func (_RocketStorage *RocketStorageSession) GetBytes(_key [32]byte) ([]byte, error)
- func (_RocketStorage *RocketStorageSession) GetBytes32(_key [32]byte) ([32]byte, error)
- func (_RocketStorage *RocketStorageSession) GetInt(_key [32]byte) (*big.Int, error)
- func (_RocketStorage *RocketStorageSession) GetString(_key [32]byte) (string, error)
- func (_RocketStorage *RocketStorageSession) GetUint(_key [32]byte) (*big.Int, error)
- func (_RocketStorage *RocketStorageSession) SetAddress(_key [32]byte, _value common.Address) (*types.Transaction, error)
- func (_RocketStorage *RocketStorageSession) SetBool(_key [32]byte, _value bool) (*types.Transaction, error)
- func (_RocketStorage *RocketStorageSession) SetBytes(_key [32]byte, _value []byte) (*types.Transaction, error)
- func (_RocketStorage *RocketStorageSession) SetBytes32(_key [32]byte, _value [32]byte) (*types.Transaction, error)
- func (_RocketStorage *RocketStorageSession) SetInt(_key [32]byte, _value *big.Int) (*types.Transaction, error)
- func (_RocketStorage *RocketStorageSession) SetString(_key [32]byte, _value string) (*types.Transaction, error)
- func (_RocketStorage *RocketStorageSession) SetUint(_key [32]byte, _value *big.Int) (*types.Transaction, error)
- type RocketStorageTransactor
- func NewRocketStorageTransactor(address common.Address, transactor bind.ContractTransactor) (*RocketStorageTransactor, error)
- func (_RocketStorage *RocketStorageTransactor) DeleteAddress(opts *bind.TransactOpts, _key [32]byte) (*types.Transaction, error)
- func (_RocketStorage *RocketStorageTransactor) DeleteBool(opts *bind.TransactOpts, _key [32]byte) (*types.Transaction, error)
- func (_RocketStorage *RocketStorageTransactor) DeleteBytes(opts *bind.TransactOpts, _key [32]byte) (*types.Transaction, error)
- func (_RocketStorage *RocketStorageTransactor) DeleteBytes32(opts *bind.TransactOpts, _key [32]byte) (*types.Transaction, error)
- func (_RocketStorage *RocketStorageTransactor) DeleteInt(opts *bind.TransactOpts, _key [32]byte) (*types.Transaction, error)
- func (_RocketStorage *RocketStorageTransactor) DeleteString(opts *bind.TransactOpts, _key [32]byte) (*types.Transaction, error)
- func (_RocketStorage *RocketStorageTransactor) DeleteUint(opts *bind.TransactOpts, _key [32]byte) (*types.Transaction, error)
- func (_RocketStorage *RocketStorageTransactor) SetAddress(opts *bind.TransactOpts, _key [32]byte, _value common.Address) (*types.Transaction, error)
- func (_RocketStorage *RocketStorageTransactor) SetBool(opts *bind.TransactOpts, _key [32]byte, _value bool) (*types.Transaction, error)
- func (_RocketStorage *RocketStorageTransactor) SetBytes(opts *bind.TransactOpts, _key [32]byte, _value []byte) (*types.Transaction, error)
- func (_RocketStorage *RocketStorageTransactor) SetBytes32(opts *bind.TransactOpts, _key [32]byte, _value [32]byte) (*types.Transaction, error)
- func (_RocketStorage *RocketStorageTransactor) SetInt(opts *bind.TransactOpts, _key [32]byte, _value *big.Int) (*types.Transaction, error)
- func (_RocketStorage *RocketStorageTransactor) SetString(opts *bind.TransactOpts, _key [32]byte, _value string) (*types.Transaction, error)
- func (_RocketStorage *RocketStorageTransactor) SetUint(opts *bind.TransactOpts, _key [32]byte, _value *big.Int) (*types.Transaction, error)
- type RocketStorageTransactorRaw
- type RocketStorageTransactorSession
- func (_RocketStorage *RocketStorageTransactorSession) DeleteAddress(_key [32]byte) (*types.Transaction, error)
- func (_RocketStorage *RocketStorageTransactorSession) DeleteBool(_key [32]byte) (*types.Transaction, error)
- func (_RocketStorage *RocketStorageTransactorSession) DeleteBytes(_key [32]byte) (*types.Transaction, error)
- func (_RocketStorage *RocketStorageTransactorSession) DeleteBytes32(_key [32]byte) (*types.Transaction, error)
- func (_RocketStorage *RocketStorageTransactorSession) DeleteInt(_key [32]byte) (*types.Transaction, error)
- func (_RocketStorage *RocketStorageTransactorSession) DeleteString(_key [32]byte) (*types.Transaction, error)
- func (_RocketStorage *RocketStorageTransactorSession) DeleteUint(_key [32]byte) (*types.Transaction, error)
- func (_RocketStorage *RocketStorageTransactorSession) SetAddress(_key [32]byte, _value common.Address) (*types.Transaction, error)
- func (_RocketStorage *RocketStorageTransactorSession) SetBool(_key [32]byte, _value bool) (*types.Transaction, error)
- func (_RocketStorage *RocketStorageTransactorSession) SetBytes(_key [32]byte, _value []byte) (*types.Transaction, error)
- func (_RocketStorage *RocketStorageTransactorSession) SetBytes32(_key [32]byte, _value [32]byte) (*types.Transaction, error)
- func (_RocketStorage *RocketStorageTransactorSession) SetInt(_key [32]byte, _value *big.Int) (*types.Transaction, error)
- func (_RocketStorage *RocketStorageTransactorSession) SetString(_key [32]byte, _value string) (*types.Transaction, error)
- func (_RocketStorage *RocketStorageTransactorSession) SetUint(_key [32]byte, _value *big.Int) (*types.Transaction, error)
# Constants
RocketStorageABI is the input ABI used to generate the binding from.
const RocketStorageABI = "[{\"inputs\": [],\"stateMutability\": \"nonpayable\",\"type\": \"constructor\"},{\"anonymous\": false,\"inputs\": [{\"indexed\": false,\"internalType\": \"address\",\"name\": \"oldGuardian\",\"type\": \"address\"},{\"indexed\": false,\"internalType\": \"address\",\"name\": \"newGuardian\",\"type\": \"address\"}],\"name\": \"GuardianChanged\",\"type\": \"event\"},{\"anonymous\": false,\"inputs\": [{\"indexed\": true,\"internalType\": \"address\",\"name\": \"node\",\"type\": \"address\"},{\"indexed\": true,\"internalType\": \"address\",\"name\": \"withdrawalAddress\",\"type\": \"address\"},{\"indexed\": false,\"internalType\": \"uint256\",\"name\": \"time\",\"type\": \"uint256\"}],\"name\": \"NodeWithdrawalAddressSet\",\"type\": \"event\"},{\"inputs\": [],\"name\": \"getGuardian\",\"outputs\": [{\"internalType\": \"address\",\"name\": \"\",\"type\": \"address\"}],\"stateMutability\": \"view\",\"type\": \"function\",\"constant\": true},{\"inputs\": [{\"internalType\": \"address\",\"name\": \"_newAddress\",\"type\": \"address\"}],\"name\": \"setGuardian\",\"outputs\": [],\"stateMutability\": \"nonpayable\",\"type\": \"function\"},{\"inputs\": [],\"name\": \"confirmGuardian\",\"outputs\": [],\"stateMutability\": \"nonpayable\",\"type\": \"function\"},{\"inputs\": [],\"name\": \"getDeployedStatus\",\"outputs\": [{\"internalType\": \"bool\",\"name\": \"\",\"type\": \"bool\"}],\"stateMutability\": \"view\",\"type\": \"function\",\"constant\": true},{\"inputs\": [],\"name\": \"setDeployedStatus\",\"outputs\": [],\"stateMutability\": \"nonpayable\",\"type\": \"function\"},{\"inputs\": [{\"internalType\": \"address\",\"name\": \"_nodeAddress\",\"type\": \"address\"}],\"name\": \"getNodeWithdrawalAddress\",\"outputs\": [{\"internalType\": \"address\",\"name\": \"\",\"type\": \"address\"}],\"stateMutability\": \"view\",\"type\": \"function\",\"constant\": true},{\"inputs\": [{\"internalType\": \"address\",\"name\": \"_nodeAddress\",\"type\": \"address\"}],\"name\": \"getNodePendingWithdrawalAddress\",\"outputs\": [{\"internalType\": \"address\",\"name\": \"\",\"type\": \"address\"}],\"stateMutability\": \"view\",\"type\": \"function\",\"constant\": true},{\"inputs\": [{\"internalType\": \"address\",\"name\": \"_nodeAddress\",\"type\": \"address\"},{\"internalType\": \"address\",\"name\": \"_newWithdrawalAddress\",\"type\": \"address\"},{\"internalType\": \"bool\",\"name\": \"_confirm\",\"type\": \"bool\"}],\"name\": \"setWithdrawalAddress\",\"outputs\": [],\"stateMutability\": \"nonpayable\",\"type\": \"function\"},{\"inputs\": [{\"internalType\": \"address\",\"name\": \"_nodeAddress\",\"type\": \"address\"}],\"name\": \"confirmWithdrawalAddress\",\"outputs\": [],\"stateMutability\": \"nonpayable\",\"type\": \"function\"},{\"inputs\": [{\"internalType\": \"bytes32\",\"name\": \"_key\",\"type\": \"bytes32\"}],\"name\": \"getAddress\",\"outputs\": [{\"internalType\": \"address\",\"name\": \"r\",\"type\": \"address\"}],\"stateMutability\": \"view\",\"type\": \"function\",\"constant\": true},{\"inputs\": [{\"internalType\": \"bytes32\",\"name\": \"_key\",\"type\": \"bytes32\"}],\"name\": \"getUint\",\"outputs\": [{\"internalType\": \"uint256\",\"name\": \"r\",\"type\": \"uint256\"}],\"stateMutability\": \"view\",\"type\": \"function\",\"constant\": true},{\"inputs\": [{\"internalType\": \"bytes32\",\"name\": \"_key\",\"type\": \"bytes32\"}],\"name\": \"getString\",\"outputs\": [{\"internalType\": \"string\",\"name\": \"\",\"type\": \"string\"}],\"stateMutability\": \"view\",\"type\": \"function\",\"constant\": true},{\"inputs\": [{\"internalType\": \"bytes32\",\"name\": \"_key\",\"type\": \"bytes32\"}],\"name\": \"getBytes\",\"outputs\": [{\"internalType\": \"bytes\",\"name\": \"\",\"type\": \"bytes\"}],\"stateMutability\": \"view\",\"type\": \"function\",\"constant\": true},{\"inputs\": [{\"internalType\": \"bytes32\",\"name\": \"_key\",\"type\": \"bytes32\"}],\"name\": \"getBool\",\"outputs\": [{\"internalType\": \"bool\",\"name\": \"r\",\"type\": \"bool\"}],\"stateMutability\": \"view\",\"type\": \"function\",\"constant\": true},{\"inputs\": [{\"internalType\": \"bytes32\",\"name\": \"_key\",\"type\": \"bytes32\"}],\"name\": \"getInt\",\"outputs\": [{\"internalType\": \"int256\",\"name\": \"r\",\"type\": \"int256\"}],\"stateMutability\": \"view\",\"type\": \"function\",\"constant\": true},{\"inputs\": [{\"internalType\": \"bytes32\",\"name\": \"_key\",\"type\": \"bytes32\"}],\"name\": \"getBytes32\",\"outputs\": [{\"internalType\": \"bytes32\",\"name\": \"r\",\"type\": \"bytes32\"}],\"stateMutability\": \"view\",\"type\": \"function\",\"constant\": true},{\"inputs\": [{\"internalType\": \"bytes32\",\"name\": \"_key\",\"type\": \"bytes32\"},{\"internalType\": \"address\",\"name\": \"_value\",\"type\": \"address\"}],\"name\": \"setAddress\",\"outputs\": [],\"stateMutability\": \"nonpayable\",\"type\": \"function\"},{\"inputs\": [{\"internalType\": \"bytes32\",\"name\": \"_key\",\"type\": \"bytes32\"},{\"internalType\": \"uint256\",\"name\": \"_value\",\"type\": \"uint256\"}],\"name\": \"setUint\",\"outputs\": [],\"stateMutability\": \"nonpayable\",\"type\": \"function\"},{\"inputs\": [{\"internalType\": \"bytes32\",\"name\": \"_key\",\"type\": \"bytes32\"},{\"internalType\": \"string\",\"name\": \"_value\",\"type\": \"string\"}],\"name\": \"setString\",\"outputs\": [],\"stateMutability\": \"nonpayable\",\"type\": \"function\"},{\"inputs\": [{\"internalType\": \"bytes32\",\"name\": \"_key\",\"type\": \"bytes32\"},{\"internalType\": \"bytes\",\"name\": \"_value\",\"type\": \"bytes\"}],\"name\": \"setBytes\",\"outputs\": [],\"stateMutability\": \"nonpayable\",\"type\": \"function\"},{\"inputs\": [{\"internalType\": \"bytes32\",\"name\": \"_key\",\"type\": \"bytes32\"},{\"internalType\": \"bool\",\"name\": \"_value\",\"type\": \"bool\"}],\"name\": \"setBool\",\"outputs\": [],\"stateMutability\": \"nonpayable\",\"type\": \"function\"},{\"inputs\": [{\"internalType\": \"bytes32\",\"name\": \"_key\",\"type\": \"bytes32\"},{\"internalType\": \"int256\",\"name\": \"_value\",\"type\": \"int256\"}],\"name\": \"setInt\",\"outputs\": [],\"stateMutability\": \"nonpayable\",\"type\": \"function\"},{\"inputs\": [{\"internalType\": \"bytes32\",\"name\": \"_key\",\"type\": \"bytes32\"},{\"internalType\": \"bytes32\",\"name\": \"_value\",\"type\": \"bytes32\"}],\"name\": \"setBytes32\",\"outputs\": [],\"stateMutability\": \"nonpayable\",\"type\": \"function\"},{\"inputs\": [{\"internalType\": \"bytes32\",\"name\": \"_key\",\"type\": \"bytes32\"}],\"name\": \"deleteAddress\",\"outputs\": [],\"stateMutability\": \"nonpayable\",\"type\": \"function\"},{\"inputs\": [{\"internalType\": \"bytes32\",\"name\": \"_key\",\"type\": \"bytes32\"}],\"name\": \"deleteUint\",\"outputs\": [],\"stateMutability\": \"nonpayable\",\"type\": \"function\"},{\"inputs\": [{\"internalType\": \"bytes32\",\"name\": \"_key\",\"type\": \"bytes32\"}],\"name\": \"deleteString\",\"outputs\": [],\"stateMutability\": \"nonpayable\",\"type\": \"function\"},{\"inputs\": [{\"internalType\": \"bytes32\",\"name\": \"_key\",\"type\": \"bytes32\"}],\"name\": \"deleteBytes\",\"outputs\": [],\"stateMutability\": \"nonpayable\",\"type\": \"function\"},{\"inputs\": [{\"internalType\": \"bytes32\",\"name\": \"_key\",\"type\": \"bytes32\"}],\"name\": \"deleteBool\",\"outputs\": [],\"stateMutability\": \"nonpayable\",\"type\": \"function\"},{\"inputs\": [{\"internalType\": \"bytes32\",\"name\": \"_key\",\"type\": \"bytes32\"}],\"name\": \"deleteInt\",\"outputs\": [],\"stateMutability\": \"nonpayable\",\"type\": \"function\"},{\"inputs\": [{\"internalType\": \"bytes32\",\"name\": \"_key\",\"type\": \"bytes32\"}],\"name\": \"deleteBytes32\",\"outputs\": [],\"stateMutability\": \"nonpayable\",\"type\": \"function\"},{\"inputs\": [{\"internalType\": \"bytes32\",\"name\": \"_key\",\"type\": \"bytes32\"},{\"internalType\": \"uint256\",\"name\": \"_amount\",\"type\": \"uint256\"}],\"name\": \"addUint\",\"outputs\": [],\"stateMutability\": \"nonpayable\",\"type\": \"function\"},{\"inputs\": [{\"internalType\": \"bytes32\",\"name\": \"_key\",\"type\": \"bytes32\"},{\"internalType\": \"uint256\",\"name\": \"_amount\",\"type\": \"uint256\"}],\"name\": \"subUint\",\"outputs\": [],\"stateMutability\": \"nonpayable\",\"type\": \"function\"}]\r\n"
# type RocketStorage (opens new window)
RocketStorage is an auto generated Go binding around an Ethereum contract.
type RocketStorage struct {
RocketStorageCaller // Read-only binding to the contract
RocketStorageTransactor // Write-only binding to the contract
RocketStorageFilterer // Log filterer for contract events
}
# func NewRocketStorage (opens new window)
func NewRocketStorage(address common.Address, backend bind.ContractBackend) (*RocketStorage, error)
NewRocketStorage creates a new instance of RocketStorage, bound to a specific deployed contract.
# type RocketStorageCaller (opens new window)
RocketStorageCaller is an auto generated read-only Go binding around an Ethereum contract.
type RocketStorageCaller struct {
// contains filtered or unexported fields
}
# func NewRocketStorageCaller (opens new window)
func NewRocketStorageCaller(address common.Address, caller bind.ContractCaller) (*RocketStorageCaller, error)
NewRocketStorageCaller creates a new read-only instance of RocketStorage, bound to a specific deployed contract.
# func (*RocketStorageCaller) GetAddress (opens new window)
func (_RocketStorage *RocketStorageCaller) GetAddress(opts *bind.CallOpts, _key [32]byte) (common.Address, error)
GetAddress is a free data retrieval call binding the contract method 0x21f8a721.
Solidity: function getAddress(bytes32 _key) view returns(address)
# func (*RocketStorageCaller) GetBool (opens new window)
func (_RocketStorage *RocketStorageCaller) GetBool(opts *bind.CallOpts, _key [32]byte) (bool, error)
GetBool is a free data retrieval call binding the contract method 0x7ae1cfca.
Solidity: function getBool(bytes32 _key) view returns(bool)
# func (*RocketStorageCaller) GetBytes (opens new window)
func (_RocketStorage *RocketStorageCaller) GetBytes(opts *bind.CallOpts, _key [32]byte) ([]byte, error)
GetBytes is a free data retrieval call binding the contract method 0xc031a180.
Solidity: function getBytes(bytes32 _key) view returns(bytes)
# func (*RocketStorageCaller) GetBytes32 (opens new window)
func (_RocketStorage *RocketStorageCaller) GetBytes32(opts *bind.CallOpts, _key [32]byte) ([32]byte, error)
GetBytes32 is a free data retrieval call binding the contract method 0xa6ed563e.
Solidity: function getBytes32(bytes32 _key) view returns(bytes32)
# func (*RocketStorageCaller) GetInt (opens new window)
func (_RocketStorage *RocketStorageCaller) GetInt(opts *bind.CallOpts, _key [32]byte) (*big.Int, error)
GetInt is a free data retrieval call binding the contract method 0xdc97d962.
Solidity: function getInt(bytes32 _key) view returns(int256)
# func (*RocketStorageCaller) GetString (opens new window)
func (_RocketStorage *RocketStorageCaller) GetString(opts *bind.CallOpts, _key [32]byte) (string, error)
GetString is a free data retrieval call binding the contract method 0x986e791a.
Solidity: function getString(bytes32 _key) view returns(string)
# func (*RocketStorageCaller) GetUint (opens new window)
func (_RocketStorage *RocketStorageCaller) GetUint(opts *bind.CallOpts, _key [32]byte) (*big.Int, error)
GetUint is a free data retrieval call binding the contract method 0xbd02d0f5.
Solidity: function getUint(bytes32 _key) view returns(uint256)
# type RocketStorageCallerRaw (opens new window)
RocketStorageCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
type RocketStorageCallerRaw struct {
Contract *RocketStorageCaller // Generic read-only contract binding to access the raw methods on
}
# func (*RocketStorageCallerRaw) Call (opens new window)
func (_RocketStorage *RocketStorageCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
# type RocketStorageCallerSession (opens new window)
RocketStorageCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type RocketStorageCallerSession struct {
Contract *RocketStorageCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
# func (*RocketStorageCallerSession) GetAddress (opens new window)
func (_RocketStorage *RocketStorageCallerSession) GetAddress(_key [32]byte) (common.Address, error)
GetAddress is a free data retrieval call binding the contract method 0x21f8a721.
Solidity: function getAddress(bytes32 _key) view returns(address)
# func (*RocketStorageCallerSession) GetBool (opens new window)
func (_RocketStorage *RocketStorageCallerSession) GetBool(_key [32]byte) (bool, error)
GetBool is a free data retrieval call binding the contract method 0x7ae1cfca.
Solidity: function getBool(bytes32 _key) view returns(bool)
# func (*RocketStorageCallerSession) GetBytes (opens new window)
func (_RocketStorage *RocketStorageCallerSession) GetBytes(_key [32]byte) ([]byte, error)
GetBytes is a free data retrieval call binding the contract method 0xc031a180.
Solidity: function getBytes(bytes32 _key) view returns(bytes)
# func (*RocketStorageCallerSession) GetBytes32 (opens new window)
func (_RocketStorage *RocketStorageCallerSession) GetBytes32(_key [32]byte) ([32]byte, error)
GetBytes32 is a free data retrieval call binding the contract method 0xa6ed563e.
Solidity: function getBytes32(bytes32 _key) view returns(bytes32)
# func (*RocketStorageCallerSession) GetInt (opens new window)
func (_RocketStorage *RocketStorageCallerSession) GetInt(_key [32]byte) (*big.Int, error)
GetInt is a free data retrieval call binding the contract method 0xdc97d962.
Solidity: function getInt(bytes32 _key) view returns(int256)
# func (*RocketStorageCallerSession) GetString (opens new window)
func (_RocketStorage *RocketStorageCallerSession) GetString(_key [32]byte) (string, error)
GetString is a free data retrieval call binding the contract method 0x986e791a.
Solidity: function getString(bytes32 _key) view returns(string)
# func (*RocketStorageCallerSession) GetUint (opens new window)
func (_RocketStorage *RocketStorageCallerSession) GetUint(_key [32]byte) (*big.Int, error)
GetUint is a free data retrieval call binding the contract method 0xbd02d0f5.
Solidity: function getUint(bytes32 _key) view returns(uint256)
# type RocketStorageFilterer (opens new window)
RocketStorageFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
type RocketStorageFilterer struct {
// contains filtered or unexported fields
}
# func NewRocketStorageFilterer (opens new window)
func NewRocketStorageFilterer(address common.Address, filterer bind.ContractFilterer) (*RocketStorageFilterer, error)
NewRocketStorageFilterer creates a new log filterer instance of RocketStorage, bound to a specific deployed contract.
# type RocketStorageRaw (opens new window)
RocketStorageRaw is an auto generated low-level Go binding around an Ethereum contract.
type RocketStorageRaw struct {
Contract *RocketStorage // Generic contract binding to access the raw methods on
}
# func (*RocketStorageRaw) Call (opens new window)
func (_RocketStorage *RocketStorageRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
# func (*RocketStorageRaw) Transact (opens new window)
func (_RocketStorage *RocketStorageRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
# func (*RocketStorageRaw) Transfer (opens new window)
func (_RocketStorage *RocketStorageRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
# type RocketStorageSession (opens new window)
RocketStorageSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type RocketStorageSession struct {
Contract *RocketStorage // Generic contract binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
# func (*RocketStorageSession) DeleteAddress (opens new window)
func (_RocketStorage *RocketStorageSession) DeleteAddress(_key [32]byte) (*types.Transaction, error)
DeleteAddress is a paid mutator transaction binding the contract method 0x0e14a376.
Solidity: function deleteAddress(bytes32 _key) returns()
# func (*RocketStorageSession) DeleteBool (opens new window)
func (_RocketStorage *RocketStorageSession) DeleteBool(_key [32]byte) (*types.Transaction, error)
DeleteBool is a paid mutator transaction binding the contract method 0x2c62ff2d.
Solidity: function deleteBool(bytes32 _key) returns()
# func (*RocketStorageSession) DeleteBytes (opens new window)
func (_RocketStorage *RocketStorageSession) DeleteBytes(_key [32]byte) (*types.Transaction, error)
DeleteBytes is a paid mutator transaction binding the contract method 0x616b59f6.
Solidity: function deleteBytes(bytes32 _key) returns()
# func (*RocketStorageSession) DeleteBytes32 (opens new window)
func (_RocketStorage *RocketStorageSession) DeleteBytes32(_key [32]byte) (*types.Transaction, error)
DeleteBytes32 is a paid mutator transaction binding the contract method 0x0b9adc57.
Solidity: function deleteBytes32(bytes32 _key) returns()
# func (*RocketStorageSession) DeleteInt (opens new window)
func (_RocketStorage *RocketStorageSession) DeleteInt(_key [32]byte) (*types.Transaction, error)
DeleteInt is a paid mutator transaction binding the contract method 0x8c160095.
Solidity: function deleteInt(bytes32 _key) returns()
# func (*RocketStorageSession) DeleteString (opens new window)
func (_RocketStorage *RocketStorageSession) DeleteString(_key [32]byte) (*types.Transaction, error)
DeleteString is a paid mutator transaction binding the contract method 0xf6bb3cc4.
Solidity: function deleteString(bytes32 _key) returns()
# func (*RocketStorageSession) DeleteUint (opens new window)
func (_RocketStorage *RocketStorageSession) DeleteUint(_key [32]byte) (*types.Transaction, error)
DeleteUint is a paid mutator transaction binding the contract method 0xe2b202bf.
Solidity: function deleteUint(bytes32 _key) returns()
# func (*RocketStorageSession) GetAddress (opens new window)
func (_RocketStorage *RocketStorageSession) GetAddress(_key [32]byte) (common.Address, error)
GetAddress is a free data retrieval call binding the contract method 0x21f8a721.
Solidity: function getAddress(bytes32 _key) view returns(address)
# func (*RocketStorageSession) GetBool (opens new window)
func (_RocketStorage *RocketStorageSession) GetBool(_key [32]byte) (bool, error)
GetBool is a free data retrieval call binding the contract method 0x7ae1cfca.
Solidity: function getBool(bytes32 _key) view returns(bool)
# func (*RocketStorageSession) GetBytes (opens new window)
func (_RocketStorage *RocketStorageSession) GetBytes(_key [32]byte) ([]byte, error)
GetBytes is a free data retrieval call binding the contract method 0xc031a180.
Solidity: function getBytes(bytes32 _key) view returns(bytes)
# func (*RocketStorageSession) GetBytes32 (opens new window)
func (_RocketStorage *RocketStorageSession) GetBytes32(_key [32]byte) ([32]byte, error)
GetBytes32 is a free data retrieval call binding the contract method 0xa6ed563e.
Solidity: function getBytes32(bytes32 _key) view returns(bytes32)
# func (*RocketStorageSession) GetInt (opens new window)
func (_RocketStorage *RocketStorageSession) GetInt(_key [32]byte) (*big.Int, error)
GetInt is a free data retrieval call binding the contract method 0xdc97d962.
Solidity: function getInt(bytes32 _key) view returns(int256)
# func (*RocketStorageSession) GetString (opens new window)
func (_RocketStorage *RocketStorageSession) GetString(_key [32]byte) (string, error)
GetString is a free data retrieval call binding the contract method 0x986e791a.
Solidity: function getString(bytes32 _key) view returns(string)
# func (*RocketStorageSession) GetUint (opens new window)
func (_RocketStorage *RocketStorageSession) GetUint(_key [32]byte) (*big.Int, error)
GetUint is a free data retrieval call binding the contract method 0xbd02d0f5.
Solidity: function getUint(bytes32 _key) view returns(uint256)
# func (*RocketStorageSession) SetAddress (opens new window)
func (_RocketStorage *RocketStorageSession) SetAddress(_key [32]byte, _value common.Address) (*types.Transaction, error)
SetAddress is a paid mutator transaction binding the contract method 0xca446dd9.
Solidity: function setAddress(bytes32 _key, address _value) returns()
# func (*RocketStorageSession) SetBool (opens new window)
func (_RocketStorage *RocketStorageSession) SetBool(_key [32]byte, _value bool) (*types.Transaction, error)
SetBool is a paid mutator transaction binding the contract method 0xabfdcced.
Solidity: function setBool(bytes32 _key, bool _value) returns()
# func (*RocketStorageSession) SetBytes (opens new window)
func (_RocketStorage *RocketStorageSession) SetBytes(_key [32]byte, _value []byte) (*types.Transaction, error)
SetBytes is a paid mutator transaction binding the contract method 0x2e28d084.
Solidity: function setBytes(bytes32 _key, bytes _value) returns()
# func (*RocketStorageSession) SetBytes32 (opens new window)
func (_RocketStorage *RocketStorageSession) SetBytes32(_key [32]byte, _value [32]byte) (*types.Transaction, error)
SetBytes32 is a paid mutator transaction binding the contract method 0x4e91db08.
Solidity: function setBytes32(bytes32 _key, bytes32 _value) returns()
# func (*RocketStorageSession) SetInt (opens new window)
func (_RocketStorage *RocketStorageSession) SetInt(_key [32]byte, _value *big.Int) (*types.Transaction, error)
SetInt is a paid mutator transaction binding the contract method 0x3e49bed0.
Solidity: function setInt(bytes32 _key, int256 _value) returns()
# func (*RocketStorageSession) SetString (opens new window)
func (_RocketStorage *RocketStorageSession) SetString(_key [32]byte, _value string) (*types.Transaction, error)
SetString is a paid mutator transaction binding the contract method 0x6e899550.
Solidity: function setString(bytes32 _key, string _value) returns()
# func (*RocketStorageSession) SetUint (opens new window)
func (_RocketStorage *RocketStorageSession) SetUint(_key [32]byte, _value *big.Int) (*types.Transaction, error)
SetUint is a paid mutator transaction binding the contract method 0xe2a4853a.
Solidity: function setUint(bytes32 _key, uint256 _value) returns()
# type RocketStorageTransactor (opens new window)
RocketStorageTransactor is an auto generated write-only Go binding around an Ethereum contract.
type RocketStorageTransactor struct {
// contains filtered or unexported fields
}
# func NewRocketStorageTransactor (opens new window)
func NewRocketStorageTransactor(address common.Address, transactor bind.ContractTransactor) (*RocketStorageTransactor, error)
NewRocketStorageTransactor creates a new write-only instance of RocketStorage, bound to a specific deployed contract.
# func (*RocketStorageTransactor) DeleteAddress (opens new window)
func (_RocketStorage *RocketStorageTransactor) DeleteAddress(opts *bind.TransactOpts, _key [32]byte) (*types.Transaction, error)
DeleteAddress is a paid mutator transaction binding the contract method 0x0e14a376.
Solidity: function deleteAddress(bytes32 _key) returns()
# func (*RocketStorageTransactor) DeleteBool (opens new window)
func (_RocketStorage *RocketStorageTransactor) DeleteBool(opts *bind.TransactOpts, _key [32]byte) (*types.Transaction, error)
DeleteBool is a paid mutator transaction binding the contract method 0x2c62ff2d.
Solidity: function deleteBool(bytes32 _key) returns()
# func (*RocketStorageTransactor) DeleteBytes (opens new window)
func (_RocketStorage *RocketStorageTransactor) DeleteBytes(opts *bind.TransactOpts, _key [32]byte) (*types.Transaction, error)
DeleteBytes is a paid mutator transaction binding the contract method 0x616b59f6.
Solidity: function deleteBytes(bytes32 _key) returns()
# func (*RocketStorageTransactor) DeleteBytes32 (opens new window)
func (_RocketStorage *RocketStorageTransactor) DeleteBytes32(opts *bind.TransactOpts, _key [32]byte) (*types.Transaction, error)
DeleteBytes32 is a paid mutator transaction binding the contract method 0x0b9adc57.
Solidity: function deleteBytes32(bytes32 _key) returns()
# func (*RocketStorageTransactor) DeleteInt (opens new window)
func (_RocketStorage *RocketStorageTransactor) DeleteInt(opts *bind.TransactOpts, _key [32]byte) (*types.Transaction, error)
DeleteInt is a paid mutator transaction binding the contract method 0x8c160095.
Solidity: function deleteInt(bytes32 _key) returns()
# func (*RocketStorageTransactor) DeleteString (opens new window)
func (_RocketStorage *RocketStorageTransactor) DeleteString(opts *bind.TransactOpts, _key [32]byte) (*types.Transaction, error)
DeleteString is a paid mutator transaction binding the contract method 0xf6bb3cc4.
Solidity: function deleteString(bytes32 _key) returns()
# func (*RocketStorageTransactor) DeleteUint (opens new window)
func (_RocketStorage *RocketStorageTransactor) DeleteUint(opts *bind.TransactOpts, _key [32]byte) (*types.Transaction, error)
DeleteUint is a paid mutator transaction binding the contract method 0xe2b202bf.
Solidity: function deleteUint(bytes32 _key) returns()
# func (*RocketStorageTransactor) SetAddress (opens new window)
func (_RocketStorage *RocketStorageTransactor) SetAddress(opts *bind.TransactOpts, _key [32]byte, _value common.Address) (*types.Transaction, error)
SetAddress is a paid mutator transaction binding the contract method 0xca446dd9.
Solidity: function setAddress(bytes32 _key, address _value) returns()
# func (*RocketStorageTransactor) SetBool (opens new window)
func (_RocketStorage *RocketStorageTransactor) SetBool(opts *bind.TransactOpts, _key [32]byte, _value bool) (*types.Transaction, error)
SetBool is a paid mutator transaction binding the contract method 0xabfdcced.
Solidity: function setBool(bytes32 _key, bool _value) returns()
# func (*RocketStorageTransactor) SetBytes (opens new window)
func (_RocketStorage *RocketStorageTransactor) SetBytes(opts *bind.TransactOpts, _key [32]byte, _value []byte) (*types.Transaction, error)
SetBytes is a paid mutator transaction binding the contract method 0x2e28d084.
Solidity: function setBytes(bytes32 _key, bytes _value) returns()
# func (*RocketStorageTransactor) SetBytes32 (opens new window)
func (_RocketStorage *RocketStorageTransactor) SetBytes32(opts *bind.TransactOpts, _key [32]byte, _value [32]byte) (*types.Transaction, error)
SetBytes32 is a paid mutator transaction binding the contract method 0x4e91db08.
Solidity: function setBytes32(bytes32 _key, bytes32 _value) returns()
# func (*RocketStorageTransactor) SetInt (opens new window)
func (_RocketStorage *RocketStorageTransactor) SetInt(opts *bind.TransactOpts, _key [32]byte, _value *big.Int) (*types.Transaction, error)
SetInt is a paid mutator transaction binding the contract method 0x3e49bed0.
Solidity: function setInt(bytes32 _key, int256 _value) returns()
# func (*RocketStorageTransactor) SetString (opens new window)
func (_RocketStorage *RocketStorageTransactor) SetString(opts *bind.TransactOpts, _key [32]byte, _value string) (*types.Transaction, error)
SetString is a paid mutator transaction binding the contract method 0x6e899550.
Solidity: function setString(bytes32 _key, string _value) returns()
# func (*RocketStorageTransactor) SetUint (opens new window)
func (_RocketStorage *RocketStorageTransactor) SetUint(opts *bind.TransactOpts, _key [32]byte, _value *big.Int) (*types.Transaction, error)
SetUint is a paid mutator transaction binding the contract method 0xe2a4853a.
Solidity: function setUint(bytes32 _key, uint256 _value) returns()
# type RocketStorageTransactorRaw (opens new window)
RocketStorageTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
type RocketStorageTransactorRaw struct {
Contract *RocketStorageTransactor // Generic write-only contract binding to access the raw methods on
}
# func (*RocketStorageTransactorRaw) Transact (opens new window)
func (_RocketStorage *RocketStorageTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
# func (*RocketStorageTransactorRaw) Transfer (opens new window)
func (_RocketStorage *RocketStorageTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
# type RocketStorageTransactorSession (opens new window)
RocketStorageTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type RocketStorageTransactorSession struct {
Contract *RocketStorageTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
# func (*RocketStorageTransactorSession) DeleteAddress (opens new window)
func (_RocketStorage *RocketStorageTransactorSession) DeleteAddress(_key [32]byte) (*types.Transaction, error)
DeleteAddress is a paid mutator transaction binding the contract method 0x0e14a376.
Solidity: function deleteAddress(bytes32 _key) returns()
# func (*RocketStorageTransactorSession) DeleteBool (opens new window)
func (_RocketStorage *RocketStorageTransactorSession) DeleteBool(_key [32]byte) (*types.Transaction, error)
DeleteBool is a paid mutator transaction binding the contract method 0x2c62ff2d.
Solidity: function deleteBool(bytes32 _key) returns()
# func (*RocketStorageTransactorSession) DeleteBytes (opens new window)
func (_RocketStorage *RocketStorageTransactorSession) DeleteBytes(_key [32]byte) (*types.Transaction, error)
DeleteBytes is a paid mutator transaction binding the contract method 0x616b59f6.
Solidity: function deleteBytes(bytes32 _key) returns()
# func (*RocketStorageTransactorSession) DeleteBytes32 (opens new window)
func (_RocketStorage *RocketStorageTransactorSession) DeleteBytes32(_key [32]byte) (*types.Transaction, error)
DeleteBytes32 is a paid mutator transaction binding the contract method 0x0b9adc57.
Solidity: function deleteBytes32(bytes32 _key) returns()
# func (*RocketStorageTransactorSession) DeleteInt (opens new window)
func (_RocketStorage *RocketStorageTransactorSession) DeleteInt(_key [32]byte) (*types.Transaction, error)
DeleteInt is a paid mutator transaction binding the contract method 0x8c160095.
Solidity: function deleteInt(bytes32 _key) returns()
# func (*RocketStorageTransactorSession) DeleteString (opens new window)
func (_RocketStorage *RocketStorageTransactorSession) DeleteString(_key [32]byte) (*types.Transaction, error)
DeleteString is a paid mutator transaction binding the contract method 0xf6bb3cc4.
Solidity: function deleteString(bytes32 _key) returns()
# func (*RocketStorageTransactorSession) DeleteUint (opens new window)
func (_RocketStorage *RocketStorageTransactorSession) DeleteUint(_key [32]byte) (*types.Transaction, error)
DeleteUint is a paid mutator transaction binding the contract method 0xe2b202bf.
Solidity: function deleteUint(bytes32 _key) returns()
# func (*RocketStorageTransactorSession) SetAddress (opens new window)
func (_RocketStorage *RocketStorageTransactorSession) SetAddress(_key [32]byte, _value common.Address) (*types.Transaction, error)
SetAddress is a paid mutator transaction binding the contract method 0xca446dd9.
Solidity: function setAddress(bytes32 _key, address _value) returns()
# func (*RocketStorageTransactorSession) SetBool (opens new window)
func (_RocketStorage *RocketStorageTransactorSession) SetBool(_key [32]byte, _value bool) (*types.Transaction, error)
SetBool is a paid mutator transaction binding the contract method 0xabfdcced.
Solidity: function setBool(bytes32 _key, bool _value) returns()
# func (*RocketStorageTransactorSession) SetBytes (opens new window)
func (_RocketStorage *RocketStorageTransactorSession) SetBytes(_key [32]byte, _value []byte) (*types.Transaction, error)
SetBytes is a paid mutator transaction binding the contract method 0x2e28d084.
Solidity: function setBytes(bytes32 _key, bytes _value) returns()
# func (*RocketStorageTransactorSession) SetBytes32 (opens new window)
func (_RocketStorage *RocketStorageTransactorSession) SetBytes32(_key [32]byte, _value [32]byte) (*types.Transaction, error)
SetBytes32 is a paid mutator transaction binding the contract method 0x4e91db08.
Solidity: function setBytes32(bytes32 _key, bytes32 _value) returns()
# func (*RocketStorageTransactorSession) SetInt (opens new window)
func (_RocketStorage *RocketStorageTransactorSession) SetInt(_key [32]byte, _value *big.Int) (*types.Transaction, error)
SetInt is a paid mutator transaction binding the contract method 0x3e49bed0.
Solidity: function setInt(bytes32 _key, int256 _value) returns()
# func (*RocketStorageTransactorSession) SetString (opens new window)
func (_RocketStorage *RocketStorageTransactorSession) SetString(_key [32]byte, _value string) (*types.Transaction, error)
SetString is a paid mutator transaction binding the contract method 0x6e899550.
Solidity: function setString(bytes32 _key, string _value) returns()
# func (*RocketStorageTransactorSession) SetUint (opens new window)
func (_RocketStorage *RocketStorageTransactorSession) SetUint(_key [32]byte, _value *big.Int) (*types.Transaction, error)
SetUint is a paid mutator transaction binding the contract method 0xe2a4853a.
Solidity: function setUint(bytes32 _key, uint256 _value) returns()