Skip to main content

Namespace: utils

Variables

errorSignitures

Const errorSignitures: ErrorSignatures

Defined in

packages/sdk-ethers-v6/src/utils/helpers.ts:92

Functions

PromiseOnlySuccess

PromiseOnlySuccess<T>(values): Promise<T[]>

Type parameters

Name
T

Parameters

NameType
valuesIterable<T | PromiseLike<T>>

Returns

Promise<T[]>

Defined in

packages/sdk-ethers-v6/src/utils/helpers.ts:33


decodeTokenId

decodeTokenId(encodedId): number

Parameters

NameType
encodedIdbigint

Returns

number

Defined in

packages/sdk-ethers-v6/src/utils/helpers.ts:19


encodeTokenId

encodeTokenId(tradingFeeRate): bigint

Parameters

NameType
tradingFeeRatenumber

Returns

bigint

Defined in

packages/sdk-ethers-v6/src/utils/helpers.ts:27


handleBytesError

handleBytesError<T>(fn, provider): Promise<T>

Type parameters

Name
T

Parameters

NameType
fn() => Promise<T>
providerProvider

Returns

Promise<T>

Defined in

packages/sdk-ethers-v6/src/utils/helpers.ts:42


logger

logger(formatter, ...args): void

Parameters

NameType
formatterany
...argsany[]

Returns

void

Defined in

node_modules/@types/debug/index.d.ts:51