Transactions
Participants
${contractType === 'one-time-event' && contractSubtype === 'external-trigger' ? html`Winners` : ''}
@@ -1185,6 +1186,7 @@
},
contractCreationCard(obj) {
const { hash, blockHeight, token, contractName, incAddress, contractType, expiration, participationFees, availableChoices, time } = obj;
+ console.log(obj);
return html`
@@ -1212,7 +1214,7 @@
expiration
- ${expiration}
+ ${getFormattedTime(new Date(expiration).getTime())}
participation amount
@@ -1451,11 +1453,23 @@
// if(transactionKey == '11571ce7e5eed0bce30e24de89bb1ba6cc432df7b5b40bbc9f0225b98968cb47'){
// //debugger
// }
+ console.log(tx)
const {
transactionDetails: {
txid, blockHeight, vin, vout, time },
parsedFloData: {
- contractAddress, contractType, expiryTime, contractAmount, type, tokenAmount, tokenIdentification, transferType, contractName, triggerCondition, userChoice, nftHash
+ contractAddress,
+ contractType,
+ contractConditions: { expiryTime } = {},
+ contractAmount,
+ type,
+ tokenAmount,
+ tokenIdentification,
+ transferType,
+ contractName,
+ triggerCondition,
+ userChoice,
+ nftHash
}
} = tx;
let obj = {