Skip to content

feat: add NillionTokenOwner to restrict direct minting#21

Merged
fgimenez merged 1 commit intomainfrom
fgimenez/h3-nil-supply-cap
Apr 22, 2026
Merged

feat: add NillionTokenOwner to restrict direct minting#21
fgimenez merged 1 commit intomainfrom
fgimenez/h3-nil-supply-cap

Conversation

@fgimenez
Copy link
Copy Markdown
Contributor

Asana: https://app.asana.com/1/1201208859446629/project/1213822431665320/task/1213823102319180?focus=true

Adds NillionTokenOwner, a constrained owner that can manage minters but cannot call mint() directly. Transferring token ownership to it ensures only whitelisted minters (e.g. EmissionsController) can mint.

Includes deployment script, unit tests, fork e2e tests against the live Sepolia token, and a CI job for fork tests. See script/README.md for usage.

@fgimenez fgimenez requested a review from jcabrero April 14, 2026 17:08
Copy link
Copy Markdown
Member

@jcabrero jcabrero left a comment

Choose a reason for hiding this comment

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

The changes look good to me. Just FYI, because this morning I was looking at the L1 NIL token contract, I think this contract doesn't match the L1 speci and this is just a dummy contract used for testing, but I agree with the change.

👍

@fgimenez fgimenez merged commit 8117b23 into main Apr 22, 2026
2 checks passed
@fgimenez fgimenez deleted the fgimenez/h3-nil-supply-cap branch April 22, 2026 15:03
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.

2 participants