deposit

Deposits to the caller’s own inbox key. It is equivalent to depositTo(msg.sender, amount, token).

depositTo

address
required
Must have a registered inbox key (ReceivingKeyNotFound).
uint256
required
Deposit amount in token base units. For fee-on-transfer tokens, the amount actually received is used.
address
required
address(0) for ETH. Must be whitelisted (TokenNotWhitelisted).
uint256
required
ETH: amount + gasEscrow. ERC-20: gasEscrow only.
Stores pendingDepositHashes[index] = keccak256(abi.encode(recipient, token, amount, msg.sender, gasEscrow)) and emits DepositPending. Limits (_checkDepositLimits): amount ≥ minDeposit[token]; amount ≤ maxDeposit[token] when set; pool balance ≤ depositCap[token] when set.

registerReceivingKeyAndDeposit

Registers the caller’s inbox key (idempotent) and deposits in one transaction.

withdrawPendingDeposit

The original depositor takes back a pending deposit and its full escrow. It works while paused. If the admin enabled cancelCheckFee, the capped check cost is kept. Emits DepositStatusChanged(index, REVERTED).

approveDeposit / rejectDeposit

Gatekeeper only. See Gatekeeper.

pullDeposit

Gatekeeper only. ERC-20 only. It credits immediately: the events match a deposit followed by an approval, with a zero escrow.

Deposit status