diff --git a/src/@types/Erc20.ts b/src/@types/Erc20.ts index 9c133ff7..19643b47 100644 --- a/src/@types/Erc20.ts +++ b/src/@types/Erc20.ts @@ -15,3 +15,9 @@ export interface ConsumeMarketFee { consumeMarketFeeToken: string // address of the token marketplace wants to add fee on top consumeMarketFeeAmount: string } + +export interface PublishingMarketFee { + publishMarketFeeAddress: string + publishMarketFeeToken: string + publishMarketFeeAmount: string +} diff --git a/src/tokens/Datatoken.ts b/src/tokens/Datatoken.ts index 59e13fe9..6ccc803c 100644 --- a/src/tokens/Datatoken.ts +++ b/src/tokens/Datatoken.ts @@ -17,7 +17,8 @@ import { ConsumeMarketFee, FreOrderParams, FreCreationParams, - ProviderFees + ProviderFees, + PublishingMarketFee } from '../@types' import { Nft } from './NFT' import { Config } from '../models/index.js' @@ -44,12 +45,6 @@ export interface DispenserParams { allowedSwapper?: string // only account that can ask tokens. set address(0) if not required } -export interface PublishingMarketFee { - publishMarketFeeAddress: string - publishMarketFeeToken: string - publishMarketFeeAmount: string -} - export class Datatoken { public GASLIMIT_DEFAULT = 1000000 public factoryAddress: string