ArbitrumUpgradeExecutor

package
v0.0.0-...-73c85e8 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ArbitrumUpgradeExecutorABI = ArbitrumUpgradeExecutorMetaData.ABI

ArbitrumUpgradeExecutorABI is the input ABI used to generate the binding from. Deprecated: Use ArbitrumUpgradeExecutorMetaData.ABI instead.

View Source
var ArbitrumUpgradeExecutorBin = ArbitrumUpgradeExecutorMetaData.Bin

ArbitrumUpgradeExecutorBin is the compiled bytecode used for deploying new contracts. Deprecated: Use ArbitrumUpgradeExecutorMetaData.Bin instead.

View Source
var ArbitrumUpgradeExecutorMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"TargetCallExecuted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"upgrade\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"UpgradeExecuted\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"EXECUTOR_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"upgrade\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"upgradeCallData\",\"type\":\"bytes\"}],\"name\":\"execute\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"targetCallData\",\"type\":\"bytes\"}],\"name\":\"executeCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"executors\",\"type\":\"address[]\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b50600160975561001e610023565b6100e3565b600054610100900460ff161561008f5760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff90811610156100e1576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b61183c806100f26000396000f3fe6080604052600436106100c75760003560e01c806375b238fc11610074578063a217fddf1161004e578063a217fddf1461026f578063bca8c7b514610284578063d547741f1461029757600080fd5b806375b238fc146101c857806391d14854146101fc578063946d92041461024f57600080fd5b8063248a9ca3116100a5578063248a9ca3146101585780632f2ff15d1461018857806336568abe146101a857600080fd5b806301ffc9a7146100cc57806307bd0265146101015780631cff79cd14610143575b600080fd5b3480156100d857600080fd5b506100ec6100e736600461128f565b6102b7565b60405190151581526020015b60405180910390f35b34801561010d57600080fd5b506101357fd8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e6381565b6040519081526020016100f8565b610156610151366004611378565b610350565b005b34801561016457600080fd5b5061013561017336600461143c565b60009081526065602052604090206001015490565b34801561019457600080fd5b506101566101a3366004611455565b610489565b3480156101b457600080fd5b506101566101c3366004611455565b6104b3565b3480156101d457600080fd5b506101357fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581565b34801561020857600080fd5b506100ec610217366004611455565b600091825260656020908152604080842073ffffffffffffffffffffffffffffffffffffffff93909316845291905290205460ff1690565b34801561025b57600080fd5b5061015661026a366004611481565b610566565b34801561027b57600080fd5b50610135600081565b610156610292366004611378565b610874565b3480156102a357600080fd5b506101566102b2366004611455565b610998565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f7965db0b00000000000000000000000000000000000000000000000000000000148061034a57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b7fd8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e6361037a816109bd565b6002609754036103eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b600260978190555061042e826040518060600160405280603a81526020016117cd603a913973ffffffffffffffffffffffffffffffffffffffff861691906109ca565b508273ffffffffffffffffffffffffffffffffffffffff167f49f6851d1cd01a518db5bdea5cffbbe90276baa2595f74250b7472b96806302e34846040516104779291906115af565b60405180910390a25050600160975550565b6000828152606560205260409020600101546104a4816109bd565b6104ae8383610af4565b505050565b73ffffffffffffffffffffffffffffffffffffffff81163314610558576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c66000000000000000000000000000000000060648201526084016103e2565b6105628282610be8565b5050565b600054610100900460ff16158080156105865750600054600160ff909116105b806105a05750303b1580156105a0575060005460ff166001145b61062c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084016103e2565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561068a57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b73ffffffffffffffffffffffffffffffffffffffff8316610707576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f557067726164654578656375746f723a207a65726f2061646d696e000000000060448201526064016103e2565b61070f610ca3565b6107397fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177580610d3c565b6107837fd8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e637fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775610d3c565b6107ad7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177584610d87565b60005b825181101561080c576107fc7fd8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e638483815181106107ef576107ef6115d0565b6020026020010151610d87565b6108058161162e565b90506107b0565b5080156104ae57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a1505050565b7fd8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e6361089e816109bd565b60026097540361090a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016103e2565b600260978190555061094f823460405180606001604052806031815260200161179c6031913973ffffffffffffffffffffffffffffffffffffffff8716929190610d91565b508273ffffffffffffffffffffffffffffffffffffffff167f4d7dbdcc249630ec373f584267f10abf44938de920c32562f5aee93959c2525834846040516104779291906115af565b6000828152606560205260409020600101546109b3816109bd565b6104ae8383610be8565b6109c78133610f27565b50565b606073ffffffffffffffffffffffffffffffffffffffff84163b610a70576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60448201527f6e7472616374000000000000000000000000000000000000000000000000000060648201526084016103e2565b6000808573ffffffffffffffffffffffffffffffffffffffff1685604051610a989190611666565b600060405180830381855af49150503d8060008114610ad3576040519150601f19603f3d011682016040523d82523d6000602084013e610ad8565b606091505b5091509150610ae8828286610ff9565b925050505b9392505050565b600082815260656020908152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff1661056257600082815260656020908152604080832073ffffffffffffffffffffffffffffffffffffffff85168452909152902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055610b8a3390565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600082815260656020908152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff161561056257600082815260656020908152604080832073ffffffffffffffffffffffffffffffffffffffff8516808552925280832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600054610100900460ff16610d3a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016103e2565b565b600082815260656020526040808220600101805490849055905190918391839186917fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff9190a4505050565b6105628282610af4565b606082471015610e23576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016103e2565b73ffffffffffffffffffffffffffffffffffffffff85163b610ea1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016103e2565b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051610eca9190611666565b60006040518083038185875af1925050503d8060008114610f07576040519150601f19603f3d011682016040523d82523d6000602084013e610f0c565b606091505b5091509150610f1c828286610ff9565b979650505050505050565b600082815260656020908152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff1661056257610f7f8173ffffffffffffffffffffffffffffffffffffffff16601461104c565b610f8a83602061104c565b604051602001610f9b929190611682565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152908290527f08c379a00000000000000000000000000000000000000000000000000000000082526103e291600401611703565b60608315611008575081610aed565b8251156110185782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103e29190611703565b6060600061105b836002611716565b611066906002611753565b67ffffffffffffffff81111561107e5761107e6112fa565b6040519080825280601f01601f1916602001820160405280156110a8576020820181803683370190505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106110df576110df6115d0565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110611142576111426115d0565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600061117e846002611716565b611189906001611753565b90505b6001811115611226577f303132333435363738396162636465660000000000000000000000000000000085600f16601081106111ca576111ca6115d0565b1a60f81b8282815181106111e0576111e06115d0565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060049490941c9361121f81611766565b905061118c565b508315610aed576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016103e2565b6000602082840312156112a157600080fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610aed57600080fd5b803573ffffffffffffffffffffffffffffffffffffffff811681146112f557600080fd5b919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715611370576113706112fa565b604052919050565b6000806040838503121561138b57600080fd5b611394836112d1565b915060208084013567ffffffffffffffff808211156113b257600080fd5b818601915086601f8301126113c657600080fd5b8135818111156113d8576113d86112fa565b611408847fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601611329565b9150808252878482850101111561141e57600080fd5b80848401858401376000848284010152508093505050509250929050565b60006020828403121561144e57600080fd5b5035919050565b6000806040838503121561146857600080fd5b82359150611478602084016112d1565b90509250929050565b6000806040838503121561149457600080fd5b61149d836112d1565b915060208084013567ffffffffffffffff808211156114bb57600080fd5b818601915086601f8301126114cf57600080fd5b8135818111156114e1576114e16112fa565b8060051b91506114f2848301611329565b818152918301840191848101908984111561150c57600080fd5b938501935b8385101561153157611522856112d1565b82529385019390850190611511565b8096505050505050509250929050565b60005b8381101561155c578181015183820152602001611544565b50506000910152565b6000815180845261157d816020860160208601611541565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b8281526040602082015260006115c86040830184611565565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361165f5761165f6115ff565b5060010190565b60008251611678818460208701611541565b9190910192915050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516116ba816017850160208801611541565b7f206973206d697373696e6720726f6c652000000000000000000000000000000060179184019182015283516116f7816028840160208801611541565b01602801949350505050565b602081526000610aed6020830184611565565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561174e5761174e6115ff565b500290565b8082018082111561034a5761034a6115ff565b600081611775576117756115ff565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff019056fe557067726164654578656375746f723a20696e6e65722063616c6c206661696c656420776974686f757420726561736f6e557067726164654578656375746f723a20696e6e65722064656c65676174652063616c6c206661696c656420776974686f757420726561736f6ea2646970667358221220b7a0fbe80d74ef845375b34e2ad8770d978dc693b8510af4d7b65c6c2f57477764736f6c63430008100033",
}

