This repository was archived by the owner on Jan 18, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " setprotocol.js" ,
3
- "version" : " 1.2.8-rc8 " ,
3
+ "version" : " 1.2.8-rc9 " ,
4
4
"description" : " A javascript library for interacting with the Set protocol" ,
5
5
"keywords" : [
6
6
" setProtocol.js" ,
Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ export class RebalancingManagerAPI {
166
166
macoManager : Address ,
167
167
txOpts : Tx
168
168
) : Promise < string > {
169
- if ( managerType == ManagerType . PAIR ) {
169
+ if ( managerType == ManagerType . PAIR || managerType == ManagerType . PAIRV2 ) {
170
170
await this . assertAssetPairInitialPropose ( macoManager ) ;
171
171
} else {
172
172
await this . assertInitialPropose ( managerType , macoManager ) ;
@@ -182,7 +182,7 @@ export class RebalancingManagerAPI {
182
182
macoManager : Address ,
183
183
txOpts : Tx
184
184
) : Promise < string > {
185
- if ( managerType == ManagerType . PAIR ) {
185
+ if ( managerType == ManagerType . PAIR || managerType == ManagerType . PAIRV2 ) {
186
186
await this . assertAssetPairConfirmPropose ( macoManager ) ;
187
187
} else {
188
188
await this . assertConfirmPropose ( managerType , macoManager ) ;
@@ -347,7 +347,7 @@ export class RebalancingManagerAPI {
347
347
) : Promise < BigNumber > {
348
348
this . assert . schema . isValidAddress ( 'manager' , manager ) ;
349
349
350
- if ( managerType == ManagerType . PAIR ) {
350
+ if ( managerType == ManagerType . PAIR || managerType == ManagerType . PAIRV2 ) {
351
351
return await this . assetPairManager . recentInitialProposeTimestamp ( manager ) ;
352
352
}
353
353
Original file line number Diff line number Diff line change @@ -84,6 +84,7 @@ export const ManagerType = {
84
84
MACO : new BigNumber ( 3 ) ,
85
85
MACOV2 : new BigNumber ( 4 ) ,
86
86
PAIR : new BigNumber ( 5 ) ,
87
+ PAIRV2 : new BigNumber ( 7 ) ,
87
88
} ;
88
89
89
90
export interface SetUnits {
You can’t perform that action at this time.
0 commit comments