Skip to content

Commit

Permalink
Merge pull request #381 from SocketDotTech/chain-deployments
Browse files Browse the repository at this point in the history
Chain deployments
  • Loading branch information
arthcp authored Jun 14, 2024
2 parents c671d61 + f7eb9c2 commit 2afe26d
Show file tree
Hide file tree
Showing 20 changed files with 297 additions and 13 deletions.
2 changes: 2 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,5 @@ BLAST_RPC=''

# SOCKET_OWNER_ADDRESS=""
# SOCKET_SIGNER_KEY=xxx

POLYNOMIAL_RPC=' '
139 changes: 139 additions & 0 deletions deployments/prod_addresses.json
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,18 @@
"switchboard": "0xb113d72896d4874111AF00c9499b5a64e9f1e3f4"
}
},
"8008": {
"FAST": {
"capacitor": "0x0DCa0E5A2DE329001e7Aadf69e1bA0185D792256",
"decapacitor": "0x054f1E792F43329d84605cc82403a9b34BD78628",
"switchboard": "0x09A6e77912a6bcFc3abfDfb841A85380Bb2A8B97"
},
"OPTIMISTIC": {
"capacitor": "0x6efB607cCBF574172b9FcC016e3F4b7E98313946",
"decapacitor": "0xf76F635624C064b23a441c90115d069aFFd85743",
"switchboard": "0xb113d72896d4874111AF00c9499b5a64e9f1e3f4"
}
},
"8453": {
"FAST": {
"capacitor": "0x072d479fe4f49a717cFE5Ca7097c213902281948",
Expand Down Expand Up @@ -1726,6 +1738,61 @@
}
}
},
"8008": {
"SignatureVerifier": "0xc8a4D2fd77c155fd52e65Ab07F337aBF84495Ead",
"Hasher": "0x1F6bc87f3309B5D31Eb0BdaBE3ED7d3110d3B9c3",
"CapacitorFactory": "0x6C593aD4C0Fa4E293a0f1240F9ca3CF0e8a28619",
"Socket": "0xbe7241e9D11EC2D1Ac86CE217c4A37b7aD1701cE",
"ExecutionManager": "0x1CAdCd88fC148D3966eDe75D029937C886f66009",
"TransmitManager": "0x9B8c323468AEC7A7Cb041CeD48F92559bFF33705",
"FastSwitchboard": "0xb4Ef469c9d8317851270346070dA0ecE24616E6b",
"OptimisticSwitchboard": "0x0CC93650bF4D98237628DACf87f94E443956D8dF",
"SocketBatcher": "0xb3314456567986e657d4C65Ec9e8cB736B92d11D",
"Counter": "0x657e72B305Dc1c41e98d9efC2350EC10e3c83E21",
"SocketSimulator": "0x525a6489a1df5fF1ae077fAf628E43b7F52298eF",
"SimulatorUtils": "0x3043Ad9C9e01664bc3A68477f0870Df35dC4bFf8",
"SwitchboardSimulator": "0xd9E3a8Ba9Be55919C5C0De6694e3103F5a35820E",
"CapacitorSimulator": "0xD7B34Db1477797FA2Dff890afBa88a00eb89b9eE",
"startBlock": 119805,
"integrations": {
"10": {
"FAST": {
"capacitor": "0xfDab5AD9dD96deb42f093510641a325dB65cAD10",
"decapacitor": "0xE16b17BC461C3EDF6c351c1a27FB42851F085D19",
"switchboard": "0xb4Ef469c9d8317851270346070dA0ecE24616E6b"
},
"OPTIMISTIC": {
"capacitor": "0xcacBE8Caaa88003544BA8d6Ebf63af256Cba9b93",
"decapacitor": "0x68e39A99221087D3585fA4493911A60683AbE32d",
"switchboard": "0x0CC93650bF4D98237628DACf87f94E443956D8dF"
}
},
"8453": {
"FAST": {
"capacitor": "0xe73B81e0582110A3e1e84eD48986CF8365C67F5c",
"decapacitor": "0x2e544869aD700F70E47597Aa065e562deAFcA241",
"switchboard": "0xb4Ef469c9d8317851270346070dA0ecE24616E6b"
},
"OPTIMISTIC": {
"capacitor": "0xCF029dbbFCeBf82C981B3Ffe78CCB38bbC57a6FC",
"decapacitor": "0xe9BE8937aDf6A92CBF464b2904097c71E480f925",
"switchboard": "0x0CC93650bF4D98237628DACf87f94E443956D8dF"
}
},
"42161": {
"FAST": {
"capacitor": "0x19405671F9F14a81a1112ac890E85E321a79426D",
"decapacitor": "0xFE82774f00Ce859Aad948e71D739C417Ae85B1fd",
"switchboard": "0xb4Ef469c9d8317851270346070dA0ecE24616E6b"
},
"OPTIMISTIC": {
"capacitor": "0xcf4136C6537D6e4F2b17a0035663dCDD3C08F746",
"decapacitor": "0x949c6C52A539BAD93D2a31EF4EB923fd8a09c660",
"switchboard": "0x0CC93650bF4D98237628DACf87f94E443956D8dF"
}
}
}
},
"8453": {
"SignatureVerifier": "0xA7f7e4fE8E4cdDCD9969Bd3fbcFF67000CD7DE47",
"Hasher": "0xAC313d7491910516E06FBfC2A0b5BB49bb072D91",
Expand Down Expand Up @@ -1842,6 +1909,18 @@
"switchboard": "0x15A55294B7278260DdfFC659Fb39a401871EeE34"
}
},
"8008": {
"FAST": {
"capacitor": "0x7307F9970b049606c6d1cC6Fa4dBe829E06eEba0",
"decapacitor": "0xEBDD84931EFf4D572ceFFa5ca24ab57eE13ef987",
"switchboard": "0x957301825Dc21d4A92919C9E72dC9E6C6a29e7f8"
},
"OPTIMISTIC": {
"capacitor": "0x61a924e4F8C706c71139A8986e6289210AaFD07d",
"decapacitor": "0x4d85A957fc70bC8134e507313B42cf370aDF1364",
"switchboard": "0x15A55294B7278260DdfFC659Fb39a401871EeE34"
}
},
"34443": {
"FAST": {
"capacitor": "0x279824278c1C78662A4BF9fb25EeA954BBF74d97",
Expand Down Expand Up @@ -2144,6 +2223,18 @@
"switchboard": "0x1812ff6bd726934f18159164e2927B34949B16a8"
}
},
"8008": {
"FAST": {
"capacitor": "0x852C3648189DfA089B0fAFbb0B314c4Dfc94F3D7",
"decapacitor": "0x4204b6b9e4712079dCca774476bE91CB0516e7A3",
"switchboard": "0xd5e829827F665c42326EAF68Da3360bd59b42f2f"
},
"OPTIMISTIC": {
"capacitor": "0xcaE9B82F3E75b4df33c653Af94aFdbb2EEC21613",
"decapacitor": "0x9c957E86B23915D7F6fD540356961578bC20CFb0",
"switchboard": "0x1812ff6bd726934f18159164e2927B34949B16a8"
}
},
"8453": {
"FAST": {
"capacitor": "0x6b19c12C0d5A41449d69AB2EB059959414531D3E",
Expand Down Expand Up @@ -2645,6 +2736,18 @@
"switchboard": "0xEDF6dB2f3BC8deE014762e0141EE4CA19d685dBd"
}
},
"3397901": {
"FAST": {
"capacitor": "0x7D15eDF7b910F5D463f3Fb538dA0F33C6116977f",
"decapacitor": "0xC31d5a4DffD9A10CC315B0beE57EaCfB34ece95E",
"switchboard": "0xB9EDe9aaEaA40e35033ABBC872D141950d08cc4d"
},
"OPTIMISTIC": {
"capacitor": "0xeB11952971719E35644EeF6149B97f7A10734b56",
"decapacitor": "0x6c1F3dc38d28302d03b7f6d4C600a39E7225397a",
"switchboard": "0xEDF6dB2f3BC8deE014762e0141EE4CA19d685dBd"
}
},
"11155111": {
"NATIVE_BRIDGE": {
"switchboard": "0xAE9bE0eA6DD7B53C88665Cb2EFf7d40dFD51cf91",
Expand Down Expand Up @@ -2871,6 +2974,18 @@
"CapacitorSimulator": "0x75c69B183351FE95890a6c200e0e667E18dEE4B6",
"startBlock": 1004951,
"integrations": {
"421614": {
"FAST": {
"capacitor": "0x8590b1DDb6a4A06145bF008e8e708A81f9fb53e6",
"decapacitor": "0x8DFD1D3b6EAF93dDf11AeC821a060e1bc4974CDf",
"switchboard": "0x8f9EaEe5c5df888aBA3c1Ab19689a0660d042c6d"
},
"OPTIMISTIC": {
"capacitor": "0x924b840ea9Cb97Aa103B6B37b5815676a0fA6076",
"decapacitor": "0x4648bA0745A1333eEF1e6790815c2e8d327C0686",
"switchboard": "0x57D1Aeafb6a2b7Bd4954e47a556622161A8c0A65"
}
},
"11155111": {
"FAST": {
"capacitor": "0xB1ecD6D2d1f52D5Abed57431508733d51BB4Cd6B",
Expand All @@ -2882,6 +2997,18 @@
"decapacitor": "0xD999FAf610e1a18837965554AFd5aDf80a841CaC",
"switchboard": "0x57D1Aeafb6a2b7Bd4954e47a556622161A8c0A65"
}
},
"11155420": {
"FAST": {
"capacitor": "0x8746E279A2Bb21e12e17d0121fb1Bbc57234c0b2",
"decapacitor": "0x37A00337dae8F2A02B4513ae0a5267EAaEB55621",
"switchboard": "0x8f9EaEe5c5df888aBA3c1Ab19689a0660d042c6d"
},
"OPTIMISTIC": {
"capacitor": "0xA1A57BEdfCF75492Ee7CE8aB4D1B3E1A3837EF30",
"decapacitor": "0x8757Fd4c8CEEFB59ed4F69d841ca6Fa0C2744f0D",
"switchboard": "0x57D1Aeafb6a2b7Bd4954e47a556622161A8c0A65"
}
}
}
},
Expand Down Expand Up @@ -3280,6 +3407,18 @@
"switchboard": "0xEDF6dB2f3BC8deE014762e0141EE4CA19d685dBd"
}
},
"3397901": {
"FAST": {
"capacitor": "0xa15d28D33FbD0eE67C456076F9d2A2B48F847804",
"decapacitor": "0x3B9c5A6991874525ba5E44cB113B871b818d2b44",
"switchboard": "0xB9EDe9aaEaA40e35033ABBC872D141950d08cc4d"
},
"OPTIMISTIC": {
"capacitor": "0x67e7D52de5F5eFb1aD4a9d095CC4DbDf27D1e5E0",
"decapacitor": "0x44e08e987184F67599C89B50Fc35D56090e48C24",
"switchboard": "0xEDF6dB2f3BC8deE014762e0141EE4CA19d685dBd"
}
},
"11155111": {
"NATIVE_BRIDGE": {
"switchboard": "0xAE9bE0eA6DD7B53C88665Cb2EFf7d40dFD51cf91",
Expand Down
129 changes: 129 additions & 0 deletions deployments/prod_verification.json
Original file line number Diff line number Diff line change
Expand Up @@ -2190,6 +2190,135 @@
["0x5fD7D0d6b91CC4787Bcb86ca47e0Bd4ea0346d34"]
]
],
"8008": [
[
"0xd9E3a8Ba9Be55919C5C0De6694e3103F5a35820E",
"SwitchboardSimulator",
"contracts/mocks/fee-updater/SwitchboardSimulator.sol",
[
"0xB0BBff6311B7F245761A7846d3Ce7B1b100C1836",
"0x525a6489a1df5fF1ae077fAf628E43b7F52298eF",
8008,
1000,
"0xc8a4D2fd77c155fd52e65Ab07F337aBF84495Ead"
]
],
[
"0x3043Ad9C9e01664bc3A68477f0870Df35dC4bFf8",
"SimulatorUtils",
"contracts/mocks/fee-updater/SimulatorUtils.sol",
[
"0x525a6489a1df5fF1ae077fAf628E43b7F52298eF",
"0xc8a4D2fd77c155fd52e65Ab07F337aBF84495Ead",
"0xB0BBff6311B7F245761A7846d3Ce7B1b100C1836",
8008
]
],
[
"0x525a6489a1df5fF1ae077fAf628E43b7F52298eF",
"SocketSimulator",
"contracts/mocks/fee-updater/SocketSimulator.sol",
[
8008,
8008,
"0x1F6bc87f3309B5D31Eb0BdaBE3ED7d3110d3B9c3",
"0xc8a4D2fd77c155fd52e65Ab07F337aBF84495Ead",
{
"dev": "IMLI",
"surge": "IMLI",
"prod": "IMLI"
}
]
],
[
"0x657e72B305Dc1c41e98d9efC2350EC10e3c83E21",
"Counter",
"contracts/examples/Counter.sol",
["0xbe7241e9D11EC2D1Ac86CE217c4A37b7aD1701cE"]
],
[
"0xb3314456567986e657d4C65Ec9e8cB736B92d11D",
"SocketBatcher",
"contracts/socket/SocketBatcher.sol",
["0xB0BBff6311B7F245761A7846d3Ce7B1b100C1836"]
],
[
"0x0CC93650bF4D98237628DACf87f94E443956D8dF",
"OptimisticSwitchboard",
"contracts/switchboard/default-switchboards/OptimisticSwitchboard.sol",
[
"0xB0BBff6311B7F245761A7846d3Ce7B1b100C1836",
"0xbe7241e9D11EC2D1Ac86CE217c4A37b7aD1701cE",
8008,
7200,
"0xc8a4D2fd77c155fd52e65Ab07F337aBF84495Ead"
]
],
[
"0xb4Ef469c9d8317851270346070dA0ecE24616E6b",
"FastSwitchboard",
"contracts/switchboard/default-switchboards/FastSwitchboard.sol",
[
"0xB0BBff6311B7F245761A7846d3Ce7B1b100C1836",
"0xbe7241e9D11EC2D1Ac86CE217c4A37b7aD1701cE",
8008,
7200,
"0xc8a4D2fd77c155fd52e65Ab07F337aBF84495Ead"
]
],
[
"0x9B8c323468AEC7A7Cb041CeD48F92559bFF33705",
"TransmitManager",
"contracts/TransmitManager.sol",
[
"0xB0BBff6311B7F245761A7846d3Ce7B1b100C1836",
8008,
"0xbe7241e9D11EC2D1Ac86CE217c4A37b7aD1701cE",
"0xc8a4D2fd77c155fd52e65Ab07F337aBF84495Ead"
]
],
[
"0x1CAdCd88fC148D3966eDe75D029937C886f66009",
"ExecutionManager",
"contracts/ExecutionManager.sol",
[
"0xB0BBff6311B7F245761A7846d3Ce7B1b100C1836",
8008,
"0xbe7241e9D11EC2D1Ac86CE217c4A37b7aD1701cE",
"0xc8a4D2fd77c155fd52e65Ab07F337aBF84495Ead"
]
],
[
"0xbe7241e9D11EC2D1Ac86CE217c4A37b7aD1701cE",
"Socket",
"contracts/socket/Socket.sol",
[
8008,
"0x1F6bc87f3309B5D31Eb0BdaBE3ED7d3110d3B9c3",
"0x6C593aD4C0Fa4E293a0f1240F9ca3CF0e8a28619",
"0xB0BBff6311B7F245761A7846d3Ce7B1b100C1836",
"IMLI"
]
],
[
"0x6C593aD4C0Fa4E293a0f1240F9ca3CF0e8a28619",
"CapacitorFactory",
"contracts/CapacitorFactory.sol",
["0xB0BBff6311B7F245761A7846d3Ce7B1b100C1836", 10]
],
[
"0x1F6bc87f3309B5D31Eb0BdaBE3ED7d3110d3B9c3",
"Hasher",
"contracts/utils/Hasher.sol",
["0xB0BBff6311B7F245761A7846d3Ce7B1b100C1836"]
],
[
"0xc8a4D2fd77c155fd52e65Ab07F337aBF84495Ead",
"SignatureVerifier",
"contracts/utils/SignatureVerifier.sol",
["0xB0BBff6311B7F245761A7846d3Ce7B1b100C1836"]
]
],
"8453": [
[
"0x0e276315EB155d28C7Aebd78AC118F967277a265",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@socket.tech/dl-core",
"license": "UNLICENSED",
"version": "2.9.0",
"version": "2.11.0",
"description": "Smart contracts for socket data layer.",
"main": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions scripts/deploy/config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ export const executorAddresses = {

export const ownerAddresses = {
[DeploymentMode.DEV]: socketOwner,
[DeploymentMode.SURGE]: "0x5fD7D0d6b91CC4787Bcb86ca47e0Bd4ea0346d34",
[DeploymentMode.PROD]: "0x5fD7D0d6b91CC4787Bcb86ca47e0Bd4ea0346d34",
[DeploymentMode.SURGE]: "0xB0BBff6311B7F245761A7846d3Ce7B1b100C1836",
[DeploymentMode.PROD]: "0xB0BBff6311B7F245761A7846d3Ce7B1b100C1836",
};

export const overrides = (
Expand Down
13 changes: 7 additions & 6 deletions scripts/rpcConfig/constants/batcherSupportedChainSlug.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const batcherSupportedChainSlugs = [
ChainSlug.HOOK,
ChainSlug.REYA,
// ChainSlug.SX_NETWORK,
ChainSlug.AEVO_TESTNET,
// ChainSlug.AEVO_TESTNET,
ChainSlug.SEPOLIA,
ChainSlug.LYRA_TESTNET,
// ChainSlug.SX_NETWORK_TESTNET,
Expand All @@ -21,15 +21,16 @@ export const batcherSupportedChainSlugs = [
// ChainSlug.MODE_TESTNET,
ChainSlug.BASE,
ChainSlug.MODE,
ChainSlug.HOOK_TESTNET,
ChainSlug.REYA_CRONOS,
// ChainSlug.HOOK_TESTNET,
// ChainSlug.REYA_CRONOS,
ChainSlug.SYNDR_SEPOLIA_L3,
ChainSlug.POLYNOMIAL_TESTNET,
ChainSlug.BOB,
// ChainSlug.BOB,
ChainSlug.KINTO,
ChainSlug.KINTO_DEVNET,
// ChainSlug.KINTO_DEVNET,
ChainSlug.SIPHER_FUNKI_TESTNET,
ChainSlug.WINR,
ChainSlug.BLAST,
ChainSlug.BSC_TESTNET,
// ChainSlug.BSC_TESTNET,
ChainSlug.POLYNOMIAL,
];
1 change: 1 addition & 0 deletions scripts/rpcConfig/constants/confirmations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,5 @@ export const confirmations = {
[ChainSlug.WINR]: 0,
[ChainSlug.BLAST]: 0,
[ChainSlug.BSC_TESTNET]: 1,
[ChainSlug.POLYNOMIAL]: 1,
};
1 change: 1 addition & 0 deletions scripts/rpcConfig/constants/explorers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ export const explorers = {
[ChainSlug.BLAST]: "https://blastscan.io",
[ChainSlug.BSC_TESTNET]:
"https://testnet.bscscan.com/assets/bsc/images/svg/logos/logo-light.svg?v=24.5.5.0",
[ChainSlug.POLYNOMIAL]: "https://explorer.polynomial.fi",
};
Loading

0 comments on commit 2afe26d

Please sign in to comment.