mirror of
https://github.com/oceanprotocol/ocean-subgraph.git
synced 2024-12-02 05:57:29 +01:00
Fixes
This commit is contained in:
parent
af4d273798
commit
e14f78e1ca
@ -468,7 +468,8 @@ type VeDelegation @entity {
|
||||
receiver: VeOCEAN!
|
||||
tokenId: BigInt!
|
||||
amount: BigDecimal!
|
||||
lockedAmount BigDecimal!
|
||||
lockedAmount: BigDecimal!
|
||||
lockedAmountinVe: BigDecimal!
|
||||
cancelTime: BigInt!
|
||||
expireTime: BigInt!
|
||||
updates: [VeDelegationUpdate!] @derivedFrom(field: "veDelegation")
|
||||
|
@ -136,6 +136,8 @@ export function getveDelegation(
|
||||
veDelegation.amount = BigDecimal.zero()
|
||||
veDelegation.receiver = ''
|
||||
veDelegation.delegator = ''
|
||||
veDelegation.lockedAmount = BigDecimal.zero()
|
||||
veDelegation.lockedAmountinVe = BigDecimal.zero()
|
||||
veDelegation.save()
|
||||
}
|
||||
return veDelegation
|
||||
|
Loading…
Reference in New Issue
Block a user