ArbitrumUpgradeExecutorMetaData contains all meta data concerning the ArbitrumUpgradeExecutor contract.

View Source
var ErrNoRPCURL error = errors.New("no RPC URL provided -- please pass an RPC URL from the command line or set the ARBITRUM_UPGRADE_EXECUTOR_RPC_URL environment variable")

Functions

func CreateAdminroleCommand

func CreateAdminroleCommand() *cobra.Command

func CreateArbitrumUpgradeExecutorCommand

func CreateArbitrumUpgradeExecutorCommand() *cobra.Command

func CreateArbitrumUpgradeExecutorDeploymentCommand

func CreateArbitrumUpgradeExecutorDeploymentCommand() *cobra.Command

func CreateDefaultadminroleCommand

func CreateDefaultadminroleCommand() *cobra.Command

func CreateExecuteCallCommand

func CreateExecuteCallCommand() *cobra.Command

func CreateExecuteCommand

func CreateExecuteCommand() *cobra.Command

func CreateExecutorroleCommand

func CreateExecutorroleCommand() *cobra.Command

func CreateGetRoleAdminCommand

func CreateGetRoleAdminCommand() *cobra.Command

func CreateGrantRoleCommand

func CreateGrantRoleCommand() *cobra.Command

func CreateHasRoleCommand

