Skip to content

Commit d474229

Browse files
author
ilitteri
committed
Specify which config fields should be modified on each step
1 parent 9302a59 commit d474229

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

claim_contracts/README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
> Foundry must be installed and running.
77
88
1. Run `anvil` in one terminal.
9-
2. Get your local **foundation** and **token distributor** wallet addresses and write them down in the `claim_contracts/script-config/config.example.json` file.
9+
2. Get your local **foundation** and **token distributor** wallet addresses and write them down in the `claim_contracts/script-config/config.example.json` file. **Only the `foundation` and `tokenDistributor` fields should be modified in this step**.
1010
3. Run `make deploy-token-local DEPLOYER_PRIVATE_KEY=<deployer_private_key>` in another terminal.
1111
4. Write down the forge script's output (the addresses of the token proxy and its admin preferably).
12-
5. From the output of the previous step, complete the `claim_contracts/script-config/config.example.json` file with the token proxy address.
12+
5. From the output of the previous step, complete the `claim_contracts/script-config/config.example.json` file with the token proxy address. **Only the `tokenProxy` field should be modified in this step**.
1313
6. Run `make deploy-claimable DEPLOYER_PRIVATE_KEY=<deployer_private_key>`.
1414
7. Write down the forge script's output (the addresses of the claimable proxy and its admin preferably).
15-
8. From the output of the previous step, complete the `claim_contracts/script-config/config.example.json` file with the claimable proxy address.
15+
8. From the output of the previous step, complete the `claim_contracts/script-config/config.example.json` file with the claimable proxy address. **Only the `claimableProxy` field should be modified in this step**.
1616
9. Run `make claimable-update-root RPC_URL=http://localhost:8545 OWNER_PRIVATE_KEY=<foundation_private_key> AIRDROP=<claimable_proxy_address> MERKLE_ROOT=<merkle_root>`.
1717
10. Run `make claimable-update-timestamp RPC_URL=http://localhost:8545 OWNER_PRIVATE_KEY=<foundation_private_key> AIRDROP=<claimable_proxy_address> TIMESTAMP=2733427549`.
1818
11. Run `make approve-claimable RPC_URL=http://localhost:8545 DISTRIBUTOR_PRIVATE_KEY=<token_distributor_private_key> TOKEN=<token_proxy_address> AIRDROP=<claimable_proxy_address>`.
@@ -28,13 +28,13 @@
2828
> Foundry must be installed and running.
2929
> You must have an Etherscan API key.
3030
31-
1. Get your **foundation** and **token distributor** wallet addresses and write them down in the `claim_contracts/script-config/config.sepolia.json` file (as it is done in the `claim_contracts/script-config/config.example.json` file).
31+
1. Get your **foundation** and **token distributor** wallet addresses and write them down in the `claim_contracts/script-config/config.sepolia.json` file (as it is done in the `claim_contracts/script-config/config.example.json` file). **Only the `foundation` and `tokenDistributor` fields should be modified in this step**.
3232
2. Run `make deploy-token-testnet DEPLOYER_PRIVATE_KEY=<deployer_private_key> RPC_URL=<sepolia_rpc_url> ETHERSCAN_API_KEY=<your_etherscan_api_key>`.
3333
3. Write down the forge script's output (the addresses of the token proxy and its admin preferably).
34-
4. From the output of the previous step, complete the `claim_contracts/script-config/config.sepolia.json` file with the token proxy address.
34+
4. From the output of the previous step, complete the `claim_contracts/script-config/config.sepolia.json` file with the token proxy address. **Only the `tokenProxy` field should be modified in this step**.
3535
5. Run `make deploy-claimable-testnet DEPLOYER_PRIVATE_KEY=<deployer_private_key> RPC_URL=<sepolia_rpc_url> ETHERSCAN_API_KEY=<your_etherscan_api_key>`.
3636
6. Write down the forge script's output (the addresses of the claimable proxy and its admin preferably).
37-
7. From the output of the previous step, complete the `claim_contracts/script-config/config.sepolia.json` file with the claimable proxy address.
37+
7. From the output of the previous step, complete the `claim_contracts/script-config/config.sepolia.json` file with the claimable proxy address. **Only the `claimableProxy` field should be modified in this step**.
3838
8. Run `make claimable-update-root RPC_URL=<sepolia_rpc_url> OWNER_PRIVATE_KEY=<foundation_private_key> AIRDROP=<claimable_proxy_address> MERKLE_ROOT=<merkle_root>`.
3939
9. Run `make claimable-update-timestamp RPC_URL=<sepolia_rpc_url> OWNER_PRIVATE_KEY=<foundation_private_key> AIRDROP=<claimable_proxy_address> TIMESTAMP=2733427549`.
4040
10. Run `make approve-claimable RPC_URL=<sepolia_rpc_url> DISTRIBUTOR_PRIVATE_KEY=<token_distributor_private_key> TOKEN=<token_proxy_address> AIRDROP=<claimable_proxy_address>`.
@@ -52,6 +52,7 @@
5252
> - Step 3 must be done by the token distributor multisig as it is the one that has the tokens to be claimed.
5353
5454
> [!WARNING]
55+
>
5556
> - Double-check the data you passing into the commands, any mistake can lead to undesired behavior.
5657
5758
1. Update the merkle root

0 commit comments

Comments
 (0)