We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfb59ae commit 59eff98Copy full SHA for 59eff98
src/mappings/erc20Templates.ts
@@ -89,8 +89,10 @@ export function handlePublishMarketFeeChanged(
89
if (
90
token.publishMarketFeeToken !=
91
'0x0000000000000000000000000000000000000000'
92
- )
+ ){
93
+ const token = getToken(event.params.PublishMarketFeeToken.toHexString())
94
decimals = BigInt.fromI32(token.decimals).toI32()
95
+ }
96
token.publishMarketFeeAmmount = weiToDecimal(
97
event.params.PublishMarketFeeAmount.toBigDecimal(),
98
decimals
0 commit comments