func CreateHasRoleCommand() *cobra.Command

func CreateInitializeCommand

func CreateInitializeCommand() *cobra.Command

func CreateRenounceRoleCommand

func CreateRenounceRoleCommand() *cobra.Command

func CreateRevokeRoleCommand

func CreateRevokeRoleCommand() *cobra.Command

func CreateSupportsInterfaceCommand

func CreateSupportsInterfaceCommand() *cobra.Command

func KeyFromFile

func KeyFromFile(keystoreFile string, password string) (*keystore.Key, error)

Loads a key from file, prompting the user for the password if it is not provided as a function argument.

func NewChainContext

func NewChainContext(timeout uint) (context.Context, context.CancelFunc)

Creates a new context to be used when interacting with the chain client.

func NewClient

func NewClient(rpcURL string) (*ethclient.Client, error)

Generates an Ethereum client to the JSONRPC API at the given URL. If rpcURL is empty, then it attempts to read the RPC URL from the ARBITRUM_UPGRADE_EXECUTOR_RPC_URL environment variable. If that is empty, too, then it returns an error.

func SetCallParametersFromArgs

func SetCallParametersFromArgs(opts *bind.CallOpts, pending bool, fromAddress, blockNumber string)

This method is used to set the parameters on a view call from command line arguments (represented mostly as strings).

func SetTransactionParametersFromArgs

func SetTransactionParametersFromArgs(opts *bind.TransactOpts, nonce, value, gasPrice, maxFeePerGas, maxPriorityFeePerGas string, gasLimit uint64, noSend bool)

This method is used to set the parameters on a transaction from command line arguments (represented mostly as strings).

