Skip to content

Commit

Permalink
Deploy: cctp testnets (#315)
Browse files Browse the repository at this point in the history
* CCTP testnet configs

* Add testnets

* [REVERT IN PROD] small adjustments for testnet deploys

* Deploy Synapse CCTP contracts on testnets

* [REVERT IN PROD] Adapt CCTP impl with testnet chainid

* Redeploy contracts

* Revert "[REVERT IN PROD] Adapt CCTP impl with testnet chainid"

This reverts commit d1eab5d.

* Revert "[REVERT IN PROD] small adjustments for testnet deploys"

This reverts commit d736861.
  • Loading branch information
ChiTimesChi authored Mar 29, 2024
1 parent 47fe6e8 commit 52e95ce
Show file tree
Hide file tree
Showing 15 changed files with 5,136 additions and 8 deletions.
9 changes: 8 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,11 @@ ZKEVM_ETHERSCAN_URL=https://api-zkevm.polygonscan.com/api
ZKEVM_ETHERSCAN_KEY=PasteYourOwnKeyPlease

# TESTNET CHAINS
# TODO: add testnet chains
# Ethereum Sepolia
ETH_SEPOLIA_API=https://rpc.sepolia.org
ETH_SEPOLIA_ETHERSCAN_URL=https://api-sepolia.etherscan.io/api
ETH_SEPOLIA_ETHERSCAN_KEY=YourEtherScanKey
# Optimism Sepolia
OP_SEPOLIA_API=https://optimism-sepolia.blockpi.network/v1/rpc/public
OP_SEPOLIA_ETHERSCAN_URL=https://api-sepolia-optimistic.etherscan.io/api
OP_SEPOLIA_ETHERSCAN_KEY=YourOptimismEtherScanKey
1 change: 1 addition & 0 deletions deployments/eth_sepolia/.chainId
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
11155111
155 changes: 155 additions & 0 deletions deployments/eth_sepolia/ProxyAdmin.SynapseCCTP.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
{
"address": "0x8b9a229a07b6e7D42dC73c7bb4830d632FE729d9",
"constructorArgs": "0x",
"abi": [
{
"type": "function",
"name": "changeProxyAdmin",
"inputs": [
{
"name": "proxy",
"type": "address",
"internalType": "contract ITransparentUpgradeableProxy"
},
{
"name": "newAdmin",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "getProxyAdmin",
"inputs": [
{
"name": "proxy",
"type": "address",
"internalType": "contract ITransparentUpgradeableProxy"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getProxyImplementation",
"inputs": [
{
"name": "proxy",
"type": "address",
"internalType": "contract ITransparentUpgradeableProxy"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "owner",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "renounceOwnership",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "transferOwnership",
"inputs": [
{
"name": "newOwner",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "upgrade",
"inputs": [
{
"name": "proxy",
"type": "address",
"internalType": "contract ITransparentUpgradeableProxy"
},
{
"name": "implementation",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "upgradeAndCall",
"inputs": [
{
"name": "proxy",
"type": "address",
"internalType": "contract ITransparentUpgradeableProxy"
},
{
"name": "implementation",
"type": "address",
"internalType": "address"
},
{
"name": "data",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"stateMutability": "payable"
},
{
"type": "event",
"name": "OwnershipTransferred",
"inputs": [
{
"name": "previousOwner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "newOwner",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
}
]
}
Loading

0 comments on commit 52e95ce

Please sign in to comment.