📄️ buyCover
The Buying Insurance Cover method allows users to purchase an insurance cover for a bet by specifying the bet details, cover premium, and slippage percentage. Before proceeding, users need to follow these steps:
📄️ settleClaim
The settleClaim method settles an insurance claim based on the provided coverId. It interacts with the blockchain to trigger the claim settlement process and provides transaction details upon success or failure.
📄️ addLiquidity
This method allows users to add liquidity to the system by providing a specified amount of tokens (e.g., USDT). Before proceeding with the liquidity addition, users must ensure that the amount is approved for use within the system and that the decimal precision of the tokens is properly handled.
📄️ removeLiquidity
This method allows users to remove a specified percentage of liquidity from a particular deposit. Before removing liquidity, several checks are required to ensure that the process is carried out under the right conditions.
🗃️ Utils⚙️
20 items