func UnlockKeystore

func UnlockKeystore(keystoreData []byte, password string) (*keystore.Key, error)

Unlocks a key from a keystore (byte contents of a keystore file) with the given password.

Types

type ArbitrumUpgradeExecutor

type ArbitrumUpgradeExecutor struct {
	ArbitrumUpgradeExecutorCaller     // Read-only binding to the contract
	ArbitrumUpgradeExecutorTransactor // Write-only binding to the contract
	ArbitrumUpgradeExecutorFilterer   // Log filterer for contract events
}

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

func DeployArbitrumUpgradeExecutor

func DeployArbitrumUpgradeExecutor(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ArbitrumUpgradeExecutor, error)

DeployArbitrumUpgradeExecutor deploys a new Ethereum contract, binding an instance of ArbitrumUpgradeExecutor to it.

func NewArbitrumUpgradeExecutor

func NewArbitrumUpgradeExecutor(address common.Address, backend bind.ContractBackend) (*ArbitrumUpgradeExecutor, error)

NewArbitrumUpgradeExecutor creates a new instance of ArbitrumUpgradeExecutor, bound to a specific deployed contract.

type ArbitrumUpgradeExecutorCaller

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

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

func NewArbitrumUpgradeExecutorCaller

func NewArbitrumUpgradeExecutorCaller(address common.Address, caller bind.ContractCaller) (*ArbitrumUpgradeExecutorCaller, error)

NewArbitrumUpgradeExecutorCaller creates a new read-only instance of ArbitrumUpgradeExecutor, bound to a specific deployed contract.

func (*ArbitrumUpgradeExecutorCaller) ADMINROLE

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorCaller) ADMINROLE(opts *bind.CallOpts) ([32]byte, error)

ADMINROLE is a free data retrieval call binding the contract method 0x75b238fc.

Solidity: function ADMIN_ROLE() view returns(bytes32)

func (*ArbitrumUpgradeExecutorCaller) DEFAULTADMINROLE

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*ArbitrumUpgradeExecutorCaller) EXECUTORROLE

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorCaller) EXECUTORROLE(opts *bind.CallOpts) ([32]byte, error)

EXECUTORROLE is a free data retrieval call binding the contract method 0x07bd0265.

Solidity: function EXECUTOR_ROLE() view returns(bytes32)

func (*ArbitrumUpgradeExecutorCaller) GetRoleAdmin

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*ArbitrumUpgradeExecutorCaller) HasRole

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*ArbitrumUpgradeExecutorCaller) SupportsInterface

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

type ArbitrumUpgradeExecutorCallerRaw

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

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

func (*ArbitrumUpgradeExecutorCallerRaw) Call

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorCallerRaw) 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 ArbitrumUpgradeExecutorCallerSession

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

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

func (*ArbitrumUpgradeExecutorCallerSession) ADMINROLE

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorCallerSession) ADMINROLE() ([32]byte, error)

ADMINROLE is a free data retrieval call binding the contract method 0x75b238fc.

Solidity: function ADMIN_ROLE() view returns(bytes32)

func (*ArbitrumUpgradeExecutorCallerSession) DEFAULTADMINROLE

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorCallerSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*ArbitrumUpgradeExecutorCallerSession) EXECUTORROLE

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorCallerSession) EXECUTORROLE() ([32]byte, error)

EXECUTORROLE is a free data retrieval call binding the contract method 0x07bd0265.

Solidity: function EXECUTOR_ROLE() view returns(bytes32)

func (*ArbitrumUpgradeExecutorCallerSession) GetRoleAdmin

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*ArbitrumUpgradeExecutorCallerSession) HasRole

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*ArbitrumUpgradeExecutorCallerSession) SupportsInterface

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

type ArbitrumUpgradeExecutorFilterer

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

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

func NewArbitrumUpgradeExecutorFilterer

func NewArbitrumUpgradeExecutorFilterer(address common.Address, filterer bind.ContractFilterer) (*ArbitrumUpgradeExecutorFilterer, error)

