wrappers

package
v2.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2023 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WrappersABI = WrappersMetaData.ABI

WrappersABI is the input ABI used to generate the binding from. Deprecated: Use WrappersMetaData.ABI instead.

View Source
var WrappersBin = WrappersMetaData.Bin

WrappersBin is the compiled bytecode used for deploying new contracts. Deprecated: Use WrappersMetaData.Bin instead.

View Source
var WrappersMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_logic\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"constructor\"},{\"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\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
	Bin: "0x608060405261043a80380380610014816100bc565b92833981016040828203126100a1578151916001600160a01b03831683036100a1576020810151906001600160401b0382116100a157019181601f840112156100a15782519261006b610066856100e6565b6100bc565b92848452602085830101116100a1576100939361008e9160208086019101610101565b610124565b60405160d190816103698239f35b600080fd5b634e487b7160e01b600052604160045260246000fd5b6040519190601f01601f191682016001600160401b038111838210176100e157604052565b6100a6565b6001600160401b0381116100e157601f01601f191660200190565b60005b8381106101145750506000910152565b8181015183820152602001610104565b803b156101bd577f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0383169081179091557fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b600080a28151158015906101b5575b6101a0575050565b6101b2916101ac610218565b91610271565b50565b506000610198565b60405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608490fd5b60405190606082016001600160401b038111838210176100e15760405260278252660819985a5b195960ca1b6040837f416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c60208201520152565b9190823b156102ba576000816102af9460208394519201905af43d156102b2573d9061029f610066836100e6565b9182523d6000602084013e61030e565b90565b60609061030e565b60405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608490fd5b9091901561031a575090565b81511561032a5750805190602001fd5b6044604051809262461bcd60e51b82526020600483015261035a8151809281602486015260208686019101610101565b601f01601f19168101030190fdfe608060405236156054577f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc54600090819081906001600160a01b0316368280378136915af43d82803e156050573d90f35b3d90fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc54600090819081906001600160a01b0316368280378136915af43d82803e156050573d90f3fea2646970667358221220ef6b3e0ff92957bb21e84dcaef629b3f7e0dc1a1f0927afcf196c125d891070764736f6c63430008140033",
}

WrappersMetaData contains all meta data concerning the Wrappers contract.

Functions

This section is empty.

Types

type Wrappers

type Wrappers struct {
	WrappersCaller     // Read-only binding to the contract
	WrappersTransactor // Write-only binding to the contract
	WrappersFilterer   // Log filterer for contract events
}

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

func DeployWrappers

func DeployWrappers(auth *bind.TransactOpts, backend bind.ContractBackend, _logic common.Address, _data []byte) (common.Address, *types.Transaction, *Wrappers, error)

DeployWrappers deploys a new Ethereum contract, binding an instance of Wrappers to it.

func NewWrappers

func NewWrappers(address common.Address, backend bind.ContractBackend) (*Wrappers, error)

NewWrappers creates a new instance of Wrappers, bound to a specific deployed contract.

type WrappersAdminChanged

