abi

package
v0.0.0-...-726cabc Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NameResolverFacetABI = NameResolverFacetMetaData.ABI

NameResolverFacetABI is the input ABI used to generate the binding from. Deprecated: Use NameResolverFacetMetaData.ABI instead.

View Source
var NameResolverFacetMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"NameChanged\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"}],\"name\":\"setName\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

NameResolverFacetMetaData contains all meta data concerning the NameResolverFacet contract.

Functions

This section is empty.

Types

type NameResolverFacet

type NameResolverFacet struct {
	NameResolverFacetCaller     // Read-only binding to the contract
	NameResolverFacetTransactor // Write-only binding to the contract
	NameResolverFacetFilterer   // Log filterer for contract events
}

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

func NewNameResolverFacet

func NewNameResolverFacet(address common.Address, backend bind.ContractBackend) (*NameResolverFacet, error)

NewNameResolverFacet creates a new instance of NameResolverFacet, bound to a specific deployed contract.

type NameResolverFacetCaller

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

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

func NewNameResolverFacetCaller

func NewNameResolverFacetCaller(address common.Address, caller bind.ContractCaller) (*NameResolverFacetCaller, error)

NewNameResolverFacetCaller creates a new read-only instance of NameResolverFacet, bound to a specific deployed contract.

func (*NameResolverFacetCaller) Name

func (_NameResolverFacet *NameResolverFacetCaller) Name(opts *bind.CallOpts, node [32]byte) (string, error)

Name is a free data retrieval call binding the contract method 0x691f3431.

Solidity: function name(bytes32 node) view returns(string)

type NameResolverFacetCallerRaw

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

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

func (*NameResolverFacetCallerRaw) Call

func (_NameResolverFacet *NameResolverFacetCallerRaw) 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 NameResolverFacetCallerSession

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

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

func (*NameResolverFacetCallerSession) Name

func (_NameResolverFacet *NameResolverFacetCallerSession) Name(node [32]byte) (string, error)

Name is a free data retrieval call binding the contract method 0x691f3431.

Solidity: function name(bytes32 node) view returns(string)

type NameResolverFacetFilterer

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

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

func NewNameResolverFacetFilterer

func NewNameResolverFacetFilterer(address common.Address, filterer bind.ContractFilterer) (*NameResolverFacetFilterer, error)

NewNameResolverFacetFilterer creates a new log filterer instance of NameResolverFacet, bound to a specific deployed contract.

func (*NameResolverFacetFilterer) FilterNameChanged

func (_NameResolverFacet *NameResolverFacetFilterer) FilterNameChanged(opts *bind.FilterOpts, node [][32]byte) (*NameResolverFacetNameChangedIterator, error)

FilterNameChanged is a free log retrieval operation binding the contract event 0xb7d29e911041e8d9b843369e890bcb72c9388692ba48b65ac54e7214c4c348f7.

Solidity: event NameChanged(bytes32 indexed node, string name)

func (*NameResolverFacetFilterer) ParseNameChanged

func (_NameResolverFacet *NameResolverFacetFilterer) ParseNameChanged(log types.Log) (*NameResolverFacetNameChanged, error)

ParseNameChanged is a log parse operation binding the contract event 0xb7d29e911041e8d9b843369e890bcb72c9388692ba48b65ac54e7214c4c348f7.

Solidity: event NameChanged(bytes32 indexed node, string name)

func (*NameResolverFacetFilterer) WatchNameChanged

func (_NameResolverFacet *NameResolverFacetFilterer) WatchNameChanged(opts *bind.WatchOpts, sink chan<- *NameResolverFacetNameChanged, node [][32]byte) (event.Subscription, error)

WatchNameChanged is a free log subscription operation binding the contract event 0xb7d29e911041e8d9b843369e890bcb72c9388692ba48b65ac54e7214c4c348f7.

Solidity: event NameChanged(bytes32 indexed node, string name)

type NameResolverFacetNameChanged

type NameResolverFacetNameChanged struct {
	Node [32]byte
	Name string
	Raw  types.Log // Blockchain specific contextual infos
}

NameResolverFacetNameChanged represents a NameChanged event raised by the NameResolverFacet contract.

type NameResolverFacetNameChangedIterator

type NameResolverFacetNameChangedIterator struct {
	Event *NameResolverFacetNameChanged // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

NameResolverFacetNameChangedIterator is returned from FilterNameChanged and is used to iterate over the raw logs and unpacked data for NameChanged events raised by the NameResolverFacet contract.

func (*NameResolverFacetNameChangedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*NameResolverFacetNameChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NameResolverFacetNameChangedIterator) Next

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 NameResolverFacetRaw

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

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

func (*NameResolverFacetRaw) Call

func (_NameResolverFacet *NameResolverFacetRaw) 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 (*NameResolverFacetRaw) Transact

func (_NameResolverFacet *NameResolverFacetRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*NameResolverFacetRaw) Transfer

func (_NameResolverFacet *NameResolverFacetRaw) 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 NameResolverFacetSession

type NameResolverFacetSession struct {
	Contract     *NameResolverFacet // 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
}

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

func (*NameResolverFacetSession) Name

func (_NameResolverFacet *NameResolverFacetSession) Name(node [32]byte) (string, error)

Name is a free data retrieval call binding the contract method 0x691f3431.

Solidity: function name(bytes32 node) view returns(string)

func (*NameResolverFacetSession) SetName

func (_NameResolverFacet *NameResolverFacetSession) SetName(node [32]byte, _name string) (*types.Transaction, error)

SetName is a paid mutator transaction binding the contract method 0x77372213.

Solidity: function setName(bytes32 node, string _name) returns()

type NameResolverFacetTransactor

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

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

func NewNameResolverFacetTransactor

func NewNameResolverFacetTransactor(address common.Address, transactor bind.ContractTransactor) (*NameResolverFacetTransactor, error)

NewNameResolverFacetTransactor creates a new write-only instance of NameResolverFacet, bound to a specific deployed contract.

func (*NameResolverFacetTransactor) SetName

func (_NameResolverFacet *NameResolverFacetTransactor) SetName(opts *bind.TransactOpts, node [32]byte, _name string) (*types.Transaction, error)

SetName is a paid mutator transaction binding the contract method 0x77372213.

Solidity: function setName(bytes32 node, string _name) returns()

type NameResolverFacetTransactorRaw

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

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

func (*NameResolverFacetTransactorRaw) Transact

func (_NameResolverFacet *NameResolverFacetTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*NameResolverFacetTransactorRaw) Transfer

func (_NameResolverFacet *NameResolverFacetTransactorRaw) 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 NameResolverFacetTransactorSession

type NameResolverFacetTransactorSession struct {
	Contract     *NameResolverFacetTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts            // Transaction auth options to use throughout this session
}

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

func (*NameResolverFacetTransactorSession) SetName

func (_NameResolverFacet *NameResolverFacetTransactorSession) SetName(node [32]byte, _name string) (*types.Transaction, error)

SetName is a paid mutator transaction binding the contract method 0x77372213.

Solidity: function setName(bytes32 node, string _name) returns()

Jump to

Keyboard shortcuts

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