Documentation ¶
Index ¶
- Variables
- type ERC1967Utils
- type ERC1967UtilsAdminChanged
- type ERC1967UtilsAdminChangedIterator
- type ERC1967UtilsBeaconUpgraded
- type ERC1967UtilsBeaconUpgradedIterator
- type ERC1967UtilsCaller
- type ERC1967UtilsCallerRaw
- type ERC1967UtilsCallerSession
- type ERC1967UtilsFilterer
- func (_ERC1967Utils *ERC1967UtilsFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*ERC1967UtilsAdminChangedIterator, error)
- func (_ERC1967Utils *ERC1967UtilsFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*ERC1967UtilsBeaconUpgradedIterator, error)
- func (_ERC1967Utils *ERC1967UtilsFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*ERC1967UtilsUpgradedIterator, error)
- func (_ERC1967Utils *ERC1967UtilsFilterer) ParseAdminChanged(log types.Log) (*ERC1967UtilsAdminChanged, error)
- func (_ERC1967Utils *ERC1967UtilsFilterer) ParseBeaconUpgraded(log types.Log) (*ERC1967UtilsBeaconUpgraded, error)
- func (_ERC1967Utils *ERC1967UtilsFilterer) ParseUpgraded(log types.Log) (*ERC1967UtilsUpgraded, error)
- func (_ERC1967Utils *ERC1967UtilsFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *ERC1967UtilsAdminChanged) (event.Subscription, error)
- func (_ERC1967Utils *ERC1967UtilsFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *ERC1967UtilsBeaconUpgraded, ...) (event.Subscription, error)
- func (_ERC1967Utils *ERC1967UtilsFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *ERC1967UtilsUpgraded, ...) (event.Subscription, error)
- type ERC1967UtilsRaw
- func (_ERC1967Utils *ERC1967UtilsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ERC1967Utils *ERC1967UtilsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ERC1967Utils *ERC1967UtilsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC1967UtilsSession
- type ERC1967UtilsTransactor
- type ERC1967UtilsTransactorRaw
- type ERC1967UtilsTransactorSession
- type ERC1967UtilsUpgraded
- type ERC1967UtilsUpgradedIterator
Constants ¶
This section is empty.
Variables ¶
var ERC1967UtilsABI = ERC1967UtilsMetaData.ABI
ERC1967UtilsABI is the input ABI used to generate the binding from. Deprecated: Use ERC1967UtilsMetaData.ABI instead.
var ERC1967UtilsBin = ERC1967UtilsMetaData.Bin
ERC1967UtilsBin is the compiled bytecode used for deploying new contracts. Deprecated: Use ERC1967UtilsMetaData.Bin instead.
var ERC1967UtilsMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"}],\"name\":\"ERC1967InvalidAdmin\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\"}],\"name\":\"ERC1967InvalidBeacon\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"ERC1967InvalidImplementation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ERC1967NonPayable\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"}]",
Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212209c8743ddfc5db36f715983637591eefdb90bb3bd861ff75e197f8bfa9b46e10a64736f6c63430008150033",
}
ERC1967UtilsMetaData contains all meta data concerning the ERC1967Utils contract.
Functions ¶
This section is empty.
Types ¶
type ERC1967Utils ¶
type ERC1967Utils struct { ERC1967UtilsCaller // Read-only binding to the contract ERC1967UtilsTransactor // Write-only binding to the contract ERC1967UtilsFilterer // Log filterer for contract events }
ERC1967Utils is an auto generated Go binding around an Ethereum contract.
func DeployERC1967Utils ¶
func DeployERC1967Utils(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ERC1967Utils, error)
DeployERC1967Utils deploys a new Ethereum contract, binding an instance of ERC1967Utils to it.
func NewERC1967Utils ¶
func NewERC1967Utils(address common.Address, backend bind.ContractBackend) (*ERC1967Utils, error)
NewERC1967Utils creates a new instance of ERC1967Utils, bound to a specific deployed contract.
type ERC1967UtilsAdminChanged ¶
type ERC1967UtilsAdminChanged struct { PreviousAdmin common.Address NewAdmin common.Address Raw types.Log // Blockchain specific contextual infos }
ERC1967UtilsAdminChanged represents a AdminChanged event raised by the ERC1967Utils contract.
type ERC1967UtilsAdminChangedIterator ¶
type ERC1967UtilsAdminChangedIterator struct { Event *ERC1967UtilsAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC1967UtilsAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the ERC1967Utils contract.
func (*ERC1967UtilsAdminChangedIterator) Close ¶
func (it *ERC1967UtilsAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC1967UtilsAdminChangedIterator) Error ¶
func (it *ERC1967UtilsAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC1967UtilsAdminChangedIterator) Next ¶
func (it *ERC1967UtilsAdminChangedIterator) 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 ERC1967UtilsBeaconUpgraded ¶
type ERC1967UtilsBeaconUpgraded struct { Beacon common.Address Raw types.Log // Blockchain specific contextual infos }
ERC1967UtilsBeaconUpgraded represents a BeaconUpgraded event raised by the ERC1967Utils contract.
type ERC1967UtilsBeaconUpgradedIterator ¶
type ERC1967UtilsBeaconUpgradedIterator struct { Event *ERC1967UtilsBeaconUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC1967UtilsBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the ERC1967Utils contract.
func (*ERC1967UtilsBeaconUpgradedIterator) Close ¶
func (it *ERC1967UtilsBeaconUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC1967UtilsBeaconUpgradedIterator) Error ¶
func (it *ERC1967UtilsBeaconUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC1967UtilsBeaconUpgradedIterator) Next ¶
func (it *ERC1967UtilsBeaconUpgradedIterator) 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 ERC1967UtilsCaller ¶
type ERC1967UtilsCaller struct {
// contains filtered or unexported fields
}
ERC1967UtilsCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewERC1967UtilsCaller ¶
func NewERC1967UtilsCaller(address common.Address, caller bind.ContractCaller) (*ERC1967UtilsCaller, error)
NewERC1967UtilsCaller creates a new read-only instance of ERC1967Utils, bound to a specific deployed contract.
type ERC1967UtilsCallerRaw ¶
type ERC1967UtilsCallerRaw struct {
Contract *ERC1967UtilsCaller // Generic read-only contract binding to access the raw methods on
}
ERC1967UtilsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ERC1967UtilsCallerRaw) Call ¶
func (_ERC1967Utils *ERC1967UtilsCallerRaw) 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 ERC1967UtilsCallerSession ¶
type ERC1967UtilsCallerSession struct { Contract *ERC1967UtilsCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ERC1967UtilsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type ERC1967UtilsFilterer ¶
type ERC1967UtilsFilterer struct {
// contains filtered or unexported fields
}
ERC1967UtilsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewERC1967UtilsFilterer ¶
func NewERC1967UtilsFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC1967UtilsFilterer, error)
NewERC1967UtilsFilterer creates a new log filterer instance of ERC1967Utils, bound to a specific deployed contract.
func (*ERC1967UtilsFilterer) FilterAdminChanged ¶
func (_ERC1967Utils *ERC1967UtilsFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*ERC1967UtilsAdminChangedIterator, error)
FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*ERC1967UtilsFilterer) FilterBeaconUpgraded ¶
func (_ERC1967Utils *ERC1967UtilsFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*ERC1967UtilsBeaconUpgradedIterator, error)
FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*ERC1967UtilsFilterer) FilterUpgraded ¶
func (_ERC1967Utils *ERC1967UtilsFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*ERC1967UtilsUpgradedIterator, error)
FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*ERC1967UtilsFilterer) ParseAdminChanged ¶
func (_ERC1967Utils *ERC1967UtilsFilterer) ParseAdminChanged(log types.Log) (*ERC1967UtilsAdminChanged, error)
ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*ERC1967UtilsFilterer) ParseBeaconUpgraded ¶
func (_ERC1967Utils *ERC1967UtilsFilterer) ParseBeaconUpgraded(log types.Log) (*ERC1967UtilsBeaconUpgraded, error)
ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*ERC1967UtilsFilterer) ParseUpgraded ¶
func (_ERC1967Utils *ERC1967UtilsFilterer) ParseUpgraded(log types.Log) (*ERC1967UtilsUpgraded, error)
ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*ERC1967UtilsFilterer) WatchAdminChanged ¶
func (_ERC1967Utils *ERC1967UtilsFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *ERC1967UtilsAdminChanged) (event.Subscription, error)
WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*ERC1967UtilsFilterer) WatchBeaconUpgraded ¶
func (_ERC1967Utils *ERC1967UtilsFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *ERC1967UtilsBeaconUpgraded, beacon []common.Address) (event.Subscription, error)
WatchBeaconUpgraded is a free log subscription operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*ERC1967UtilsFilterer) WatchUpgraded ¶
func (_ERC1967Utils *ERC1967UtilsFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *ERC1967UtilsUpgraded, implementation []common.Address) (event.Subscription, error)
WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
type ERC1967UtilsRaw ¶
type ERC1967UtilsRaw struct {
Contract *ERC1967Utils // Generic contract binding to access the raw methods on
}
ERC1967UtilsRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ERC1967UtilsRaw) Call ¶
func (_ERC1967Utils *ERC1967UtilsRaw) 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 (*ERC1967UtilsRaw) Transact ¶
func (_ERC1967Utils *ERC1967UtilsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC1967UtilsRaw) Transfer ¶
func (_ERC1967Utils *ERC1967UtilsRaw) 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 ERC1967UtilsSession ¶
type ERC1967UtilsSession struct { Contract *ERC1967Utils // 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 }
ERC1967UtilsSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type ERC1967UtilsTransactor ¶
type ERC1967UtilsTransactor struct {
// contains filtered or unexported fields
}
ERC1967UtilsTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewERC1967UtilsTransactor ¶
func NewERC1967UtilsTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC1967UtilsTransactor, error)
NewERC1967UtilsTransactor creates a new write-only instance of ERC1967Utils, bound to a specific deployed contract.
type ERC1967UtilsTransactorRaw ¶
type ERC1967UtilsTransactorRaw struct {
Contract *ERC1967UtilsTransactor // Generic write-only contract binding to access the raw methods on
}
ERC1967UtilsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ERC1967UtilsTransactorRaw) Transact ¶
func (_ERC1967Utils *ERC1967UtilsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC1967UtilsTransactorRaw) Transfer ¶
func (_ERC1967Utils *ERC1967UtilsTransactorRaw) 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 ERC1967UtilsTransactorSession ¶
type ERC1967UtilsTransactorSession struct { Contract *ERC1967UtilsTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC1967UtilsTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type ERC1967UtilsUpgraded ¶
type ERC1967UtilsUpgraded struct { Implementation common.Address Raw types.Log // Blockchain specific contextual infos }
ERC1967UtilsUpgraded represents a Upgraded event raised by the ERC1967Utils contract.
type ERC1967UtilsUpgradedIterator ¶
type ERC1967UtilsUpgradedIterator struct { Event *ERC1967UtilsUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC1967UtilsUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the ERC1967Utils contract.
func (*ERC1967UtilsUpgradedIterator) Close ¶
func (it *ERC1967UtilsUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC1967UtilsUpgradedIterator) Error ¶
func (it *ERC1967UtilsUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC1967UtilsUpgradedIterator) Next ¶
func (it *ERC1967UtilsUpgradedIterator) 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.