OrderTx. Both of these txs are generated in the browser of the client and hides the amount in the account with an inequality check. For detailed VM stack, please refer to:
LendTxlocked at the relayer changes the state of
TPSby locking some wBTC in a
PoolSharecalculated for every transaction is pushed to the stack as a commitment and is not revealed to the user.
TPSis the sum of all the
PoolSharevalues calculated for every
LendTx. These values are appended to the
txlogof the transaction to keep an on-chain record for auditability purposes.
PoolSharecommitment from the
TPS, the client send the lendTx along with TLV and TPS commitments. The relayer then checks whether commitment received is the current state and locks the transaction accordingly.