@volare.finance/utils.js
Version:
The Blockchain Utils
16 lines (15 loc) • 565 B
TypeScript
/**
* @file creature.ts
* @author astra <astra@volare.finance>
* @date 2022
*/
import { ContractInterface, Wallet } from 'ethers';
import { ERC721, IERC721Transfer } from '../token';
import { Address } from '../type';
export declare class Creature extends ERC721 {
constructor(contract: Address, endpoint: string);
static ABI(): ContractInterface;
contractURI(): Promise<string>;
baseTokenURI(): Promise<string>;
redeem(signer: Wallet, recipient: string, amount: number, nonce: number, signature: string): Promise<Array<IERC721Transfer>>;
}