Protection Contract
The Protection Contract secures assets by executing approval transactions for each asset a user elects to protect. This consolidates the assets, each receiving approval displayed on the dashboard. After all assets are selected and approvals are completed, the Protection Contract activates and monitors the userβs last transaction until the dormancy period ends. By completing this process, users grant the Protection Contract permission to transfer funds from the wallet when needed, such as when the dormancy period ends. There's also a function for emergency token withdrawal in case of wallet compromise, allowing users to withdraw tokens preemptively. Certain tokens, like proof-of-receipt staked tokens, cannot be transferred by the Protection Contract because it cannot unstake or withdraw tokens from pools. Approval transactions specify a token amount, which is the user's wallet balance at approval. If the user sells some tokens, the remainder stays protected; if they buy more, only the initial amount is protected unless they update the Protection Contract with a new approval transaction for the additional amount. A technical note: Approval functions are specific to ERC-20 tokens. Since Ethereum is not ERC-20, the contract converts Ethereum to Wrapped Ethereum (WETH) for protection. If WETH is converted back to Ethereum, it is no longer protected.
Last updated