Skip to content

Conversation

@0xedev
Copy link
Contributor

@0xedev 0xedev commented Dec 5, 2025

Name:

Donut

Twitter Link:

https://x.com/Glaze_Corp

List of audit links if any:
Website Link:

https://www.glazecorp.io/

Logo :

https://www.glaze.click/logo.jpg

Current TVL:

~$642k (Pooled DONUT ~ 618,523 {$321K} and Pooled WETH ~102.70 {$321K})

Treasury Addresses (if the protocol has treasury)
Chain:

Base

Coingecko ID:
Coinmarketcap ID:
Short Description (to be shown on DefiLlama):

Donut is a decentralized mining protocol on Base where users spend ETH to mine DONUT tokens. The protocol features a rotating "King Glazer" mechanism, automated difficulty adjustments, and a treasury system.

Token address and ticker if any:

DONUT: 0xAE4a37d554C6D6F3E398546d8566B25052e0169C

Category:

Onchain Capital Allocator

Oracle Provider(s):

None (Protocol uses internal pricing mechanism based on time-decay auctions)

Implementation Details:

The protocol uses a Dutch auction mechanism for mining, where the price to mine decays over time within an epoch.

Documentation/Proof:

https://www.glaze.click/learn

forkedFrom:

None

methodology:

TVL counts the tokens locked in the Miner contract, Multicall contract, and the Liquidity Pool (Uniswap V2). Fees are calculated based on the ETH spent by miners to mint DONUT. Revenue is the portion of fees sent to the Treasury.

Github org/user:

https://github.com/0xedev

Does this project have a referral program?

Yes, each mining frontend takes 5% of the fee.

@llamabutler
Copy link

Error while running adapter at :

Please revert changes to package.json / package-lock.json

@llamabutler
Copy link

Error while running adapter at projects/Donut:

Error: Module name should start with a lowercase letter: Donut
Truncated error stack:

    at /home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/test.js:128:11
    at Object.<anonymous> (/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/test.js:266:3)
Error saving cache: Error: ENOENT: no such file or directory, open '/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/node_modules/.pnpm/@defillama+sdk@5.0.192_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@5.0.10/node_modules/@defillama/sdk/build/util/local_cache/zlib-1.0/BlockCache.json'

@llamabutler
Copy link

The adapter at projects/donut exports TVL:

base                      311.05 k

total                    311.05 k 

@realdealshaman
Copy link
Contributor

Hey @0xedev for fees, please submit the PR to this repo: https://github.com/DefiLlama/dimension-adapters

});

// Count tokens in LP
await api.sumTokens({
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tokens in the LP should be exported as pool2

@@ -0,0 +1,66 @@
const { getTimestampAtStartOfDayUTC } = require("../helper/utils");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alright, right away

@waynebruce0x waynebruce0x self-assigned this Dec 8, 2025
@llamabutler
Copy link

The adapter at projects/donut exports TVL:

base                      592.32 k

total                    592.32 k 

@llamabutler
Copy link

Error while running adapter at projects/donut:

Error: Protocol doesn't have total tvl, make sure to export a tvl key either on the main object or in one of the chains
Truncated error stack:

    at /home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/test.js:235:11

@llamabutler
Copy link

The adapter at projects/donut exports TVL:

base-pool2                592.23 k
base                      592.23 k
pool2                     592.23 k
base-staking              0.00
staking                   0.00

total                    592.23 k 

base: {
tvl: sumTokensExport({
owners: [MINER_ADDRESS, MULTICALL_ADDRESS, LP_ADDRESS],
tokens: [WETH_ADDRESS, DONUT_ADDRESS],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DONUT_ADDRESS should not be on this line

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

}),
staking: sumTokensExport({
owners: [MINER_ADDRESS, MULTICALL_ADDRESS],
tokens: [WETH_ADDRESS, DONUT_ADDRESS],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WETH_ADDRESS should not be on this line

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@llamabutler
Copy link

The adapter at projects/donut exports TVL:

base-pool2                518.28 k
pool2                     518.28 k
base                      271.13 k
base-staking              0.00
staking                   0.00

total                    271.13 k 

@waynebruce0x waynebruce0x merged commit 5e05fe0 into DefiLlama:main Dec 11, 2025
1 check passed
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.

5 participants