adding comment

This commit is contained in:
Jamie Hewitt 2023-03-29 12:41:28 -04:00
parent 134dcb3258
commit ecda94eb8c
1 changed files with 6 additions and 6 deletions

View File

@ -42,12 +42,12 @@ export function handleExtendBoost(event: ExtendBoost): void {
const _expireTime = event.params._expire_time
const veDelegation = getveDelegation(_tokenId.toHex())
const delegatorVeOcean = getveOCEAN(_delegator)
if (_amount && delegatorVeOcean.lockedAmount) {
veDelegation.amountFraction = _amount.divDecimal(
delegatorVeOcean.lockedAmount
)
}
// const delegatorVeOcean = getveOCEAN(_delegator)
// if (_amount && delegatorVeOcean.lockedAmount) {
// veDelegation.amountFraction = _amount.divDecimal(
// delegatorVeOcean.lockedAmount
// )
// }
veDelegation.delegator = _delegator
veDelegation.receiver = _receiver
veDelegation.tokenId = _tokenId