Two-Phase Withdrawal Mechanism
The innovative two-phase withdrawal mechanism enhances the security of asset withdrawals, aiming to prevent unauthorized or malicious activities.
Phase 1 - Prepare Withdrawal:
Function Signature: function prepareForceWithdraw(address token, uint256 amount) external returns (uint256 requestID);
Description: Users initiate a withdrawal request, which starts a security hold period during which the transaction is reviewed.
Phase 2 - Commit Withdrawal:
Function Signature: function commitForceWithdraw(uint256 requestID) external;
Description: After the hold period, and if no security issues are detected, the user can complete the withdrawal process by committing the withdrawal with the previously obtained requestID.
Transparency and Openness
Open Source: Bitavonβs smart contracts are available on public repositories for transparency, allowing developers to review and contribute to the codebase.
Documentation: Comprehensive documentation and detailed contract annotations help developers understand and integrate with the trading platform efficiently.
Last updated