vrfv2_proxy_admin

package
v2.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: MIT Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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\":\"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\"}]",
	Bin: "0x608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610a1f8061007e6000396000f3fe60806040526004361061007b5760003560e01c80639623609d1161004e5780639623609d1461012b57806399a88ec41461013e578063f2fde38b1461015e578063f3b7dead1461017e57600080fd5b8063204e1c7a14610080578063715018a6146100c95780637eff275e146100e05780638da5cb5b14610100575b600080fd5b34801561008c57600080fd5b506100a061009b3660046107c2565b61019e565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b3480156100d557600080fd5b506100de610255565b005b3480156100ec57600080fd5b506100de6100fb366004610803565b6102e7565b34801561010c57600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff166100a0565b6100de61013936600461083c565b6103ee565b34801561014a57600080fd5b506100de610159366004610803565b6104fc565b34801561016a57600080fd5b506100de6101793660046107c2565b6105d1565b34801561018a57600080fd5b506100a06101993660046107c2565b610701565b60008060008373ffffffffffffffffffffffffffffffffffffffff166040516101ea907f5c60da1b00000000000000000000000000000000000000000000000000000000815260040190565b600060405180830381855afa9150503d8060008114610225576040519150601f19603f3d011682016040523d82523d6000602084013e61022a565b606091505b50915091508161023957600080fd5b8080602001905181019061024d91906107e6565b949350505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146102db576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6102e5600061074d565b565b60005473ffffffffffffffffffffffffffffffffffffffff163314610368576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102d2565b6040517f8f28397000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8281166004830152831690638f283970906024015b600060405180830381600087803b1580156103d257600080fd5b505af11580156103e6573d6000803e3d6000fd5b505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461046f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102d2565b6040517f4f1ef28600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff841690634f1ef2869034906104c59086908690600401610930565b6000604051808303818588803b1580156104de57600080fd5b505af11580156104f2573d6000803e3d6000fd5b5050505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461057d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102d2565b6040517f3659cfe600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8281166004830152831690633659cfe6906024016103b8565b60005473ffffffffffffffffffffffffffffffffffffffff163314610652576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102d2565b73ffffffffffffffffffffffffffffffffffffffff81166106f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016102d2565b6106fe8161074d565b50565b60008060008373ffffffffffffffffffffffffffffffffffffffff166040516101ea907ff851a44000000000000000000000000000000000000000000000000000000000815260040190565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156107d457600080fd5b81356107df816109f0565b9392505050565b6000602082840312156107f857600080fd5b81516107df816109f0565b6000806040838503121561081657600080fd5b8235610821816109f0565b91506020830135610831816109f0565b809150509250929050565b60008060006060848603121561085157600080fd5b833561085c816109f0565b9250602084013561086c816109f0565b9150604084013567ffffffffffffffff8082111561088957600080fd5b818601915086601f83011261089d57600080fd5b8135818111156108af576108af6109c1565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156108f5576108f56109c1565b8160405282815289602084870101111561090e57600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b73ffffffffffffffffffffffffffffffffffffffff8316815260006020604081840152835180604085015260005b8181101561097a5785810183015185820160600152820161095e565b8181111561098c576000606083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01692909201606001949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b73ffffffffffffffffffffffffffffffffffffffff811681146106fe57600080fdfea164736f6c6343000806000a",
}

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