LinkedDEFCON.sol
The defcon contract for the linked protocol contains the logic for an emergency shutdown for the linked assets instance. The defcon contract is used as last resort in worst case scenario.
This is an emergency contract. In the case of significant problems defcon can be activated. The collateral will be divided by the logic in this contract and can be claimed by the users of the system (token and collateral holders).
Below the overview of all functions in the defcon contract. The detailed description of a state change function can be found in the tab of the specific function.
#State changing functions
function initialize(address proxyAddress) external returns (bool success);
function setDefcon() onlyDefcon external returns (bool success);
function defconClaimUser() onlyDefcon external returns (bool success);
function defconClaimExc() onlyDefcon external returns (bool success);
function defconClaimCP(uint256 id) onlyDefcon external returns (bool success);
High overview
State change functions
initialize() can only be called once and is used to set the contract addresses of the proxy contract for this linked asset instance.
setDefcon()
defconClaimUser()
defconClaimExc()
Last updated
Was this helpful?