NewArbitrumUpgradeExecutorFilterer creates a new log filterer instance of ArbitrumUpgradeExecutor, bound to a specific deployed contract.

func (*ArbitrumUpgradeExecutorFilterer) FilterInitialized

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorFilterer) FilterInitialized(opts *bind.FilterOpts) (*ArbitrumUpgradeExecutorInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*ArbitrumUpgradeExecutorFilterer) FilterRoleAdminChanged

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*ArbitrumUpgradeExecutorRoleAdminChangedIterator, error)

FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*ArbitrumUpgradeExecutorFilterer) FilterRoleGranted

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*ArbitrumUpgradeExecutorRoleGrantedIterator, error)

FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*ArbitrumUpgradeExecutorFilterer) FilterRoleRevoked

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*ArbitrumUpgradeExecutorRoleRevokedIterator, error)

FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*ArbitrumUpgradeExecutorFilterer) FilterTargetCallExecuted

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorFilterer) FilterTargetCallExecuted(opts *bind.FilterOpts, target []common.Address) (*ArbitrumUpgradeExecutorTargetCallExecutedIterator, error)

FilterTargetCallExecuted is a free log retrieval operation binding the contract event 0x4d7dbdcc249630ec373f584267f10abf44938de920c32562f5aee93959c25258.

Solidity: event TargetCallExecuted(address indexed target, uint256 value, bytes data)

func (*ArbitrumUpgradeExecutorFilterer) FilterUpgradeExecuted

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorFilterer) FilterUpgradeExecuted(opts *bind.FilterOpts, upgrade []common.Address) (*ArbitrumUpgradeExecutorUpgradeExecutedIterator, error)

FilterUpgradeExecuted is a free log retrieval operation binding the contract event 0x49f6851d1cd01a518db5bdea5cffbbe90276baa2595f74250b7472b96806302e.

Solidity: event UpgradeExecuted(address indexed upgrade, uint256 value, bytes data)

func (*ArbitrumUpgradeExecutorFilterer) ParseInitialized

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorFilterer) ParseInitialized(log types.Log) (*ArbitrumUpgradeExecutorInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*ArbitrumUpgradeExecutorFilterer) ParseRoleAdminChanged

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorFilterer) ParseRoleAdminChanged(log types.Log) (*ArbitrumUpgradeExecutorRoleAdminChanged, error)

ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*ArbitrumUpgradeExecutorFilterer) ParseRoleGranted

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorFilterer) ParseRoleGranted(log types.Log) (*ArbitrumUpgradeExecutorRoleGranted, error)

ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*ArbitrumUpgradeExecutorFilterer) ParseRoleRevoked

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorFilterer) ParseRoleRevoked(log types.Log) (*ArbitrumUpgradeExecutorRoleRevoked, error)

ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*ArbitrumUpgradeExecutorFilterer) ParseTargetCallExecuted

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorFilterer) ParseTargetCallExecuted(log types.Log) (*ArbitrumUpgradeExecutorTargetCallExecuted, error)

ParseTargetCallExecuted is a log parse operation binding the contract event 0x4d7dbdcc249630ec373f584267f10abf44938de920c32562f5aee93959c25258.

Solidity: event TargetCallExecuted(address indexed target, uint256 value, bytes data)

func (*ArbitrumUpgradeExecutorFilterer) ParseUpgradeExecuted

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorFilterer) ParseUpgradeExecuted(log types.Log) (*ArbitrumUpgradeExecutorUpgradeExecuted, error)

ParseUpgradeExecuted is a log parse operation binding the contract event 0x49f6851d1cd01a518db5bdea5cffbbe90276baa2595f74250b7472b96806302e.

Solidity: event UpgradeExecuted(address indexed upgrade, uint256 value, bytes data)

