Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contract listing CLI #301

Merged
merged 3 commits into from
Aug 7, 2024
Merged

Contract listing CLI #301

merged 3 commits into from
Aug 7, 2024

Conversation

KPrasch
Copy link
Member

@KPrasch KPrasch commented Aug 7, 2024

Type of PR:
Feature

Required reviews:
1

What this does:
Introduces a new CLI for neatly listing contract addresses from registry files

Notes for reviewers:

$ ape run list_contracts

Lynx Domain
Ethereum/Sepolia
    1. LynxStakingToken 0x347370278531Db455Aec3BFD0F30d57e41422353
    2. MockPolygonRoot 0xDD60a8E632c13fb777Ca76C7FE5670031202Edab
    3. TACoApplication 0x329bc9Df0e45f360583374726ccaFF003264a136
    4. TestnetThresholdStaking 0x18006f9A84C0bAD4CD96Aa69C7cE17aD760cDaD2
Polygon/Amoy
    1. BetaProgramInitiator 0xf47dde316D994a050b8b4e5986e0790309979697
    2. Coordinator 0xE9e94499bB0f67b9DBD75506ec1735486DE57770
    3. GlobalAllowList 0xfDBA7100B015586270B62bA116920b78F4ff6930
    4. LynxRitualToken 0x064Be2a9740e565729BC0d47bC616c5bb8Cc87B9
    5. MockPolygonChild 0x4FD23FAB4A09F85872bf240ABBd484cb4F9a5F79
    6. OpenAccessAuthorizer 0x33270a0B88d0Ffb6B0b4FBA119ca6a7263DeF675
    7. SubscriptionManager 0x811389558a2C0B65ff56652d5E5bBF5DbC9A4358
    8. TACoChildApplication 0x42F30AEc1A36995eEFaf9536Eb62BD751F982D32

Tapir Domain
Ethereum/Sepolia
    1. MockPolygonRoot 0xB0fD1cC270B7B4f6dd2Bc7a122eEfb3AC9D6b292
    2. TACoApplication 0xCcFf527698E78a536d80695D9Af4F4f3265ADA05
    3. TapirStakingToken 0x28C35644F713c7Ee5C6A105e7AB0Fc144889a1Af
    4. TestnetThresholdStaking 0x68214f94dc2f3C7F2E0b42AD22eb79E00746aA9C
Polygon/Amoy
    1. BetaProgramInitiator 0x418e991fD07cfA950855F820023AF6191E18B6df
    2. Coordinator 0xE690b6bCC0616Dc5294fF84ff4e00335cA52C388
    3. GlobalAllowList 0xcc537b292d142dABe2424277596d8FFCC3e6A12D
    4. MockPolygonChild 0x970b5f6A299813cA9DC45Be8446929b6513903f9
    5. OpenAccessAuthorizer 0x33270a0B88d0Ffb6B0b4FBA119ca6a7263DeF675
    6. SubscriptionManager 0x811389558a2C0B65ff56652d5E5bBF5DbC9A4358
    7. TACoChildApplication 0x489287Ed5BdF7a35fEE411FBdCc47331093D0769
    8. TapirRitualToken 0xf91afFE7cf1d9c367Cb56eDd70C0941a4E8570d9

Mainnet Domain
Ethereum/Mainnet
    1. PolygonRoot 0x51825d6e893c51836dC9C0EdF3867c57CD0cACB3
    2. TACoApplication 0x347CC7ede7e5517bD47D20620B2CF1b406edcF07
Polygon/Mainnet
    1. BetaProgramInitiator 0x7CEbC88351061b2721865f01d2aCEc4c3eC92E8d
    2. Coordinator 0xE74259e3dafe30bAA8700238e324b47aC98FE755
    3. GlobalAllowList 0xa8D488019F6627C4eA806242CbEc06EaF7CfA03c
    4. PolygonChild 0x1f5C5fd6A66723fA22a778CC53263dd3FA6851E5
    5. SubscriptionManager 0xB0194073421192F6Cf38d72c791Be8729721A0b3
    6. TACoChildApplication 0xFa07aaB78062Fac4C36995bF28F6D677667973F5

@KPrasch KPrasch marked this pull request as ready for review August 7, 2024 07:35
Copy link
Member

@derekpierre derekpierre left a comment

Choose a reason for hiding this comment

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

🎸 - love this!

One minor "nitpicky" suggestion.

scripts/list_contracts.py Outdated Show resolved Hide resolved
@KPrasch KPrasch merged commit aa53f83 into nucypher:main Aug 7, 2024
2 checks 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.

2 participants