erc1820

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Erc1820ABI = Erc1820MetaData.ABI

Erc1820ABI is the input ABI used to generate the binding from. Deprecated: Use Erc1820MetaData.ABI instead.

View Source
var Erc1820MetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"interfaceHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementer\",\"type\":\"address\"}],\"name\":\"InterfaceImplementerSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newManager\",\"type\":\"address\"}],\"name\":\"ManagerChanged\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_interfaceHash\",\"type\":\"bytes32\"}],\"name\":\"getInterfaceImplementer\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"getManager\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"implementsERC165Interface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"implementsERC165InterfaceNoCache\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"interfaceName\",\"type\":\"string\"}],\"name\":\"interfaceHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_interfaceHash\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"implementer\",\"type\":\"address\"}],\"name\":\"setInterfaceImplementer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"newManager\",\"type\":\"address\"}],\"name\":\"setManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"updateERC165Cache\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

Erc1820MetaData contains all meta data concerning the Erc1820 contract.

Functions

This section is empty.

Types

type Erc1820

type Erc1820 struct {
	Erc1820Caller     // Read-only binding to the contract
	Erc1820Transactor // Write-only binding to the contract
	Erc1820Filterer   // Log filterer for contract events
}

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

func NewErc1820

func NewErc1820(address common.Address, backend bind.ContractBackend) (*Erc1820, error)

NewErc1820 creates a new instance of Erc1820, bound to a specific deployed contract.

type Erc1820Caller

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

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

func NewErc1820Caller

func NewErc1820Caller(address common.Address, caller bind.ContractCaller) (*Erc1820Caller, error)

NewErc1820Caller creates a new read-only instance of Erc1820, bound to a specific deployed contract.

func (*Erc1820Caller) GetInterfaceImplementer

func (_Erc1820 *Erc1820Caller) GetInterfaceImplementer(opts *bind.CallOpts, account common.Address, _interfaceHash [32]byte) (common.Address, error)

GetInterfaceImplementer is a free data retrieval call binding the contract method 0xaabbb8ca.

Solidity: function getInterfaceImplementer(address account, bytes32 _interfaceHash) view returns(address)

func (*Erc1820Caller) GetManager

func (_Erc1820 *Erc1820Caller) GetManager(opts *bind.CallOpts, account common.Address) (common.Address, error)

GetManager is a free data retrieval call binding the contract method 0x3d584063.

Solidity: function getManager(address account) view returns(address)

func (*Erc1820Caller) ImplementsERC165Interface

func (_Erc1820 *Erc1820Caller) ImplementsERC165Interface(opts *bind.CallOpts, account common.Address, interfaceId [4]byte) (bool, error)

ImplementsERC165Interface is a free data retrieval call binding the contract method 0xf712f3e8.

Solidity: function implementsERC165Interface(address account, bytes4 interfaceId) view returns(bool)

func (*Erc1820Caller) ImplementsERC165InterfaceNoCache

func (_Erc1820 *Erc1820Caller) ImplementsERC165InterfaceNoCache(opts *bind.CallOpts, account common.Address, interfaceId [4]byte) (bool, error)

ImplementsERC165InterfaceNoCache is a free data retrieval call binding the contract method 0xb7056765.

Solidity: function implementsERC165InterfaceNoCache(address account, bytes4 interfaceId) view returns(bool)

func (*Erc1820Caller) InterfaceHash

func (_Erc1820 *Erc1820Caller) InterfaceHash(opts *bind.CallOpts, interfaceName string) ([32]byte, error)

InterfaceHash is a free data retrieval call binding the contract method 0x65ba36c1.

Solidity: function interfaceHash(string interfaceName) pure returns(bytes32)

type Erc1820CallerRaw

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

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

func (*Erc1820CallerRaw) Call

func (_Erc1820 *Erc1820CallerRaw) 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 Erc1820CallerSession

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

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

func (*Erc1820CallerSession) GetInterfaceImplementer

func (_Erc1820 *Erc1820CallerSession) GetInterfaceImplementer(account common.Address, _interfaceHash [32]byte) (common.Address, error)

GetInterfaceImplementer is a free data retrieval call binding the contract method 0xaabbb8ca.

Solidity: function getInterfaceImplementer(address account, bytes32 _interfaceHash) view returns(address)

