@defisaver/sdk 1.3.15-unsub2-dev → 1.3.15-unsub3-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6,6 +6,7 @@ import { uint256 } from '../../types';
|
|
|
6
6
|
export declare class SummerfiUnsubAction extends Action {
|
|
7
7
|
/**
|
|
8
8
|
* @param cdpIds Array of CDP IDs to remove approval for
|
|
9
|
+
* @param triggerIds Array of Trigger IDs that correspond to CDP IDs
|
|
9
10
|
*/
|
|
10
|
-
constructor(cdpIds: uint256[]);
|
|
11
|
+
constructor(cdpIds: uint256[], triggerIds: uint256[]);
|
|
11
12
|
}
|
|
@@ -6,11 +6,13 @@ import { getAddr } from '../../addresses';
|
|
|
6
6
|
export class SummerfiUnsubAction extends Action {
|
|
7
7
|
/**
|
|
8
8
|
* @param cdpIds Array of CDP IDs to remove approval for
|
|
9
|
+
* @param triggerIds Array of Trigger IDs that correspond to CDP IDs
|
|
9
10
|
*/
|
|
10
|
-
constructor(cdpIds) {
|
|
11
|
-
super('SummerfiUnsub', getAddr('SummerfiUnsub'), ['uint256[]'], [cdpIds]);
|
|
11
|
+
constructor(cdpIds, triggerIds) {
|
|
12
|
+
super('SummerfiUnsub', getAddr('SummerfiUnsub'), ['uint256[]', 'uint256[]'], [cdpIds, triggerIds]);
|
|
12
13
|
this.mappableArgs = [
|
|
13
14
|
this.args[0],
|
|
15
|
+
this.args[1],
|
|
14
16
|
];
|
|
15
17
|
}
|
|
16
18
|
}
|
package/package.json
CHANGED
|
@@ -8,18 +8,21 @@ import { uint256 } from '../../types';
|
|
|
8
8
|
export class SummerfiUnsubAction extends Action {
|
|
9
9
|
/**
|
|
10
10
|
* @param cdpIds Array of CDP IDs to remove approval for
|
|
11
|
+
* @param triggerIds Array of Trigger IDs that correspond to CDP IDs
|
|
11
12
|
*/
|
|
12
13
|
constructor(
|
|
13
14
|
cdpIds: uint256[],
|
|
15
|
+
triggerIds: uint256[],
|
|
14
16
|
) {
|
|
15
17
|
super(
|
|
16
18
|
'SummerfiUnsub',
|
|
17
19
|
getAddr('SummerfiUnsub'),
|
|
18
|
-
['uint256[]'],
|
|
19
|
-
[cdpIds],
|
|
20
|
+
['uint256[]', 'uint256[]'],
|
|
21
|
+
[cdpIds, triggerIds],
|
|
20
22
|
);
|
|
21
23
|
this.mappableArgs = [
|
|
22
24
|
this.args[0],
|
|
25
|
+
this.args[1],
|
|
23
26
|
];
|
|
24
27
|
}
|
|
25
28
|
}
|
package/umd/index.js
CHANGED
|
@@ -13534,10 +13534,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13534
13534
|
class SummerfiUnsubAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
13535
13535
|
/**
|
|
13536
13536
|
* @param cdpIds Array of CDP IDs to remove approval for
|
|
13537
|
+
* @param triggerIds Array of Trigger IDs that correspond to CDP IDs
|
|
13537
13538
|
*/
|
|
13538
|
-
constructor(cdpIds) {
|
|
13539
|
-
super('SummerfiUnsub', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('SummerfiUnsub'), ['uint256[]'], [cdpIds]);
|
|
13540
|
-
this.mappableArgs = [this.args[0]];
|
|
13539
|
+
constructor(cdpIds, triggerIds) {
|
|
13540
|
+
super('SummerfiUnsub', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('SummerfiUnsub'), ['uint256[]', 'uint256[]'], [cdpIds, triggerIds]);
|
|
13541
|
+
this.mappableArgs = [this.args[0], this.args[1]];
|
|
13541
13542
|
}
|
|
13542
13543
|
}
|
|
13543
13544
|
|