Bundle

Last modified:

Entity to store the current Eth price in USD.

Schema

FieldTypederivedFromDescription
idID!ID to fetch a unique entity. (Only ID='1' is used.)
ethPriceUSDBigDecimal!Price of ETH in USD

Referencing Functions

FunctionNameCreateReadUpdateSave
findEthPerToken()
getTrackedAmountUSD()
handlePoolCreated()
handleInitialize()
handleMint()
handleBurn()
handleSwap()
handleIncreaseLiquidity()
handleDecreaseLiquidity()
handleCollect()
updateTokenDayData()
updateTokenHourData()

* -> Varies across chains