From 6fd64660c0603a5c04e3e253beb4d1684aa68bb3 Mon Sep 17 00:00:00 2001 From: Maxence Raballand <dev@maxencerb.com> Date: Tue, 27 Feb 2024 22:13:55 +0100 Subject: [PATCH 1/3] add OrbitLogicAddress --- src/assets/strats/v2.1.0-1/OrbitLogic.json | 113 +++++++++++++++++++++ 1 file changed, 113 insertions(+) create mode 100644 src/assets/strats/v2.1.0-1/OrbitLogic.json diff --git a/src/assets/strats/v2.1.0-1/OrbitLogic.json b/src/assets/strats/v2.1.0-1/OrbitLogic.json new file mode 100644 index 0000000..4ab55d5 --- /dev/null +++ b/src/assets/strats/v2.1.0-1/OrbitLogic.json @@ -0,0 +1,113 @@ +{ + "$schema": "../../../../contract.schema.json", + "released": false, + "contractName": "OrbitLogic", + "deploymentName": "OrbitLogic", + "version": "2.1.0-1", + "networkAddresses": { + "168587773": { + "primaryAddress": "0x9F7265122F280C7a15b433177096c9371BA0d583", + "allAddresses": [ + { + "address": "0x9F7265122F280C7a15b433177096c9371BA0d583" + } + ] + } + }, + "abi": [ + { + "type": "constructor", + "inputs": [ + { + "name": "_spaceStation", + "type": "address", + "internalType": "contract OrbitSpaceStation" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "balanceLogic", + "inputs": [ + { + "name": "token", + "type": "address", + "internalType": "contract IERC20" + }, + { "name": "fundOwner", "type": "address", "internalType": "address" } + ], + "outputs": [ + { "name": "balance", "type": "uint256", "internalType": "uint256" } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "orbitStorage", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract OrbitLogicStorage" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "overlying", + "inputs": [ + { + "name": "token", + "type": "address", + "internalType": "contract IERC20" + } + ], + "outputs": [ + { + "name": "_overlying", + "type": "address", + "internalType": "contract OErc20" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "pullLogic", + "inputs": [ + { + "name": "token", + "type": "address", + "internalType": "contract IERC20" + }, + { "name": "fundOwner", "type": "address", "internalType": "address" }, + { "name": "amount", "type": "uint256", "internalType": "uint256" }, + { "name": "", "type": "bool", "internalType": "bool" } + ], + "outputs": [ + { "name": "pulled", "type": "uint256", "internalType": "uint256" } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "pushLogic", + "inputs": [ + { + "name": "token", + "type": "address", + "internalType": "contract IERC20" + }, + { "name": "fundOwner", "type": "address", "internalType": "address" }, + { "name": "amount", "type": "uint256", "internalType": "uint256" } + ], + "outputs": [ + { "name": "pushed", "type": "uint256", "internalType": "uint256" } + ], + "stateMutability": "nonpayable" + } + ] +} From 87045e28e04cb564a91f6fd184fc67bf94538b55 Mon Sep 17 00:00:00 2001 From: Maxence Raballand <dev@maxencerb.com> Date: Tue, 27 Feb 2024 22:16:17 +0100 Subject: [PATCH 2/3] add rest --- CHANGELOG.md | 2 ++ src/strats.ts | 14 ++++++++++++++ 2 files changed, 16 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5393fe2..7a54584 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # Next version +- Add Orbit Address + # 2.1.3 - Consolidated CHANGELOG diff --git a/src/strats.ts b/src/strats.ts index 158535f..9157394 100644 --- a/src/strats.ts +++ b/src/strats.ts @@ -30,6 +30,8 @@ import BlastMangroveAmplifier_v2_1_0_0 from "./assets/strats/v2.1.0-0/BlastMangr import BlastMangroveOrderRouter_v2_1_0_0 from "./assets/strats/v2.1.0-0/BlastMangroveOrder-Router.json"; import BlastMangroveOrder_v2_1_0_0 from "./assets/strats/v2.1.0-0/BlastMangroveOrder.json"; import BlastRouterProxyFactory_v2_1_0_0 from "./assets/strats/v2.1.0-0/BlastRouterProxyFactory.json"; +// v2.1.0-1 +import OrbitLogic_v2_1_0_1 from "./assets/strats/v2.1.0-1/OrbitLogic.json"; import { getLatestMangrovePerNetwork } from "./core"; @@ -289,6 +291,18 @@ export const getLatestSimpleAaveLogicPerNetwork = ( return findLatestDeploymentPerNetwork(filter, _simpleAaveLogicDeployments); }; +////////////////////////// +// OrbitLogic +export const _orbitLogicDeployments: VersionDeployments[] = [ + OrbitLogic_v2_1_0_1, +]; + +export const getOrbitLogicVersionDeployments = ( + filter?: DeploymentFilter, +): VersionDeployments | undefined => { + return findDeployment(filter, _orbitLogicDeployments); +}; + ////////////////////////// // MangroveAmplifier From 5f544b5994f5ae17ccf2c488a17eae2d926f8329 Mon Sep 17 00:00:00 2001 From: Mangrove Automation Bot <134297173+mangrove-automation@users.noreply.github.com> Date: Wed, 28 Feb 2024 09:57:29 +0100 Subject: [PATCH 3/3] Merge publish/v2.1.4-0 to develop Published by GitHub user: maxencerb --- CHANGELOG.md | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a54584..dc1782f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # Next version +# 2.1.4-0 + - Add Orbit Address # 2.1.3 diff --git a/package.json b/package.json index f1fe124..09fe9bb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mangrovedao/mangrove-deployments", - "version": "2.1.3", + "version": "2.1.4-0", "description": "Collection of Mangrove deployments", "main": "dist/index.js", "repository": "https://github.com/mangrovedao/mangrove-deployments.git",