Changing bigInt to BigDecimal
This commit is contained in:
parent
fcad0f71fb
commit
86d336ada0
|
@ -1,4 +1,4 @@
|
||||||
import { BigInt } from '@graphprotocol/graph-ts'
|
import { BigDecimal, BigInt } from '@graphprotocol/graph-ts'
|
||||||
import {
|
import {
|
||||||
BurnBoost,
|
BurnBoost,
|
||||||
DelegateBoost,
|
DelegateBoost,
|
||||||
|
@ -71,6 +71,6 @@ export function handleBurnBoost(event: BurnBoost): void {
|
||||||
|
|
||||||
// delete
|
// delete
|
||||||
const veDelegation = getveDelegation(_tokenId.toHex())
|
const veDelegation = getveDelegation(_tokenId.toHex())
|
||||||
veDelegation.amountFraction = BigInt.zero()
|
veDelegation.amountFraction = BigDecimal.zero()
|
||||||
veDelegation.amount = BigInt.zero()
|
veDelegation.amount = BigInt.zero()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue