DKA Deposit
The deposit process refers to transferring ERC-20 DKA from Arbitrum Chain (L2) to dKargo Chain (L3).
This process is executed in multiple steps through the collaboration of the bridge contract deployed on Arbitrum and the dKargo sequencer.
STEP 1 - Approve L2 ERC-20 DKA
Before transferring ERC-20 DKA from L2 to L3, the Inbox Contract must be granted approval to access the user's DKA tokens.
STEP 2 - Depositing DKA
Once approval is complete, the depositEth()
method of the Inbox Contract is called to initiate the deposit.
The Inbox Contract transfers the L2 DKA to the bridge contract..
The deposited DKA is then locked in the bridge contract deployed on Arbitrum.
STEP 3 - Checking Deposit Status
Transferring L2 DKA to the bridge contract does not result in an immediate deposit on L3.
The deposit status will initially be marked as "Pending". After approximately 10 minutes, the DKA balance will be finalized and transferred to the user's account on dKargo Chain (L3).
Last updated