func (*ArbitrumUpgradeExecutorFilterer) WatchInitialized

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ArbitrumUpgradeExecutorInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*ArbitrumUpgradeExecutorFilterer) WatchRoleAdminChanged

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *ArbitrumUpgradeExecutorRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)

WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*ArbitrumUpgradeExecutorFilterer) WatchRoleGranted

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *ArbitrumUpgradeExecutorRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*ArbitrumUpgradeExecutorFilterer) WatchRoleRevoked

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *ArbitrumUpgradeExecutorRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*ArbitrumUpgradeExecutorFilterer) WatchTargetCallExecuted

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorFilterer) WatchTargetCallExecuted(opts *bind.WatchOpts, sink chan<- *ArbitrumUpgradeExecutorTargetCallExecuted, target []common.Address) (event.Subscription, error)

WatchTargetCallExecuted is a free log subscription operation binding the contract event 0x4d7dbdcc249630ec373f584267f10abf44938de920c32562f5aee93959c25258.

Solidity: event TargetCallExecuted(address indexed target, uint256 value, bytes data)

func (*ArbitrumUpgradeExecutorFilterer) WatchUpgradeExecuted

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorFilterer) WatchUpgradeExecuted(opts *bind.WatchOpts, sink chan<- *ArbitrumUpgradeExecutorUpgradeExecuted, upgrade []common.Address) (event.Subscription, error)

WatchUpgradeExecuted is a free log subscription operation binding the contract event 0x49f6851d1cd01a518db5bdea5cffbbe90276baa2595f74250b7472b96806302e.

Solidity: event UpgradeExecuted(address indexed upgrade, uint256 value, bytes data)

type ArbitrumUpgradeExecutorInitialized

type ArbitrumUpgradeExecutorInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

ArbitrumUpgradeExecutorInitialized represents a Initialized event raised by the ArbitrumUpgradeExecutor contract.

type ArbitrumUpgradeExecutorInitializedIterator

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

ArbitrumUpgradeExecutorInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the ArbitrumUpgradeExecutor contract.

func (*ArbitrumUpgradeExecutorInitializedIterator) Close

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

func (*ArbitrumUpgradeExecutorInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ArbitrumUpgradeExecutorInitializedIterator) 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 ArbitrumUpgradeExecutorRaw

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

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

func (*ArbitrumUpgradeExecutorRaw) Call

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorRaw) 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 (*ArbitrumUpgradeExecutorRaw) Transact

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

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

func (*ArbitrumUpgradeExecutorRaw) Transfer

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorRaw) 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 ArbitrumUpgradeExecutorRoleAdminChanged

type ArbitrumUpgradeExecutorRoleAdminChanged struct {
	Role              [32]byte
	PreviousAdminRole [32]byte
	NewAdminRole      [32]byte
	Raw               types.Log // Blockchain specific contextual infos
}

ArbitrumUpgradeExecutorRoleAdminChanged represents a RoleAdminChanged event raised by the ArbitrumUpgradeExecutor contract.

type ArbitrumUpgradeExecutorRoleAdminChangedIterator

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

ArbitrumUpgradeExecutorRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the ArbitrumUpgradeExecutor contract.

func (*ArbitrumUpgradeExecutorRoleAdminChangedIterator) Close

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

func (*ArbitrumUpgradeExecutorRoleAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ArbitrumUpgradeExecutorRoleAdminChangedIterator) 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 ArbitrumUpgradeExecutorRoleGranted

type ArbitrumUpgradeExecutorRoleGranted struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

ArbitrumUpgradeExecutorRoleGranted represents a RoleGranted event raised by the ArbitrumUpgradeExecutor contract.

type ArbitrumUpgradeExecutorRoleGrantedIterator

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

ArbitrumUpgradeExecutorRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the ArbitrumUpgradeExecutor contract.

func (*ArbitrumUpgradeExecutorRoleGrantedIterator) Close

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

func (*ArbitrumUpgradeExecutorRoleGrantedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ArbitrumUpgradeExecutorRoleGrantedIterator) 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 ArbitrumUpgradeExecutorRoleRevoked

