Emergency
Methods
MINTR
function MINTR() external view returns (contract MINTRv1)
Returns
| Name | Type | Description |
|---|---|---|
| _0 | contract MINTRv1 | undefined |
ROLES
function ROLES() external view returns (contract ROLESv1)
Returns
| Name | Type | Description |
|---|---|---|
| _0 | contract ROLESv1 | undefined |
TRSRY
function TRSRY() external view returns (contract TRSRYv1)
Returns
| Name | Type | Description |
|---|---|---|
| _0 | contract TRSRYv1 | undefined |
changeKernel
function changeKernel(contract Kernel newKernel_) external nonpayable
Function used by kernel when migrating to a new kernel.
Parameters
| Name | Type | Description |
|---|---|---|
| newKernel_ | contract Kernel | undefined |
configureDependencies
function configureDependencies() external nonpayable returns (Keycode[] dependencies)
Define module dependencies for this policy.
Returns
| Name | Type | Description |
|---|---|---|
| dependencies | Keycode[] | - Keycode array of module dependencies. |
isActive
function isActive() external view returns (bool)
Easily accessible indicator for if a policy is activated or not.
Returns
| Name | Type | Description |
|---|---|---|
| _0 | bool | undefined |
kernel
function kernel() external view returns (contract Kernel)
Returns
| Name | Type | Description |
|---|---|---|
| _0 | contract Kernel | undefined |
requestPermissions
function requestPermissions() external view returns (struct Permissions[] requests)
Function called by kernel to set module function permissions.
Returns
| Name | Type | Description |
|---|---|---|
| requests | Permissions[] | - Array of keycodes and function selectors for requested permissions. |
restart
function restart() external nonpayable
Restart treasury withdrawals and minting after shutdown
restartMinting
function restartMinting() external nonpayable
Restart minting after shutdown
restartWithdrawals
function restartWithdrawals() external nonpayable
Restart treasury withdrawals after shutdown
shutdown
function shutdown() external nonpayable
Emergency shutdown of treasury withdrawals and minting
shutdownMinting
function shutdownMinting() external nonpayable
Emergency shutdown of minting
shutdownWithdrawals
function shutdownWithdrawals() external nonpayable
Emergency shutdown of treasury withdrawals
Events
Status
event Status(bool treasury_, bool minter_)
Parameters
| Name | Type | Description |
|---|---|---|
| treasury_ | bool | undefined |
| minter_ | bool | undefined |
Errors
KernelAdapter_OnlyKernel
error KernelAdapter_OnlyKernel(address caller_)
Parameters
| Name | Type | Description |
|---|---|---|
| caller_ | address | undefined |
Policy_ModuleDoesNotExist
error Policy_ModuleDoesNotExist(Keycode keycode_)
Parameters
| Name | Type | Description |
|---|---|---|
| keycode_ | Keycode | undefined |