Skip to content

Commit

Permalink
Update mainnet deployment files (#391)
Browse files Browse the repository at this point in the history
* Update commit hashes except celo

* Update celo commit hash

* Remove scope.txt
  • Loading branch information
hieronx authored Aug 6, 2024
1 parent 7b367a6 commit 1ca57ce
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 37 deletions.
2 changes: 1 addition & 1 deletion deployments/mainnet/arbitrum-mainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"chainId": 42161,
"rpcUrl": "https://arbitrum-mainnet.infura.io/v3/ed5e0e19bcbc427cbf8f661736d44516",
"config": {
"commitHash": "27827821e933f574d9bd87581e9b3221c58a9b3d",
"commitHash": "7b367a604bcf3bf7de5afb1bcfd956f922669779",
"deployer": "0x7270b20603FbB3dF0921381670fbd62b9991aDa4",
"admin": "0xa36caE0ACd40C6BbA61014282f6AE51c7807A433",
"adminSigners": [
Expand Down
2 changes: 1 addition & 1 deletion deployments/mainnet/base-mainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"chainId": 8453,
"rpcUrl": "https://mainnet.base.org",
"config": {
"commitHash": "27827821e933f574d9bd87581e9b3221c58a9b3d",
"commitHash": "7b367a604bcf3bf7de5afb1bcfd956f922669779",
"deployer": "0x7270b20603FbB3dF0921381670fbd62b9991aDa4",
"admin": "0x8b83962fB9dB346a20c95D98d4E312f17f4C0d9b",
"adminSigners": [
Expand Down
2 changes: 1 addition & 1 deletion deployments/mainnet/celo-mainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"chainId": 42220,
"rpcUrl": "https://celo-mainnet.infura.io/v3/ed5e0e19bcbc427cbf8f661736d44516",
"config": {
"commitHash": "ea767c1c9bffd2e1bdc647688e42c44c489a6e5f",
"commitHash": "9f4a9a3538e78832d39ca4f6d0e5f6115eaccf38",
"deployer": "0x7270b20603FbB3dF0921381670fbd62b9991aDa4",
"admin": "0x2464f95F6901233bF4a0130A3611d5B4CBd83195",
"adminSigners": [
Expand Down
2 changes: 1 addition & 1 deletion deployments/mainnet/ethereum-mainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"chainId": 1,
"rpcUrl": "https://mainnet.infura.io/v3/28b9df37a970456197cdb6b73af4e6de",
"config": {
"commitHash": "27827821e933f574d9bd87581e9b3221c58a9b3d",
"commitHash": "7b367a604bcf3bf7de5afb1bcfd956f922669779",
"deployer": "0x7270b20603FbB3dF0921381670fbd62b9991aDa4",
"admin": "0xD9D30ab47c0f096b0AA67e9B8B1624504a63e7FD",
"adminSigners": [
Expand Down
29 changes: 0 additions & 29 deletions scope.txt

This file was deleted.

6 changes: 2 additions & 4 deletions verify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@ display_help() {
echo
echo "This script verifies the vault contract and its associated tranche and restriction manager contracts."
echo
echo "Usage: $0 contract_address deployer"
echo "Usage: $0 contract_address"
echo
echo "Arguments:"
echo " contract_address The address of the vault to verify"
echo " deployer The address of the deployer"
echo
echo "Required Environment Variables:"
echo " RPC_URL The RPC URL"
Expand All @@ -31,13 +30,12 @@ if [ -z "$RPC_URL" ] || [ -z "$ETHERSCAN_KEY" ] || [ -z "$VERIFIER_URL" ] || [ -
fi

contract_address=$1
deployer=$2

echo "vault: $contract_address"
if ! cast call $contract_address 'share()(address)' --rpc-url $RPC_URL &> /dev/null; then
echo "Error: Must pass a vault address."
exit 1
fi
echo "vault: $contract_address"
poolId=$(cast call $contract_address 'poolId()(uint64)' --rpc-url $RPC_URL | awk '{print $1}')
trancheId=$(cast call $contract_address 'trancheId()(bytes16)' --rpc-url $RPC_URL | cut -c 1-34)
asset=$(cast call $contract_address 'asset()(address)' --rpc-url $RPC_URL)
Expand Down

0 comments on commit 1ca57ce

Please sign in to comment.