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