Skip to content

@lelantos-org/sdk / index / DepositPull

Interface: DepositPull ​

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

What a deposit pulls of one ERC-20. Pulls of two asset ids over one token are summed.

Properties ​

allowance ​

ts
allowance: TokenAllowanceState | undefined;

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

undefined on the native path, or when the adapter cannot read Permit2 state.


amount ​

ts
amount: TokenAmount;

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

Base units the pool pulls: principal + protocol fee and/or the relayer's note.


asset ​

ts
asset: AssetInfo;

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

The first asset naming the token: the deposited one where the fee shares its token.


balance ​

ts
balance: TokenAmount | undefined;

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

Public balance (native balance on the native path); undefined when unreadable.


ceiling ​

ts
ceiling: TokenAmount;

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

What is signed and checked against allowances: amount plus yield headroom on a yield asset (the pool's rate grows every block), amount otherwise. The pool never pulls more than amount.


token ​

ts
token: EvmAddress;

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