Skip to content

Conversation

0xpeluche
Copy link
Contributor


Name (to be shown on DefiLlama):
Twitter Link:
List of audit links if any:
Website Link:

https://courtyard.io/

Logo (High resolution, will be shown with rounded borders):
Current TVL:
Treasury Addresses (if the protocol has treasury)
Chain:

Polygon

Coingecko ID (so your TVL can appear on Coingecko, leave empty if not listed): (https://api.coingecko.com/api/v3/coins/list)
Coinmarketcap ID (so your TVL can appear on Coinmarketcap, leave empty if not listed): (https://api.coinmarketcap.com/data-api/v3/map/all?listing_status=active,inactive,untracked&start=1&limit=10000)
Short Description (to be shown on DefiLlama):
Token address and ticker if any:
Category (full list at https://defillama.com/categories) *Please choose only one:

Physical TCG

Oracle Provider(s): Specify the oracle(s) used (e.g., Chainlink, Band, API3, TWAP, etc.):
Implementation Details: Briefly describe how the oracle is integrated into your project:
Documentation/Proof: Provide links to documentation or any other resources that verify the oracle's usage:
forkedFrom (Does your project originate from another project):
methodology (what is being counted as tvl, how is tvl being calculated):
Github org/user (Optional, if your code is open source, we can track activity):

@0xpeluche 0xpeluche self-assigned this Sep 17, 2025
@0xpeluche 0xpeluche changed the title Courtyard Feat: Courtyard Sep 17, 2025
@llamabutler
Copy link

The courtyard adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts fees courtyard

🦙 Running COURTYARD adapter 🦙
---------------------------------------------------
Start Date:	Tue, 16 Sep 2025 13:13:10 GMT
End Date:	Wed, 17 Sep 2025 13:13:10 GMT
---------------------------------------------------

POLYGON 👇
Daily fees: 1.03 M
Daily revenue: 1.03 M
Daily user fees: 1.03 M
Daily protocol revenue: 1.03 M
End timestamp: 1758114789 (2025-09-17T13:13:09.000Z)

@treeoflife2 treeoflife2 self-requested a review September 17, 2025 16:44
@treeoflife2
Copy link
Member

@0xpeluche overall it looks good, but taking 100% mint value as fees is wrong, as it's sales, so we might have to find the correct fee % from each mints, dune source incase it helps, https://dune.com/zkayape/pokemontcgsol#1-courtyard-revenue
and we have to remove the buyback from the fees and revenue both too, as buyback will inflate the dailyFees

@llamabutler
Copy link

The courtyard adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts fees courtyard

🦙 Running COURTYARD adapter 🦙
---------------------------------------------------
Start Date:	Wed, 17 Sep 2025 10:34:42 GMT
End Date:	Thu, 18 Sep 2025 10:34:42 GMT
---------------------------------------------------

POLYGON 👇
Daily fees: 120.49 k
Daily revenue: 120.49 k
Daily user fees: 120.49 k
Daily protocol revenue: 120.49 k
End timestamp: 1758191681 (2025-09-18T10:34:41.000Z)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants