-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: generic rate provider for seiyanETH on Sei Network to add seiya…
…nETH as a teller supported asset
- Loading branch information
Showing
9 changed files
with
139 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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)); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters