OpenZeppelin Details USDT Vault Workaround for TRON Developers

Photo: TokenPost
OpenZeppelin’s documentation includes a tutorial for developers building a TRON vault that accepts Tether (USDT) and issues vUSDT shares. It addresses a payout problem in which USDT can move successfully even though its transfer function returns false to the calling contract. The walkthrough uses TRC-4626, a vault pattern that represents deposits as shares and returns the underlying asset when users redeem them. Depositors send USDT to the vault and receive vUSDT in return. The example also directs entry and exit fees to a treasury.
Source: TokenPost