func (*Erc1820CallerSession) GetManager

func (_Erc1820 *Erc1820CallerSession) GetManager(account common.Address) (common.Address, error)

GetManager is a free data retrieval call binding the contract method 0x3d584063.

Solidity: function getManager(address account) view returns(address)

func (*Erc1820CallerSession) ImplementsERC165Interface

func (_Erc1820 *Erc1820CallerSession) ImplementsERC165Interface(account common.Address, interfaceId [4]byte) (bool, error)

ImplementsERC165Interface is a free data retrieval call binding the contract method 0xf712f3e8.

Solidity: function implementsERC165Interface(address account, bytes4 interfaceId) view returns(bool)

func (*Erc1820CallerSession) ImplementsERC165InterfaceNoCache

func (_Erc1820 *Erc1820CallerSession) ImplementsERC165InterfaceNoCache(account common.Address, interfaceId [4]byte) (bool, error)

ImplementsERC165InterfaceNoCache is a free data retrieval call binding the contract method 0xb7056765.

Solidity: function implementsERC165InterfaceNoCache(address account, bytes4 interfaceId) view returns(bool)

func (*Erc1820CallerSession) InterfaceHash

func (_Erc1820 *Erc1820CallerSession) InterfaceHash(interfaceName string) ([32]byte, error)

InterfaceHash is a free data retrieval call binding the contract method 0x65ba36c1.

Solidity: function interfaceHash(string interfaceName) pure returns(bytes32)

type Erc1820Filterer

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

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

func NewErc1820Filterer

func NewErc1820Filterer(address common.Address, filterer bind.ContractFilterer) (*Erc1820Filterer, error)

NewErc1820Filterer creates a new log filterer instance of Erc1820, bound to a specific deployed contract.

func (*Erc1820Filterer) FilterInterfaceImplementerSet

func (_Erc1820 *Erc1820Filterer) FilterInterfaceImplementerSet(opts *bind.FilterOpts, account []common.Address, interfaceHash [][32]byte, implementer []common.Address) (*Erc1820InterfaceImplementerSetIterator, error)

FilterInterfaceImplementerSet is a free log retrieval operation binding the contract event 0x93baa6efbd2244243bfee6ce4cfdd1d04fc4c0e9a786abd3a41313bd352db153.

Solidity: event InterfaceImplementerSet(address indexed account, bytes32 indexed interfaceHash, address indexed implementer)

func (*Erc1820Filterer) FilterManagerChanged

func (_Erc1820 *Erc1820Filterer) FilterManagerChanged(opts *bind.FilterOpts, account []common.Address, newManager []common.Address) (*Erc1820ManagerChangedIterator, error)

FilterManagerChanged is a free log retrieval operation binding the contract event 0x605c2dbf762e5f7d60a546d42e7205dcb1b011ebc62a61736a57c9089d3a4350.

Solidity: event ManagerChanged(address indexed account, address indexed newManager)

func (*Erc1820Filterer) ParseInterfaceImplementerSet

func (_Erc1820 *Erc1820Filterer) ParseInterfaceImplementerSet(log types.Log) (*Erc1820InterfaceImplementerSet, error)

ParseInterfaceImplementerSet is a log parse operation binding the contract event 0x93baa6efbd2244243bfee6ce4cfdd1d04fc4c0e9a786abd3a41313bd352db153.

Solidity: event InterfaceImplementerSet(address indexed account, bytes32 indexed interfaceHash, address indexed implementer)

func (*Erc1820Filterer) ParseManagerChanged

func (_Erc1820 *Erc1820Filterer) ParseManagerChanged(log types.Log) (*Erc1820ManagerChanged, error)

ParseManagerChanged is a log parse operation binding the contract event 0x605c2dbf762e5f7d60a546d42e7205dcb1b011ebc62a61736a57c9089d3a4350.

Solidity: event ManagerChanged(address indexed account, address indexed newManager)

func (*Erc1820Filterer) WatchInterfaceImplementerSet

func (_Erc1820 *Erc1820Filterer) WatchInterfaceImplementerSet(opts *bind.WatchOpts, sink chan<- *Erc1820InterfaceImplementerSet, account []common.Address, interfaceHash [][32]byte, implementer []common.Address) (event.Subscription, error)

