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

Add script to generate abis #12

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add script to generate abis #12

wants to merge 1 commit into from

Conversation

noslav
Copy link
Member

@noslav noslav commented Sep 16, 2024

  • ABIs should be committed to repo for easy access for future use-cases in interacting with CXT token
  • Adds script to generate build using forge and generate ABI's
  • Commit ABIs extracted from compilation
  • Run with npm run abi

FIX

npm run abi                                                                                                                                                                                                                 ─╯

> [email protected] abi
> forge build && ./gen-abi.sh

[⠊] Compiling...
[⠔] Compiling 14 files with 0.8.21
[⠑] Solc 0.8.21 finished in 43.21s
Compiler run successful with warnings:
Warning (2072): Unused local variable.
  --> script/ChangeImpl.sol:17:9:
   |
17 |         address treasury = address(deployerAdmin);
   |         ^^^^^^^^^^^^^^^^

Warning (2072): Unused local variable.
  --> script/ChangeImpl.sol:18:9:
   |
18 |         address migrationProxy = 0x136FE32D4a0Bc1B4f4Ef7100A2a6ee17593b8E26;
   |         ^^^^^^^^^^^^^^^^^^^^^^

Warning (2072): Unused local variable.
  --> script/ChangeImpl.sol:31:9:
   |
31 |         ProxyAdmin admin = ProxyAdmin(_admin);
   |       

Signed-off-by: Pranay Valson <[email protected]>
@noslav noslav requested a review from gane5h September 16, 2024 20:09
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.

1 participant