Skip to content

Commit 3e70895

Browse files
authored
Merge pull request #272 from Gearbox-protocol/collaterals
fix: add collaterals field
2 parents f71bf48 + 91ff13a commit 3e70895

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/core/strategy.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ export interface StrategyConfigPayload {
5656
// pools in which additional quota should be bought for current token
5757
// pool - boolean
5858
additionalRewardQuotas?: PartialRecord<Address, Address[]>;
59+
/**
60+
* If address provided - it is considered that this collateral can be used across all listed cms
61+
* If object provided - it is considered that this collateral can be used only on the specified cm
62+
*/
63+
additionalCollaterals?: Array<Address | { token: Address; cm: Address }>;
5964
}
6065

6166
type VersionRange = [number, number];

0 commit comments

Comments
 (0)