WatchInterfaceImplementerSet is a free log subscription operation binding the contract event 0x93baa6efbd2244243bfee6ce4cfdd1d04fc4c0e9a786abd3a41313bd352db153.

Solidity: event InterfaceImplementerSet(address indexed account, bytes32 indexed interfaceHash, address indexed implementer)

func (*Erc1820Filterer) WatchManagerChanged

func (_Erc1820 *Erc1820Filterer) WatchManagerChanged(opts *bind.WatchOpts, sink chan<- *Erc1820ManagerChanged, account []common.Address, newManager []common.Address) (event.Subscription, error)

WatchManagerChanged is a free log subscription operation binding the contract event 0x605c2dbf762e5f7d60a546d42e7205dcb1b011ebc62a61736a57c9089d3a4350.

Solidity: event ManagerChanged(address indexed account, address indexed newManager)

type Erc1820InterfaceImplementerSet

type Erc1820InterfaceImplementerSet struct {
	Account       common.Address
	InterfaceHash [32]byte
	Implementer   common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

Erc1820InterfaceImplementerSet represents a InterfaceImplementerSet event raised by the Erc1820 contract.

type Erc1820InterfaceImplementerSetIterator

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

Erc1820InterfaceImplementerSetIterator is returned from FilterInterfaceImplementerSet and is used to iterate over the raw logs and unpacked data for InterfaceImplementerSet events raised by the Erc1820 contract.

func (*Erc1820InterfaceImplementerSetIterator) Close

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

func (*Erc1820InterfaceImplementerSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc1820InterfaceImplementerSetIterator) 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 Erc1820ManagerChanged

type Erc1820ManagerChanged struct {
	Account    common.Address
	NewManager common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

Erc1820ManagerChanged represents a ManagerChanged event raised by the Erc1820 contract.

type Erc1820ManagerChangedIterator

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

Erc1820ManagerChangedIterator is returned from FilterManagerChanged and is used to iterate over the raw logs and unpacked data for ManagerChanged events raised by the Erc1820 contract.

func (*Erc1820ManagerChangedIterator) Close

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

func (*Erc1820ManagerChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc1820ManagerChangedIterator) 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 Erc1820Raw

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

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

func (*Erc1820Raw) Call

func (_Erc1820 *Erc1820Raw) 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 (*Erc1820Raw) Transact

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

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

func (*Erc1820Raw) Transfer

func (_Erc1820 *Erc1820Raw) 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 Erc1820Session

type Erc1820Session struct {
	Contract     *Erc1820          // 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
}

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

func (*Erc1820Session) GetInterfaceImplementer

func (_Erc1820 *Erc1820Session) GetInterfaceImplementer(account common.Address, _interfaceHash [32]byte) (common.Address, error)

GetInterfaceImplementer is a free data retrieval call binding the contract method 0xaabbb8ca.

Solidity: function getInterfaceImplementer(address account, bytes32 _interfaceHash) view returns(address)

func (*Erc1820Session) GetManager

func (_Erc1820 *Erc1820Session) GetManager(account common.Address) (common.Address, error)

GetManager is a free data retrieval call binding the contract method 0x3d584063.

Solidity: function getManager(address account) view returns(address)

func (*Erc1820Session) ImplementsERC165Interface

func (_Erc1820 *Erc1820Session) ImplementsERC165Interface(account common.Address, interfaceId [4]byte) (bool, error)

ImplementsERC165Interface is a free data retrieval call binding the contract method 0xf712f3e8.

Solidity: function implementsERC165Interface(address account, bytes4 interfaceId) view returns(bool)

func (*Erc1820Session) ImplementsERC165InterfaceNoCache

func (_Erc1820 *Erc1820Session) ImplementsERC165InterfaceNoCache(account common.Address, interfaceId [4]byte) (bool, error)

ImplementsERC165InterfaceNoCache is a free data retrieval call binding the contract method 0xb7056765.

Solidity: function implementsERC165InterfaceNoCache(address account, bytes4 interfaceId) view returns(bool)

func (*Erc1820Session) InterfaceHash

func (_Erc1820 *Erc1820Session) InterfaceHash(interfaceName string) ([32]byte, error)

InterfaceHash is a free data retrieval call binding the contract method 0x65ba36c1.

Solidity: function interfaceHash(string interfaceName) pure returns(bytes32)

func (*Erc1820Session) SetInterfaceImplementer

func (_Erc1820 *Erc1820Session) SetInterfaceImplementer(account common.Address, _interfaceHash [32]byte, implementer common.Address) (*types.Transaction, error)

SetInterfaceImplementer is a paid mutator transaction binding the contract method 0x29965a1d.

Solidity: function setInterfaceImplementer(address account, bytes32 _interfaceHash, address implementer) returns()

func (*Erc1820Session) SetManager

func (_Erc1820 *Erc1820Session) SetManager(account common.Address, newManager common.Address) (*types.Transaction, error)

SetManager is a paid mutator transaction binding the contract method 0x5df8122f.

Solidity: function setManager(address account, address newManager) returns()

func (*Erc1820Session) UpdateERC165Cache

func (_Erc1820 *Erc1820Session) UpdateERC165Cache(account common.Address, interfaceId [4]byte) (*types.Transaction, error)

UpdateERC165Cache is a paid mutator transaction binding the contract method 0xa41e7d51.

Solidity: function updateERC165Cache(address account, bytes4 interfaceId) returns()

type Erc1820Transactor

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

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

func NewErc1820Transactor

func NewErc1820Transactor(address common.Address, transactor bind.ContractTransactor) (*Erc1820Transactor, error)

NewErc1820Transactor creates a new write-only instance of Erc1820, bound to a specific deployed contract.

func (*Erc1820Transactor) SetInterfaceImplementer

func (_Erc1820 *Erc1820Transactor) SetInterfaceImplementer(opts *bind.TransactOpts, account common.Address, _interfaceHash [32]byte, implementer common.Address) (*types.Transaction, error)

SetInterfaceImplementer is a paid mutator transaction binding the contract method 0x29965a1d.

Solidity: function setInterfaceImplementer(address account, bytes32 _interfaceHash, address implementer) returns()

func (*Erc1820Transactor) SetManager

func (_Erc1820 *Erc1820Transactor) SetManager(opts *bind.TransactOpts, account common.Address, newManager common.Address) (*types.Transaction, error)

SetManager is a paid mutator transaction binding the contract method 0x5df8122f.

Solidity: function setManager(address account, address newManager) returns()

func (*Erc1820Transactor) UpdateERC165Cache

func (_Erc1820 *Erc1820Transactor) UpdateERC165Cache(opts *bind.TransactOpts, account common.Address, interfaceId [4]byte) (*types.Transaction, error)

UpdateERC165Cache is a paid mutator transaction binding the contract method 0xa41e7d51.

Solidity: function updateERC165Cache(address account, bytes4 interfaceId) returns()

type Erc1820TransactorRaw

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

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

func (*Erc1820TransactorRaw) Transact

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

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

func (*Erc1820TransactorRaw) Transfer

func (_Erc1820 *Erc1820TransactorRaw) 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 Erc1820TransactorSession

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

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

func (*Erc1820TransactorSession) SetInterfaceImplementer

func (_Erc1820 *Erc1820TransactorSession) SetInterfaceImplementer(account common.Address, _interfaceHash [32]byte, implementer common.Address) (*types.Transaction, error)

SetInterfaceImplementer is a paid mutator transaction binding the contract method 0x29965a1d.

Solidity: function setInterfaceImplementer(address account, bytes32 _interfaceHash, address implementer) returns()

func (*Erc1820TransactorSession) SetManager

func (_Erc1820 *Erc1820TransactorSession) SetManager(account common.Address, newManager common.Address) (*types.Transaction, error)

SetManager is a paid mutator transaction binding the contract method 0x5df8122f.

Solidity: function setManager(address account, address newManager) returns()

func (*Erc1820TransactorSession) UpdateERC165Cache

func (_Erc1820 *Erc1820TransactorSession) UpdateERC165Cache(account common.Address, interfaceId [4]byte) (*types.Transaction, error)

UpdateERC165Cache is a paid mutator transaction binding the contract method 0xa41e7d51.

Solidity: function updateERC165Cache(address account, bytes4 interfaceId) returns()

Jump to

Keyboard shortcuts

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