Functions
<Const>
asAddress
▸ asAddress(slice: string
): string
Defined in util/sliceAs.ts:46
Convert slice to checksum address.
Parameters:
Name | Type | Description |
---|---|---|
slice | string |
Slice to convert. |
Returns: string
<Const>
asBool
▸ asBool(slice: string
): boolean
Defined in util/sliceAs.ts:57
Convert slice to boolean.
Parameters:
Name | Type | Description |
---|---|---|
slice | string |
Slice to convert. |
Returns: boolean
<Const>
asI32
▸ asI32(slice: string
): BigNumber
Defined in util/sliceAs.ts:26
Convert slice to i32.
Parameters:
Name | Type | Description |
---|---|---|
slice | string |
Slice to convert. |
Returns: BigNumber
<Const>
asU32
▸ asU32(slice: string
): BigNumber
Defined in util/sliceAs.ts:15
Convert slice to u32.
Parameters:
Name | Type | Description |
---|---|---|
slice | string |
Slice to convert. |
Returns: BigNumber