add buyout extend

This commit is contained in:
owen05
2021-06-17 14:04:46 +08:00
parent 1ce8eec5f5
commit 40a4c081de
11 changed files with 138 additions and 26 deletions

View File

@@ -276,6 +276,8 @@ describe("DODONFT", () => {
await mockTrade(ctx, dvmAddress, dvmInstance, fragInstance);
await fragInstance.methods.transfer(buyer, decimalStr("1002")).send(ctx.sendParam(author));
await getUserBalance(author, fragInstance, ctx.USDT, "Author Before");
await getUserBalance(buyer, fragInstance, ctx.USDT, "Buyer Before");
await getUserBalance(dvmAddress, fragInstance, ctx.USDT, "DVM Before");