diff --git a/deployment-config/chains/1329.json b/deployment-config/chains/1329.json index 4596379..ee6af86 100644 --- a/deployment-config/chains/1329.json +++ b/deployment-config/chains/1329.json @@ -1,5 +1,20 @@ { "name": "Sei", "balancerVault": "0x0000000000000000000000000000000000000000", - "lzEndpoint": "0x1a44076050125825900e736c501f859c50fE728c" + "lzEndpoint": "0x1a44076050125825900e736c501f859c50fE728c", + "assetToRateProviderAndPriceFeed": { + "NOTE_0_CHAINLINK_1_REDSTONE_2_GENERIC": 0, + "NOTE_THESE_KEYS_MUST_NOT_BE_CHECKSUMMED": 0, + "maxTimeFromLastUpdate": "86400", + "0x9faaea2cdd810b21594e54309dc847842ae301ce": { + "denomination": "ETH/seiyanETH", + "priceFeedType": 2, + "target": "0x24152894Decc7384b05E8907D6aDAdD82c176499", + "signature": "getRateSafe()", + "arg": 0, + "expectedMin": "1000000000000000000", + "expectedMax": "1100000000000000000", + "rateProvider": "0x4cb84449fab2812556533491a5c171611a9737fa" + } + } } \ No newline at end of file diff --git a/deployment-config/ssETH-L2.json b/deployment-config/ssETH-L2.json index 10d49d5..ac7c4d9 100644 --- a/deployment-config/ssETH-L2.json +++ b/deployment-config/ssETH-L2.json @@ -28,7 +28,9 @@ "peerEid": 30101, "tellerContractName": "MultiChainLayerZeroTellerWithMultiAssetSupport", "opMessenger": "0x0000000000000000000000000000000000000000", - "assets": [], + "assets": [ + "0x9fAaEA2CDd810b21594E54309DC847842Ae301Ce" + ], "dvnIfNoDefault": { "required": [ "0x6788f52439aca6bff597d3eec2dc9a44b8fee842" diff --git a/script/deploy/DeployAtomicQueue.s.sol b/script/deploy/DeployAtomicQueue.s.sol new file mode 100644 index 0000000..29aba4d --- /dev/null +++ b/script/deploy/DeployAtomicQueue.s.sol @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: Apache-2.0 +pragma solidity 0.8.21; + +import { AtomicQueue } from "./../../src/atomic-queue/AtomicQueue.sol"; +import { BaseScript } from "../Base.s.sol"; +import { stdJson as StdJson } from "@forge-std/StdJson.sol"; + +using StdJson for string; + +bytes32 constant SALT = 0x5bac910c72debe007de61c000000000000000000000000000000000000000000; + +contract DeployAtomicQueue is BaseScript { + function run() public broadcast returns (AtomicQueue atomicQueue) { + bytes memory creationCode = type(AtomicQueue).creationCode; + + atomicQueue = AtomicQueue(CREATEX.deployCreate3(SALT, creationCode)); + } +}