Swap-Aggregator-Subgraph/node_modules/@graphprotocol/graph-ts/common/conversion.ts
Richa-iitr d211083153 Revert "Revert "added handler""
This reverts commit c36ee8c5ca.
2022-07-03 07:30:05 +05:30

13 lines
441 B
TypeScript

import './eager_offset'
import { Bytes } from './collections'
/** Host type conversion interface */
export declare namespace typeConversion {
function bytesToString(bytes: Uint8Array): string
function bytesToHex(bytes: Uint8Array): string
function bigIntToString(bigInt: Uint8Array): string
function bigIntToHex(bigInt: Uint8Array): string
function stringToH160(s: string): Bytes
function bytesToBase58(n: Uint8Array): string
}