storage

package
v2.0.0-b1 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const RocketStorageABI = "" /* 8307-byte string literal not displayed */

RocketStorageABI is the input ABI used to generate the binding from.

Variables

This section is empty.

Functions

This section is empty.

Types

type RocketStorage

type RocketStorage struct {
	RocketStorageCaller     // Read-only binding to the contract
	RocketStorageTransactor // Write-only binding to the contract
	RocketStorageFilterer   // Log filterer for contract events
}

RocketStorage is an auto generated Go binding around an Ethereum contract.

func NewRocketStorage

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

type RocketStorageCaller struct {
	// contains filtered or unexported fields
}

RocketStorageCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewRocketStorageCaller

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

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

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

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

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

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

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

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

type RocketStorageCallerRaw struct {
	Contract *RocketStorageCaller // Generic read-only contract binding to access the raw methods on
}

RocketStorageCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*RocketStorageCallerRaw) Call

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

type RocketStorageCallerSession struct {
	Contract *RocketStorageCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts        // Call options to use throughout this session
}

RocketStorageCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*RocketStorageCallerSession) GetAddress

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

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

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

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

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

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

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

type RocketStorageFilterer struct {
	// contains filtered or unexported fields
}

RocketStorageFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewRocketStorageFilterer

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

type RocketStorageRaw struct {
	Contract *RocketStorage // Generic contract binding to access the raw methods on
}

RocketStorageRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*RocketStorageRaw) Call

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

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

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

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
}

RocketStorageSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*RocketStorageSession) DeleteAddress

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

type RocketStorageTransactor struct {
	// contains filtered or unexported fields
}

RocketStorageTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewRocketStorageTransactor

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

type RocketStorageTransactorRaw struct {
	Contract *RocketStorageTransactor // Generic write-only contract binding to access the raw methods on
}

RocketStorageTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*RocketStorageTransactorRaw) Transact

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

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

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
}

RocketStorageTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*RocketStorageTransactorSession) DeleteAddress

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

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

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

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

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

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

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

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

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

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

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

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

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

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()

type Storage

type Storage struct {
	Contract *core.Contract
}

Binding for RocketStorage

func NewStorage

func NewStorage(client eth.IExecutionClient, rocketStorageAddress common.Address) (*Storage, error)

Creates a new Storage contract binding

func (*Storage) GetAbi

func (c *Storage) GetAbi(mc *batch.MultiCaller, abiEncoded_Out *string, contractName string)

Get an ABI

func (*Storage) GetAddress

func (c *Storage) GetAddress(mc *batch.MultiCaller, address_Out *common.Address, contractName string)

Get an address

func (*Storage) GetBool

func (c *Storage) GetBool(mc *batch.MultiCaller, result_Out *bool, key common.Hash)

Get a boolean value

func (*Storage) GetDeployBlock

func (c *Storage) GetDeployBlock(mc *batch.MultiCaller, result_Out **big.Int)

Get the number of the block that Rocket Pool was deployed on

func (*Storage) GetProtocolVersion

func (c *Storage) GetProtocolVersion(mc *batch.MultiCaller, result_Out *string)

func (*Storage) GetString

func (c *Storage) GetString(mc *batch.MultiCaller, result_Out *string, key common.Hash)

Get a string value

func (*Storage) GetUint

func (c *Storage) GetUint(mc *batch.MultiCaller, result_Out **big.Int, key common.Hash)

Get a uint value

Jump to

Keyboard shortcuts

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