Skip to main content

Namespace: utils

Variables

errorSignitures

Const errorSignitures: ErrorSignatures

Defined in

packages/sdk-ethers-v5/src/utils/helpers.ts:93

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-v5/src/utils/helpers.ts:34


decodeTokenId

decodeTokenId(encodedId): number

Parameters

NameType
encodedIdBigNumber

Returns

number

Defined in

packages/sdk-ethers-v5/src/utils/helpers.ts:20


encodeTokenId

encodeTokenId(tradingFeeRate): BigNumber

Parameters

NameType
tradingFeeRatenumber

Returns

BigNumber

Defined in

packages/sdk-ethers-v5/src/utils/helpers.ts:28


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-v5/src/utils/helpers.ts:44


logger

logger(formatter, ...args): void

Parameters

NameType
formatterany
...argsany[]

Returns

void

Defined in

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