mintNft增加estimate
This commit is contained in:
parent
f0630a33d9
commit
efcdf59dc8
@ -222,7 +222,15 @@ function exportWalletSecKey(funId, pass) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// ======= begin of interact with contract =======
|
// ======= begin of interact with contract =======
|
||||||
function mintNFT(funId, address, tokenIds, startTime, saltNonce, signature) {
|
function mintNFT(
|
||||||
|
funId,
|
||||||
|
address,
|
||||||
|
tokenIds,
|
||||||
|
startTime,
|
||||||
|
saltNonce,
|
||||||
|
signature,
|
||||||
|
estimate
|
||||||
|
) {
|
||||||
tokenIds = JSON.parse(tokenIds);
|
tokenIds = JSON.parse(tokenIds);
|
||||||
promiseCb(
|
promiseCb(
|
||||||
funId,
|
funId,
|
||||||
@ -232,6 +240,7 @@ function mintNFT(funId, address, tokenIds, startTime, saltNonce, signature) {
|
|||||||
startTime,
|
startTime,
|
||||||
saltNonce,
|
saltNonce,
|
||||||
signature,
|
signature,
|
||||||
|
estimate,
|
||||||
}),
|
}),
|
||||||
(v) => JSON.stringify(v)
|
(v) => JSON.stringify(v)
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user