OrionUnit siblings introduced

This commit is contained in:
Aleksandr Kraiz
2022-05-12 10:55:46 +04:00
parent 5735374575
commit c9acc57d68
7 changed files with 34 additions and 11 deletions

View File

@@ -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);
}
}