init nftPool

This commit is contained in:
owen05
2021-09-06 19:15:17 +08:00
parent a1f377b6a7
commit 3ef45bc799
7 changed files with 555 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
/*
Copyright 2021 DODO ZOO.
SPDX-License-Identifier: Apache-2.0
*/
pragma solidity 0.6.9;
interface IFilterERC1155Model {
function isFilterERC1155Pass(address nftCollectionAddress, uint256 nftId, uint256 amount) external view returns (bool);
function saveNFTPrice(address nftCollectionAddress, uint256 nftId, uint256 amount) external view returns(uint256);
function buySpecNFTPrice(address nftCollectionAddress, uint256 nftId, uint256 amount) external view returns(uint256);
function buyLotteryNFTPrice() external view returns(uint256);
function lottery() external view returns(address nftCollection, uint256 nftId);
}

View File

@@ -0,0 +1,20 @@
/*
Copyright 2021 DODO ZOO.
SPDX-License-Identifier: Apache-2.0
*/
pragma solidity 0.6.9;
interface IFilterERC721Model {
function isFilterERC721Pass(address nftCollectionAddress, uint256 nftId) external view returns (bool);
function saveNFTPrice(address nftCollectionAddress, uint256 nftId) external view returns(uint256);
function buySpecNFTPrice(address nftCollectionAddress, uint256 nftId) external view returns(uint256);
function buyLotteryNFTPrice() external view returns(uint256);
function lottery() external view returns(address nftCollection, uint256 nftId);
}