Documentation ¶
Index ¶
- Variables
- type RBACTimelockCall
- type Timelock
- type TimelockBypasserCallExecuted
- type TimelockBypasserCallExecutedIterator
- type TimelockCallExecuted
- type TimelockCallExecutedIterator
- type TimelockCallScheduled
- type TimelockCallScheduledIterator
- type TimelockCaller
- func (_Timelock *TimelockCaller) ADMINROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Timelock *TimelockCaller) BYPASSERROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Timelock *TimelockCaller) CANCELLERROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Timelock *TimelockCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Timelock *TimelockCaller) EXECUTORROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Timelock *TimelockCaller) GetBlockedFunctionSelectorAt(opts *bind.CallOpts, index *big.Int) ([4]byte, error)
- func (_Timelock *TimelockCaller) GetBlockedFunctionSelectorCount(opts *bind.CallOpts) (*big.Int, error)
- func (_Timelock *TimelockCaller) GetMinDelay(opts *bind.CallOpts) (*big.Int, error)
- func (_Timelock *TimelockCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
- func (_Timelock *TimelockCaller) GetRoleMember(opts *bind.CallOpts, role [32]byte, index *big.Int) (common.Address, error)
- func (_Timelock *TimelockCaller) GetRoleMemberCount(opts *bind.CallOpts, role [32]byte) (*big.Int, error)
- func (_Timelock *TimelockCaller) GetTimestamp(opts *bind.CallOpts, id [32]byte) (*big.Int, error)
- func (_Timelock *TimelockCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
- func (_Timelock *TimelockCaller) HashOperationBatch(opts *bind.CallOpts, calls []RBACTimelockCall, predecessor [32]byte, ...) ([32]byte, error)
- func (_Timelock *TimelockCaller) IsOperation(opts *bind.CallOpts, id [32]byte) (bool, error)
- func (_Timelock *TimelockCaller) IsOperationDone(opts *bind.CallOpts, id [32]byte) (bool, error)
- func (_Timelock *TimelockCaller) IsOperationPending(opts *bind.CallOpts, id [32]byte) (bool, error)
- func (_Timelock *TimelockCaller) IsOperationReady(opts *bind.CallOpts, id [32]byte) (bool, error)
- func (_Timelock *TimelockCaller) PROPOSERROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Timelock *TimelockCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- type TimelockCallerRaw
- type TimelockCallerSession
- func (_Timelock *TimelockCallerSession) ADMINROLE() ([32]byte, error)
- func (_Timelock *TimelockCallerSession) BYPASSERROLE() ([32]byte, error)
- func (_Timelock *TimelockCallerSession) CANCELLERROLE() ([32]byte, error)
- func (_Timelock *TimelockCallerSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_Timelock *TimelockCallerSession) EXECUTORROLE() ([32]byte, error)
- func (_Timelock *TimelockCallerSession) GetBlockedFunctionSelectorAt(index *big.Int) ([4]byte, error)
- func (_Timelock *TimelockCallerSession) GetBlockedFunctionSelectorCount() (*big.Int, error)
- func (_Timelock *TimelockCallerSession) GetMinDelay() (*big.Int, error)
- func (_Timelock *TimelockCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_Timelock *TimelockCallerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
- func (_Timelock *TimelockCallerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
- func (_Timelock *TimelockCallerSession) GetTimestamp(id [32]byte) (*big.Int, error)
- func (_Timelock *TimelockCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_Timelock *TimelockCallerSession) HashOperationBatch(calls []RBACTimelockCall, predecessor [32]byte, salt [32]byte) ([32]byte, error)
- func (_Timelock *TimelockCallerSession) IsOperation(id [32]byte) (bool, error)
- func (_Timelock *TimelockCallerSession) IsOperationDone(id [32]byte) (bool, error)
- func (_Timelock *TimelockCallerSession) IsOperationPending(id [32]byte) (bool, error)
- func (_Timelock *TimelockCallerSession) IsOperationReady(id [32]byte) (bool, error)
- func (_Timelock *TimelockCallerSession) PROPOSERROLE() ([32]byte, error)
- func (_Timelock *TimelockCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- type TimelockCancelled
- type TimelockCancelledIterator
- type TimelockFilterer
- func (_Timelock *TimelockFilterer) FilterBypasserCallExecuted(opts *bind.FilterOpts, index []*big.Int) (*TimelockBypasserCallExecutedIterator, error)
- func (_Timelock *TimelockFilterer) FilterCallExecuted(opts *bind.FilterOpts, id [][32]byte, index []*big.Int) (*TimelockCallExecutedIterator, error)
- func (_Timelock *TimelockFilterer) FilterCallScheduled(opts *bind.FilterOpts, id [][32]byte, index []*big.Int) (*TimelockCallScheduledIterator, error)
- func (_Timelock *TimelockFilterer) FilterCancelled(opts *bind.FilterOpts, id [][32]byte) (*TimelockCancelledIterator, error)
- func (_Timelock *TimelockFilterer) FilterFunctionSelectorBlocked(opts *bind.FilterOpts, selector [][4]byte) (*TimelockFunctionSelectorBlockedIterator, error)
- func (_Timelock *TimelockFilterer) FilterFunctionSelectorUnblocked(opts *bind.FilterOpts, selector [][4]byte) (*TimelockFunctionSelectorUnblockedIterator, error)
- func (_Timelock *TimelockFilterer) FilterMinDelayChange(opts *bind.FilterOpts) (*TimelockMinDelayChangeIterator, error)
- func (_Timelock *TimelockFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, ...) (*TimelockRoleAdminChangedIterator, error)
- func (_Timelock *TimelockFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*TimelockRoleGrantedIterator, error)
- func (_Timelock *TimelockFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*TimelockRoleRevokedIterator, error)
- func (_Timelock *TimelockFilterer) ParseBypasserCallExecuted(log types.Log) (*TimelockBypasserCallExecuted, error)
- func (_Timelock *TimelockFilterer) ParseCallExecuted(log types.Log) (*TimelockCallExecuted, error)
- func (_Timelock *TimelockFilterer) ParseCallScheduled(log types.Log) (*TimelockCallScheduled, error)
- func (_Timelock *TimelockFilterer) ParseCancelled(log types.Log) (*TimelockCancelled, error)
- func (_Timelock *TimelockFilterer) ParseFunctionSelectorBlocked(log types.Log) (*TimelockFunctionSelectorBlocked, error)
- func (_Timelock *TimelockFilterer) ParseFunctionSelectorUnblocked(log types.Log) (*TimelockFunctionSelectorUnblocked, error)
- func (_Timelock *TimelockFilterer) ParseMinDelayChange(log types.Log) (*TimelockMinDelayChange, error)
- func (_Timelock *TimelockFilterer) ParseRoleAdminChanged(log types.Log) (*TimelockRoleAdminChanged, error)
- func (_Timelock *TimelockFilterer) ParseRoleGranted(log types.Log) (*TimelockRoleGranted, error)
- func (_Timelock *TimelockFilterer) ParseRoleRevoked(log types.Log) (*TimelockRoleRevoked, error)
- func (_Timelock *TimelockFilterer) WatchBypasserCallExecuted(opts *bind.WatchOpts, sink chan<- *TimelockBypasserCallExecuted, ...) (event.Subscription, error)
- func (_Timelock *TimelockFilterer) WatchCallExecuted(opts *bind.WatchOpts, sink chan<- *TimelockCallExecuted, id [][32]byte, ...) (event.Subscription, error)
- func (_Timelock *TimelockFilterer) WatchCallScheduled(opts *bind.WatchOpts, sink chan<- *TimelockCallScheduled, id [][32]byte, ...) (event.Subscription, error)
- func (_Timelock *TimelockFilterer) WatchCancelled(opts *bind.WatchOpts, sink chan<- *TimelockCancelled, id [][32]byte) (event.Subscription, error)
- func (_Timelock *TimelockFilterer) WatchFunctionSelectorBlocked(opts *bind.WatchOpts, sink chan<- *TimelockFunctionSelectorBlocked, ...) (event.Subscription, error)
- func (_Timelock *TimelockFilterer) WatchFunctionSelectorUnblocked(opts *bind.WatchOpts, sink chan<- *TimelockFunctionSelectorUnblocked, ...) (event.Subscription, error)
- func (_Timelock *TimelockFilterer) WatchMinDelayChange(opts *bind.WatchOpts, sink chan<- *TimelockMinDelayChange) (event.Subscription, error)
- func (_Timelock *TimelockFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *TimelockRoleAdminChanged, role [][32]byte, ...) (event.Subscription, error)
- func (_Timelock *TimelockFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *TimelockRoleGranted, role [][32]byte, ...) (event.Subscription, error)
- func (_Timelock *TimelockFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *TimelockRoleRevoked, role [][32]byte, ...) (event.Subscription, error)
- type TimelockFunctionSelectorBlocked
- type TimelockFunctionSelectorBlockedIterator
- type TimelockFunctionSelectorUnblocked
- type TimelockFunctionSelectorUnblockedIterator
- type TimelockMinDelayChange
- type TimelockMinDelayChangeIterator
- type TimelockRaw
- func (_Timelock *TimelockRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Timelock *TimelockRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Timelock *TimelockRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type TimelockRoleAdminChanged
- type TimelockRoleAdminChangedIterator
- type TimelockRoleGranted
- type TimelockRoleGrantedIterator
- type TimelockRoleRevoked
- type TimelockRoleRevokedIterator
- type TimelockSession
- func (_Timelock *TimelockSession) ADMINROLE() ([32]byte, error)
- func (_Timelock *TimelockSession) BYPASSERROLE() ([32]byte, error)
- func (_Timelock *TimelockSession) BlockFunctionSelector(selector [4]byte) (*types.Transaction, error)
- func (_Timelock *TimelockSession) BypasserExecuteBatch(calls []RBACTimelockCall) (*types.Transaction, error)
- func (_Timelock *TimelockSession) CANCELLERROLE() ([32]byte, error)
- func (_Timelock *TimelockSession) Cancel(id [32]byte) (*types.Transaction, error)
- func (_Timelock *TimelockSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_Timelock *TimelockSession) EXECUTORROLE() ([32]byte, error)
- func (_Timelock *TimelockSession) ExecuteBatch(calls []RBACTimelockCall, predecessor [32]byte, salt [32]byte) (*types.Transaction, error)
- func (_Timelock *TimelockSession) GetBlockedFunctionSelectorAt(index *big.Int) ([4]byte, error)
- func (_Timelock *TimelockSession) GetBlockedFunctionSelectorCount() (*big.Int, error)
- func (_Timelock *TimelockSession) GetMinDelay() (*big.Int, error)
- func (_Timelock *TimelockSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_Timelock *TimelockSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
- func (_Timelock *TimelockSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
- func (_Timelock *TimelockSession) GetTimestamp(id [32]byte) (*big.Int, error)
- func (_Timelock *TimelockSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_Timelock *TimelockSession) HashOperationBatch(calls []RBACTimelockCall, predecessor [32]byte, salt [32]byte) ([32]byte, error)
- func (_Timelock *TimelockSession) IsOperation(id [32]byte) (bool, error)
- func (_Timelock *TimelockSession) IsOperationDone(id [32]byte) (bool, error)
- func (_Timelock *TimelockSession) IsOperationPending(id [32]byte) (bool, error)
- func (_Timelock *TimelockSession) IsOperationReady(id [32]byte) (bool, error)
- func (_Timelock *TimelockSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, ...) (*types.Transaction, error)
- func (_Timelock *TimelockSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, ...) (*types.Transaction, error)
- func (_Timelock *TimelockSession) OnERC721Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)
- func (_Timelock *TimelockSession) PROPOSERROLE() ([32]byte, error)
- func (_Timelock *TimelockSession) Receive() (*types.Transaction, error)
- func (_Timelock *TimelockSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockSession) ScheduleBatch(calls []RBACTimelockCall, predecessor [32]byte, salt [32]byte, delay *big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Timelock *TimelockSession) UnblockFunctionSelector(selector [4]byte) (*types.Transaction, error)
- func (_Timelock *TimelockSession) UpdateDelay(newDelay *big.Int) (*types.Transaction, error)
- type TimelockTransactor
- func (_Timelock *TimelockTransactor) BlockFunctionSelector(opts *bind.TransactOpts, selector [4]byte) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) BypasserExecuteBatch(opts *bind.TransactOpts, calls []RBACTimelockCall) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) Cancel(opts *bind.TransactOpts, id [32]byte) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) ExecuteBatch(opts *bind.TransactOpts, calls []RBACTimelockCall, predecessor [32]byte, ...) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) OnERC1155BatchReceived(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, ...) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) OnERC1155Received(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, ...) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) OnERC721Received(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, ...) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) ScheduleBatch(opts *bind.TransactOpts, calls []RBACTimelockCall, predecessor [32]byte, ...) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) UnblockFunctionSelector(opts *bind.TransactOpts, selector [4]byte) (*types.Transaction, error)
- func (_Timelock *TimelockTransactor) UpdateDelay(opts *bind.TransactOpts, newDelay *big.Int) (*types.Transaction, error)
- type TimelockTransactorRaw
- type TimelockTransactorSession
- func (_Timelock *TimelockTransactorSession) BlockFunctionSelector(selector [4]byte) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) BypasserExecuteBatch(calls []RBACTimelockCall) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) Cancel(id [32]byte) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) ExecuteBatch(calls []RBACTimelockCall, predecessor [32]byte, salt [32]byte) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, ...) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, ...) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) OnERC721Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) Receive() (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) ScheduleBatch(calls []RBACTimelockCall, predecessor [32]byte, salt [32]byte, delay *big.Int) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) UnblockFunctionSelector(selector [4]byte) (*types.Transaction, error)
- func (_Timelock *TimelockTransactorSession) UpdateDelay(newDelay *big.Int) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var TimelockABI = TimelockMetaData.ABI
TimelockABI is the input ABI used to generate the binding from. Deprecated: Use TimelockMetaData.ABI instead.
var TimelockMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"minDelay\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"proposers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"executors\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"cancellers\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"bypassers\",\"type\":\"address[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"BypasserCallExecuted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"CallExecuted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"predecessor\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"delay\",\"type\":\"uint256\"}],\"name\":\"CallScheduled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"Cancelled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes4\",\"name\":\"selector\",\"type\":\"bytes4\"}],\"name\":\"FunctionSelectorBlocked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes4\",\"name\":\"selector\",\"type\":\"bytes4\"}],\"name\":\"FunctionSelectorUnblocked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldDuration\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newDuration\",\"type\":\"uint256\"}],\"name\":\"MinDelayChange\",\"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\"},{\"inputs\":[],\"name\":\"ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"BYPASSER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"CANCELLER_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\":[],\"name\":\"PROPOSER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"selector\",\"type\":\"bytes4\"}],\"name\":\"blockFunctionSelector\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"internalType\":\"structRBACTimelock.Call[]\",\"name\":\"calls\",\"type\":\"tuple[]\"}],\"name\":\"bypasserExecuteBatch\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"cancel\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"internalType\":\"structRBACTimelock.Call[]\",\"name\":\"calls\",\"type\":\"tuple[]\"},{\"internalType\":\"bytes32\",\"name\":\"predecessor\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"}],\"name\":\"executeBatch\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getBlockedFunctionSelectorAt\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getBlockedFunctionSelectorCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMinDelay\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"duration\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"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\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getRoleMember\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleMemberCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"getTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"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\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"internalType\":\"structRBACTimelock.Call[]\",\"name\":\"calls\",\"type\":\"tuple[]\"},{\"internalType\":\"bytes32\",\"name\":\"predecessor\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"}],\"name\":\"hashOperationBatch\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"isOperation\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"registered\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"isOperationDone\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"done\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"isOperationPending\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"pending\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"}],\"name\":\"isOperationReady\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"ready\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onERC1155BatchReceived\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onERC1155Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onERC721Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"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\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"internalType\":\"structRBACTimelock.Call[]\",\"name\":\"calls\",\"type\":\"tuple[]\"},{\"internalType\":\"bytes32\",\"name\":\"predecessor\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"delay\",\"type\":\"uint256\"}],\"name\":\"scheduleBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"selector\",\"type\":\"bytes4\"}],\"name\":\"unblockFunctionSelector\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newDelay\",\"type\":\"uint256\"}],\"name\":\"updateDelay\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}
TimelockMetaData contains all meta data concerning the Timelock contract.
Functions ¶
This section is empty.
Types ¶
type RBACTimelockCall ¶
RBACTimelockCall is an auto generated low-level Go binding around an user-defined struct.
type Timelock ¶
type Timelock struct { TimelockCaller // Read-only binding to the contract TimelockTransactor // Write-only binding to the contract TimelockFilterer // Log filterer for contract events }
Timelock is an auto generated Go binding around an Ethereum contract.
func NewTimelock ¶
NewTimelock creates a new instance of Timelock, bound to a specific deployed contract.
type TimelockBypasserCallExecuted ¶
type TimelockBypasserCallExecuted struct { Index *big.Int Target common.Address Value *big.Int Data []byte Raw types.Log // Blockchain specific contextual infos }
TimelockBypasserCallExecuted represents a BypasserCallExecuted event raised by the Timelock contract.
type TimelockBypasserCallExecutedIterator ¶
type TimelockBypasserCallExecutedIterator struct { Event *TimelockBypasserCallExecuted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TimelockBypasserCallExecutedIterator is returned from FilterBypasserCallExecuted and is used to iterate over the raw logs and unpacked data for BypasserCallExecuted events raised by the Timelock contract.
func (*TimelockBypasserCallExecutedIterator) Close ¶
func (it *TimelockBypasserCallExecutedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TimelockBypasserCallExecutedIterator) Error ¶
func (it *TimelockBypasserCallExecutedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TimelockBypasserCallExecutedIterator) Next ¶
func (it *TimelockBypasserCallExecutedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type TimelockCallExecuted ¶
type TimelockCallExecuted struct { Id [32]byte Index *big.Int Target common.Address Value *big.Int Data []byte Raw types.Log // Blockchain specific contextual infos }
TimelockCallExecuted represents a CallExecuted event raised by the Timelock contract.
type TimelockCallExecutedIterator ¶
type TimelockCallExecutedIterator struct { Event *TimelockCallExecuted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TimelockCallExecutedIterator is returned from FilterCallExecuted and is used to iterate over the raw logs and unpacked data for CallExecuted events raised by the Timelock contract.
func (*TimelockCallExecutedIterator) Close ¶
func (it *TimelockCallExecutedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TimelockCallExecutedIterator) Error ¶
func (it *TimelockCallExecutedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TimelockCallExecutedIterator) Next ¶
func (it *TimelockCallExecutedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type TimelockCallScheduled ¶
type TimelockCallScheduled struct { Id [32]byte Index *big.Int Target common.Address Value *big.Int Data []byte Predecessor [32]byte Salt [32]byte Delay *big.Int Raw types.Log // Blockchain specific contextual infos }
TimelockCallScheduled represents a CallScheduled event raised by the Timelock contract.
type TimelockCallScheduledIterator ¶
type TimelockCallScheduledIterator struct { Event *TimelockCallScheduled // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TimelockCallScheduledIterator is returned from FilterCallScheduled and is used to iterate over the raw logs and unpacked data for CallScheduled events raised by the Timelock contract.
func (*TimelockCallScheduledIterator) Close ¶
func (it *TimelockCallScheduledIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TimelockCallScheduledIterator) Error ¶
func (it *TimelockCallScheduledIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TimelockCallScheduledIterator) Next ¶
func (it *TimelockCallScheduledIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type TimelockCaller ¶
type TimelockCaller struct {
// contains filtered or unexported fields
}
TimelockCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewTimelockCaller ¶
func NewTimelockCaller(address common.Address, caller bind.ContractCaller) (*TimelockCaller, error)
NewTimelockCaller creates a new read-only instance of Timelock, bound to a specific deployed contract.
func (*TimelockCaller) ADMINROLE ¶
func (_Timelock *TimelockCaller) 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 (*TimelockCaller) BYPASSERROLE ¶
func (_Timelock *TimelockCaller) BYPASSERROLE(opts *bind.CallOpts) ([32]byte, error)
BYPASSERROLE is a free data retrieval call binding the contract method 0x191cb7b3.
Solidity: function BYPASSER_ROLE() view returns(bytes32)
func (*TimelockCaller) CANCELLERROLE ¶
func (_Timelock *TimelockCaller) CANCELLERROLE(opts *bind.CallOpts) ([32]byte, error)
CANCELLERROLE is a free data retrieval call binding the contract method 0xb08e51c0.
Solidity: function CANCELLER_ROLE() view returns(bytes32)
func (*TimelockCaller) DEFAULTADMINROLE ¶
func (_Timelock *TimelockCaller) 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 (*TimelockCaller) EXECUTORROLE ¶
func (_Timelock *TimelockCaller) 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 (*TimelockCaller) GetBlockedFunctionSelectorAt ¶
func (_Timelock *TimelockCaller) GetBlockedFunctionSelectorAt(opts *bind.CallOpts, index *big.Int) ([4]byte, error)
GetBlockedFunctionSelectorAt is a free data retrieval call binding the contract method 0x03e56155.
Solidity: function getBlockedFunctionSelectorAt(uint256 index) view returns(bytes4)
func (*TimelockCaller) GetBlockedFunctionSelectorCount ¶
func (_Timelock *TimelockCaller) GetBlockedFunctionSelectorCount(opts *bind.CallOpts) (*big.Int, error)
GetBlockedFunctionSelectorCount is a free data retrieval call binding the contract method 0x26bb2ec5.
Solidity: function getBlockedFunctionSelectorCount() view returns(uint256)
func (*TimelockCaller) GetMinDelay ¶
GetMinDelay is a free data retrieval call binding the contract method 0xf27a0c92.
Solidity: function getMinDelay() view returns(uint256 duration)
func (*TimelockCaller) GetRoleAdmin ¶
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*TimelockCaller) GetRoleMember ¶
func (_Timelock *TimelockCaller) GetRoleMember(opts *bind.CallOpts, role [32]byte, index *big.Int) (common.Address, error)
GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.
Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)
func (*TimelockCaller) GetRoleMemberCount ¶
func (_Timelock *TimelockCaller) GetRoleMemberCount(opts *bind.CallOpts, role [32]byte) (*big.Int, error)
GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.
Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)
func (*TimelockCaller) GetTimestamp ¶
GetTimestamp is a free data retrieval call binding the contract method 0xd45c4435.
Solidity: function getTimestamp(bytes32 id) view returns(uint256 timestamp)
func (*TimelockCaller) HasRole ¶
func (_Timelock *TimelockCaller) 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 (*TimelockCaller) HashOperationBatch ¶
func (_Timelock *TimelockCaller) HashOperationBatch(opts *bind.CallOpts, calls []RBACTimelockCall, predecessor [32]byte, salt [32]byte) ([32]byte, error)
HashOperationBatch is a free data retrieval call binding the contract method 0x515a3db3.
Solidity: function hashOperationBatch((address,uint256,bytes)[] calls, bytes32 predecessor, bytes32 salt) pure returns(bytes32 hash)
func (*TimelockCaller) IsOperation ¶
IsOperation is a free data retrieval call binding the contract method 0x31d50750.
Solidity: function isOperation(bytes32 id) view returns(bool registered)
func (*TimelockCaller) IsOperationDone ¶
IsOperationDone is a free data retrieval call binding the contract method 0x2ab0f529.
Solidity: function isOperationDone(bytes32 id) view returns(bool done)
func (*TimelockCaller) IsOperationPending ¶
IsOperationPending is a free data retrieval call binding the contract method 0x584b153e.
Solidity: function isOperationPending(bytes32 id) view returns(bool pending)
func (*TimelockCaller) IsOperationReady ¶
IsOperationReady is a free data retrieval call binding the contract method 0x13bc9f20.
Solidity: function isOperationReady(bytes32 id) view returns(bool ready)
func (*TimelockCaller) PROPOSERROLE ¶
func (_Timelock *TimelockCaller) PROPOSERROLE(opts *bind.CallOpts) ([32]byte, error)
PROPOSERROLE is a free data retrieval call binding the contract method 0x8f61f4f5.
Solidity: function PROPOSER_ROLE() view returns(bytes32)
func (*TimelockCaller) SupportsInterface ¶
func (_Timelock *TimelockCaller) 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 TimelockCallerRaw ¶
type TimelockCallerRaw struct {
Contract *TimelockCaller // Generic read-only contract binding to access the raw methods on
}
TimelockCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*TimelockCallerRaw) Call ¶
func (_Timelock *TimelockCallerRaw) 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 TimelockCallerSession ¶
type TimelockCallerSession struct { Contract *TimelockCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
TimelockCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*TimelockCallerSession) ADMINROLE ¶
func (_Timelock *TimelockCallerSession) ADMINROLE() ([32]byte, error)
ADMINROLE is a free data retrieval call binding the contract method 0x75b238fc.
Solidity: function ADMIN_ROLE() view returns(bytes32)
func (*TimelockCallerSession) BYPASSERROLE ¶
func (_Timelock *TimelockCallerSession) BYPASSERROLE() ([32]byte, error)
BYPASSERROLE is a free data retrieval call binding the contract method 0x191cb7b3.
Solidity: function BYPASSER_ROLE() view returns(bytes32)
func (*TimelockCallerSession) CANCELLERROLE ¶
func (_Timelock *TimelockCallerSession) CANCELLERROLE() ([32]byte, error)
CANCELLERROLE is a free data retrieval call binding the contract method 0xb08e51c0.
Solidity: function CANCELLER_ROLE() view returns(bytes32)
func (*TimelockCallerSession) DEFAULTADMINROLE ¶
func (_Timelock *TimelockCallerSession) 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 (*TimelockCallerSession) EXECUTORROLE ¶
func (_Timelock *TimelockCallerSession) EXECUTORROLE() ([32]byte, error)
EXECUTORROLE is a free data retrieval call binding the contract method 0x07bd0265.
Solidity: function EXECUTOR_ROLE() view returns(bytes32)
func (*TimelockCallerSession) GetBlockedFunctionSelectorAt ¶
func (_Timelock *TimelockCallerSession) GetBlockedFunctionSelectorAt(index *big.Int) ([4]byte, error)
GetBlockedFunctionSelectorAt is a free data retrieval call binding the contract method 0x03e56155.
Solidity: function getBlockedFunctionSelectorAt(uint256 index) view returns(bytes4)
func (*TimelockCallerSession) GetBlockedFunctionSelectorCount ¶
func (_Timelock *TimelockCallerSession) GetBlockedFunctionSelectorCount() (*big.Int, error)
GetBlockedFunctionSelectorCount is a free data retrieval call binding the contract method 0x26bb2ec5.
Solidity: function getBlockedFunctionSelectorCount() view returns(uint256)
func (*TimelockCallerSession) GetMinDelay ¶
func (_Timelock *TimelockCallerSession) GetMinDelay() (*big.Int, error)
GetMinDelay is a free data retrieval call binding the contract method 0xf27a0c92.
Solidity: function getMinDelay() view returns(uint256 duration)
func (*TimelockCallerSession) GetRoleAdmin ¶
func (_Timelock *TimelockCallerSession) 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 (*TimelockCallerSession) GetRoleMember ¶
func (_Timelock *TimelockCallerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.
Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)
func (*TimelockCallerSession) GetRoleMemberCount ¶
func (_Timelock *TimelockCallerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.
Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)
func (*TimelockCallerSession) GetTimestamp ¶
func (_Timelock *TimelockCallerSession) GetTimestamp(id [32]byte) (*big.Int, error)
GetTimestamp is a free data retrieval call binding the contract method 0xd45c4435.
Solidity: function getTimestamp(bytes32 id) view returns(uint256 timestamp)
func (*TimelockCallerSession) HasRole ¶
func (_Timelock *TimelockCallerSession) 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 (*TimelockCallerSession) HashOperationBatch ¶
func (_Timelock *TimelockCallerSession) HashOperationBatch(calls []RBACTimelockCall, predecessor [32]byte, salt [32]byte) ([32]byte, error)
HashOperationBatch is a free data retrieval call binding the contract method 0x515a3db3.
Solidity: function hashOperationBatch((address,uint256,bytes)[] calls, bytes32 predecessor, bytes32 salt) pure returns(bytes32 hash)
func (*TimelockCallerSession) IsOperation ¶
func (_Timelock *TimelockCallerSession) IsOperation(id [32]byte) (bool, error)
IsOperation is a free data retrieval call binding the contract method 0x31d50750.
Solidity: function isOperation(bytes32 id) view returns(bool registered)
func (*TimelockCallerSession) IsOperationDone ¶
func (_Timelock *TimelockCallerSession) IsOperationDone(id [32]byte) (bool, error)
IsOperationDone is a free data retrieval call binding the contract method 0x2ab0f529.
Solidity: function isOperationDone(bytes32 id) view returns(bool done)
func (*TimelockCallerSession) IsOperationPending ¶
func (_Timelock *TimelockCallerSession) IsOperationPending(id [32]byte) (bool, error)
IsOperationPending is a free data retrieval call binding the contract method 0x584b153e.
Solidity: function isOperationPending(bytes32 id) view returns(bool pending)
func (*TimelockCallerSession) IsOperationReady ¶
func (_Timelock *TimelockCallerSession) IsOperationReady(id [32]byte) (bool, error)
IsOperationReady is a free data retrieval call binding the contract method 0x13bc9f20.
Solidity: function isOperationReady(bytes32 id) view returns(bool ready)
func (*TimelockCallerSession) PROPOSERROLE ¶
func (_Timelock *TimelockCallerSession) PROPOSERROLE() ([32]byte, error)
PROPOSERROLE is a free data retrieval call binding the contract method 0x8f61f4f5.
Solidity: function PROPOSER_ROLE() view returns(bytes32)
func (*TimelockCallerSession) SupportsInterface ¶
func (_Timelock *TimelockCallerSession) 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 TimelockCancelled ¶
TimelockCancelled represents a Cancelled event raised by the Timelock contract.
type TimelockCancelledIterator ¶
type TimelockCancelledIterator struct { Event *TimelockCancelled // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TimelockCancelledIterator is returned from FilterCancelled and is used to iterate over the raw logs and unpacked data for Cancelled events raised by the Timelock contract.
func (*TimelockCancelledIterator) Close ¶
func (it *TimelockCancelledIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TimelockCancelledIterator) Error ¶
func (it *TimelockCancelledIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TimelockCancelledIterator) Next ¶
func (it *TimelockCancelledIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type TimelockFilterer ¶
type TimelockFilterer struct {
// contains filtered or unexported fields
}
TimelockFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewTimelockFilterer ¶
func NewTimelockFilterer(address common.Address, filterer bind.ContractFilterer) (*TimelockFilterer, error)
NewTimelockFilterer creates a new log filterer instance of Timelock, bound to a specific deployed contract.
func (*TimelockFilterer) FilterBypasserCallExecuted ¶
func (_Timelock *TimelockFilterer) FilterBypasserCallExecuted(opts *bind.FilterOpts, index []*big.Int) (*TimelockBypasserCallExecutedIterator, error)
FilterBypasserCallExecuted is a free log retrieval operation binding the contract event 0x6b983f337bab73dfe37faca733adf3ea35b45b8b144ec8ee2de3a1b224564b0c.
Solidity: event BypasserCallExecuted(uint256 indexed index, address target, uint256 value, bytes data)
func (*TimelockFilterer) FilterCallExecuted ¶
func (_Timelock *TimelockFilterer) FilterCallExecuted(opts *bind.FilterOpts, id [][32]byte, index []*big.Int) (*TimelockCallExecutedIterator, error)
FilterCallExecuted is a free log retrieval operation binding the contract event 0xc2617efa69bab66782fa219543714338489c4e9e178271560a91b82c3f612b58.
Solidity: event CallExecuted(bytes32 indexed id, uint256 indexed index, address target, uint256 value, bytes data)
func (*TimelockFilterer) FilterCallScheduled ¶
func (_Timelock *TimelockFilterer) FilterCallScheduled(opts *bind.FilterOpts, id [][32]byte, index []*big.Int) (*TimelockCallScheduledIterator, error)
FilterCallScheduled is a free log retrieval operation binding the contract event 0x4f4da6666f52e3b6dbc3638d8eae4017722678fe58bca79cd8320817807a65be.
Solidity: event CallScheduled(bytes32 indexed id, uint256 indexed index, address target, uint256 value, bytes data, bytes32 predecessor, bytes32 salt, uint256 delay)
func (*TimelockFilterer) FilterCancelled ¶
func (_Timelock *TimelockFilterer) FilterCancelled(opts *bind.FilterOpts, id [][32]byte) (*TimelockCancelledIterator, error)
FilterCancelled is a free log retrieval operation binding the contract event 0xbaa1eb22f2a492ba1a5fea61b8df4d27c6c8b5f3971e63bb58fa14ff72eedb70.
Solidity: event Cancelled(bytes32 indexed id)
func (*TimelockFilterer) FilterFunctionSelectorBlocked ¶
func (_Timelock *TimelockFilterer) FilterFunctionSelectorBlocked(opts *bind.FilterOpts, selector [][4]byte) (*TimelockFunctionSelectorBlockedIterator, error)
FilterFunctionSelectorBlocked is a free log retrieval operation binding the contract event 0x15b40cf8ed4c95cd3c0e1dedfdb3987c3f9bf3d3770d13ddf6dc4daa5ffae9ef.
Solidity: event FunctionSelectorBlocked(bytes4 indexed selector)
func (*TimelockFilterer) FilterFunctionSelectorUnblocked ¶
func (_Timelock *TimelockFilterer) FilterFunctionSelectorUnblocked(opts *bind.FilterOpts, selector [][4]byte) (*TimelockFunctionSelectorUnblockedIterator, error)
FilterFunctionSelectorUnblocked is a free log retrieval operation binding the contract event 0xd91859a8d88193a56a2983deb65a5253985141c49c70bf016880b5243bd432e1.
Solidity: event FunctionSelectorUnblocked(bytes4 indexed selector)
func (*TimelockFilterer) FilterMinDelayChange ¶
func (_Timelock *TimelockFilterer) FilterMinDelayChange(opts *bind.FilterOpts) (*TimelockMinDelayChangeIterator, error)
FilterMinDelayChange is a free log retrieval operation binding the contract event 0x11c24f4ead16507c69ac467fbd5e4eed5fb5c699626d2cc6d66421df253886d5.
Solidity: event MinDelayChange(uint256 oldDuration, uint256 newDuration)
func (*TimelockFilterer) FilterRoleAdminChanged ¶
func (_Timelock *TimelockFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*TimelockRoleAdminChangedIterator, 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 (*TimelockFilterer) FilterRoleGranted ¶
func (_Timelock *TimelockFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*TimelockRoleGrantedIterator, 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 (*TimelockFilterer) FilterRoleRevoked ¶
func (_Timelock *TimelockFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*TimelockRoleRevokedIterator, 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 (*TimelockFilterer) ParseBypasserCallExecuted ¶
func (_Timelock *TimelockFilterer) ParseBypasserCallExecuted(log types.Log) (*TimelockBypasserCallExecuted, error)
ParseBypasserCallExecuted is a log parse operation binding the contract event 0x6b983f337bab73dfe37faca733adf3ea35b45b8b144ec8ee2de3a1b224564b0c.
Solidity: event BypasserCallExecuted(uint256 indexed index, address target, uint256 value, bytes data)
func (*TimelockFilterer) ParseCallExecuted ¶
func (_Timelock *TimelockFilterer) ParseCallExecuted(log types.Log) (*TimelockCallExecuted, error)
ParseCallExecuted is a log parse operation binding the contract event 0xc2617efa69bab66782fa219543714338489c4e9e178271560a91b82c3f612b58.
Solidity: event CallExecuted(bytes32 indexed id, uint256 indexed index, address target, uint256 value, bytes data)
func (*TimelockFilterer) ParseCallScheduled ¶
func (_Timelock *TimelockFilterer) ParseCallScheduled(log types.Log) (*TimelockCallScheduled, error)
ParseCallScheduled is a log parse operation binding the contract event 0x4f4da6666f52e3b6dbc3638d8eae4017722678fe58bca79cd8320817807a65be.
Solidity: event CallScheduled(bytes32 indexed id, uint256 indexed index, address target, uint256 value, bytes data, bytes32 predecessor, bytes32 salt, uint256 delay)
func (*TimelockFilterer) ParseCancelled ¶
func (_Timelock *TimelockFilterer) ParseCancelled(log types.Log) (*TimelockCancelled, error)
ParseCancelled is a log parse operation binding the contract event 0xbaa1eb22f2a492ba1a5fea61b8df4d27c6c8b5f3971e63bb58fa14ff72eedb70.
Solidity: event Cancelled(bytes32 indexed id)
func (*TimelockFilterer) ParseFunctionSelectorBlocked ¶
func (_Timelock *TimelockFilterer) ParseFunctionSelectorBlocked(log types.Log) (*TimelockFunctionSelectorBlocked, error)
ParseFunctionSelectorBlocked is a log parse operation binding the contract event 0x15b40cf8ed4c95cd3c0e1dedfdb3987c3f9bf3d3770d13ddf6dc4daa5ffae9ef.
Solidity: event FunctionSelectorBlocked(bytes4 indexed selector)
func (*TimelockFilterer) ParseFunctionSelectorUnblocked ¶
func (_Timelock *TimelockFilterer) ParseFunctionSelectorUnblocked(log types.Log) (*TimelockFunctionSelectorUnblocked, error)
ParseFunctionSelectorUnblocked is a log parse operation binding the contract event 0xd91859a8d88193a56a2983deb65a5253985141c49c70bf016880b5243bd432e1.
Solidity: event FunctionSelectorUnblocked(bytes4 indexed selector)
func (*TimelockFilterer) ParseMinDelayChange ¶
func (_Timelock *TimelockFilterer) ParseMinDelayChange(log types.Log) (*TimelockMinDelayChange, error)
ParseMinDelayChange is a log parse operation binding the contract event 0x11c24f4ead16507c69ac467fbd5e4eed5fb5c699626d2cc6d66421df253886d5.
Solidity: event MinDelayChange(uint256 oldDuration, uint256 newDuration)
func (*TimelockFilterer) ParseRoleAdminChanged ¶
func (_Timelock *TimelockFilterer) ParseRoleAdminChanged(log types.Log) (*TimelockRoleAdminChanged, 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 (*TimelockFilterer) ParseRoleGranted ¶
func (_Timelock *TimelockFilterer) ParseRoleGranted(log types.Log) (*TimelockRoleGranted, 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 (*TimelockFilterer) ParseRoleRevoked ¶
func (_Timelock *TimelockFilterer) ParseRoleRevoked(log types.Log) (*TimelockRoleRevoked, 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 (*TimelockFilterer) WatchBypasserCallExecuted ¶
func (_Timelock *TimelockFilterer) WatchBypasserCallExecuted(opts *bind.WatchOpts, sink chan<- *TimelockBypasserCallExecuted, index []*big.Int) (event.Subscription, error)
WatchBypasserCallExecuted is a free log subscription operation binding the contract event 0x6b983f337bab73dfe37faca733adf3ea35b45b8b144ec8ee2de3a1b224564b0c.
Solidity: event BypasserCallExecuted(uint256 indexed index, address target, uint256 value, bytes data)
func (*TimelockFilterer) WatchCallExecuted ¶
func (_Timelock *TimelockFilterer) WatchCallExecuted(opts *bind.WatchOpts, sink chan<- *TimelockCallExecuted, id [][32]byte, index []*big.Int) (event.Subscription, error)
WatchCallExecuted is a free log subscription operation binding the contract event 0xc2617efa69bab66782fa219543714338489c4e9e178271560a91b82c3f612b58.
Solidity: event CallExecuted(bytes32 indexed id, uint256 indexed index, address target, uint256 value, bytes data)
func (*TimelockFilterer) WatchCallScheduled ¶
func (_Timelock *TimelockFilterer) WatchCallScheduled(opts *bind.WatchOpts, sink chan<- *TimelockCallScheduled, id [][32]byte, index []*big.Int) (event.Subscription, error)
WatchCallScheduled is a free log subscription operation binding the contract event 0x4f4da6666f52e3b6dbc3638d8eae4017722678fe58bca79cd8320817807a65be.
Solidity: event CallScheduled(bytes32 indexed id, uint256 indexed index, address target, uint256 value, bytes data, bytes32 predecessor, bytes32 salt, uint256 delay)
func (*TimelockFilterer) WatchCancelled ¶
func (_Timelock *TimelockFilterer) WatchCancelled(opts *bind.WatchOpts, sink chan<- *TimelockCancelled, id [][32]byte) (event.Subscription, error)
WatchCancelled is a free log subscription operation binding the contract event 0xbaa1eb22f2a492ba1a5fea61b8df4d27c6c8b5f3971e63bb58fa14ff72eedb70.
Solidity: event Cancelled(bytes32 indexed id)
func (*TimelockFilterer) WatchFunctionSelectorBlocked ¶
func (_Timelock *TimelockFilterer) WatchFunctionSelectorBlocked(opts *bind.WatchOpts, sink chan<- *TimelockFunctionSelectorBlocked, selector [][4]byte) (event.Subscription, error)
WatchFunctionSelectorBlocked is a free log subscription operation binding the contract event 0x15b40cf8ed4c95cd3c0e1dedfdb3987c3f9bf3d3770d13ddf6dc4daa5ffae9ef.
Solidity: event FunctionSelectorBlocked(bytes4 indexed selector)
func (*TimelockFilterer) WatchFunctionSelectorUnblocked ¶
func (_Timelock *TimelockFilterer) WatchFunctionSelectorUnblocked(opts *bind.WatchOpts, sink chan<- *TimelockFunctionSelectorUnblocked, selector [][4]byte) (event.Subscription, error)
WatchFunctionSelectorUnblocked is a free log subscription operation binding the contract event 0xd91859a8d88193a56a2983deb65a5253985141c49c70bf016880b5243bd432e1.
Solidity: event FunctionSelectorUnblocked(bytes4 indexed selector)
func (*TimelockFilterer) WatchMinDelayChange ¶
func (_Timelock *TimelockFilterer) WatchMinDelayChange(opts *bind.WatchOpts, sink chan<- *TimelockMinDelayChange) (event.Subscription, error)
WatchMinDelayChange is a free log subscription operation binding the contract event 0x11c24f4ead16507c69ac467fbd5e4eed5fb5c699626d2cc6d66421df253886d5.
Solidity: event MinDelayChange(uint256 oldDuration, uint256 newDuration)
func (*TimelockFilterer) WatchRoleAdminChanged ¶
func (_Timelock *TimelockFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *TimelockRoleAdminChanged, 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 (*TimelockFilterer) WatchRoleGranted ¶
func (_Timelock *TimelockFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *TimelockRoleGranted, 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 (*TimelockFilterer) WatchRoleRevoked ¶
func (_Timelock *TimelockFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *TimelockRoleRevoked, 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)
type TimelockFunctionSelectorBlocked ¶
type TimelockFunctionSelectorBlocked struct { Selector [4]byte Raw types.Log // Blockchain specific contextual infos }
TimelockFunctionSelectorBlocked represents a FunctionSelectorBlocked event raised by the Timelock contract.
type TimelockFunctionSelectorBlockedIterator ¶
type TimelockFunctionSelectorBlockedIterator struct { Event *TimelockFunctionSelectorBlocked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TimelockFunctionSelectorBlockedIterator is returned from FilterFunctionSelectorBlocked and is used to iterate over the raw logs and unpacked data for FunctionSelectorBlocked events raised by the Timelock contract.
func (*TimelockFunctionSelectorBlockedIterator) Close ¶
func (it *TimelockFunctionSelectorBlockedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TimelockFunctionSelectorBlockedIterator) Error ¶
func (it *TimelockFunctionSelectorBlockedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TimelockFunctionSelectorBlockedIterator) Next ¶
func (it *TimelockFunctionSelectorBlockedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type TimelockFunctionSelectorUnblocked ¶
type TimelockFunctionSelectorUnblocked struct { Selector [4]byte Raw types.Log // Blockchain specific contextual infos }
TimelockFunctionSelectorUnblocked represents a FunctionSelectorUnblocked event raised by the Timelock contract.
type TimelockFunctionSelectorUnblockedIterator ¶
type TimelockFunctionSelectorUnblockedIterator struct { Event *TimelockFunctionSelectorUnblocked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TimelockFunctionSelectorUnblockedIterator is returned from FilterFunctionSelectorUnblocked and is used to iterate over the raw logs and unpacked data for FunctionSelectorUnblocked events raised by the Timelock contract.
func (*TimelockFunctionSelectorUnblockedIterator) Close ¶
func (it *TimelockFunctionSelectorUnblockedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TimelockFunctionSelectorUnblockedIterator) Error ¶
func (it *TimelockFunctionSelectorUnblockedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TimelockFunctionSelectorUnblockedIterator) Next ¶
func (it *TimelockFunctionSelectorUnblockedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type TimelockMinDelayChange ¶
type TimelockMinDelayChange struct { OldDuration *big.Int NewDuration *big.Int Raw types.Log // Blockchain specific contextual infos }
TimelockMinDelayChange represents a MinDelayChange event raised by the Timelock contract.
type TimelockMinDelayChangeIterator ¶
type TimelockMinDelayChangeIterator struct { Event *TimelockMinDelayChange // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TimelockMinDelayChangeIterator is returned from FilterMinDelayChange and is used to iterate over the raw logs and unpacked data for MinDelayChange events raised by the Timelock contract.
func (*TimelockMinDelayChangeIterator) Close ¶
func (it *TimelockMinDelayChangeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TimelockMinDelayChangeIterator) Error ¶
func (it *TimelockMinDelayChangeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TimelockMinDelayChangeIterator) Next ¶
func (it *TimelockMinDelayChangeIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type TimelockRaw ¶
type TimelockRaw struct {
Contract *Timelock // Generic contract binding to access the raw methods on
}
TimelockRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*TimelockRaw) Call ¶
func (_Timelock *TimelockRaw) 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 (*TimelockRaw) Transact ¶
func (_Timelock *TimelockRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TimelockRaw) Transfer ¶
func (_Timelock *TimelockRaw) 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 TimelockRoleAdminChanged ¶
type TimelockRoleAdminChanged struct { Role [32]byte PreviousAdminRole [32]byte NewAdminRole [32]byte Raw types.Log // Blockchain specific contextual infos }
TimelockRoleAdminChanged represents a RoleAdminChanged event raised by the Timelock contract.
type TimelockRoleAdminChangedIterator ¶
type TimelockRoleAdminChangedIterator struct { Event *TimelockRoleAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TimelockRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the Timelock contract.
func (*TimelockRoleAdminChangedIterator) Close ¶
func (it *TimelockRoleAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TimelockRoleAdminChangedIterator) Error ¶
func (it *TimelockRoleAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TimelockRoleAdminChangedIterator) Next ¶
func (it *TimelockRoleAdminChangedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type TimelockRoleGranted ¶
type TimelockRoleGranted struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
TimelockRoleGranted represents a RoleGranted event raised by the Timelock contract.
type TimelockRoleGrantedIterator ¶
type TimelockRoleGrantedIterator struct { Event *TimelockRoleGranted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TimelockRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the Timelock contract.
func (*TimelockRoleGrantedIterator) Close ¶
func (it *TimelockRoleGrantedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TimelockRoleGrantedIterator) Error ¶
func (it *TimelockRoleGrantedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TimelockRoleGrantedIterator) Next ¶
func (it *TimelockRoleGrantedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type TimelockRoleRevoked ¶
type TimelockRoleRevoked struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
TimelockRoleRevoked represents a RoleRevoked event raised by the Timelock contract.
type TimelockRoleRevokedIterator ¶
type TimelockRoleRevokedIterator struct { Event *TimelockRoleRevoked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TimelockRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the Timelock contract.
func (*TimelockRoleRevokedIterator) Close ¶
func (it *TimelockRoleRevokedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TimelockRoleRevokedIterator) Error ¶
func (it *TimelockRoleRevokedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TimelockRoleRevokedIterator) Next ¶
func (it *TimelockRoleRevokedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type TimelockSession ¶
type TimelockSession struct { Contract *Timelock // 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 }
TimelockSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*TimelockSession) ADMINROLE ¶
func (_Timelock *TimelockSession) ADMINROLE() ([32]byte, error)
ADMINROLE is a free data retrieval call binding the contract method 0x75b238fc.
Solidity: function ADMIN_ROLE() view returns(bytes32)
func (*TimelockSession) BYPASSERROLE ¶
func (_Timelock *TimelockSession) BYPASSERROLE() ([32]byte, error)
BYPASSERROLE is a free data retrieval call binding the contract method 0x191cb7b3.
Solidity: function BYPASSER_ROLE() view returns(bytes32)
func (*TimelockSession) BlockFunctionSelector ¶
func (_Timelock *TimelockSession) BlockFunctionSelector(selector [4]byte) (*types.Transaction, error)
BlockFunctionSelector is a paid mutator transaction binding the contract method 0x9f5a23f7.
Solidity: function blockFunctionSelector(bytes4 selector) returns()
func (*TimelockSession) BypasserExecuteBatch ¶
func (_Timelock *TimelockSession) BypasserExecuteBatch(calls []RBACTimelockCall) (*types.Transaction, error)
BypasserExecuteBatch is a paid mutator transaction binding the contract method 0x0db866b1.
Solidity: function bypasserExecuteBatch((address,uint256,bytes)[] calls) payable returns()
func (*TimelockSession) CANCELLERROLE ¶
func (_Timelock *TimelockSession) CANCELLERROLE() ([32]byte, error)
CANCELLERROLE is a free data retrieval call binding the contract method 0xb08e51c0.
Solidity: function CANCELLER_ROLE() view returns(bytes32)
func (*TimelockSession) Cancel ¶
func (_Timelock *TimelockSession) Cancel(id [32]byte) (*types.Transaction, error)
Cancel is a paid mutator transaction binding the contract method 0xc4d252f5.
Solidity: function cancel(bytes32 id) returns()
func (*TimelockSession) DEFAULTADMINROLE ¶
func (_Timelock *TimelockSession) 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 (*TimelockSession) EXECUTORROLE ¶
func (_Timelock *TimelockSession) EXECUTORROLE() ([32]byte, error)
EXECUTORROLE is a free data retrieval call binding the contract method 0x07bd0265.
Solidity: function EXECUTOR_ROLE() view returns(bytes32)
func (*TimelockSession) ExecuteBatch ¶
func (_Timelock *TimelockSession) ExecuteBatch(calls []RBACTimelockCall, predecessor [32]byte, salt [32]byte) (*types.Transaction, error)
ExecuteBatch is a paid mutator transaction binding the contract method 0x6ceef480.
Solidity: function executeBatch((address,uint256,bytes)[] calls, bytes32 predecessor, bytes32 salt) payable returns()
func (*TimelockSession) GetBlockedFunctionSelectorAt ¶
func (_Timelock *TimelockSession) GetBlockedFunctionSelectorAt(index *big.Int) ([4]byte, error)
GetBlockedFunctionSelectorAt is a free data retrieval call binding the contract method 0x03e56155.
Solidity: function getBlockedFunctionSelectorAt(uint256 index) view returns(bytes4)
func (*TimelockSession) GetBlockedFunctionSelectorCount ¶
func (_Timelock *TimelockSession) GetBlockedFunctionSelectorCount() (*big.Int, error)
GetBlockedFunctionSelectorCount is a free data retrieval call binding the contract method 0x26bb2ec5.
Solidity: function getBlockedFunctionSelectorCount() view returns(uint256)
func (*TimelockSession) GetMinDelay ¶
func (_Timelock *TimelockSession) GetMinDelay() (*big.Int, error)
GetMinDelay is a free data retrieval call binding the contract method 0xf27a0c92.
Solidity: function getMinDelay() view returns(uint256 duration)
func (*TimelockSession) GetRoleAdmin ¶
func (_Timelock *TimelockSession) 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 (*TimelockSession) GetRoleMember ¶
func (_Timelock *TimelockSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.
Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)
func (*TimelockSession) GetRoleMemberCount ¶
func (_Timelock *TimelockSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.
Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)
func (*TimelockSession) GetTimestamp ¶
func (_Timelock *TimelockSession) GetTimestamp(id [32]byte) (*big.Int, error)
GetTimestamp is a free data retrieval call binding the contract method 0xd45c4435.
Solidity: function getTimestamp(bytes32 id) view returns(uint256 timestamp)
func (*TimelockSession) GrantRole ¶
func (_Timelock *TimelockSession) 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 (*TimelockSession) HasRole ¶
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*TimelockSession) HashOperationBatch ¶
func (_Timelock *TimelockSession) HashOperationBatch(calls []RBACTimelockCall, predecessor [32]byte, salt [32]byte) ([32]byte, error)
HashOperationBatch is a free data retrieval call binding the contract method 0x515a3db3.
Solidity: function hashOperationBatch((address,uint256,bytes)[] calls, bytes32 predecessor, bytes32 salt) pure returns(bytes32 hash)
func (*TimelockSession) IsOperation ¶
func (_Timelock *TimelockSession) IsOperation(id [32]byte) (bool, error)
IsOperation is a free data retrieval call binding the contract method 0x31d50750.
Solidity: function isOperation(bytes32 id) view returns(bool registered)
func (*TimelockSession) IsOperationDone ¶
func (_Timelock *TimelockSession) IsOperationDone(id [32]byte) (bool, error)
IsOperationDone is a free data retrieval call binding the contract method 0x2ab0f529.
Solidity: function isOperationDone(bytes32 id) view returns(bool done)
func (*TimelockSession) IsOperationPending ¶
func (_Timelock *TimelockSession) IsOperationPending(id [32]byte) (bool, error)
IsOperationPending is a free data retrieval call binding the contract method 0x584b153e.
Solidity: function isOperationPending(bytes32 id) view returns(bool pending)
func (*TimelockSession) IsOperationReady ¶
func (_Timelock *TimelockSession) IsOperationReady(id [32]byte) (bool, error)
IsOperationReady is a free data retrieval call binding the contract method 0x13bc9f20.
Solidity: function isOperationReady(bytes32 id) view returns(bool ready)
func (*TimelockSession) OnERC1155BatchReceived ¶
func (_Timelock *TimelockSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) (*types.Transaction, error)
OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.
Solidity: function onERC1155BatchReceived(address , address , uint256[] , uint256[] , bytes ) returns(bytes4)
func (*TimelockSession) OnERC1155Received ¶
func (_Timelock *TimelockSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (*types.Transaction, error)
OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.
Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) returns(bytes4)
func (*TimelockSession) OnERC721Received ¶
func (_Timelock *TimelockSession) OnERC721Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)
OnERC721Received is a paid mutator transaction binding the contract method 0x150b7a02.
Solidity: function onERC721Received(address , address , uint256 , bytes ) returns(bytes4)
func (*TimelockSession) PROPOSERROLE ¶
func (_Timelock *TimelockSession) PROPOSERROLE() ([32]byte, error)
PROPOSERROLE is a free data retrieval call binding the contract method 0x8f61f4f5.
Solidity: function PROPOSER_ROLE() view returns(bytes32)
func (*TimelockSession) Receive ¶
func (_Timelock *TimelockSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*TimelockSession) RenounceRole ¶
func (_Timelock *TimelockSession) 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 (*TimelockSession) RevokeRole ¶
func (_Timelock *TimelockSession) 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 (*TimelockSession) ScheduleBatch ¶
func (_Timelock *TimelockSession) ScheduleBatch(calls []RBACTimelockCall, predecessor [32]byte, salt [32]byte, delay *big.Int) (*types.Transaction, error)
ScheduleBatch is a paid mutator transaction binding the contract method 0xa944142d.
Solidity: function scheduleBatch((address,uint256,bytes)[] calls, bytes32 predecessor, bytes32 salt, uint256 delay) returns()
func (*TimelockSession) SupportsInterface ¶
func (_Timelock *TimelockSession) 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)
func (*TimelockSession) UnblockFunctionSelector ¶
func (_Timelock *TimelockSession) UnblockFunctionSelector(selector [4]byte) (*types.Transaction, error)
UnblockFunctionSelector is a paid mutator transaction binding the contract method 0x3a98b4e4.
Solidity: function unblockFunctionSelector(bytes4 selector) returns()
func (*TimelockSession) UpdateDelay ¶
func (_Timelock *TimelockSession) UpdateDelay(newDelay *big.Int) (*types.Transaction, error)
UpdateDelay is a paid mutator transaction binding the contract method 0x64d62353.
Solidity: function updateDelay(uint256 newDelay) returns()
type TimelockTransactor ¶
type TimelockTransactor struct {
// contains filtered or unexported fields
}
TimelockTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewTimelockTransactor ¶
func NewTimelockTransactor(address common.Address, transactor bind.ContractTransactor) (*TimelockTransactor, error)
NewTimelockTransactor creates a new write-only instance of Timelock, bound to a specific deployed contract.
func (*TimelockTransactor) BlockFunctionSelector ¶
func (_Timelock *TimelockTransactor) BlockFunctionSelector(opts *bind.TransactOpts, selector [4]byte) (*types.Transaction, error)
BlockFunctionSelector is a paid mutator transaction binding the contract method 0x9f5a23f7.
Solidity: function blockFunctionSelector(bytes4 selector) returns()
func (*TimelockTransactor) BypasserExecuteBatch ¶
func (_Timelock *TimelockTransactor) BypasserExecuteBatch(opts *bind.TransactOpts, calls []RBACTimelockCall) (*types.Transaction, error)
BypasserExecuteBatch is a paid mutator transaction binding the contract method 0x0db866b1.
Solidity: function bypasserExecuteBatch((address,uint256,bytes)[] calls) payable returns()
func (*TimelockTransactor) Cancel ¶
func (_Timelock *TimelockTransactor) Cancel(opts *bind.TransactOpts, id [32]byte) (*types.Transaction, error)
Cancel is a paid mutator transaction binding the contract method 0xc4d252f5.
Solidity: function cancel(bytes32 id) returns()
func (*TimelockTransactor) ExecuteBatch ¶
func (_Timelock *TimelockTransactor) ExecuteBatch(opts *bind.TransactOpts, calls []RBACTimelockCall, predecessor [32]byte, salt [32]byte) (*types.Transaction, error)
ExecuteBatch is a paid mutator transaction binding the contract method 0x6ceef480.
Solidity: function executeBatch((address,uint256,bytes)[] calls, bytes32 predecessor, bytes32 salt) payable returns()
func (*TimelockTransactor) GrantRole ¶
func (_Timelock *TimelockTransactor) 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 (*TimelockTransactor) OnERC1155BatchReceived ¶
func (_Timelock *TimelockTransactor) OnERC1155BatchReceived(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) (*types.Transaction, error)
OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.
Solidity: function onERC1155BatchReceived(address , address , uint256[] , uint256[] , bytes ) returns(bytes4)
func (*TimelockTransactor) OnERC1155Received ¶
func (_Timelock *TimelockTransactor) OnERC1155Received(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (*types.Transaction, error)
OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.
Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) returns(bytes4)
func (*TimelockTransactor) OnERC721Received ¶
func (_Timelock *TimelockTransactor) OnERC721Received(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)
OnERC721Received is a paid mutator transaction binding the contract method 0x150b7a02.
Solidity: function onERC721Received(address , address , uint256 , bytes ) returns(bytes4)
func (*TimelockTransactor) Receive ¶
func (_Timelock *TimelockTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*TimelockTransactor) RenounceRole ¶
func (_Timelock *TimelockTransactor) 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 (*TimelockTransactor) RevokeRole ¶
func (_Timelock *TimelockTransactor) 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()
func (*TimelockTransactor) ScheduleBatch ¶
func (_Timelock *TimelockTransactor) ScheduleBatch(opts *bind.TransactOpts, calls []RBACTimelockCall, predecessor [32]byte, salt [32]byte, delay *big.Int) (*types.Transaction, error)
ScheduleBatch is a paid mutator transaction binding the contract method 0xa944142d.
Solidity: function scheduleBatch((address,uint256,bytes)[] calls, bytes32 predecessor, bytes32 salt, uint256 delay) returns()
func (*TimelockTransactor) UnblockFunctionSelector ¶
func (_Timelock *TimelockTransactor) UnblockFunctionSelector(opts *bind.TransactOpts, selector [4]byte) (*types.Transaction, error)
UnblockFunctionSelector is a paid mutator transaction binding the contract method 0x3a98b4e4.
Solidity: function unblockFunctionSelector(bytes4 selector) returns()
func (*TimelockTransactor) UpdateDelay ¶
func (_Timelock *TimelockTransactor) UpdateDelay(opts *bind.TransactOpts, newDelay *big.Int) (*types.Transaction, error)
UpdateDelay is a paid mutator transaction binding the contract method 0x64d62353.
Solidity: function updateDelay(uint256 newDelay) returns()
type TimelockTransactorRaw ¶
type TimelockTransactorRaw struct {
Contract *TimelockTransactor // Generic write-only contract binding to access the raw methods on
}
TimelockTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*TimelockTransactorRaw) Transact ¶
func (_Timelock *TimelockTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TimelockTransactorRaw) Transfer ¶
func (_Timelock *TimelockTransactorRaw) 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 TimelockTransactorSession ¶
type TimelockTransactorSession struct { Contract *TimelockTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
TimelockTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*TimelockTransactorSession) BlockFunctionSelector ¶
func (_Timelock *TimelockTransactorSession) BlockFunctionSelector(selector [4]byte) (*types.Transaction, error)
BlockFunctionSelector is a paid mutator transaction binding the contract method 0x9f5a23f7.
Solidity: function blockFunctionSelector(bytes4 selector) returns()
func (*TimelockTransactorSession) BypasserExecuteBatch ¶
func (_Timelock *TimelockTransactorSession) BypasserExecuteBatch(calls []RBACTimelockCall) (*types.Transaction, error)
BypasserExecuteBatch is a paid mutator transaction binding the contract method 0x0db866b1.
Solidity: function bypasserExecuteBatch((address,uint256,bytes)[] calls) payable returns()
func (*TimelockTransactorSession) Cancel ¶
func (_Timelock *TimelockTransactorSession) Cancel(id [32]byte) (*types.Transaction, error)
Cancel is a paid mutator transaction binding the contract method 0xc4d252f5.
Solidity: function cancel(bytes32 id) returns()
func (*TimelockTransactorSession) ExecuteBatch ¶
func (_Timelock *TimelockTransactorSession) ExecuteBatch(calls []RBACTimelockCall, predecessor [32]byte, salt [32]byte) (*types.Transaction, error)
ExecuteBatch is a paid mutator transaction binding the contract method 0x6ceef480.
Solidity: function executeBatch((address,uint256,bytes)[] calls, bytes32 predecessor, bytes32 salt) payable returns()
func (*TimelockTransactorSession) GrantRole ¶
func (_Timelock *TimelockTransactorSession) 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 (*TimelockTransactorSession) OnERC1155BatchReceived ¶
func (_Timelock *TimelockTransactorSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) (*types.Transaction, error)
OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.
Solidity: function onERC1155BatchReceived(address , address , uint256[] , uint256[] , bytes ) returns(bytes4)
func (*TimelockTransactorSession) OnERC1155Received ¶
func (_Timelock *TimelockTransactorSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (*types.Transaction, error)
OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.
Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) returns(bytes4)
func (*TimelockTransactorSession) OnERC721Received ¶
func (_Timelock *TimelockTransactorSession) OnERC721Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)
OnERC721Received is a paid mutator transaction binding the contract method 0x150b7a02.
Solidity: function onERC721Received(address , address , uint256 , bytes ) returns(bytes4)
func (*TimelockTransactorSession) Receive ¶
func (_Timelock *TimelockTransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*TimelockTransactorSession) RenounceRole ¶
func (_Timelock *TimelockTransactorSession) 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 (*TimelockTransactorSession) RevokeRole ¶
func (_Timelock *TimelockTransactorSession) 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 (*TimelockTransactorSession) ScheduleBatch ¶
func (_Timelock *TimelockTransactorSession) ScheduleBatch(calls []RBACTimelockCall, predecessor [32]byte, salt [32]byte, delay *big.Int) (*types.Transaction, error)
ScheduleBatch is a paid mutator transaction binding the contract method 0xa944142d.
Solidity: function scheduleBatch((address,uint256,bytes)[] calls, bytes32 predecessor, bytes32 salt, uint256 delay) returns()
func (*TimelockTransactorSession) UnblockFunctionSelector ¶
func (_Timelock *TimelockTransactorSession) UnblockFunctionSelector(selector [4]byte) (*types.Transaction, error)
UnblockFunctionSelector is a paid mutator transaction binding the contract method 0x3a98b4e4.
Solidity: function unblockFunctionSelector(bytes4 selector) returns()
func (*TimelockTransactorSession) UpdateDelay ¶
func (_Timelock *TimelockTransactorSession) UpdateDelay(newDelay *big.Int) (*types.Transaction, error)
UpdateDelay is a paid mutator transaction binding the contract method 0x64d62353.
Solidity: function updateDelay(uint256 newDelay) returns()