Fixes
This commit is contained in:
parent
af4d273798
commit
e14f78e1ca
|
@ -468,7 +468,8 @@ type VeDelegation @entity {
|
||||||
receiver: VeOCEAN!
|
receiver: VeOCEAN!
|
||||||
tokenId: BigInt!
|
tokenId: BigInt!
|
||||||
amount: BigDecimal!
|
amount: BigDecimal!
|
||||||
lockedAmount BigDecimal!
|
lockedAmount: BigDecimal!
|
||||||
|
lockedAmountinVe: BigDecimal!
|
||||||
cancelTime: BigInt!
|
cancelTime: BigInt!
|
||||||
expireTime: BigInt!
|
expireTime: BigInt!
|
||||||
updates: [VeDelegationUpdate!] @derivedFrom(field: "veDelegation")
|
updates: [VeDelegationUpdate!] @derivedFrom(field: "veDelegation")
|
||||||
|
|
|
@ -136,6 +136,8 @@ export function getveDelegation(
|
||||||
veDelegation.amount = BigDecimal.zero()
|
veDelegation.amount = BigDecimal.zero()
|
||||||
veDelegation.receiver = ''
|
veDelegation.receiver = ''
|
||||||
veDelegation.delegator = ''
|
veDelegation.delegator = ''
|
||||||
|
veDelegation.lockedAmount = BigDecimal.zero()
|
||||||
|
veDelegation.lockedAmountinVe = BigDecimal.zero()
|
||||||
veDelegation.save()
|
veDelegation.save()
|
||||||
}
|
}
|
||||||
return veDelegation
|
return veDelegation
|
||||||
|
|
Loading…
Reference in New Issue