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
Name | Type |
---|---|
values | Iterable <T | PromiseLike <T >> |
Returns
Promise
<T
[]>
Defined in
packages/sdk-ethers-v5/src/utils/helpers.ts:34
decodeTokenId
▸ decodeTokenId(encodedId
): number
Parameters
Name | Type |
---|---|
encodedId | BigNumber |
Returns
number
Defined in
packages/sdk-ethers-v5/src/utils/helpers.ts:20
encodeTokenId
▸ encodeTokenId(tradingFeeRate
): BigNumber
Parameters
Name | Type |
---|---|
tradingFeeRate | number |
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
Name | Type |
---|---|
fn | () => Promise <T > |
provider | Provider |
Returns
Promise
<T
>
Defined in
packages/sdk-ethers-v5/src/utils/helpers.ts:44
logger
▸ logger(formatter
, ...args
): void
Parameters
Name | Type |
---|---|
formatter | any |
...args | any [] |
Returns
void
Defined in
node_modules/@types/debug/index.d.ts:51