vrfv2_proxy_admin

package
v2.11.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var VRFV2ProxyAdminABI = VRFV2ProxyAdminMetaData.ABI
View Source
var VRFV2ProxyAdminBin = VRFV2ProxyAdminMetaData.Bin
View Source
var VRFV2ProxyAdminMetaData = &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\":\"contractITransparentUpgradeableProxy\",\"name\":\"proxy\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"changeProxyAdmin\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractITransparentUpgradeableProxy\",\"name\":\"proxy\",\"type\":\"address\"}],\"name\":\"getProxyAdmin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractITransparentUpgradeableProxy\",\"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\":\"contractITransparentUpgradeableProxy\",\"name\":\"proxy\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"upgrade\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractITransparentUpgradeableProxy\",\"name\":\"proxy\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6108438061007e6000396000f3fe60806040526004361061007b5760003560e01c80639623609d1161004e5780639623609d1461012b57806399a88ec41461013e578063f2fde38b1461015e578063f3b7dead1461017e57600080fd5b8063204e1c7a14610080578063715018a6146100c95780637eff275e146100e05780638da5cb5b14610100575b600080fd5b34801561008c57600080fd5b506100a061009b3660046105e6565b61019e565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b3480156100d557600080fd5b506100de610255565b005b3480156100ec57600080fd5b506100de6100fb366004610627565b610269565b34801561010c57600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff166100a0565b6100de610139366004610660565b6102f7565b34801561014a57600080fd5b506100de610159366004610627565b61038c565b34801561016a57600080fd5b506100de6101793660046105e6565b6103e8565b34801561018a57600080fd5b506100a06101993660046105e6565b6104a4565b60008060008373ffffffffffffffffffffffffffffffffffffffff166040516101ea907f5c60da1b00000000000000000000000000000000000000000000000000000000815260040190565b600060405180830381855afa9150503d8060008114610225576040519150601f19603f3d011682016040523d82523d6000602084013e61022a565b606091505b50915091508161023957600080fd5b8080602001905181019061024d919061060a565b949350505050565b61025d6104f0565b6102676000610571565b565b6102716104f0565b6040517f8f28397000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8281166004830152831690638f283970906024015b600060405180830381600087803b1580156102db57600080fd5b505af11580156102ef573d6000803e3d6000fd5b505050505050565b6102ff6104f0565b6040517f4f1ef28600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff841690634f1ef2869034906103559086908690600401610754565b6000604051808303818588803b15801561036e57600080fd5b505af1158015610382573d6000803e3d6000fd5b5050505050505050565b6103946104f0565b6040517f3659cfe600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8281166004830152831690633659cfe6906024016102c1565b6103f06104f0565b73ffffffffffffffffffffffffffffffffffffffff8116610498576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6104a181610571565b50565b60008060008373ffffffffffffffffffffffffffffffffffffffff166040516101ea907ff851a44000000000000000000000000000000000000000000000000000000000815260040190565b60005473ffffffffffffffffffffffffffffffffffffffff163314610267576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161048f565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156105f857600080fd5b813561060381610814565b9392505050565b60006020828403121561061c57600080fd5b815161060381610814565b6000806040838503121561063a57600080fd5b823561064581610814565b9150602083013561065581610814565b809150509250929050565b60008060006060848603121561067557600080fd5b833561068081610814565b9250602084013561069081610814565b9150604084013567ffffffffffffffff808211156106ad57600080fd5b818601915086601f8301126106c157600080fd5b8135818111156106d3576106d36107e5565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610719576107196107e5565b8160405282815289602084870101111561073257600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b73ffffffffffffffffffffffffffffffffffffffff8316815260006020604081840152835180604085015260005b8181101561079e57858101830151858201606001528201610782565b818111156107b0576000606083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01692909201606001949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b73ffffffffffffffffffffffffffffffffffffffff811681146104a157600080fdfea164736f6c6343000806000a",
}

Functions

This section is empty.

Types

type VRFV2ProxyAdmin

type VRFV2ProxyAdmin struct {
	VRFV2ProxyAdminCaller
	VRFV2ProxyAdminTransactor
	VRFV2ProxyAdminFilterer
	// contains filtered or unexported fields
}

func NewVRFV2ProxyAdmin

func NewVRFV2ProxyAdmin(address common.Address, backend bind.ContractBackend) (*VRFV2ProxyAdmin, error)

func (*VRFV2ProxyAdmin) Address

func (_VRFV2ProxyAdmin *VRFV2ProxyAdmin) Address() common.Address

func (*VRFV2ProxyAdmin) ParseLog

func (_VRFV2ProxyAdmin *VRFV2ProxyAdmin) ParseLog(log types.Log) (generated.AbigenLog, error)

type VRFV2ProxyAdminCaller

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

func NewVRFV2ProxyAdminCaller

func NewVRFV2ProxyAdminCaller(address common.Address, caller bind.ContractCaller) (*VRFV2ProxyAdminCaller, error)

func (*VRFV2ProxyAdminCaller) GetProxyAdmin

