mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-04-11 21:47:52 +03:00
Add liquidity / remove liquidity / balancee guard improvements
This commit is contained in:
@@ -4,6 +4,7 @@ import { OrionBlockchain } from '../services/OrionBlockchain';
|
||||
import { PriceFeed } from '../services/PriceFeed';
|
||||
import { SupportedChainId } from '../types';
|
||||
import Exchange from './Exchange';
|
||||
import FarmingManager from './FarmingManager';
|
||||
|
||||
export default class OrionUnit {
|
||||
public readonly env: string;
|
||||
@@ -20,6 +21,8 @@ export default class OrionUnit {
|
||||
|
||||
public readonly exchange: Exchange;
|
||||
|
||||
public readonly farmingManager: FarmingManager;
|
||||
|
||||
public readonly apiUrl: string;
|
||||
|
||||
constructor(
|
||||
@@ -37,5 +40,6 @@ export default class OrionUnit {
|
||||
this.orionAggregator = new OrionAggregator(apiUrl, chainId);
|
||||
this.priceFeed = new PriceFeed(apiUrl);
|
||||
this.exchange = new Exchange(this);
|
||||
this.farmingManager = new FarmingManager(this);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user