Description of the taiko.event_logs table on Dune
Transfer
event, which is emitted every time a token transfer occurs. The event log contains the sender, the recipient and the amount of tokens transferred.
topic0
, topic1
, topic2
, topic3
and data
in the logs
table.
emit
in the source code of the smart contract.
We will decode all event logs for smart contracts into tables named accordingly to this schema:
[projectname_blockchain].[contractName]_evt_[eventName]
PoolCreated
and gets emitted every time somebody successfully deploys a new Uniswap V3 pool by calling the function createPool
. The event will readily give us information like the tokens in the pool, the fee tier of this pool and the tick spacing. In Etherscan, you can easily look at the event logs of transaction by opening the logs tab. In Dune, this particular event will be stored in the table:
uniswap_v3_ethereum.Factory_evt_PoolCreated
swap
events (on ethereum) are stored in the table: uniswap_v3_ethereum.Pair_evt_Swap
The column contract_address
indicates as to which smart contract emitted this event.