Deposit and repayment

Flow

Both deposit and repayment transactions will work in the similar technical flows as described below:

  1. At first, user will send a payment transactionarrow-up-right to the Axelar multisig account on XRPL. The sent amount, gas fee amount, payload, destination address, destination chain, will be included in the memos fieldarrow-up-right 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 deposit or repayment.

  2. The XRPL <-> Axelar relayerarrow-up-right will pick up the payment transaction to the Axelar multisig account, and forward the payload to Axelar's blockchainarrow-up-right. The GMP call is confirmed, approved, and executed on Axelar. At this point, user's funds are locked within the Axelar multisig account.

  3. Strobe lending core contracts will update their state after a deposit or repayment to reflect the changes.

Last updated