func (_VRFV2ProxyAdmin *VRFV2ProxyAdminCaller) GetProxyAdmin(opts *bind.CallOpts, proxy common.Address) (common.Address, error)

func (*VRFV2ProxyAdminCaller) GetProxyImplementation

func (_VRFV2ProxyAdmin *VRFV2ProxyAdminCaller) GetProxyImplementation(opts *bind.CallOpts, proxy common.Address) (common.Address, error)

func (*VRFV2ProxyAdminCaller) Owner

func (_VRFV2ProxyAdmin *VRFV2ProxyAdminCaller) Owner(opts *bind.CallOpts) (common.Address, error)

type VRFV2ProxyAdminCallerRaw

type VRFV2ProxyAdminCallerRaw struct {
	Contract *VRFV2ProxyAdminCaller
}

func (*VRFV2ProxyAdminCallerRaw) Call

func (_VRFV2ProxyAdmin *VRFV2ProxyAdminCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

type VRFV2ProxyAdminCallerSession

type VRFV2ProxyAdminCallerSession struct {
	Contract *VRFV2ProxyAdminCaller
	CallOpts bind.CallOpts
}

func (*VRFV2ProxyAdminCallerSession) GetProxyAdmin

func (_VRFV2ProxyAdmin *VRFV2ProxyAdminCallerSession) GetProxyAdmin(proxy common.Address) (common.Address, error)

func (*VRFV2ProxyAdminCallerSession) GetProxyImplementation

func (_VRFV2ProxyAdmin *VRFV2ProxyAdminCallerSession) GetProxyImplementation(proxy common.Address) (common.Address, error)

func (*VRFV2ProxyAdminCallerSession) Owner

func (_VRFV2ProxyAdmin *VRFV2ProxyAdminCallerSession) Owner() (common.Address, error)

type VRFV2ProxyAdminFilterer

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

func NewVRFV2ProxyAdminFilterer

func NewVRFV2ProxyAdminFilterer(address common.Address, filterer bind.ContractFilterer) (*VRFV2ProxyAdminFilterer, error)

func (*VRFV2ProxyAdminFilterer) FilterOwnershipTransferred

func (_VRFV2ProxyAdmin *VRFV2ProxyAdminFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*VRFV2ProxyAdminOwnershipTransferredIterator, error)

func (*VRFV2ProxyAdminFilterer) ParseOwnershipTransferred

func (_VRFV2ProxyAdmin *VRFV2ProxyAdminFilterer) ParseOwnershipTransferred(log types.Log) (*VRFV2ProxyAdminOwnershipTransferred, error)

func (*VRFV2ProxyAdminFilterer) WatchOwnershipTransferred

func (_VRFV2ProxyAdmin *VRFV2ProxyAdminFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *VRFV2ProxyAdminOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

type VRFV2ProxyAdminInterface

type VRFV2ProxyAdminInterface interface {
	GetProxyAdmin(opts *bind.CallOpts, proxy common.Address) (common.Address, error)

	GetProxyImplementation(opts *bind.CallOpts, proxy common.Address) (common.Address, error)

	Owner(opts *bind.CallOpts) (common.Address, error)

	ChangeProxyAdmin(opts *bind.TransactOpts, proxy common.Address, newAdmin common.Address) (*types.Transaction, error)

	RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

	TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

	Upgrade(opts *bind.TransactOpts, proxy common.Address, implementation common.Address) (*types.Transaction, error)

	UpgradeAndCall(opts *bind.TransactOpts, proxy common.Address, implementation common.Address, data []byte) (*types.Transaction, error)

	FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*VRFV2ProxyAdminOwnershipTransferredIterator, error)

	WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *VRFV2ProxyAdminOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

	ParseOwnershipTransferred(log types.Log) (*VRFV2ProxyAdminOwnershipTransferred, error)

	ParseLog(log types.Log) (generated.AbigenLog, error)

	Address() common.Address
}

type VRFV2ProxyAdminOwnershipTransferred

type VRFV2ProxyAdminOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log
}

func (VRFV2ProxyAdminOwnershipTransferred) Topic

type VRFV2ProxyAdminOwnershipTransferredIterator

type VRFV2ProxyAdminOwnershipTransferredIterator struct {
	Event *VRFV2ProxyAdminOwnershipTransferred
	// contains filtered or unexported fields
}

func (*VRFV2ProxyAdminOwnershipTransferredIterator) Close

func (*VRFV2ProxyAdminOwnershipTransferredIterator) Error

func (*VRFV2ProxyAdminOwnershipTransferredIterator) Next

type VRFV2ProxyAdminRaw

type VRFV2ProxyAdminRaw struct {
	Contract *VRFV2ProxyAdmin
}

func (*VRFV2ProxyAdminRaw) Call

