PoolLogger

Overview

Contracts issue event information when a major transaction occurs. Pangea's pool also issues an event when the following major transactions occur :

  • When swap takes place

  • When liquidity is added or removed

  • When fee is received

  • When flash loan occurs

These events are not issued directly by the Pool contract, but are designed to be issued by delegating to the PoolLogger contract.

PoolLogger acts as a data hub for Pangea contracts. Through the Pool Logger contract, you can easily track all transactions without having to check every single contract.

Furthermore, Pangea's PoolLogger is designed to be upgradable. If a function such as Oracle is later required, it can be done by modifying PoolLogger without modifying the Pool contract.

Events

Burn

Collect

Create

Flash

Mint

Swap

Last updated