Skip to content
docs

Usdt0Chain

Defined in: protocol-swap2-usdt0/src/config.ts:19

adapter: boolean

Defined in: protocol-swap2-usdt0/src/config.ts:37

True on Ethereum: the OFT is a lockbox adapter in front of plain USDT.


caip2: string

Defined in: protocol-swap2-usdt0/src/config.ts:20


chainId: number

Defined in: protocol-swap2-usdt0/src/config.ts:21


eid: number

Defined in: protocol-swap2-usdt0/src/config.ts:23

LayerZero V2 endpoint id.


endpoint: string

Defined in: protocol-swap2-usdt0/src/config.ts:35

LayerZero V2 EndpointV2 on that chain (lzReceive retries of a stored payload go here).


name: string

Defined in: protocol-swap2-usdt0/src/config.ts:24


oft: string

Defined in: protocol-swap2-usdt0/src/config.ts:33

The OFT contract quoteSend / send are called on. On Ethereum it is the OFT adapter that locks USDT (approvalRequired() = true, approve the token to it); elsewhere it is the OUpgradeable OFT that burns the caller’s USDT0 through the token’s mint/burn role — no approval.


token: string

Defined in: protocol-swap2-usdt0/src/config.ts:26

The ERC-20 the user holds: USDT on Ethereum, USDT0 elsewhere (6 decimals everywhere).