@skalenetwork/ima-js
Version:
Simple TS/JS library to interact with SKALE IMA
7 lines (6 loc) • 345 B
TypeScript
import { Contract, type Provider, type InterfaceAbi } from 'ethers';
export type TokenType = 'erc20' | 'erc20wrap' | 'erc721' | 'erc721meta' | 'erc1155';
export declare const ERC_ABIS: {
[tokenType in TokenType]: InterfaceAbi;
};
export declare function initToken(tokenType: TokenType, address: `0x${string}`, provider: Provider): Contract;