Documentation ¶
Overview ¶
Package optionslibexport provides a mock for the OptionsLibMocks contract.
Code generated by synapse abigen DO NOT EDIT.
Index ¶
- Variables
- type OptionsLib
- type OptionsLibCaller
- type OptionsLibCallerRaw
- type OptionsLibCallerSession
- type OptionsLibExportRef
- type OptionsLibFilterer
- type OptionsLibMocks
- type OptionsLibMocksCaller
- func (_OptionsLibMocks *OptionsLibMocksCaller) AddressToBytes32(opts *bind.CallOpts, convertable common.Address) ([32]byte, error)
- func (_OptionsLibMocks *OptionsLibMocksCaller) DecodeOptions(opts *bind.CallOpts, data []byte) (OptionsV1, error)
- func (_OptionsLibMocks *OptionsLibMocksCaller) EncodeOptions(opts *bind.CallOpts, options OptionsV1) ([]byte, error)
- type OptionsLibMocksCallerRaw
- type OptionsLibMocksCallerSession
- func (_OptionsLibMocks *OptionsLibMocksCallerSession) AddressToBytes32(convertable common.Address) ([32]byte, error)
- func (_OptionsLibMocks *OptionsLibMocksCallerSession) DecodeOptions(data []byte) (OptionsV1, error)
- func (_OptionsLibMocks *OptionsLibMocksCallerSession) EncodeOptions(options OptionsV1) ([]byte, error)
- type OptionsLibMocksFilterer
- type OptionsLibMocksRaw
- func (_OptionsLibMocks *OptionsLibMocksRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_OptionsLibMocks *OptionsLibMocksRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_OptionsLibMocks *OptionsLibMocksRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type OptionsLibMocksSession
- func (_OptionsLibMocks *OptionsLibMocksSession) AddressToBytes32(convertable common.Address) ([32]byte, error)
- func (_OptionsLibMocks *OptionsLibMocksSession) DecodeOptions(data []byte) (OptionsV1, error)
- func (_OptionsLibMocks *OptionsLibMocksSession) EncodeOptions(options OptionsV1) ([]byte, error)
- type OptionsLibMocksTransactor
- type OptionsLibMocksTransactorRaw
- type OptionsLibMocksTransactorSession
- type OptionsLibRaw
- func (_OptionsLib *OptionsLibRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_OptionsLib *OptionsLibRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_OptionsLib *OptionsLibRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type OptionsLibSession
- type OptionsLibTransactor
- type OptionsLibTransactorRaw
- type OptionsLibTransactorSession
- type OptionsV1
- type TypeCasts
- type TypeCastsCaller
- type TypeCastsCallerRaw
- type TypeCastsCallerSession
- type TypeCastsFilterer
- type TypeCastsRaw
- func (_TypeCasts *TypeCastsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_TypeCasts *TypeCastsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_TypeCasts *TypeCastsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type TypeCastsSession
- type TypeCastsTransactor
- type TypeCastsTransactorRaw
- type TypeCastsTransactorSession
Constants ¶
This section is empty.
Variables ¶
var Contracts map[string]*compiler.Contract
Contracts are unmarshalled on start
var OptionsLibABI = OptionsLibMetaData.ABI
OptionsLibABI is the input ABI used to generate the binding from. Deprecated: Use OptionsLibMetaData.ABI instead.
var OptionsLibBin = OptionsLibMetaData.Bin
OptionsLibBin is the compiled bytecode used for deploying new contracts. Deprecated: Use OptionsLibMetaData.Bin instead.
var OptionsLibMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"OptionsLib__IncorrectVersion\",\"type\":\"error\"}]",
Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122099c1cf64c7e5ed06baa9609a2766e1c65fa0749d737b52577dbe02bb3317d12164736f6c63430008140033",
}
OptionsLibMetaData contains all meta data concerning the OptionsLib contract.
var OptionsLibMocksABI = OptionsLibMocksMetaData.ABI
OptionsLibMocksABI is the input ABI used to generate the binding from. Deprecated: Use OptionsLibMocksMetaData.ABI instead.
var OptionsLibMocksBin = OptionsLibMocksMetaData.Bin
OptionsLibMocksBin is the compiled bytecode used for deploying new contracts. Deprecated: Use OptionsLibMocksMetaData.Bin instead.
var OptionsLibMocksFuncSigs = OptionsLibMocksMetaData.Sigs
Deprecated: Use OptionsLibMocksMetaData.Sigs instead. OptionsLibMocksFuncSigs maps the 4-byte function signature to its string representation.
var OptionsLibMocksMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"OptionsLib__IncorrectVersion\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"convertable\",\"type\":\"address\"}],\"name\":\"addressToBytes32\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"decodeOptions\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"gasLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"gasAirdrop\",\"type\":\"uint256\"}],\"internalType\":\"structOptionsV1\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"gasLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"gasAirdrop\",\"type\":\"uint256\"}],\"internalType\":\"structOptionsV1\",\"name\":\"options\",\"type\":\"tuple\"}],\"name\":\"encodeOptions\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]", Sigs: map[string]string{ "82c947b7": "addressToBytes32(address)", "d5e788a0": "decodeOptions(bytes)", "c551274c": "encodeOptions((uint256,uint256))", }, Bin: "0x608060405234801561001057600080fd5b5061058a806100206000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806382c947b714610046578063c551274c1461006c578063d5e788a01461008c575b600080fd5b610059610054366004610216565b6100ba565b6040519081526020015b60405180910390f35b61007f61007a3660046102fa565b6100da565b604051610063919061039a565b61009f61009a3660046103f3565b6100e5565b60408051825181526020928301519281019290925201610063565b600073ffffffffffffffffffffffffffffffffffffffff82165b92915050565b60606100d482610102565b60408051808201909152600080825260208201526100d482610140565b60606100d460018360405160200161012c9190815181526020918201519181019190915260400190565b6040516020818303038152906040526101c8565b6040805180820190915260008082526020820152600080610160846101f4565b9092509050600160ff831610156101ac576040517fbd91a21500000000000000000000000000000000000000000000000000000000815260ff8316600482015260240160405180910390fd5b808060200190518101906101c09190610473565b949350505050565b606082826040516020016101dd9291906104a5565b604051602081830303815290604052905092915050565b600060608280602001905181019061020c91906104c1565b9094909350915050565b60006020828403121561022857600080fd5b813573ffffffffffffffffffffffffffffffffffffffff8116811461024c57600080fd5b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156102a5576102a5610253565b60405290565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156102f2576102f2610253565b604052919050565b60006040828403121561030c57600080fd5b610314610282565b82358152602083013560208201528091505092915050565b60005b8381101561034757818101518382015260200161032f565b50506000910152565b6000815180845261036881602086016020860161032c565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061024c6020830184610350565b600067ffffffffffffffff8211156103c7576103c7610253565b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b60006020828403121561040557600080fd5b813567ffffffffffffffff81111561041c57600080fd5b8201601f8101841361042d57600080fd5b803561044061043b826103ad565b6102ab565b81815285602083850101111561045557600080fd5b81602084016020830137600091810160200191909152949350505050565b60006040828403121561048557600080fd5b61048d610282565b82518152602083015160208201528091505092915050565b60ff831681526040602082015260006101c06040830184610350565b600080604083850312156104d457600080fd5b825160ff811681146104e557600080fd5b602084015190925067ffffffffffffffff81111561050257600080fd5b8301601f8101851361051357600080fd5b805161052161043b826103ad565b81815286602083850101111561053657600080fd5b61054782602083016020860161032c565b809350505050925092905056fea26469706673582212202463c00749d5cfce7243b122dd48b445941f35e6a5787b616682ac876fd6214f64736f6c63430008140033", }
OptionsLibMocksMetaData contains all meta data concerning the OptionsLibMocks contract.
var TypeCastsABI = TypeCastsMetaData.ABI
TypeCastsABI is the input ABI used to generate the binding from. Deprecated: Use TypeCastsMetaData.ABI instead.
var TypeCastsBin = TypeCastsMetaData.Bin
TypeCastsBin is the compiled bytecode used for deploying new contracts. Deprecated: Use TypeCastsMetaData.Bin instead.
var TypeCastsMetaData = &bind.MetaData{
ABI: "[]",
Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220a0cfd1c9580b34a2c8b114d4320fa6c26056bbc32401197e5fbbdfc3e3e86e2a64736f6c63430008140033",
}
TypeCastsMetaData contains all meta data concerning the TypeCasts contract.
Functions ¶
This section is empty.
Types ¶
type OptionsLib ¶
type OptionsLib struct { OptionsLibCaller // Read-only binding to the contract OptionsLibTransactor // Write-only binding to the contract OptionsLibFilterer // Log filterer for contract events }
OptionsLib is an auto generated Go binding around an Ethereum contract.
func DeployOptionsLib ¶
func DeployOptionsLib(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *OptionsLib, error)
DeployOptionsLib deploys a new Ethereum contract, binding an instance of OptionsLib to it.
func NewOptionsLib ¶
func NewOptionsLib(address common.Address, backend bind.ContractBackend) (*OptionsLib, error)
NewOptionsLib creates a new instance of OptionsLib, bound to a specific deployed contract.
type OptionsLibCaller ¶
type OptionsLibCaller struct {
// contains filtered or unexported fields
}
OptionsLibCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewOptionsLibCaller ¶
func NewOptionsLibCaller(address common.Address, caller bind.ContractCaller) (*OptionsLibCaller, error)
NewOptionsLibCaller creates a new read-only instance of OptionsLib, bound to a specific deployed contract.
type OptionsLibCallerRaw ¶
type OptionsLibCallerRaw struct {
Contract *OptionsLibCaller // Generic read-only contract binding to access the raw methods on
}
OptionsLibCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*OptionsLibCallerRaw) Call ¶
func (_OptionsLib *OptionsLibCallerRaw) 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 OptionsLibCallerSession ¶
type OptionsLibCallerSession struct { Contract *OptionsLibCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
OptionsLibCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type OptionsLibExportRef ¶
type OptionsLibExportRef struct { *OptionsLibMocks // contains filtered or unexported fields }
OptionsLibExportRef is a reference to an interchain db. nolint: golint
func NewOptionsLibExportRef ¶
func NewOptionsLibExportRef(address common.Address, backend bind.ContractBackend) (*OptionsLibExportRef, error)
NewOptionsLibExportRef creates a new interchain client with a contract ref.
func (*OptionsLibExportRef) Address ¶
func (i *OptionsLibExportRef) Address() common.Address
Address is the contract address.
type OptionsLibFilterer ¶
type OptionsLibFilterer struct {
// contains filtered or unexported fields
}
OptionsLibFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewOptionsLibFilterer ¶
func NewOptionsLibFilterer(address common.Address, filterer bind.ContractFilterer) (*OptionsLibFilterer, error)
NewOptionsLibFilterer creates a new log filterer instance of OptionsLib, bound to a specific deployed contract.
type OptionsLibMocks ¶
type OptionsLibMocks struct { OptionsLibMocksCaller // Read-only binding to the contract OptionsLibMocksTransactor // Write-only binding to the contract OptionsLibMocksFilterer // Log filterer for contract events }
OptionsLibMocks is an auto generated Go binding around an Ethereum contract.
func DeployOptionsLibMocks ¶
func DeployOptionsLibMocks(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *OptionsLibMocks, error)
DeployOptionsLibMocks deploys a new Ethereum contract, binding an instance of OptionsLibMocks to it.
func NewOptionsLibMocks ¶
func NewOptionsLibMocks(address common.Address, backend bind.ContractBackend) (*OptionsLibMocks, error)
NewOptionsLibMocks creates a new instance of OptionsLibMocks, bound to a specific deployed contract.
type OptionsLibMocksCaller ¶
type OptionsLibMocksCaller struct {
// contains filtered or unexported fields
}
OptionsLibMocksCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewOptionsLibMocksCaller ¶
func NewOptionsLibMocksCaller(address common.Address, caller bind.ContractCaller) (*OptionsLibMocksCaller, error)
NewOptionsLibMocksCaller creates a new read-only instance of OptionsLibMocks, bound to a specific deployed contract.
func (*OptionsLibMocksCaller) AddressToBytes32 ¶
func (_OptionsLibMocks *OptionsLibMocksCaller) AddressToBytes32(opts *bind.CallOpts, convertable common.Address) ([32]byte, error)
AddressToBytes32 is a free data retrieval call binding the contract method 0x82c947b7.
Solidity: function addressToBytes32(address convertable) view returns(bytes32)
func (*OptionsLibMocksCaller) DecodeOptions ¶
func (_OptionsLibMocks *OptionsLibMocksCaller) DecodeOptions(opts *bind.CallOpts, data []byte) (OptionsV1, error)
DecodeOptions is a free data retrieval call binding the contract method 0xd5e788a0.
Solidity: function decodeOptions(bytes data) view returns((uint256,uint256))
func (*OptionsLibMocksCaller) EncodeOptions ¶
func (_OptionsLibMocks *OptionsLibMocksCaller) EncodeOptions(opts *bind.CallOpts, options OptionsV1) ([]byte, error)
EncodeOptions is a free data retrieval call binding the contract method 0xc551274c.
Solidity: function encodeOptions((uint256,uint256) options) view returns(bytes)
type OptionsLibMocksCallerRaw ¶
type OptionsLibMocksCallerRaw struct {
Contract *OptionsLibMocksCaller // Generic read-only contract binding to access the raw methods on
}
OptionsLibMocksCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*OptionsLibMocksCallerRaw) Call ¶
func (_OptionsLibMocks *OptionsLibMocksCallerRaw) 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 OptionsLibMocksCallerSession ¶
type OptionsLibMocksCallerSession struct { Contract *OptionsLibMocksCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
OptionsLibMocksCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*OptionsLibMocksCallerSession) AddressToBytes32 ¶
func (_OptionsLibMocks *OptionsLibMocksCallerSession) AddressToBytes32(convertable common.Address) ([32]byte, error)
AddressToBytes32 is a free data retrieval call binding the contract method 0x82c947b7.
Solidity: function addressToBytes32(address convertable) view returns(bytes32)
func (*OptionsLibMocksCallerSession) DecodeOptions ¶
func (_OptionsLibMocks *OptionsLibMocksCallerSession) DecodeOptions(data []byte) (OptionsV1, error)
DecodeOptions is a free data retrieval call binding the contract method 0xd5e788a0.
Solidity: function decodeOptions(bytes data) view returns((uint256,uint256))
func (*OptionsLibMocksCallerSession) EncodeOptions ¶
func (_OptionsLibMocks *OptionsLibMocksCallerSession) EncodeOptions(options OptionsV1) ([]byte, error)
EncodeOptions is a free data retrieval call binding the contract method 0xc551274c.
Solidity: function encodeOptions((uint256,uint256) options) view returns(bytes)
type OptionsLibMocksFilterer ¶
type OptionsLibMocksFilterer struct {
// contains filtered or unexported fields
}
OptionsLibMocksFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewOptionsLibMocksFilterer ¶
func NewOptionsLibMocksFilterer(address common.Address, filterer bind.ContractFilterer) (*OptionsLibMocksFilterer, error)
NewOptionsLibMocksFilterer creates a new log filterer instance of OptionsLibMocks, bound to a specific deployed contract.
type OptionsLibMocksRaw ¶
type OptionsLibMocksRaw struct {
Contract *OptionsLibMocks // Generic contract binding to access the raw methods on
}
OptionsLibMocksRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*OptionsLibMocksRaw) Call ¶
func (_OptionsLibMocks *OptionsLibMocksRaw) 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 (*OptionsLibMocksRaw) Transact ¶
func (_OptionsLibMocks *OptionsLibMocksRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OptionsLibMocksRaw) Transfer ¶
func (_OptionsLibMocks *OptionsLibMocksRaw) 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 OptionsLibMocksSession ¶
type OptionsLibMocksSession struct { Contract *OptionsLibMocks // 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 }
OptionsLibMocksSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*OptionsLibMocksSession) AddressToBytes32 ¶
func (_OptionsLibMocks *OptionsLibMocksSession) AddressToBytes32(convertable common.Address) ([32]byte, error)
AddressToBytes32 is a free data retrieval call binding the contract method 0x82c947b7.
Solidity: function addressToBytes32(address convertable) view returns(bytes32)
func (*OptionsLibMocksSession) DecodeOptions ¶
func (_OptionsLibMocks *OptionsLibMocksSession) DecodeOptions(data []byte) (OptionsV1, error)
DecodeOptions is a free data retrieval call binding the contract method 0xd5e788a0.
Solidity: function decodeOptions(bytes data) view returns((uint256,uint256))
func (*OptionsLibMocksSession) EncodeOptions ¶
func (_OptionsLibMocks *OptionsLibMocksSession) EncodeOptions(options OptionsV1) ([]byte, error)
EncodeOptions is a free data retrieval call binding the contract method 0xc551274c.
Solidity: function encodeOptions((uint256,uint256) options) view returns(bytes)
type OptionsLibMocksTransactor ¶
type OptionsLibMocksTransactor struct {
// contains filtered or unexported fields
}
OptionsLibMocksTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewOptionsLibMocksTransactor ¶
func NewOptionsLibMocksTransactor(address common.Address, transactor bind.ContractTransactor) (*OptionsLibMocksTransactor, error)
NewOptionsLibMocksTransactor creates a new write-only instance of OptionsLibMocks, bound to a specific deployed contract.
type OptionsLibMocksTransactorRaw ¶
type OptionsLibMocksTransactorRaw struct {
Contract *OptionsLibMocksTransactor // Generic write-only contract binding to access the raw methods on
}
OptionsLibMocksTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*OptionsLibMocksTransactorRaw) Transact ¶
func (_OptionsLibMocks *OptionsLibMocksTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OptionsLibMocksTransactorRaw) Transfer ¶
func (_OptionsLibMocks *OptionsLibMocksTransactorRaw) 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 OptionsLibMocksTransactorSession ¶
type OptionsLibMocksTransactorSession struct { Contract *OptionsLibMocksTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
OptionsLibMocksTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type OptionsLibRaw ¶
type OptionsLibRaw struct {
Contract *OptionsLib // Generic contract binding to access the raw methods on
}
OptionsLibRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*OptionsLibRaw) Call ¶
func (_OptionsLib *OptionsLibRaw) 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 (*OptionsLibRaw) Transact ¶
func (_OptionsLib *OptionsLibRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OptionsLibRaw) Transfer ¶
func (_OptionsLib *OptionsLibRaw) 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 OptionsLibSession ¶
type OptionsLibSession struct { Contract *OptionsLib // 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 }
OptionsLibSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type OptionsLibTransactor ¶
type OptionsLibTransactor struct {
// contains filtered or unexported fields
}
OptionsLibTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewOptionsLibTransactor ¶
func NewOptionsLibTransactor(address common.Address, transactor bind.ContractTransactor) (*OptionsLibTransactor, error)
NewOptionsLibTransactor creates a new write-only instance of OptionsLib, bound to a specific deployed contract.
type OptionsLibTransactorRaw ¶
type OptionsLibTransactorRaw struct {
Contract *OptionsLibTransactor // Generic write-only contract binding to access the raw methods on
}
OptionsLibTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*OptionsLibTransactorRaw) Transact ¶
func (_OptionsLib *OptionsLibTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OptionsLibTransactorRaw) Transfer ¶
func (_OptionsLib *OptionsLibTransactorRaw) 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 OptionsLibTransactorSession ¶
type OptionsLibTransactorSession struct { Contract *OptionsLibTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
OptionsLibTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type TypeCasts ¶
type TypeCasts struct { TypeCastsCaller // Read-only binding to the contract TypeCastsTransactor // Write-only binding to the contract TypeCastsFilterer // Log filterer for contract events }
TypeCasts is an auto generated Go binding around an Ethereum contract.
func DeployTypeCasts ¶
func DeployTypeCasts(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *TypeCasts, error)
DeployTypeCasts deploys a new Ethereum contract, binding an instance of TypeCasts to it.
func NewTypeCasts ¶
NewTypeCasts creates a new instance of TypeCasts, bound to a specific deployed contract.
type TypeCastsCaller ¶
type TypeCastsCaller struct {
// contains filtered or unexported fields
}
TypeCastsCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewTypeCastsCaller ¶
func NewTypeCastsCaller(address common.Address, caller bind.ContractCaller) (*TypeCastsCaller, error)
NewTypeCastsCaller creates a new read-only instance of TypeCasts, bound to a specific deployed contract.
type TypeCastsCallerRaw ¶
type TypeCastsCallerRaw struct {
Contract *TypeCastsCaller // Generic read-only contract binding to access the raw methods on
}
TypeCastsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*TypeCastsCallerRaw) Call ¶
func (_TypeCasts *TypeCastsCallerRaw) 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 TypeCastsCallerSession ¶
type TypeCastsCallerSession struct { Contract *TypeCastsCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
TypeCastsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type TypeCastsFilterer ¶
type TypeCastsFilterer struct {
// contains filtered or unexported fields
}
TypeCastsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewTypeCastsFilterer ¶
func NewTypeCastsFilterer(address common.Address, filterer bind.ContractFilterer) (*TypeCastsFilterer, error)
NewTypeCastsFilterer creates a new log filterer instance of TypeCasts, bound to a specific deployed contract.
type TypeCastsRaw ¶
type TypeCastsRaw struct {
Contract *TypeCasts // Generic contract binding to access the raw methods on
}
TypeCastsRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*TypeCastsRaw) Call ¶
func (_TypeCasts *TypeCastsRaw) 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 (*TypeCastsRaw) Transact ¶
func (_TypeCasts *TypeCastsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TypeCastsRaw) Transfer ¶
func (_TypeCasts *TypeCastsRaw) 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 TypeCastsSession ¶
type TypeCastsSession struct { Contract *TypeCasts // 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 }
TypeCastsSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type TypeCastsTransactor ¶
type TypeCastsTransactor struct {
// contains filtered or unexported fields
}
TypeCastsTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewTypeCastsTransactor ¶
func NewTypeCastsTransactor(address common.Address, transactor bind.ContractTransactor) (*TypeCastsTransactor, error)
NewTypeCastsTransactor creates a new write-only instance of TypeCasts, bound to a specific deployed contract.
type TypeCastsTransactorRaw ¶
type TypeCastsTransactorRaw struct {
Contract *TypeCastsTransactor // Generic write-only contract binding to access the raw methods on
}
TypeCastsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*TypeCastsTransactorRaw) Transact ¶
func (_TypeCasts *TypeCastsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TypeCastsTransactorRaw) Transfer ¶
func (_TypeCasts *TypeCastsTransactorRaw) 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 TypeCastsTransactorSession ¶
type TypeCastsTransactorSession struct { Contract *TypeCastsTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
TypeCastsTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.