diff --git a/src/mapping.ts b/src/mapping.ts index 2537366..d1c4c0c 100644 --- a/src/mapping.ts +++ b/src/mapping.ts @@ -325,6 +325,10 @@ export function handleAuction_Initialized( let result = contract.try_getAuctionInfo(event.params._auctionID); let resultHammerTime = contract.try_getAuctionHammerTimeDuration(); + log.warning("111:000:auction", [ + auction.bidDecimals.toString(), + auction.bidMultiplier.toString(), + ]); // @todo: seller, createdAt, startsAt, endsAt, claimAt, // contractId quantity, presetId, cancelled, ercType, bids objects if (!result.reverted) { @@ -338,7 +342,10 @@ export function handleAuction_Initialized( let presets = auctionInfo.presets; auction.bidDecimals = presets.bidDecimals; auction.bidMultiplier = presets.bidMultiplier; - + log.warning("111:222:presets", [ + presets.bidDecimals.toString(), + presets.bidMultiplier.toString(), + ]); auction.incMax = presets.incMax; auction.incMin = presets.incMin; auction.stepMin = presets.stepMin; @@ -362,6 +369,10 @@ export function handleAuction_Initialized( if (!resultHammerTime.reverted) { auction.hammerTimeDuration = resultHammerTime.value; } + log.warning("111:111:auction", [ + auction.bidDecimals.toString(), + auction.bidMultiplier.toString(), + ]); auction.save();