UNPKG

@mimicry/sdk

Version:

A node SDK designed to simplify interaction with the Mimicry Protocol smart contracts.

17 lines (16 loc) 577 B
import { Signer } from 'ethers'; import { ChainId } from '../enums'; import { Currency } from './currency'; import { Market } from './market'; import { Player } from './player'; export declare class Mimicry { private signer; private contract; private network; constructor(_signer: Signer, _network: ChainId); getMarkets(): Promise<Market[]>; getMarket(_address: string): Promise<Market>; getCurrencies(): Promise<Currency[]>; getCurrency(_address: string): Promise<Currency>; getPlayer(_address?: string): Promise<Player>; }