Documentation ¶
Index ¶
- Variables
- type ProxyAdmin
- type ProxyAdminCaller
- func (_ProxyAdmin *ProxyAdminCaller) GetProxyAdmin(opts *bind.CallOpts, proxy common.Address) (common.Address, error)
- func (_ProxyAdmin *ProxyAdminCaller) GetProxyImplementation(opts *bind.CallOpts, proxy common.Address) (common.Address, error)
- func (_ProxyAdmin *ProxyAdminCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- type ProxyAdminCallerRaw
- type ProxyAdminCallerSession
- type ProxyAdminFilterer
- func (_ProxyAdmin *ProxyAdminFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*ProxyAdminOwnershipTransferredIterator, error)
- func (_ProxyAdmin *ProxyAdminFilterer) ParseOwnershipTransferred(log types.Log) (*ProxyAdminOwnershipTransferred, error)
- func (_ProxyAdmin *ProxyAdminFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ProxyAdminOwnershipTransferred, ...) (event.Subscription, error)
- type ProxyAdminOwnershipTransferred
- type ProxyAdminOwnershipTransferredIterator
- type ProxyAdminRaw
- func (_ProxyAdmin *ProxyAdminRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ProxyAdmin *ProxyAdminRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ProxyAdmin *ProxyAdminRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ProxyAdminSession
- func (_ProxyAdmin *ProxyAdminSession) ChangeProxyAdmin(proxy common.Address, newAdmin common.Address) (*types.Transaction, error)
- func (_ProxyAdmin *ProxyAdminSession) GetProxyAdmin(proxy common.Address) (common.Address, error)
- func (_ProxyAdmin *ProxyAdminSession) GetProxyImplementation(proxy common.Address) (common.Address, error)
- func (_ProxyAdmin *ProxyAdminSession) Owner() (common.Address, error)
- func (_ProxyAdmin *ProxyAdminSession) RenounceOwnership() (*types.Transaction, error)
- func (_ProxyAdmin *ProxyAdminSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_ProxyAdmin *ProxyAdminSession) Upgrade(proxy common.Address, implementation common.Address) (*types.Transaction, error)
- func (_ProxyAdmin *ProxyAdminSession) UpgradeAndCall(proxy common.Address, implementation common.Address, data []byte) (*types.Transaction, error)
- type ProxyAdminTransactor
- func (_ProxyAdmin *ProxyAdminTransactor) ChangeProxyAdmin(opts *bind.TransactOpts, proxy common.Address, newAdmin common.Address) (*types.Transaction, error)
- func (_ProxyAdmin *ProxyAdminTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ProxyAdmin *ProxyAdminTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_ProxyAdmin *ProxyAdminTransactor) Upgrade(opts *bind.TransactOpts, proxy common.Address, implementation common.Address) (*types.Transaction, error)
- func (_ProxyAdmin *ProxyAdminTransactor) UpgradeAndCall(opts *bind.TransactOpts, proxy common.Address, implementation common.Address, ...) (*types.Transaction, error)
- type ProxyAdminTransactorRaw
- type ProxyAdminTransactorSession
- func (_ProxyAdmin *ProxyAdminTransactorSession) ChangeProxyAdmin(proxy common.Address, newAdmin common.Address) (*types.Transaction, error)
- func (_ProxyAdmin *ProxyAdminTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_ProxyAdmin *ProxyAdminTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_ProxyAdmin *ProxyAdminTransactorSession) Upgrade(proxy common.Address, implementation common.Address) (*types.Transaction, error)
- func (_ProxyAdmin *ProxyAdminTransactorSession) UpgradeAndCall(proxy common.Address, implementation common.Address, data []byte) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var ProxyAdminABI = ProxyAdminMetaData.ABI
ProxyAdminABI is the input ABI used to generate the binding from. Deprecated: Use ProxyAdminMetaData.ABI instead.
var ProxyAdminMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"contractTransparentUpgradeableProxy\",\"name\":\"proxy\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"changeProxyAdmin\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractTransparentUpgradeableProxy\",\"name\":\"proxy\",\"type\":\"address\"}],\"name\":\"getProxyAdmin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractTransparentUpgradeableProxy\",\"name\":\"proxy\",\"type\":\"address\"}],\"name\":\"getProxyImplementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractTransparentUpgradeableProxy\",\"name\":\"proxy\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"upgrade\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractTransparentUpgradeableProxy\",\"name\":\"proxy\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
}
ProxyAdminMetaData contains all meta data concerning the ProxyAdmin contract.
Functions ¶
This section is empty.
Types ¶
type ProxyAdmin ¶
type ProxyAdmin struct { ProxyAdminCaller // Read-only binding to the contract ProxyAdminTransactor // Write-only binding to the contract ProxyAdminFilterer // Log filterer for contract events }
ProxyAdmin is an auto generated Go binding around an Ethereum contract.
func NewProxyAdmin ¶
func NewProxyAdmin(address common.Address, backend bind.ContractBackend) (*ProxyAdmin, error)
NewProxyAdmin creates a new instance of ProxyAdmin, bound to a specific deployed contract.
type ProxyAdminCaller ¶
type ProxyAdminCaller struct {
// contains filtered or unexported fields
}
ProxyAdminCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewProxyAdminCaller ¶
func NewProxyAdminCaller(address common.Address, caller bind.ContractCaller) (*ProxyAdminCaller, error)
NewProxyAdminCaller creates a new read-only instance of ProxyAdmin, bound to a specific deployed contract.
func (*ProxyAdminCaller) GetProxyAdmin ¶
func (_ProxyAdmin *ProxyAdminCaller) GetProxyAdmin(opts *bind.CallOpts, proxy common.Address) (common.Address, error)
GetProxyAdmin is a free data retrieval call binding the contract method 0xf3b7dead.
Solidity: function getProxyAdmin(address proxy) view returns(address)
func (*ProxyAdminCaller) GetProxyImplementation ¶
func (_ProxyAdmin *ProxyAdminCaller) GetProxyImplementation(opts *bind.CallOpts, proxy common.Address) (common.Address, error)
GetProxyImplementation is a free data retrieval call binding the contract method 0x204e1c7a.
Solidity: function getProxyImplementation(address proxy) view returns(address)
type ProxyAdminCallerRaw ¶
type ProxyAdminCallerRaw struct {
Contract *ProxyAdminCaller // Generic read-only contract binding to access the raw methods on
}
ProxyAdminCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ProxyAdminCallerRaw) Call ¶
func (_ProxyAdmin *ProxyAdminCallerRaw) 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 ProxyAdminCallerSession ¶
type ProxyAdminCallerSession struct { Contract *ProxyAdminCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ProxyAdminCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ProxyAdminCallerSession) GetProxyAdmin ¶
func (_ProxyAdmin *ProxyAdminCallerSession) GetProxyAdmin(proxy common.Address) (common.Address, error)
GetProxyAdmin is a free data retrieval call binding the contract method 0xf3b7dead.
Solidity: function getProxyAdmin(address proxy) view returns(address)
func (*ProxyAdminCallerSession) GetProxyImplementation ¶
func (_ProxyAdmin *ProxyAdminCallerSession) GetProxyImplementation(proxy common.Address) (common.Address, error)
GetProxyImplementation is a free data retrieval call binding the contract method 0x204e1c7a.
Solidity: function getProxyImplementation(address proxy) view returns(address)
type ProxyAdminFilterer ¶
type ProxyAdminFilterer struct {
// contains filtered or unexported fields
}
ProxyAdminFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewProxyAdminFilterer ¶
func NewProxyAdminFilterer(address common.Address, filterer bind.ContractFilterer) (*ProxyAdminFilterer, error)
NewProxyAdminFilterer creates a new log filterer instance of ProxyAdmin, bound to a specific deployed contract.
func (*ProxyAdminFilterer) FilterOwnershipTransferred ¶
func (_ProxyAdmin *ProxyAdminFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ProxyAdminOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ProxyAdminFilterer) ParseOwnershipTransferred ¶
func (_ProxyAdmin *ProxyAdminFilterer) ParseOwnershipTransferred(log types.Log) (*ProxyAdminOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ProxyAdminFilterer) WatchOwnershipTransferred ¶
func (_ProxyAdmin *ProxyAdminFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ProxyAdminOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
type ProxyAdminOwnershipTransferred ¶
type ProxyAdminOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
ProxyAdminOwnershipTransferred represents a OwnershipTransferred event raised by the ProxyAdmin contract.
type ProxyAdminOwnershipTransferredIterator ¶
type ProxyAdminOwnershipTransferredIterator struct { Event *ProxyAdminOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ProxyAdminOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the ProxyAdmin contract.
func (*ProxyAdminOwnershipTransferredIterator) Close ¶
func (it *ProxyAdminOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ProxyAdminOwnershipTransferredIterator) Error ¶
func (it *ProxyAdminOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ProxyAdminOwnershipTransferredIterator) Next ¶
func (it *ProxyAdminOwnershipTransferredIterator) 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 ProxyAdminRaw ¶
type ProxyAdminRaw struct {
Contract *ProxyAdmin // Generic contract binding to access the raw methods on
}
ProxyAdminRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ProxyAdminRaw) Call ¶
func (_ProxyAdmin *ProxyAdminRaw) 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 (*ProxyAdminRaw) Transact ¶
func (_ProxyAdmin *ProxyAdminRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ProxyAdminRaw) Transfer ¶
func (_ProxyAdmin *ProxyAdminRaw) 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 ProxyAdminSession ¶
type ProxyAdminSession struct { Contract *ProxyAdmin // 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 }
ProxyAdminSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ProxyAdminSession) ChangeProxyAdmin ¶
func (_ProxyAdmin *ProxyAdminSession) ChangeProxyAdmin(proxy common.Address, newAdmin common.Address) (*types.Transaction, error)
ChangeProxyAdmin is a paid mutator transaction binding the contract method 0x7eff275e.
Solidity: function changeProxyAdmin(address proxy, address newAdmin) returns()
func (*ProxyAdminSession) GetProxyAdmin ¶
GetProxyAdmin is a free data retrieval call binding the contract method 0xf3b7dead.
Solidity: function getProxyAdmin(address proxy) view returns(address)
func (*ProxyAdminSession) GetProxyImplementation ¶
func (_ProxyAdmin *ProxyAdminSession) GetProxyImplementation(proxy common.Address) (common.Address, error)
GetProxyImplementation is a free data retrieval call binding the contract method 0x204e1c7a.
Solidity: function getProxyImplementation(address proxy) view returns(address)
func (*ProxyAdminSession) Owner ¶
func (_ProxyAdmin *ProxyAdminSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ProxyAdminSession) RenounceOwnership ¶
func (_ProxyAdmin *ProxyAdminSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ProxyAdminSession) TransferOwnership ¶
func (_ProxyAdmin *ProxyAdminSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*ProxyAdminSession) Upgrade ¶
func (_ProxyAdmin *ProxyAdminSession) Upgrade(proxy common.Address, implementation common.Address) (*types.Transaction, error)
Upgrade is a paid mutator transaction binding the contract method 0x99a88ec4.
Solidity: function upgrade(address proxy, address implementation) returns()
func (*ProxyAdminSession) UpgradeAndCall ¶
func (_ProxyAdmin *ProxyAdminSession) UpgradeAndCall(proxy common.Address, implementation common.Address, data []byte) (*types.Transaction, error)
UpgradeAndCall is a paid mutator transaction binding the contract method 0x9623609d.
Solidity: function upgradeAndCall(address proxy, address implementation, bytes data) payable returns()
type ProxyAdminTransactor ¶
type ProxyAdminTransactor struct {
// contains filtered or unexported fields
}
ProxyAdminTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewProxyAdminTransactor ¶
func NewProxyAdminTransactor(address common.Address, transactor bind.ContractTransactor) (*ProxyAdminTransactor, error)
NewProxyAdminTransactor creates a new write-only instance of ProxyAdmin, bound to a specific deployed contract.
func (*ProxyAdminTransactor) ChangeProxyAdmin ¶
func (_ProxyAdmin *ProxyAdminTransactor) ChangeProxyAdmin(opts *bind.TransactOpts, proxy common.Address, newAdmin common.Address) (*types.Transaction, error)
ChangeProxyAdmin is a paid mutator transaction binding the contract method 0x7eff275e.
Solidity: function changeProxyAdmin(address proxy, address newAdmin) returns()
func (*ProxyAdminTransactor) RenounceOwnership ¶
func (_ProxyAdmin *ProxyAdminTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ProxyAdminTransactor) TransferOwnership ¶
func (_ProxyAdmin *ProxyAdminTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*ProxyAdminTransactor) Upgrade ¶
func (_ProxyAdmin *ProxyAdminTransactor) Upgrade(opts *bind.TransactOpts, proxy common.Address, implementation common.Address) (*types.Transaction, error)
Upgrade is a paid mutator transaction binding the contract method 0x99a88ec4.
Solidity: function upgrade(address proxy, address implementation) returns()
func (*ProxyAdminTransactor) UpgradeAndCall ¶
func (_ProxyAdmin *ProxyAdminTransactor) UpgradeAndCall(opts *bind.TransactOpts, proxy common.Address, implementation common.Address, data []byte) (*types.Transaction, error)
UpgradeAndCall is a paid mutator transaction binding the contract method 0x9623609d.
Solidity: function upgradeAndCall(address proxy, address implementation, bytes data) payable returns()
type ProxyAdminTransactorRaw ¶
type ProxyAdminTransactorRaw struct {
Contract *ProxyAdminTransactor // Generic write-only contract binding to access the raw methods on
}
ProxyAdminTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ProxyAdminTransactorRaw) Transact ¶
func (_ProxyAdmin *ProxyAdminTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ProxyAdminTransactorRaw) Transfer ¶
func (_ProxyAdmin *ProxyAdminTransactorRaw) 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 ProxyAdminTransactorSession ¶
type ProxyAdminTransactorSession struct { Contract *ProxyAdminTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ProxyAdminTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ProxyAdminTransactorSession) ChangeProxyAdmin ¶
func (_ProxyAdmin *ProxyAdminTransactorSession) ChangeProxyAdmin(proxy common.Address, newAdmin common.Address) (*types.Transaction, error)
ChangeProxyAdmin is a paid mutator transaction binding the contract method 0x7eff275e.
Solidity: function changeProxyAdmin(address proxy, address newAdmin) returns()
func (*ProxyAdminTransactorSession) RenounceOwnership ¶
func (_ProxyAdmin *ProxyAdminTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ProxyAdminTransactorSession) TransferOwnership ¶
func (_ProxyAdmin *ProxyAdminTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*ProxyAdminTransactorSession) Upgrade ¶
func (_ProxyAdmin *ProxyAdminTransactorSession) Upgrade(proxy common.Address, implementation common.Address) (*types.Transaction, error)
Upgrade is a paid mutator transaction binding the contract method 0x99a88ec4.
Solidity: function upgrade(address proxy, address implementation) returns()
func (*ProxyAdminTransactorSession) UpgradeAndCall ¶
func (_ProxyAdmin *ProxyAdminTransactorSession) UpgradeAndCall(proxy common.Address, implementation common.Address, data []byte) (*types.Transaction, error)
UpgradeAndCall is a paid mutator transaction binding the contract method 0x9623609d.
Solidity: function upgradeAndCall(address proxy, address implementation, bytes data) payable returns()