Content pfp
Content
@
0 reply
0 recast
0 reaction

Mac Budkowski ᵏ pfp
Mac Budkowski ᵏ
@macbudkowski
Hey, what would be the easiest way to check the all-time revenue generated by the contract? For example, I want to check how much ETH Nouns DAO (their contract: https://etherscan.io/address/0x830bd73e4184cef73443c15111a1df14e495c706) generated via auctions :)
5 replies
2 recasts
12 reactions

Eekeyguy pfp
Eekeyguy
@eekeyguyy
You can try to find these events in logs ,Or else simply do : select count(*) as auction_count, sum(cast(amount as double) / 1e18) as auction_amount, count(distinct winner) as winner_count from nouns_auctionhouse_ethereum.NounsAuctionHouse_evt_AuctionSettled Check if there are any more contracts
1 reply
0 recast
2 reactions

ilemi pfp
ilemi
@ilemi
This query let's you select any blockchain and any function call(s) in a multiselect dropdown. So that's 200 ETH of nouns auctions in the last 30 days, where settleAuction() and settleCurrentAndCreateNewAuction() were called. https://dune.com/queries/3489886
2 replies
0 recast
0 reaction

Serge pfp
Serge
@hopel.eth
Nice try, Mr. undercover IRS agent... 😂
1 reply
0 recast
0 reaction

seneca pfp
seneca
@seneca
maybe @el4d can help here
1 reply
0 recast
0 reaction

Yulia  pfp
Yulia
@yulia
Hey👋🏻 To filter by the method_id - find it on etherscan in the transaction details. There is a column in ethereum.transactions table on Dune that is responsible for method_id. So, you can write smth like that: select * from ethereum.transactions where CAST(data AS VARCHAR) LIKE '0xf25efffc%’
0 reply
0 recast
0 reaction