You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deploys a new NFT Contract, then a new ERC20 datatoken
/** * @dev createNftWithErc20 * Creates a new NFT, then a ERC20,all in one call * @param _NftCreateData input data for nft creation * @param _ErcCreateData input data for erc20 creation */functioncreateNftWithErc20(NftCreateDatacalldata_NftCreateData,ErcCreateDatacalldata_ErcCreateData)externalnonReentrantreturns(addresserc721Address,addresserc20Address)
createNftWithErc20WithPool
Deploys a new NFT Contract, then a new ERC20 datatoken and a pool with SideStaking and Vesting contract
Requires basetoken approval before
/** * @dev createNftWithErc20WithPool * Creates a new NFT, then a ERC20, then a Pool, all in one call * Use this carefully, because if Pool creation fails, you are still going to pay a lot of gas * @param _NftCreateData input data for NFT Creation * @param _ErcCreateData input data for ERC20 Creation * @param _PoolData input data for Pool Creation */functioncreateNftWithErc20WithPool(NftCreateDatacalldata_NftCreateData,ErcCreateDatacalldata_ErcCreateData,PoolDatacalldata_PoolData)externalreturns(addresserc721Address,addresserc20Address,addresspoolAddress)
createNftWithErc20WithFixedRate
Deploys a new NFT Contract, then a new ERC20 datatoken and a Fixed Rate Exchange
/** * @dev createNftWithErc20WithFixedRate * Creates a new NFT, then a ERC20, then a FixedRateExchange, all in one call * Use this carefully, because if Fixed Rate creation fails, you are still going to pay a lot of gas * @param _NftCreateData input data for NFT Creation * @param _ErcCreateData input data for ERC20 Creation * @param _FixedData input data for FixedRate Creation */functioncreateNftWithErc20WithFixedRate(NftCreateDatacalldata_NftCreateData,ErcCreateDatacalldata_ErcCreateData,FixedDatacalldata_FixedData)externalreturns(addresserc721Address,addresserc20Address,bytes32exchangeId)
startMultipleTokenOrder
Allow to start multiple token orders in 1 call.
Requires several approvals depending on the orders
/** * @dev startMultipleTokenOrder * Used as a proxy to order multiple services * Users can have inifinite approvals for fees for factory instead of having one approval/ erc20 contract * Requires previous approval of all : * - consumeFeeTokens * - publishMarketFeeTokens * - erc20 datatokens * - providerFees * @param orders an array of struct tokenOrder */functionstartMultipleTokenOrder(tokenOrder[]memoryorders)external