Withdrawal and borrowing
Last updated
Last updated
Both withdrawal and borrowing transactions will work in the similar technical flows as described below:
Axelar and its relayers will handle the cross-chain communication. It is like Step 2, but in the opposite direction.
When the message is executed, Axelar multisig account will send payment to the user address.
At first, user will send a to Axelar multisig account on XRPL. The sent amount, gas fee amount payload, destination address, destination chain will be included in of the transaction. In particular, the memo data representing the payload will contain information about the user action. In this case, it will either be withdrawal or borrowing. It is important to note that the sent amount will be a payment of zero because we are sending a payment transaction to trigger withdrawal or borrowing, and not to send funds over.
Axelar and its relayers will handle the cross-chain communication. The details are explained in as well as .
When the message is being executed on EVM Sidechain, that inherits .
After the message is executed, Strobe core lending contract will call . This will trigger Strobe core contract's balance to be deducted at the relevant and funds to be sent back to the XRPL side.