Documentation
¶
Index ¶
- Variables
- type VirtContractResolver
- type VirtContractResolverCaller
- type VirtContractResolverCallerRaw
- type VirtContractResolverCallerSession
- type VirtContractResolverDeploy
- type VirtContractResolverDeployIterator
- type VirtContractResolverFilterer
- func (_VirtContractResolver *VirtContractResolverFilterer) FilterDeploy(opts *bind.FilterOpts, virtAddr [][32]byte) (*VirtContractResolverDeployIterator, error)
- func (_VirtContractResolver *VirtContractResolverFilterer) ParseDeploy(log types.Log) (*VirtContractResolverDeploy, error)
- func (_VirtContractResolver *VirtContractResolverFilterer) WatchDeploy(opts *bind.WatchOpts, sink chan<- *VirtContractResolverDeploy, ...) (event.Subscription, error)
- type VirtContractResolverRaw
- func (_VirtContractResolver *VirtContractResolverRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_VirtContractResolver *VirtContractResolverRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_VirtContractResolver *VirtContractResolverRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type VirtContractResolverSession
- type VirtContractResolverTransactor
- type VirtContractResolverTransactorRaw
- type VirtContractResolverTransactorSession
Constants ¶
This section is empty.
Variables ¶
var VirtContractResolverABI = VirtContractResolverMetaData.ABI
VirtContractResolverABI is the input ABI used to generate the binding from. Deprecated: Use VirtContractResolverMetaData.ABI instead.
var VirtContractResolverBin = VirtContractResolverMetaData.Bin
VirtContractResolverBin is the compiled bytecode used for deploying new contracts. Deprecated: Use VirtContractResolverMetaData.Bin instead.
var VirtContractResolverMetaData = &bind.MetaData{
ABI: "[{\"type\":\"function\",\"name\":\"deploy\",\"inputs\":[{\"name\":\"_code\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"_nonce\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"resolve\",\"inputs\":[{\"name\":\"_virtAddr\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"event\",\"name\":\"Deploy\",\"inputs\":[{\"name\":\"virtAddr\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"}],\"anonymous\":false}]",
Bin: "0x6080604052348015600e575f5ffd5b506103648061001c5f395ff3fe608060405234801561000f575f5ffd5b5060043610610034575f3560e01c80635c23bdf5146100385780639c4ae2d014610068575b5f5ffd5b61004b610046366004610293565b61008b565b6040516001600160a01b0390911681526020015b60405180910390f35b61007b6100763660046102aa565b61010e565b604051901515815260200161005f565b5f818152602081905260408120546001600160a01b03166100f35760405162461bcd60e51b815260206004820152601b60248201527f4e6f6e6578697374656e74207669727475616c2061646472657373000000000060448201526064015b60405180910390fd5b505f908152602081905260409020546001600160a01b031690565b5f5f8484846040516020016101259392919061031c565b6040516020818303038152906040528051906020012090505f85858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920182905250868152602081905260409020549394505050506001600160a01b0316156101d85760405162461bcd60e51b815260206004820152601d60248201527f43757272656e74207265616c2061646472657373206973206e6f74203000000060448201526064016100ea565b5f8151602083015ff090506001600160a01b0381166102395760405162461bcd60e51b815260206004820152601760248201527f43726561746520636f6e7472616374206661696c65642e00000000000000000060448201526064016100ea565b5f8381526020819052604080822080546001600160a01b0319166001600160a01b0385161790555184917f149208daa30a9306858cc9c171c3510e0e50ab5d59ed2027a37a728430dd02e491a25060019695505050505050565b5f602082840312156102a3575f5ffd5b5035919050565b5f5f5f604084860312156102bc575f5ffd5b833567ffffffffffffffff8111156102d2575f5ffd5b8401601f810186136102e2575f5ffd5b803567ffffffffffffffff8111156102f8575f5ffd5b866020828401011115610309575f5ffd5b6020918201979096509401359392505050565b8284823790910190815260200191905056fea2646970667358221220d118366c009e18f360fd233859f12e12a1bb98f7e30d00aa6259f13aa52a748f64736f6c634300081d0033",
}
VirtContractResolverMetaData contains all meta data concerning the VirtContractResolver contract.
Functions ¶
This section is empty.
Types ¶
type VirtContractResolver ¶
type VirtContractResolver struct {
VirtContractResolverCaller // Read-only binding to the contract
VirtContractResolverTransactor // Write-only binding to the contract
VirtContractResolverFilterer // Log filterer for contract events
}
VirtContractResolver is an auto generated Go binding around an Ethereum contract.
func DeployVirtContractResolver ¶
func DeployVirtContractResolver(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *VirtContractResolver, error)
DeployVirtContractResolver deploys a new Ethereum contract, binding an instance of VirtContractResolver to it.
func NewVirtContractResolver ¶
func NewVirtContractResolver(address common.Address, backend bind.ContractBackend) (*VirtContractResolver, error)
NewVirtContractResolver creates a new instance of VirtContractResolver, bound to a specific deployed contract.
type VirtContractResolverCaller ¶
type VirtContractResolverCaller struct {
// contains filtered or unexported fields
}
VirtContractResolverCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewVirtContractResolverCaller ¶
func NewVirtContractResolverCaller(address common.Address, caller bind.ContractCaller) (*VirtContractResolverCaller, error)
NewVirtContractResolverCaller creates a new read-only instance of VirtContractResolver, bound to a specific deployed contract.
func (*VirtContractResolverCaller) Resolve ¶
func (_VirtContractResolver *VirtContractResolverCaller) Resolve(opts *bind.CallOpts, _virtAddr [32]byte) (common.Address, error)
Resolve is a free data retrieval call binding the contract method 0x5c23bdf5.
Solidity: function resolve(bytes32 _virtAddr) view returns(address)
type VirtContractResolverCallerRaw ¶
type VirtContractResolverCallerRaw struct {
Contract *VirtContractResolverCaller // Generic read-only contract binding to access the raw methods on
}
VirtContractResolverCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*VirtContractResolverCallerRaw) Call ¶
func (_VirtContractResolver *VirtContractResolverCallerRaw) 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 VirtContractResolverCallerSession ¶
type VirtContractResolverCallerSession struct {
Contract *VirtContractResolverCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
VirtContractResolverCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*VirtContractResolverCallerSession) Resolve ¶
func (_VirtContractResolver *VirtContractResolverCallerSession) Resolve(_virtAddr [32]byte) (common.Address, error)
Resolve is a free data retrieval call binding the contract method 0x5c23bdf5.
Solidity: function resolve(bytes32 _virtAddr) view returns(address)
type VirtContractResolverDeploy ¶
type VirtContractResolverDeploy struct {
VirtAddr [32]byte
Raw types.Log // Blockchain specific contextual infos
}
VirtContractResolverDeploy represents a Deploy event raised by the VirtContractResolver contract.
type VirtContractResolverDeployIterator ¶
type VirtContractResolverDeployIterator struct {
Event *VirtContractResolverDeploy // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
VirtContractResolverDeployIterator is returned from FilterDeploy and is used to iterate over the raw logs and unpacked data for Deploy events raised by the VirtContractResolver contract.
func (*VirtContractResolverDeployIterator) Close ¶
func (it *VirtContractResolverDeployIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*VirtContractResolverDeployIterator) Error ¶
func (it *VirtContractResolverDeployIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*VirtContractResolverDeployIterator) Next ¶
func (it *VirtContractResolverDeployIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type VirtContractResolverFilterer ¶
type VirtContractResolverFilterer struct {
// contains filtered or unexported fields
}
VirtContractResolverFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewVirtContractResolverFilterer ¶
func NewVirtContractResolverFilterer(address common.Address, filterer bind.ContractFilterer) (*VirtContractResolverFilterer, error)
NewVirtContractResolverFilterer creates a new log filterer instance of VirtContractResolver, bound to a specific deployed contract.
func (*VirtContractResolverFilterer) FilterDeploy ¶
func (_VirtContractResolver *VirtContractResolverFilterer) FilterDeploy(opts *bind.FilterOpts, virtAddr [][32]byte) (*VirtContractResolverDeployIterator, error)
FilterDeploy is a free log retrieval operation binding the contract event 0x149208daa30a9306858cc9c171c3510e0e50ab5d59ed2027a37a728430dd02e4.
Solidity: event Deploy(bytes32 indexed virtAddr)
func (*VirtContractResolverFilterer) ParseDeploy ¶
func (_VirtContractResolver *VirtContractResolverFilterer) ParseDeploy(log types.Log) (*VirtContractResolverDeploy, error)
ParseDeploy is a log parse operation binding the contract event 0x149208daa30a9306858cc9c171c3510e0e50ab5d59ed2027a37a728430dd02e4.
Solidity: event Deploy(bytes32 indexed virtAddr)
func (*VirtContractResolverFilterer) WatchDeploy ¶
func (_VirtContractResolver *VirtContractResolverFilterer) WatchDeploy(opts *bind.WatchOpts, sink chan<- *VirtContractResolverDeploy, virtAddr [][32]byte) (event.Subscription, error)
WatchDeploy is a free log subscription operation binding the contract event 0x149208daa30a9306858cc9c171c3510e0e50ab5d59ed2027a37a728430dd02e4.
Solidity: event Deploy(bytes32 indexed virtAddr)
type VirtContractResolverRaw ¶
type VirtContractResolverRaw struct {
Contract *VirtContractResolver // Generic contract binding to access the raw methods on
}
VirtContractResolverRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*VirtContractResolverRaw) Call ¶
func (_VirtContractResolver *VirtContractResolverRaw) 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 (*VirtContractResolverRaw) Transact ¶
func (_VirtContractResolver *VirtContractResolverRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*VirtContractResolverRaw) Transfer ¶
func (_VirtContractResolver *VirtContractResolverRaw) 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 VirtContractResolverSession ¶
type VirtContractResolverSession struct {
Contract *VirtContractResolver // 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
}
VirtContractResolverSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*VirtContractResolverSession) Deploy ¶
func (_VirtContractResolver *VirtContractResolverSession) Deploy(_code []byte, _nonce *big.Int) (*types.Transaction, error)
Deploy is a paid mutator transaction binding the contract method 0x9c4ae2d0.
Solidity: function deploy(bytes _code, uint256 _nonce) returns(bool)
func (*VirtContractResolverSession) Resolve ¶
func (_VirtContractResolver *VirtContractResolverSession) Resolve(_virtAddr [32]byte) (common.Address, error)
Resolve is a free data retrieval call binding the contract method 0x5c23bdf5.
Solidity: function resolve(bytes32 _virtAddr) view returns(address)
type VirtContractResolverTransactor ¶
type VirtContractResolverTransactor struct {
// contains filtered or unexported fields
}
VirtContractResolverTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewVirtContractResolverTransactor ¶
func NewVirtContractResolverTransactor(address common.Address, transactor bind.ContractTransactor) (*VirtContractResolverTransactor, error)
NewVirtContractResolverTransactor creates a new write-only instance of VirtContractResolver, bound to a specific deployed contract.
func (*VirtContractResolverTransactor) Deploy ¶
func (_VirtContractResolver *VirtContractResolverTransactor) Deploy(opts *bind.TransactOpts, _code []byte, _nonce *big.Int) (*types.Transaction, error)
Deploy is a paid mutator transaction binding the contract method 0x9c4ae2d0.
Solidity: function deploy(bytes _code, uint256 _nonce) returns(bool)
type VirtContractResolverTransactorRaw ¶
type VirtContractResolverTransactorRaw struct {
Contract *VirtContractResolverTransactor // Generic write-only contract binding to access the raw methods on
}
VirtContractResolverTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*VirtContractResolverTransactorRaw) Transact ¶
func (_VirtContractResolver *VirtContractResolverTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*VirtContractResolverTransactorRaw) Transfer ¶
func (_VirtContractResolver *VirtContractResolverTransactorRaw) 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 VirtContractResolverTransactorSession ¶
type VirtContractResolverTransactorSession struct {
Contract *VirtContractResolverTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
VirtContractResolverTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*VirtContractResolverTransactorSession) Deploy ¶
func (_VirtContractResolver *VirtContractResolverTransactorSession) Deploy(_code []byte, _nonce *big.Int) (*types.Transaction, error)
Deploy is a paid mutator transaction binding the contract method 0x9c4ae2d0.
Solidity: function deploy(bytes _code, uint256 _nonce) returns(bool)