type ArbitrumUpgradeExecutorRoleRevoked struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

ArbitrumUpgradeExecutorRoleRevoked represents a RoleRevoked event raised by the ArbitrumUpgradeExecutor contract.

type ArbitrumUpgradeExecutorRoleRevokedIterator

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

ArbitrumUpgradeExecutorRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the ArbitrumUpgradeExecutor contract.

func (*ArbitrumUpgradeExecutorRoleRevokedIterator) Close

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

func (*ArbitrumUpgradeExecutorRoleRevokedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ArbitrumUpgradeExecutorRoleRevokedIterator) 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 ArbitrumUpgradeExecutorSession

type ArbitrumUpgradeExecutorSession struct {
	Contract     *ArbitrumUpgradeExecutor // 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
}

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

func (*ArbitrumUpgradeExecutorSession) ADMINROLE

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorSession) ADMINROLE() ([32]byte, error)

ADMINROLE is a free data retrieval call binding the contract method 0x75b238fc.

Solidity: function ADMIN_ROLE() view returns(bytes32)

func (*ArbitrumUpgradeExecutorSession) DEFAULTADMINROLE

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*ArbitrumUpgradeExecutorSession) EXECUTORROLE

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorSession) EXECUTORROLE() ([32]byte, error)

EXECUTORROLE is a free data retrieval call binding the contract method 0x07bd0265.

Solidity: function EXECUTOR_ROLE() view returns(bytes32)

func (*ArbitrumUpgradeExecutorSession) Execute

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorSession) Execute(upgrade common.Address, upgradeCallData []byte) (*types.Transaction, error)

Execute is a paid mutator transaction binding the contract method 0x1cff79cd.

Solidity: function execute(address upgrade, bytes upgradeCallData) payable returns()

func (*ArbitrumUpgradeExecutorSession) ExecuteCall

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorSession) ExecuteCall(target common.Address, targetCallData []byte) (*types.Transaction, error)

ExecuteCall is a paid mutator transaction binding the contract method 0xbca8c7b5.

Solidity: function executeCall(address target, bytes targetCallData) payable returns()

func (*ArbitrumUpgradeExecutorSession) GetRoleAdmin

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*ArbitrumUpgradeExecutorSession) GrantRole

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*ArbitrumUpgradeExecutorSession) HasRole

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*ArbitrumUpgradeExecutorSession) Initialize

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorSession) Initialize(admin common.Address, executors []common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x946d9204.

Solidity: function initialize(address admin, address[] executors) returns()

func (*ArbitrumUpgradeExecutorSession) RenounceRole

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*ArbitrumUpgradeExecutorSession) RevokeRole

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*ArbitrumUpgradeExecutorSession) SupportsInterface

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

type ArbitrumUpgradeExecutorTargetCallExecuted

type ArbitrumUpgradeExecutorTargetCallExecuted struct {
	Target common.Address
	Value  *big.Int
	Data   []byte
	Raw    types.Log // Blockchain specific contextual infos
}

ArbitrumUpgradeExecutorTargetCallExecuted represents a TargetCallExecuted event raised by the ArbitrumUpgradeExecutor contract.

type ArbitrumUpgradeExecutorTargetCallExecutedIterator

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

ArbitrumUpgradeExecutorTargetCallExecutedIterator is returned from FilterTargetCallExecuted and is used to iterate over the raw logs and unpacked data for TargetCallExecuted events raised by the ArbitrumUpgradeExecutor contract.

func (*ArbitrumUpgradeExecutorTargetCallExecutedIterator) Close

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

func (*ArbitrumUpgradeExecutorTargetCallExecutedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ArbitrumUpgradeExecutorTargetCallExecutedIterator) 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 ArbitrumUpgradeExecutorTransactor

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

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

func NewArbitrumUpgradeExecutorTransactor

func NewArbitrumUpgradeExecutorTransactor(address common.Address, transactor bind.ContractTransactor) (*ArbitrumUpgradeExecutorTransactor, error)

