Skip to content

@lelantos-org/sdk / index / TokenAllowanceState

Interface: TokenAllowanceState ​

Defined in: @lelantos-org/sdk/dist/wallet/types/quotes.d.ts:38

The Permit2 AllowanceTransfer state for one token, as a deposit's strategy choice reads it.

Properties ​

covers ​

ts
covers: boolean;

Defined in: @lelantos-org/sdk/dist/wallet/types/quotes.d.ts:51

Both cover this deposit's ceiling with the expiry buffer to spare: the allowance path is usable for this token without setup.


erc20 ​

ts
erc20: bigint;

Defined in: @lelantos-org/sdk/dist/wallet/types/quotes.d.ts:40

ERC-20 → Permit2 approval, base units.


window ​

ts
window: object;

Defined in: @lelantos-org/sdk/dist/wallet/types/quotes.d.ts:42

Permit2 → pool window.

amount ​

ts
amount: bigint;

expiration ​

ts
expiration: number;

nonce ​

ts
nonce: number;