UNPKG

@mojito-inc/core-service

Version:

Mojito Core API service for auction, payment, token

49 lines (48 loc) 1.21 kB
import { CurrencyCodeFiat } from '../connect-wallet'; export declare enum TokenType { erc721 = "ERC721", erc1155 = "ERC1155" } export interface CreateSignatureToListNFTForSaleParam { orgId: string; nftTokenId: string; tokenType: string; quantity: number; nftOwnerAddress: string; fixedPrice: number; paymentToken: string; currencyId: string; } export interface SubmitProofOfApprovalParam { orgID: string; nftTokenId: string; signature: string; quantity?: number; fixedPrice?: number; paymentToken?: string; currencyId?: string; creatorFee?: number; listingReceipt?: string; currency?: CurrencyCodeFiat; } export interface RemoveListingParam { nftTokenId: string; orgID: string; currency?: CurrencyCodeFiat; signature?: string; } export interface InitiateRemoveListingParam { nftTokenId: string; orgId: string; } export interface UpdateTokenListingParam { orgId: string; nftTokenId: string; fixedPrice: number; signature: string; } export interface EditTokenListingParam { orgId: string; nftTokenId: string; fixedPrice: number; }