Figment
Firewall
This interface exposes methods to accept calls to admin-level functions of an underlying contract.
Sets the permission for a function selector
Name | Type | Description |
---|---|---|
Retrieve the destination address
Name | Type | Description |
---|---|---|
Retrieve the executor address
Returns true if the executor is allowed to perform a call on the given selector
Sets the executor address
The stored destination address has been changed
The stored executor address has been changed
The storage permission for a selector has been changed
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
_functionSelector
bytes4
Method signature on which the permission is changed
_executorCanCall
bool
True if selector is callable by the executor
_0
address
The destination address
_0
address
The executor address
_selector
bytes4
The selector to verify
_0
bool
True if executor is allowed to call
_newExecutor
address
New address for the executor
destination indexed
address
The new destination address
executor indexed
address
The new executor address
selector
bytes4
The 4 bytes method selector
status
bool
True if executor is allowed