Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike committed Sep 19, 2023
1 parent 1a4aafb commit 8792d09
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions src/mappings/base/base-pool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -505,8 +505,6 @@ export function _handleTransferLP(erc20Event: TransferLPERC20Event | null, erc72
/*** LPB Management Event Handlers ***/
/*************************************/

// TODO: should we also store the increase/decrease/revoke events?

export function _handleApproveLPTransferors(event: ethereum.Event, lender: Address, transferors: Address[]): void {
const poolId = addressToBytes(event.address)
const lpTransferorList = loadOrCreateTransferors(poolId, addressToBytes(lender))
Expand Down
4 changes: 0 additions & 4 deletions src/mappings/erc-721-pool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,12 +161,10 @@ export function handleRepayDebt(event: RepayDebtEvent): void {
repayDebt.save()
}

// identical to ERC20Pool
export function handleFlashloan(event: FlashloanEvent): void {
_handleFlashLoan(event, event.params.token, event.params.receiver, event.params.amount)
}

// identical to ERC20Pool
export function handleLoanStamped(event: LoanStampedEvent): void {
_handleLoanStamped(event, event.params.borrower)
}
Expand Down Expand Up @@ -524,7 +522,6 @@ export function handleSettle(event: SettleEvent): void {
settle.save()
}

// TODO: can this be abstracted?
export function handleKick(event: KickEvent): void {
const kick = new Kick(
event.transaction.hash.concatI32(event.logIndex.toI32())
Expand Down Expand Up @@ -716,7 +713,6 @@ export function handleBucketTake(event: BucketTakeEvent): void {
takerLend.save()
}

// identical to ERC20Pool
export function handleBucketTakeLPAwarded(event: BucketTakeLPAwardedEvent): void {
_handleBucketTakeLPAwarded(event, event.params.kicker, event.params.taker, event.params.lpAwardedKicker, event.params.lpAwardedTaker)
}
Expand Down

0 comments on commit 8792d09

Please sign in to comment.