Skip to content

Latest commit

 

History

History
127 lines (68 loc) · 2.74 KB

adapter.Underlying.md

File metadata and controls

127 lines (68 loc) · 2.74 KB

@metamask-institutional/defi-adapters / adapter / Underlying

Interface: Underlying

adapter.Underlying

Underlying token balances of a position The underlying token may be a simple erc20 such as Dai. Should the underlying token be another protocol token then we expect that to be resolved down into the underlying simple erc20 tokens

Hierarchy

Table of contents

Properties

Properties

balanceRaw

balanceRaw: bigint

User's balance raw

Inherited from

TokenBalance.balanceRaw

Defined in

adapter.ts:187


type

type: "underlying" | "underlying-claimable" | "fiat"

Defined in

adapter.ts:196


tokens

Optional tokens: Underlying[]

Defined in

adapter.ts:201


address

address: string

Token address

Inherited from

TokenBalance.address

Defined in

erc20Metadata.ts:5


name

name: string

Name of token

Inherited from

TokenBalance.name

Defined in

erc20Metadata.ts:10


symbol

symbol: string

Token symbol

Inherited from

TokenBalance.symbol

Defined in

erc20Metadata.ts:15


decimals

decimals: number

Token decimals

Inherited from

TokenBalance.decimals

Defined in

erc20Metadata.ts:20