|
|
@ -67,6 +67,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
const enumerateTokens = async () => {
|
|
|
|
const enumerateTokens = async () => {
|
|
|
|
enumeratePending = true;
|
|
|
|
enumeratePending = true;
|
|
|
|
|
|
|
|
enumeratedTokens = [];
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
setupContracts();
|
|
|
|
setupContracts();
|
|
|
|
} catch(e) {
|
|
|
|
} catch(e) {
|
|
|
@ -80,10 +81,10 @@
|
|
|
|
enumeratedTokens.push(Number(tokenId));
|
|
|
|
enumeratedTokens.push(Number(tokenId));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} catch(e) {
|
|
|
|
} catch(e) {
|
|
|
|
console.log(e);
|
|
|
|
errorMessage = 'Unable to enumerate tokens for this contract.';
|
|
|
|
return false;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
enumeratePending = false;
|
|
|
|
enumeratePending = false;
|
|
|
|
|
|
|
|
enumeratedTokens = enumeratedTokens;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const approveShipIt = async () => {
|
|
|
|
const approveShipIt = async () => {
|
|
|
|