add unit test && fix

This commit is contained in:
owen05
2021-09-20 14:52:23 +08:00
parent cc57ee2c14
commit 013cbf66ca
10 changed files with 491 additions and 189 deletions

View File

@@ -77,8 +77,8 @@ export const DROPS_PROXY = "DODODropsProxy"
export const DODO_NFT = "DODONFT"
export const DODO_NFT_1155 = "DODONFT1155"
export const FILTER_ERC721_V1 = "FilterERC721"
export const FILTER_ERC1155_V1 = "FilterERC1155"
export const FILTER_ERC721_V1 = "FilterERC721V1"
export const FILTER_ERC1155_V1 = "FilterERC1155V1"
export const FILTER_ADMIN = "FilterAdmin"
export const CONTROLLER = "Controller"
export const DODO_NFT_APPROVE = "DODONFTApprove"

View File

@@ -77,7 +77,7 @@ export class NFTPoolContext {
this.Controller.options.address,
this.Deployer,
this.DODONFTApprove.options.address,
"" //TODO:ERC721 => ERC20 DODOApprove
"0x0000000000000000000000000000000000000000" //TODO:ERC721 => ERC20 DODOApprove
]
)