mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-04-13 22:47:33 +03:00
OrionUnit siblings introduced
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { ethers } from 'ethers';
|
||||
import getOrionUnitSiblings from '../getOrionUnitSiblings';
|
||||
import { OrionAggregator } from '../services/OrionAggregator';
|
||||
import OrionAnalytics from '../services/OrionAnalytics';
|
||||
import { OrionBlockchain } from '../services/OrionBlockchain';
|
||||
@@ -47,4 +48,8 @@ export default class OrionUnit {
|
||||
this.exchange = new Exchange(this);
|
||||
this.farmingManager = new FarmingManager(this);
|
||||
}
|
||||
|
||||
get siblings() {
|
||||
return getOrionUnitSiblings(this.chainId, this.env);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user