type WrappersAdminChanged struct {
	PreviousAdmin common.Address
	NewAdmin      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

WrappersAdminChanged represents a AdminChanged event raised by the Wrappers contract.

type WrappersAdminChangedIterator

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

WrappersAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the Wrappers contract.

func (*WrappersAdminChangedIterator) Close

func (it *WrappersAdminChangedIterator) Close() error

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

func (*WrappersAdminChangedIterator) Error

func (it *WrappersAdminChangedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*WrappersAdminChangedIterator) 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 WrappersBeaconUpgraded

type WrappersBeaconUpgraded struct {
	Beacon common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

WrappersBeaconUpgraded represents a BeaconUpgraded event raised by the Wrappers contract.

type WrappersBeaconUpgradedIterator

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

WrappersBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the Wrappers contract.

func (*WrappersBeaconUpgradedIterator) Close

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

func (*WrappersBeaconUpgradedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*WrappersBeaconUpgradedIterator) 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 WrappersCaller

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

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

func NewWrappersCaller

func NewWrappersCaller(address common.Address, caller bind.ContractCaller) (*WrappersCaller, error)

NewWrappersCaller creates a new read-only instance of Wrappers, bound to a specific deployed contract.

type WrappersCallerRaw

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

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

func (*WrappersCallerRaw) Call

func (_Wrappers *WrappersCallerRaw) 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 WrappersCallerSession

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

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

type WrappersFilterer

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

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

func NewWrappersFilterer

func NewWrappersFilterer(address common.Address, filterer bind.ContractFilterer) (*WrappersFilterer, error)

NewWrappersFilterer creates a new log filterer instance of Wrappers, bound to a specific deployed contract.

func (*WrappersFilterer) FilterAdminChanged

func (_Wrappers *WrappersFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*WrappersAdminChangedIterator, error)

FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*WrappersFilterer) FilterBeaconUpgraded

func (_Wrappers *WrappersFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*WrappersBeaconUpgradedIterator, error)

FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*WrappersFilterer) FilterUpgraded

func (_Wrappers *WrappersFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*WrappersUpgradedIterator, error)

FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*WrappersFilterer) ParseAdminChanged

func (_Wrappers *WrappersFilterer) ParseAdminChanged(log types.Log) (*WrappersAdminChanged, error)

ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*WrappersFilterer) ParseBeaconUpgraded

func (_Wrappers *WrappersFilterer) ParseBeaconUpgraded(log types.Log) (*WrappersBeaconUpgraded, error)

ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*WrappersFilterer) ParseUpgraded

func (_Wrappers *WrappersFilterer) ParseUpgraded(log types.Log) (*WrappersUpgraded, error)

ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*WrappersFilterer) WatchAdminChanged

func (_Wrappers *WrappersFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *WrappersAdminChanged) (event.Subscription, error)

WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*WrappersFilterer) WatchBeaconUpgraded

func (_Wrappers *WrappersFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *WrappersBeaconUpgraded, 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 (*WrappersFilterer) WatchUpgraded

func (_Wrappers *WrappersFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *WrappersUpgraded, 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 WrappersRaw

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

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

func (*WrappersRaw) Call

func (_Wrappers *WrappersRaw) 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 (*WrappersRaw) Transact

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

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

func (*WrappersRaw) Transfer

func (_Wrappers *WrappersRaw) 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 WrappersSession

type WrappersSession struct {
	Contract     *Wrappers         // 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
}

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

func (*WrappersSession) Fallback

func (_Wrappers *WrappersSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*WrappersSession) Receive

func (_Wrappers *WrappersSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

type WrappersTransactor

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

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

func NewWrappersTransactor

func NewWrappersTransactor(address common.Address, transactor bind.ContractTransactor) (*WrappersTransactor, error)

NewWrappersTransactor creates a new write-only instance of Wrappers, bound to a specific deployed contract.

func (*WrappersTransactor) Fallback

func (_Wrappers *WrappersTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*WrappersTransactor) Receive

func (_Wrappers *WrappersTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

type WrappersTransactorRaw

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

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

func (*WrappersTransactorRaw) Transact

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

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

func (*WrappersTransactorRaw) Transfer

func (_Wrappers *WrappersTransactorRaw) 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 WrappersTransactorSession

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

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

func (*WrappersTransactorSession) Fallback

func (_Wrappers *WrappersTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*WrappersTransactorSession) Receive

func (_Wrappers *WrappersTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

type WrappersUpgraded

type WrappersUpgraded struct {
	Implementation common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

WrappersUpgraded represents a Upgraded event raised by the Wrappers contract.

type WrappersUpgradedIterator

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

WrappersUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the Wrappers contract.

func (*WrappersUpgradedIterator) Close

func (it *WrappersUpgradedIterator) Close() error

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

func (*WrappersUpgradedIterator) Error

func (it *WrappersUpgradedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*WrappersUpgradedIterator) Next

func (it *WrappersUpgradedIterator) 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.

Jump to

Keyboard shortcuts

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