Settlement Mechanism
TSI employs a robust on-chain settlement mechanism to ensure the secure, efficient, and trustless execution of all transactions on the platform. This mechanism utilizes smart contracts to orchestrate peer-to-peer transfers, guaranteeing the simultaneous exchange of assets and minimizing counterparty risk for borrowers and lenders.
How On-Chain Settlement Works
Direct Peer-to-Peer Transfers:
Assets are transferred directly between user wallets, not through the smart contract.
The smart contract's detector function confirms that both parties have signed their respective transactions.
Only after both signatures are confirmed does the smart contract trigger the actual transfers.
Smart Contract Orchestration:
The smart contract coordinates the timing and execution of transfers to ensure they occur simultaneously.
This ensures that neither party can receive assets without also transferring their corresponding assets.
All transfers are atomic - they either all succeed together or all fail together.
Key Features
Guaranteed Settlement:
The system ensures that either both sides of the transaction are completed, or neither is, eliminating the risk of loss for either party.
This applies to all transaction types: loan creation, repayment, liquidation, and collateral adjustments.
Transaction Cancellation:
If one party fails to sign their transaction within the designated timeframe, the associated transactions are automatically cancelled. This ensures their assets remain in their wallet.
Security Without Custody:
The settlement mechanism provides security without requiring TSI to take custody of user assets.
All assets remain in user wallets until transfers are executed, eliminating custodial risk.
Benefits of On-Chain Settlement
Reduced Counterparty Risk: TSI's design significantly minimizes counterparty risk by ensuring that TSI never has direct control over client assets. Even though TSI deploys the smart contracts, the platform cannot access or manipulate the funds involved in the settlement process. This is achieved through:
Restricted Smart Contract Functionality: The smart contracts are purpose-built for settlement with predefined rules encoded in their code. Their execution is automated, triggered only when specific conditions are met. This removes any manual intervention or discretion by TSI in the settlement process. The contracts have limited access and cannot arbitrarily transfer assets outside the predefined settlement flow.
Transparency and Auditability: The smart contract code will be transparent to TSI clients, allowing clients to verify the functionality of the smart contract and ensure that it adheres to the stated rules.
Strict audit: The smart contract will be audited by reputational companies, minimizing the risk.
Updates and Notifications: If any updates are made to the smart contract code, TSI clients will be informed to ensure transparency and maintain trust.
Increased Efficiency: The automated nature of smart contracts streamlines the settlement process, reducing manual intervention and potential delays.
Atomic Settlement: Guarantees that both sides of a transaction are executed simultaneously, preventing any party from experiencing a loss due to non-completion.
Automatic Asset Return: If one party fails to fulfill their transfer obligation, the smart contract automatically returns any previously transferred assets to the initiating party. This ensures that funds are not lost due to a counterparty's failure to complete their part of the transaction.
Secure Asset Handling: Assets are not deposited into the smart contract for settlement. Instead, the contract facilitates direct transfers between parties, eliminating concerns about assets being locked in the contract or potential rug-pull risks. This approach prioritizes the security and control of user funds.
TSI's on-chain settlement mechanism is a core component of its institutional-grade platform, providing a secure, efficient, and reliable framework for all transactions.
Last updated