Skip to content
docs

AcrossDeposit

Defined in: protocol-swap2-across/src/verify.ts:152

A deposit that passed the checks: the only shape of call this module signs.

optional approvalAddress?: string

Defined in: protocol-swap2-across/src/verify.ts:161

ERC-20 input: the spender to approve for exactly the input amount — the pinned SpokePool.


chainId: number

Defined in: protocol-swap2-across/src/verify.ts:159


data: `0x${string}`

Defined in: protocol-swap2-across/src/verify.ts:156

The canonical calldata, lowercase.


to: string

Defined in: protocol-swap2-across/src/verify.ts:154

The pinned SpokePool, lowercase.


value: string

Defined in: protocol-swap2-across/src/verify.ts:158

Wei, decimal: the input amount for the native coin, else “0”.