func (_VRFV2ProxyAdmin *VRFV2ProxyAdminRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

func (*VRFV2ProxyAdminRaw) Transact

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

func (*VRFV2ProxyAdminRaw) Transfer

func (_VRFV2ProxyAdmin *VRFV2ProxyAdminRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type VRFV2ProxyAdminSession

type VRFV2ProxyAdminSession struct {
	Contract     *VRFV2ProxyAdmin
	CallOpts     bind.CallOpts
	TransactOpts bind.TransactOpts
}

func (*VRFV2ProxyAdminSession) ChangeProxyAdmin

func (_VRFV2ProxyAdmin *VRFV2ProxyAdminSession) ChangeProxyAdmin(proxy common.Address, newAdmin common.Address) (*types.Transaction, error)

func (*VRFV2ProxyAdminSession) GetProxyAdmin

func (_VRFV2ProxyAdmin *VRFV2ProxyAdminSession) GetProxyAdmin(proxy common.Address) (common.Address, error)

func (*VRFV2ProxyAdminSession) GetProxyImplementation

func (_VRFV2ProxyAdmin *VRFV2ProxyAdminSession) GetProxyImplementation(proxy common.Address) (common.Address, error)

func (*VRFV2ProxyAdminSession) Owner

func (_VRFV2ProxyAdmin *VRFV2ProxyAdminSession) Owner() (common.Address, error)

func (*VRFV2ProxyAdminSession) RenounceOwnership

func (_VRFV2ProxyAdmin *VRFV2ProxyAdminSession) RenounceOwnership() (*types.Transaction, error)

func (*VRFV2ProxyAdminSession) TransferOwnership

func (_VRFV2ProxyAdmin *VRFV2ProxyAdminSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

func (*VRFV2ProxyAdminSession) Upgrade

func (_VRFV2ProxyAdmin *VRFV2ProxyAdminSession) Upgrade(proxy common.Address, implementation common.Address) (*types.Transaction, error)

func (*VRFV2ProxyAdminSession) UpgradeAndCall

func (_VRFV2ProxyAdmin *VRFV2ProxyAdminSession) UpgradeAndCall(proxy common.Address, implementation common.Address, data []byte) (*types.Transaction, error)

type VRFV2ProxyAdminTransactor

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

func NewVRFV2ProxyAdminTransactor

func NewVRFV2ProxyAdminTransactor(address common.Address, transactor bind.ContractTransactor) (*VRFV2ProxyAdminTransactor, error)

func (*VRFV2ProxyAdminTransactor) ChangeProxyAdmin

func (_VRFV2ProxyAdmin *VRFV2ProxyAdminTransactor) ChangeProxyAdmin(opts *bind.TransactOpts, proxy common.Address, newAdmin common.Address) (*types.Transaction, error)

func (*VRFV2ProxyAdminTransactor) RenounceOwnership

func (_VRFV2ProxyAdmin *VRFV2ProxyAdminTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

func (*VRFV2ProxyAdminTransactor) TransferOwnership

func (_VRFV2ProxyAdmin *VRFV2ProxyAdminTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

func (*VRFV2ProxyAdminTransactor) Upgrade

func (_VRFV2ProxyAdmin *VRFV2ProxyAdminTransactor) Upgrade(opts *bind.TransactOpts, proxy common.Address, implementation common.Address) (*types.Transaction, error)

func (*VRFV2ProxyAdminTransactor) UpgradeAndCall

func (_VRFV2ProxyAdmin *VRFV2ProxyAdminTransactor) UpgradeAndCall(opts *bind.TransactOpts, proxy common.Address, implementation common.Address, data []byte) (*types.Transaction, error)

type VRFV2ProxyAdminTransactorRaw

type VRFV2ProxyAdminTransactorRaw struct {
	Contract *VRFV2ProxyAdminTransactor
}

func (*VRFV2ProxyAdminTransactorRaw) Transact

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

func (*VRFV2ProxyAdminTransactorRaw) Transfer

func (_VRFV2ProxyAdmin *VRFV2ProxyAdminTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type VRFV2ProxyAdminTransactorSession

type VRFV2ProxyAdminTransactorSession struct {
	Contract     *VRFV2ProxyAdminTransactor
	TransactOpts bind.TransactOpts
}

func (*VRFV2ProxyAdminTransactorSession) ChangeProxyAdmin

func (_VRFV2ProxyAdmin *VRFV2ProxyAdminTransactorSession) ChangeProxyAdmin(proxy common.Address, newAdmin common.Address) (*types.Transaction, error)

func (*VRFV2ProxyAdminTransactorSession) RenounceOwnership

func (_VRFV2ProxyAdmin *VRFV2ProxyAdminTransactorSession) RenounceOwnership() (*types.Transaction, error)

func (*VRFV2ProxyAdminTransactorSession) TransferOwnership

func (_VRFV2ProxyAdmin *VRFV2ProxyAdminTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

func (*VRFV2ProxyAdminTransactorSession) Upgrade

func (_VRFV2ProxyAdmin *VRFV2ProxyAdminTransactorSession) Upgrade(proxy common.Address, implementation common.Address) (*types.Transaction, error)

func (*VRFV2ProxyAdminTransactorSession) UpgradeAndCall

func (_VRFV2ProxyAdmin *VRFV2ProxyAdminTransactorSession) UpgradeAndCall(proxy common.Address, implementation common.Address, data []byte) (*types.Transaction, error)

Jump to

Keyboard shortcuts

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