From ea3c9682f9f07473093800ae1beac8af0028a4ee Mon Sep 17 00:00:00 2001 From: erhant Date: Wed, 18 Dec 2024 17:43:20 +0300 Subject: [PATCH] update swan --- deployment/84532.json | 22 ++++++++++------------ script/Deploy.s.sol | 22 ---------------------- 2 files changed, 10 insertions(+), 34 deletions(-) diff --git a/deployment/84532.json b/deployment/84532.json index 656339a..66a943e 100644 --- a/deployment/84532.json +++ b/deployment/84532.json @@ -1,22 +1,20 @@ { "LLMOracleRegistry": { - "proxyAddr": "0xbb2180ebd78ce97360503434ed37fcf4a1df61c3", - "implAddr": "0xa8452ec99ce0c64f20701db7dd3abdb607c00496" + "proxyAddr": "0x408d245A853137e44A2465D5C66061f97582eae9", + "implAddr": "0x17b183f44eF3062eED2EdeE4578f3ce749F32e5E" }, "LLMOracleCoordinator": { - "proxyAddr": "0x50eef481cae4250d252ae577a09bf514f224c6c4", - "implAddr": "0xdb8cff278adccf9e9b5da745b44e754fc4ee3c76" + "proxyAddr": "0x13F977BdE221B470D3ae055cde7E1F84DEBFe202", + "implAddr": "0x71dEE43753227298727d78225977925012873B45" }, "Swan": { - "proxyAddr": "0xdeb1e9a6be7baf84208bb6e10ac9f9bbe1d70809", - "implAddr": "0x62c20aa1e0272312bc100b4e23b4dc1ed96dd7d1" + "proxyAddr": "0x98871ebf85184d80caba6ec681d04765efc24ae4", + "implAddr": "0x2fa2446dc2dcc805e1cf7d433413ca96c130ee42" }, - "BuyerAgentFactory": "0xc48af3ef03d91af34b891688ade004ad36c8c39a", - "SwanAssetFactory": "0xebb2c54b2a20e0e25b2fb168c8a657e1c966911f", - "AIAgentFactory": { - "addr": "0x34a1d3fff3958843c43ad80f30b94c510645c316" + "SwanAgentFactory": { + "addr": "0x0baac4a81d52da48c0987854bc68cf8ba5a63050" }, - "ArtifactFactory": { - "addr": "0x90193c961a926261b756d1e5bb255e67ff9498a1" + "SwanArtifactFactory": { + "addr": "0x49347ff2c7b5031d79af7ef7106afb9662ff2d12" } } \ No newline at end of file diff --git a/script/Deploy.s.sol b/script/Deploy.s.sol index 5d9c48d..90ff36b 100644 --- a/script/Deploy.s.sol +++ b/script/Deploy.s.sol @@ -7,32 +7,10 @@ import {Script} from "forge-std/Script.sol"; import {Vm} from "forge-std/Vm.sol"; import {HelperConfig} from "./HelperConfig.s.sol"; -import {LLMOracleRegistry} from "@firstbatch/dria-oracle-contracts/LLMOracleRegistry.sol"; -import { - LLMOracleCoordinator, LLMOracleTaskParameters -} from "@firstbatch/dria-oracle-contracts/LLMOracleCoordinator.sol"; import {SwanAgentFactory} from "../src/SwanAgent.sol"; import {SwanArtifactFactory} from "../src/SwanArtifact.sol"; import {Swan, SwanMarketParameters} from "../src/Swan.sol"; -contract DeployLLMOracleRegistry is Script { - HelperConfig public config; - - function run() external returns (address proxy, address impl) { - config = new HelperConfig(); - (proxy, impl) = config.deployLLMOracleRegistry(); - } -} - -contract DeployLLMOracleCoordinator is Script { - HelperConfig public config; - - function run() external returns (address proxy, address impl) { - config = new HelperConfig(); - (proxy, impl) = config.deployLLMOracleCoordinator(); - } -} - contract DeploySwanAgentFactory is Script { HelperConfig public config;