Skip to content

Commit

Permalink
Merge pull request #337 from SocketDotTech/feat/sepolia-natives
Browse files Browse the repository at this point in the history
Feat/sepolia natives
  • Loading branch information
ameeshaagrawal authored Nov 10, 2023
2 parents 7f86c18 + 96a9774 commit 52e65f6
Show file tree
Hide file tree
Showing 13 changed files with 773 additions and 49 deletions.
12 changes: 1 addition & 11 deletions chainConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export type ChainConfig = {
};
};

// DON'T UPDATE AND PUSH THIS FILE
export const chainConfig: { [chain: string]: ChainConfig } = {
"31337": {
chainSlug: 31337,
Expand All @@ -34,15 +35,4 @@ export const chainConfig: { [chain: string]: ChainConfig } = {
gasPrice: 1000000000000,
},
},
"647": {
chainSlug: 647,
chainName: "sxn_testnet",
timeout: 7200,
rpc: "https://rpc.toronto.sx.technology/",
transmitterAddress: "0xdE7f7a699F8504641eceF544B0fbc0740C37E69B",
executorAddress: "0xdE7f7a699F8504641eceF544B0fbc0740C37E69B",
watcherAddress: "0xdE7f7a699F8504641eceF544B0fbc0740C37E69B",
feeUpdaterAddress: "0xdE7f7a699F8504641eceF544B0fbc0740C37E69B",
ownerAddress: "0xdE7f7a699F8504641eceF544B0fbc0740C37E69B",
},
};
334 changes: 334 additions & 0 deletions deployments/prod_addresses.json

Large diffs are not rendered by default.

311 changes: 311 additions & 0 deletions deployments/prod_verification.json
Original file line number Diff line number Diff line change
Expand Up @@ -650,6 +650,19 @@
]
],
"901": [
[
"0x5d2A7185F0f03ED88067b9Fa02252946fccaA0B8",
"OptimismSwitchboard",
"contracts/switchboard/native/OptimismSwitchboard.sol",
[
901,
300000,
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa",
"0xFDC28fA368c33DEC7853d63B65FC5Cfe01B212fc",
"0x4200000000000000000000000000000000000007",
"0x19791877C020f7Cd5Ca1c97bdd5D268a52dbB0ff"
]
],
[
"0x1D6811553Aff8231aDd04A84F300b89E15D99EA4",
"SocketBatcher",
Expand Down Expand Up @@ -1259,7 +1272,130 @@
["0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"]
]
],
"421614": [
[
"0x0f8F4E665221528e6a444458dd098216E9ec7807",
"Counter",
"contracts/examples/Counter.sol",
["0xEA59E2b1539b514290dD3dCEa989Ea36279aC6F2"]
],
[
"0xAE9bE0eA6DD7B53C88665Cb2EFf7d40dFD51cf91",
"ArbitrumL2Switchboard",
"contracts/switchboard/native/ArbitrumL2Switchboard.sol",
[
421614,
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa",
"0xEA59E2b1539b514290dD3dCEa989Ea36279aC6F2",
"0x47140353947Bc127c9cf36fabd61112C8Fb8db2A"
]
],
[
"0xEDF6dB2f3BC8deE014762e0141EE4CA19d685dBd",
"OptimisticSwitchboard",
"contracts/switchboard/default-switchboards/OptimisticSwitchboard.sol",
[
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa",
"0xEA59E2b1539b514290dD3dCEa989Ea36279aC6F2",
421614,
7200,
"0x47140353947Bc127c9cf36fabd61112C8Fb8db2A"
]
],
[
"0xB9EDe9aaEaA40e35033ABBC872D141950d08cc4d",
"FastSwitchboard",
"contracts/switchboard/default-switchboards/FastSwitchboard.sol",
[
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa",
"0xEA59E2b1539b514290dD3dCEa989Ea36279aC6F2",
421614,
7200,
"0x47140353947Bc127c9cf36fabd61112C8Fb8db2A"
]
],
[
"0x85778A90ec60249f10d7AEe06484ffC290d5Efd8",
"TransmitManager",
"contracts/TransmitManager.sol",
[
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa",
421614,
"0xEA59E2b1539b514290dD3dCEa989Ea36279aC6F2",
"0x47140353947Bc127c9cf36fabd61112C8Fb8db2A"
]
],
[
"0x6f6f4C24bE59c42F524b133d623170376b8Eed64",
"ExecutionManager",
"contracts/ExecutionManager.sol",
[
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa",
421614,
"0xEA59E2b1539b514290dD3dCEa989Ea36279aC6F2",
"0x47140353947Bc127c9cf36fabd61112C8Fb8db2A"
]
],
[
"0xEA59E2b1539b514290dD3dCEa989Ea36279aC6F2",
"Socket",
"contracts/socket/Socket.sol",
[
421614,
"0x9814d1E6751ADAE2D60fF16f987ae02a25C87224",
"0x66ffe416eB16D879EcE55B1d50C34789CB4Ab80a",
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa",
"IMLI"
]
],
[
"0x66ffe416eB16D879EcE55B1d50C34789CB4Ab80a",
"CapacitorFactory",
"contracts/CapacitorFactory.sol",
["0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa", 10]
]
],
"11155111": [
[
"0x2b863CDA83e855078c702233E215884c4d0200dE",
"OptimismSwitchboard",
"contracts/switchboard/native/OptimismSwitchboard.sol",
[
11155111,
300000,
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa",
"0x07e11D1A1543B0D0b91684eb741d1ab7D51ae237",
"0x28976A1DF6e6689Bfe555780CD46dcFcF5552979",
"0x10d9DA6AE85eff6D582A91829f78bde2a3EC2dCC"
]
],
[
"0x9773954b3a530568C0F6c7179f4656BF5eF89a3a",
"OptimismSwitchboard",
"contracts/switchboard/native/OptimismSwitchboard.sol",
[
11155111,
300000,
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa",
"0x07e11D1A1543B0D0b91684eb741d1ab7D51ae237",
"0x58Cc85b8D04EA49cC6DBd3CbFFd00B4B8D6cb3ef",
"0x10d9DA6AE85eff6D582A91829f78bde2a3EC2dCC"
]
],
[
"0x7727f1C58D37C69CB1Ec22E4fD1A9BBc251c1Cfb",
"ArbitrumL1Switchboard",
"contracts/switchboard/native/ArbitrumL1Switchboard.sol",
[
11155111,
"0xaAe29B0366299461418F5324a79Afc425BE5ae21",
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa",
"0x07e11D1A1543B0D0b91684eb741d1ab7D51ae237",
"0x38f918D0E9F1b721EDaA41302E399fa1B79333a9",
"0x65f07C7D521164a4d5DaC6eB8Fac8DA067A3B78F",
"0x10d9DA6AE85eff6D582A91829f78bde2a3EC2dCC"
]
],
[
"0x2521b29FD8d3787Ab42141f55F6b462E6115C737",
"SocketBatcher",
Expand Down Expand Up @@ -1499,6 +1635,181 @@
["0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"]
]
],
"11155420": [
[
"0x0f8F4E665221528e6a444458dd098216E9ec7807",
"Counter",
"contracts/examples/Counter.sol",
["0xEA59E2b1539b514290dD3dCEa989Ea36279aC6F2"]
],
[
"0xAE9bE0eA6DD7B53C88665Cb2EFf7d40dFD51cf91",
"OptimismSwitchboard",
"contracts/switchboard/native/OptimismSwitchboard.sol",
[
11155420,
300000,
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa",
"0xEA59E2b1539b514290dD3dCEa989Ea36279aC6F2",
"0x4200000000000000000000000000000000000007",
"0x47140353947Bc127c9cf36fabd61112C8Fb8db2A"
]
],
[
"0xEDF6dB2f3BC8deE014762e0141EE4CA19d685dBd",
"OptimisticSwitchboard",
"contracts/switchboard/default-switchboards/OptimisticSwitchboard.sol",
[
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa",
"0xEA59E2b1539b514290dD3dCEa989Ea36279aC6F2",
11155420,
7200,
"0x47140353947Bc127c9cf36fabd61112C8Fb8db2A"
]
],
[
"0xB9EDe9aaEaA40e35033ABBC872D141950d08cc4d",
"FastSwitchboard",
"contracts/switchboard/default-switchboards/FastSwitchboard.sol",
[
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa",
"0xEA59E2b1539b514290dD3dCEa989Ea36279aC6F2",
11155420,
7200,
"0x47140353947Bc127c9cf36fabd61112C8Fb8db2A"
]
],
[
"0x85778A90ec60249f10d7AEe06484ffC290d5Efd8",
"TransmitManager",
"contracts/TransmitManager.sol",
[
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa",
11155420,
"0xEA59E2b1539b514290dD3dCEa989Ea36279aC6F2",
"0x47140353947Bc127c9cf36fabd61112C8Fb8db2A"
]
],
[
"0x6f6f4C24bE59c42F524b133d623170376b8Eed64",
"ExecutionManager",
"contracts/ExecutionManager.sol",
[
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa",
11155420,
"0xEA59E2b1539b514290dD3dCEa989Ea36279aC6F2",
"0x47140353947Bc127c9cf36fabd61112C8Fb8db2A"
]
],
[
"0xEA59E2b1539b514290dD3dCEa989Ea36279aC6F2",
"Socket",
"contracts/socket/Socket.sol",
[
11155420,
"0x9814d1E6751ADAE2D60fF16f987ae02a25C87224",
"0x66ffe416eB16D879EcE55B1d50C34789CB4Ab80a",
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa",
"IMLI"
]
],
[
"0x66ffe416eB16D879EcE55B1d50C34789CB4Ab80a",
"CapacitorFactory",
"contracts/CapacitorFactory.sol",
["0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa", 10]
]
],
"686669576": [
[
"0x323684c3556480F94F9232A1525eAD02fde4F0d1",
"Counter",
"contracts/examples/Counter.sol",
["0x834Ee253f0B926DCc1d03EbAeAfEc3a3D1eE4a86"]
],
[
"0x2A2d4bEA2F0b8F7AC79bf70f98D3d054aa65f461",
"SocketBatcher",
"contracts/socket/SocketBatcher.sol",
["0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"]
],
[
"0xA418D0cCFB62FE888aCf655e54d88E09059bD6c8",
"OptimisticSwitchboard",
"contracts/switchboard/default-switchboards/OptimisticSwitchboard.sol",
[
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa",
"0x834Ee253f0B926DCc1d03EbAeAfEc3a3D1eE4a86",
686669576,
7200,
"0x47140353947Bc127c9cf36fabd61112C8Fb8db2A"
]
],
[
"0x61d921aBcaE610E38fb6e5F12aC6b7337e42F2bD",
"FastSwitchboard",
"contracts/switchboard/default-switchboards/FastSwitchboard.sol",
[
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa",
"0x834Ee253f0B926DCc1d03EbAeAfEc3a3D1eE4a86",
686669576,
7200,
"0x47140353947Bc127c9cf36fabd61112C8Fb8db2A"
]
],
[
"0xe804b3f393EC5D2D04bac6DeED7744beB243E763",
"TransmitManager",
"contracts/TransmitManager.sol",
[
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa",
686669576,
"0x834Ee253f0B926DCc1d03EbAeAfEc3a3D1eE4a86",
"0x47140353947Bc127c9cf36fabd61112C8Fb8db2A"
]
],
[
"0xa5b593aE839b3fe47983Fc28da602a6dEEfBBc9D",
"ExecutionManager",
"contracts/ExecutionManager.sol",
[
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa",
686669576,
"0x834Ee253f0B926DCc1d03EbAeAfEc3a3D1eE4a86",
"0x47140353947Bc127c9cf36fabd61112C8Fb8db2A"
]
],
[
"0x834Ee253f0B926DCc1d03EbAeAfEc3a3D1eE4a86",
"Socket",
"contracts/socket/Socket.sol",
[
686669576,
"0x9814d1E6751ADAE2D60fF16f987ae02a25C87224",
"0x98472CDb864DedcF13a560Ec2b79745a6063A3aC",
"0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa",
"IMLI"
]
],
[
"0x98472CDb864DedcF13a560Ec2b79745a6063A3aC",
"CapacitorFactory",
"contracts/CapacitorFactory.sol",
["0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa", 10]
],
[
"0x9814d1E6751ADAE2D60fF16f987ae02a25C87224",
"Hasher",
"contracts/utils/Hasher.sol",
["0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"]
],
[
"0x47140353947Bc127c9cf36fabd61112C8Fb8db2A",
"SignatureVerifier",
"contracts/utils/SignatureVerifier.sol",
["0x752B38FA38F53dF7fa60e6113CFd9094b7e040Aa"]
]
],
"1399904803": [
[
"0x6D290609b3F5F02D52F28d97C75a443ED8564cBf",
Expand Down
4 changes: 2 additions & 2 deletions 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.4.10",
"version": "2.4.11-test.1",
"description": "Smart contracts for socket data layer.",
"main": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
Expand All @@ -17,7 +17,7 @@
"url": "git+https://github.com/SocketDotTech/socket-DL.git"
},
"devDependencies": {
"@arbitrum/sdk": "^3.0.0",
"@arbitrum/sdk": "^3.1.13",
"@eth-optimism/sdk": "^3.1.4",
"@ethersproject/bytes": "^5.7.0",
"@fxportal/maticjs-fxportal": "^1.1.1",
Expand Down
Loading

0 comments on commit 52e65f6

Please sign in to comment.