NewArbitrumUpgradeExecutorTransactor creates a new write-only instance of ArbitrumUpgradeExecutor, bound to a specific deployed contract.

func (*ArbitrumUpgradeExecutorTransactor) Execute

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorTransactor) Execute(opts *bind.TransactOpts, upgrade common.Address, upgradeCallData []byte) (*types.Transaction, error)

Execute is a paid mutator transaction binding the contract method 0x1cff79cd.

Solidity: function execute(address upgrade, bytes upgradeCallData) payable returns()

func (*ArbitrumUpgradeExecutorTransactor) ExecuteCall

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorTransactor) ExecuteCall(opts *bind.TransactOpts, target common.Address, targetCallData []byte) (*types.Transaction, error)

ExecuteCall is a paid mutator transaction binding the contract method 0xbca8c7b5.

Solidity: function executeCall(address target, bytes targetCallData) payable returns()

func (*ArbitrumUpgradeExecutorTransactor) GrantRole

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*ArbitrumUpgradeExecutorTransactor) Initialize

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorTransactor) Initialize(opts *bind.TransactOpts, admin common.Address, executors []common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x946d9204.

Solidity: function initialize(address admin, address[] executors) returns()

func (*ArbitrumUpgradeExecutorTransactor) RenounceRole

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*ArbitrumUpgradeExecutorTransactor) RevokeRole

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

type ArbitrumUpgradeExecutorTransactorRaw

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

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

func (*ArbitrumUpgradeExecutorTransactorRaw) Transact

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

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

func (*ArbitrumUpgradeExecutorTransactorRaw) Transfer

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorTransactorRaw) 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 ArbitrumUpgradeExecutorTransactorSession

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

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

func (*ArbitrumUpgradeExecutorTransactorSession) Execute

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorTransactorSession) Execute(upgrade common.Address, upgradeCallData []byte) (*types.Transaction, error)

Execute is a paid mutator transaction binding the contract method 0x1cff79cd.

Solidity: function execute(address upgrade, bytes upgradeCallData) payable returns()

func (*ArbitrumUpgradeExecutorTransactorSession) ExecuteCall

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorTransactorSession) ExecuteCall(target common.Address, targetCallData []byte) (*types.Transaction, error)

ExecuteCall is a paid mutator transaction binding the contract method 0xbca8c7b5.

Solidity: function executeCall(address target, bytes targetCallData) payable returns()

func (*ArbitrumUpgradeExecutorTransactorSession) GrantRole

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*ArbitrumUpgradeExecutorTransactorSession) Initialize

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorTransactorSession) Initialize(admin common.Address, executors []common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x946d9204.

Solidity: function initialize(address admin, address[] executors) returns()

func (*ArbitrumUpgradeExecutorTransactorSession) RenounceRole

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*ArbitrumUpgradeExecutorTransactorSession) RevokeRole

func (_ArbitrumUpgradeExecutor *ArbitrumUpgradeExecutorTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

type ArbitrumUpgradeExecutorUpgradeExecuted

type ArbitrumUpgradeExecutorUpgradeExecuted struct {
	Upgrade common.Address
	Value   *big.Int
	Data    []byte
	Raw     types.Log // Blockchain specific contextual infos
}

ArbitrumUpgradeExecutorUpgradeExecuted represents a UpgradeExecuted event raised by the ArbitrumUpgradeExecutor contract.

type ArbitrumUpgradeExecutorUpgradeExecutedIterator

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

ArbitrumUpgradeExecutorUpgradeExecutedIterator is returned from FilterUpgradeExecuted and is used to iterate over the raw logs and unpacked data for UpgradeExecuted events raised by the ArbitrumUpgradeExecutor contract.

func (*ArbitrumUpgradeExecutorUpgradeExecutedIterator) Close

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

func (*ArbitrumUpgradeExecutorUpgradeExecutedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

Jump to

Keyboard shortcuts

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