@defisaver/sdk 1.0.16 → 1.0.18
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.
- package/esm/src/actions/bprotocol/BprotocolLiquitySPDepositAction.d.ts +20 -0
- package/esm/src/actions/bprotocol/BprotocolLiquitySPDepositAction.js +39 -0
- package/esm/src/actions/bprotocol/BprotocolLiquitySPWithdrawAction.d.ts +17 -0
- package/esm/src/actions/bprotocol/BprotocolLiquitySPWithdrawAction.js +24 -0
- package/esm/src/actions/bprotocol/index.d.ts +2 -0
- package/esm/src/actions/bprotocol/index.js +2 -0
- package/esm/src/actions/checkers/LiquityRatioCheckAction.d.ts +14 -0
- package/esm/src/actions/checkers/LiquityRatioCheckAction.js +20 -0
- package/esm/src/actions/checkers/index.d.ts +1 -0
- package/esm/src/actions/checkers/index.js +1 -0
- package/esm/src/actions/index.d.ts +2 -1
- package/esm/src/actions/index.js +2 -1
- package/esm/src/actions/liquity/LiquityAdjustAction.js +2 -1
- package/esm/src/actions/maker/MakerDsrDepositAction.d.ts +18 -0
- package/esm/src/actions/maker/MakerDsrDepositAction.js +31 -0
- package/esm/src/actions/maker/MakerDsrWithdrawAction.d.ts +15 -0
- package/esm/src/actions/maker/MakerDsrWithdrawAction.js +30 -0
- package/esm/src/actions/maker/index.d.ts +2 -0
- package/esm/src/actions/maker/index.js +2 -0
- package/esm/src/addresses.d.ts +18 -0
- package/esm/src/addresses.js +7 -0
- package/esm/src/index.d.ts +72 -0
- package/package-lock.json +21474 -0
- package/package.json +1 -1
- package/src/actions/bprotocol/BprotocolLiquitySPDepositAction.ts +32 -0
- package/src/actions/bprotocol/BprotocolLiquitySPWithdrawAction.ts +27 -0
- package/src/actions/bprotocol/index.ts +2 -0
- package/src/actions/checkers/LiquityRatioCheckAction.ts +23 -0
- package/src/actions/checkers/index.ts +1 -0
- package/src/actions/index.ts +2 -0
- package/src/actions/liquity/LiquityAdjustAction.ts +2 -1
- package/src/actions/maker/MakerDsrDepositAction.ts +23 -0
- package/src/actions/maker/MakerDsrWithdrawAction.ts +22 -0
- package/src/actions/maker/index.ts +2 -0
- package/src/addresses.ts +8 -0
- package/umd/index.js +609 -395
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Action } from '../../Action';
|
|
2
|
+
import { EthAddress, uint256 } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* BprotocolLiquitySPDeposit - Action that deposits LUSD into Bprotocol
|
|
5
|
+
* @dev LQTY rewards accrue over time and are paid out each time the user interacts with the protocol
|
|
6
|
+
* @dev Deposit amount must be greater than zero, for LQTY only claim use BprotocolLiquitySPWithdraw
|
|
7
|
+
* @category Bprotocol
|
|
8
|
+
*/
|
|
9
|
+
export declare class BprotocolLiquitySPDepositAction extends Action {
|
|
10
|
+
/**
|
|
11
|
+
* @param lusdAmount Amount of LUSD to deposit into Bprotocol
|
|
12
|
+
* @param from Address from where the LUSD is being pulled
|
|
13
|
+
* @param lqtyTo Address that will recieve LQTY rewards
|
|
14
|
+
*/
|
|
15
|
+
constructor(lusdAmount: uint256, from: EthAddress, lqtyTo: EthAddress);
|
|
16
|
+
getAssetsToApprove(): Promise<{
|
|
17
|
+
asset: string;
|
|
18
|
+
owner: any;
|
|
19
|
+
}[]>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
import { getAssetInfo } from '@defisaver/tokens';
|
|
11
|
+
import { Action } from '../../Action';
|
|
12
|
+
import { getAddr } from '../../addresses';
|
|
13
|
+
/**
|
|
14
|
+
* BprotocolLiquitySPDeposit - Action that deposits LUSD into Bprotocol
|
|
15
|
+
* @dev LQTY rewards accrue over time and are paid out each time the user interacts with the protocol
|
|
16
|
+
* @dev Deposit amount must be greater than zero, for LQTY only claim use BprotocolLiquitySPWithdraw
|
|
17
|
+
* @category Bprotocol
|
|
18
|
+
*/
|
|
19
|
+
export class BprotocolLiquitySPDepositAction extends Action {
|
|
20
|
+
/**
|
|
21
|
+
* @param lusdAmount Amount of LUSD to deposit into Bprotocol
|
|
22
|
+
* @param from Address from where the LUSD is being pulled
|
|
23
|
+
* @param lqtyTo Address that will recieve LQTY rewards
|
|
24
|
+
*/
|
|
25
|
+
constructor(lusdAmount, from, lqtyTo) {
|
|
26
|
+
super('BprotocolLiquitySPDeposit', getAddr('BprotocolLiquitySPDeposit'), ['uint256', 'address', 'address'], [lusdAmount, from, lqtyTo]);
|
|
27
|
+
this.mappableArgs = [
|
|
28
|
+
this.args[0],
|
|
29
|
+
this.args[1],
|
|
30
|
+
this.args[2],
|
|
31
|
+
];
|
|
32
|
+
}
|
|
33
|
+
getAssetsToApprove() {
|
|
34
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
35
|
+
const asset = getAssetInfo('LUSD').address;
|
|
36
|
+
return [{ asset, owner: this.args[1] }];
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Action } from '../../Action';
|
|
2
|
+
import { EthAddress, uint256 } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* BprotocolLiquitySPWithdraw - Action that withdraws LUSD from Bprotocol
|
|
5
|
+
* @dev LQTY rewards accrue over time and are paid out each time the user interacts with the protocol
|
|
6
|
+
* @dev Idealy the WETH returned amount will be zero (shares paid out in LUSD in full) but depends on the protocol usage
|
|
7
|
+
* @dev Withdraw amount can be set to zero, only LQTY reward will be claimed
|
|
8
|
+
* @category Bprotocol
|
|
9
|
+
*/
|
|
10
|
+
export declare class BprotocolLiquitySPWithdrawAction extends Action {
|
|
11
|
+
/**
|
|
12
|
+
* @param shareAmount Amount of shares to burn
|
|
13
|
+
* @param to Address that will recieve the LUSD and WETH withdrawn
|
|
14
|
+
* @param lqtyTo Address that will recieve LQTY rewards
|
|
15
|
+
*/
|
|
16
|
+
constructor(shareAmount: uint256, to: EthAddress, lqtyTo: EthAddress);
|
|
17
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Action } from '../../Action';
|
|
2
|
+
import { getAddr } from '../../addresses';
|
|
3
|
+
/**
|
|
4
|
+
* BprotocolLiquitySPWithdraw - Action that withdraws LUSD from Bprotocol
|
|
5
|
+
* @dev LQTY rewards accrue over time and are paid out each time the user interacts with the protocol
|
|
6
|
+
* @dev Idealy the WETH returned amount will be zero (shares paid out in LUSD in full) but depends on the protocol usage
|
|
7
|
+
* @dev Withdraw amount can be set to zero, only LQTY reward will be claimed
|
|
8
|
+
* @category Bprotocol
|
|
9
|
+
*/
|
|
10
|
+
export class BprotocolLiquitySPWithdrawAction extends Action {
|
|
11
|
+
/**
|
|
12
|
+
* @param shareAmount Amount of shares to burn
|
|
13
|
+
* @param to Address that will recieve the LUSD and WETH withdrawn
|
|
14
|
+
* @param lqtyTo Address that will recieve LQTY rewards
|
|
15
|
+
*/
|
|
16
|
+
constructor(shareAmount, to, lqtyTo) {
|
|
17
|
+
super('BprotocolLiquitySPWithdraw', getAddr('BprotocolLiquitySPWithdraw'), ['uint256', 'address', 'address'], [shareAmount, to, lqtyTo]);
|
|
18
|
+
this.mappableArgs = [
|
|
19
|
+
this.args[0],
|
|
20
|
+
this.args[1],
|
|
21
|
+
this.args[2],
|
|
22
|
+
];
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Action } from '../../Action';
|
|
2
|
+
import { uint8, uint256 } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* LiquityRatioCheckAction - Checks liquity ratio for user position and reverts if faulty
|
|
5
|
+
*
|
|
6
|
+
* @category Checkers
|
|
7
|
+
*/
|
|
8
|
+
export declare class LiquityRatioCheckAction extends Action {
|
|
9
|
+
/**
|
|
10
|
+
* @param ratioState If it should lower/higher
|
|
11
|
+
* @param targetRatio The ratio user want to be at
|
|
12
|
+
*/
|
|
13
|
+
constructor(ratioState: uint8, targetRatio: uint256);
|
|
14
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Action } from '../../Action';
|
|
2
|
+
import { getAddr } from '../../addresses';
|
|
3
|
+
/**
|
|
4
|
+
* LiquityRatioCheckAction - Checks liquity ratio for user position and reverts if faulty
|
|
5
|
+
*
|
|
6
|
+
* @category Checkers
|
|
7
|
+
*/
|
|
8
|
+
export class LiquityRatioCheckAction extends Action {
|
|
9
|
+
/**
|
|
10
|
+
* @param ratioState If it should lower/higher
|
|
11
|
+
* @param targetRatio The ratio user want to be at
|
|
12
|
+
*/
|
|
13
|
+
constructor(ratioState, targetRatio) {
|
|
14
|
+
super('LiquityRatioCheck', getAddr('LiquityRatioCheck'), ['uint8', 'uint256'], [ratioState, targetRatio]);
|
|
15
|
+
this.mappableArgs = [
|
|
16
|
+
this.args[0],
|
|
17
|
+
this.args[1],
|
|
18
|
+
];
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -22,4 +22,5 @@ import * as convex from './convex';
|
|
|
22
22
|
import * as chickenBonds from './chickenBonds';
|
|
23
23
|
import * as compoundV3 from './compoundV3';
|
|
24
24
|
import * as morpho from './morpho';
|
|
25
|
-
|
|
25
|
+
import * as bprotocol from './bprotocol';
|
|
26
|
+
export { aave, maker, compound, basic, flashloan, uniswap, reflexer, dydx, uniswapV3, checkers, liquity, yearn, lido, insta, balancer, curve, guni, mstable, rari, aaveV3, convex, chickenBonds, compoundV3, morpho, bprotocol, };
|
package/esm/src/actions/index.js
CHANGED
|
@@ -22,4 +22,5 @@ import * as convex from './convex';
|
|
|
22
22
|
import * as chickenBonds from './chickenBonds';
|
|
23
23
|
import * as compoundV3 from './compoundV3';
|
|
24
24
|
import * as morpho from './morpho';
|
|
25
|
-
|
|
25
|
+
import * as bprotocol from './bprotocol';
|
|
26
|
+
export { aave, maker, compound, basic, flashloan, uniswap, reflexer, dydx, uniswapV3, checkers, liquity, yearn, lido, insta, balancer, curve, guni, mstable, rari, aaveV3, convex, chickenBonds, compoundV3, morpho, bprotocol, };
|
|
@@ -23,9 +23,10 @@ export class LiquityAdjustAction extends Action {
|
|
|
23
23
|
requireAddress(to);
|
|
24
24
|
super('LiquityAdjust', getAddr('LiquityAdjust'), ['uint256', 'uint256', 'uint256', 'uint8', 'uint8', 'address', 'address', 'address', 'address'], [maxFeePercentage, collAmount, lusdAmount, collChange, debtChange, from, to, upperHint, lowerHint]);
|
|
25
25
|
this.mappableArgs = [
|
|
26
|
-
this.args[0],
|
|
27
26
|
this.args[1],
|
|
28
27
|
this.args[2],
|
|
28
|
+
this.args[3],
|
|
29
|
+
this.args[4],
|
|
29
30
|
this.args[5],
|
|
30
31
|
this.args[6],
|
|
31
32
|
];
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Action } from '../../Action';
|
|
2
|
+
import { uint256, EthAddress } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* MakerDsrDepositAction - Supply DAI to Maker DSR
|
|
5
|
+
*
|
|
6
|
+
* @category Maker
|
|
7
|
+
*/
|
|
8
|
+
export declare class MakerDsrDepositAction extends Action {
|
|
9
|
+
/**
|
|
10
|
+
* @param amount Amount of DAI to deposit
|
|
11
|
+
* @param from Tokens will be supplied from this address
|
|
12
|
+
*/
|
|
13
|
+
constructor(amount: uint256, from: EthAddress);
|
|
14
|
+
getAssetsToApprove(): Promise<{
|
|
15
|
+
asset: string;
|
|
16
|
+
owner: any;
|
|
17
|
+
}[]>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
import { getAssetInfo } from '@defisaver/tokens';
|
|
11
|
+
import { Action } from '../../Action';
|
|
12
|
+
import { getAddr } from '../../addresses';
|
|
13
|
+
/**
|
|
14
|
+
* MakerDsrDepositAction - Supply DAI to Maker DSR
|
|
15
|
+
*
|
|
16
|
+
* @category Maker
|
|
17
|
+
*/
|
|
18
|
+
export class MakerDsrDepositAction extends Action {
|
|
19
|
+
/**
|
|
20
|
+
* @param amount Amount of DAI to deposit
|
|
21
|
+
* @param from Tokens will be supplied from this address
|
|
22
|
+
*/
|
|
23
|
+
constructor(amount, from) {
|
|
24
|
+
super('McdDsrDeposit', getAddr('McdDsrDeposit'), ['uint256', 'address'], [amount, from]);
|
|
25
|
+
}
|
|
26
|
+
getAssetsToApprove() {
|
|
27
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
28
|
+
return [{ asset: getAssetInfo('DAI').address, owner: this.args[1] }];
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Action } from '../../Action';
|
|
2
|
+
import { uint256, EthAddress } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* MakerDsrWithdrawAction - Withdraw DAI from Maker DSR
|
|
5
|
+
*
|
|
6
|
+
* @category Maker
|
|
7
|
+
*/
|
|
8
|
+
export declare class MakerDsrWithdrawAction extends Action {
|
|
9
|
+
/**
|
|
10
|
+
* @param amount Amount of DAI to withdraw
|
|
11
|
+
* @param to Tokens will be withdrawn to this address
|
|
12
|
+
*/
|
|
13
|
+
constructor(amount: uint256, to: EthAddress);
|
|
14
|
+
getAssetsToApprove(): Promise<never[]>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
import { Action } from '../../Action';
|
|
11
|
+
import { getAddr } from '../../addresses';
|
|
12
|
+
/**
|
|
13
|
+
* MakerDsrWithdrawAction - Withdraw DAI from Maker DSR
|
|
14
|
+
*
|
|
15
|
+
* @category Maker
|
|
16
|
+
*/
|
|
17
|
+
export class MakerDsrWithdrawAction extends Action {
|
|
18
|
+
/**
|
|
19
|
+
* @param amount Amount of DAI to withdraw
|
|
20
|
+
* @param to Tokens will be withdrawn to this address
|
|
21
|
+
*/
|
|
22
|
+
constructor(amount, to) {
|
|
23
|
+
super('McdDsrWithdraw', getAddr('McdDsrWithdraw'), ['uint256', 'address'], [amount, to]);
|
|
24
|
+
}
|
|
25
|
+
getAssetsToApprove() {
|
|
26
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
27
|
+
return [];
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
}
|
package/esm/src/addresses.d.ts
CHANGED
|
@@ -24,6 +24,8 @@ export declare const actionAddresses: {
|
|
|
24
24
|
McdSupply: string;
|
|
25
25
|
McdWithdraw: string;
|
|
26
26
|
McdClaim: string;
|
|
27
|
+
McdDsrDeposit: string;
|
|
28
|
+
McdDsrWithdraw: string;
|
|
27
29
|
ReflexerSupply: string;
|
|
28
30
|
ReflexerWithdraw: string;
|
|
29
31
|
ReflexerPayback: string;
|
|
@@ -89,6 +91,9 @@ export declare const actionAddresses: {
|
|
|
89
91
|
LiquityEthGainToTrove: string;
|
|
90
92
|
LiquityClaim: string;
|
|
91
93
|
LiquityRedeem: string;
|
|
94
|
+
LiquityAdjust: string;
|
|
95
|
+
BprotocolLiquitySPDeposit: string;
|
|
96
|
+
BprotocolLiquitySPWithdraw: string;
|
|
92
97
|
LidoStake: string;
|
|
93
98
|
LidoWrap: string;
|
|
94
99
|
LidoUnwrap: string;
|
|
@@ -115,6 +120,7 @@ export declare const actionAddresses: {
|
|
|
115
120
|
TrailingStopTrigger: string;
|
|
116
121
|
CBRebondTrigger: string;
|
|
117
122
|
CBUpdateRebondSub: string;
|
|
123
|
+
LiquityRatioCheck: string;
|
|
118
124
|
ConvexDeposit: string;
|
|
119
125
|
ConvexWithdraw: string;
|
|
120
126
|
ConvexClaim: string;
|
|
@@ -179,6 +185,8 @@ export declare const actionAddresses: {
|
|
|
179
185
|
McdSupply?: undefined;
|
|
180
186
|
McdWithdraw?: undefined;
|
|
181
187
|
McdClaim?: undefined;
|
|
188
|
+
McdDsrDeposit?: undefined;
|
|
189
|
+
McdDsrWithdraw?: undefined;
|
|
182
190
|
ReflexerSupply?: undefined;
|
|
183
191
|
ReflexerWithdraw?: undefined;
|
|
184
192
|
ReflexerPayback?: undefined;
|
|
@@ -226,6 +234,9 @@ export declare const actionAddresses: {
|
|
|
226
234
|
LiquityEthGainToTrove?: undefined;
|
|
227
235
|
LiquityClaim?: undefined;
|
|
228
236
|
LiquityRedeem?: undefined;
|
|
237
|
+
LiquityAdjust?: undefined;
|
|
238
|
+
BprotocolLiquitySPDeposit?: undefined;
|
|
239
|
+
BprotocolLiquitySPWithdraw?: undefined;
|
|
229
240
|
LidoStake?: undefined;
|
|
230
241
|
LidoWrap?: undefined;
|
|
231
242
|
LidoUnwrap?: undefined;
|
|
@@ -252,6 +263,7 @@ export declare const actionAddresses: {
|
|
|
252
263
|
TrailingStopTrigger?: undefined;
|
|
253
264
|
CBRebondTrigger?: undefined;
|
|
254
265
|
CBUpdateRebondSub?: undefined;
|
|
266
|
+
LiquityRatioCheck?: undefined;
|
|
255
267
|
ConvexDeposit?: undefined;
|
|
256
268
|
ConvexWithdraw?: undefined;
|
|
257
269
|
ConvexClaim?: undefined;
|
|
@@ -311,6 +323,8 @@ export declare const actionAddresses: {
|
|
|
311
323
|
McdSupply?: undefined;
|
|
312
324
|
McdWithdraw?: undefined;
|
|
313
325
|
McdClaim?: undefined;
|
|
326
|
+
McdDsrDeposit?: undefined;
|
|
327
|
+
McdDsrWithdraw?: undefined;
|
|
314
328
|
ReflexerSupply?: undefined;
|
|
315
329
|
ReflexerWithdraw?: undefined;
|
|
316
330
|
ReflexerPayback?: undefined;
|
|
@@ -359,6 +373,9 @@ export declare const actionAddresses: {
|
|
|
359
373
|
LiquityEthGainToTrove?: undefined;
|
|
360
374
|
LiquityClaim?: undefined;
|
|
361
375
|
LiquityRedeem?: undefined;
|
|
376
|
+
LiquityAdjust?: undefined;
|
|
377
|
+
BprotocolLiquitySPDeposit?: undefined;
|
|
378
|
+
BprotocolLiquitySPWithdraw?: undefined;
|
|
362
379
|
LidoStake?: undefined;
|
|
363
380
|
LidoWrap?: undefined;
|
|
364
381
|
LidoUnwrap?: undefined;
|
|
@@ -385,6 +402,7 @@ export declare const actionAddresses: {
|
|
|
385
402
|
TrailingStopTrigger?: undefined;
|
|
386
403
|
CBRebondTrigger?: undefined;
|
|
387
404
|
CBUpdateRebondSub?: undefined;
|
|
405
|
+
LiquityRatioCheck?: undefined;
|
|
388
406
|
ConvexDeposit?: undefined;
|
|
389
407
|
ConvexWithdraw?: undefined;
|
|
390
408
|
ConvexClaim?: undefined;
|
package/esm/src/addresses.js
CHANGED
|
@@ -27,6 +27,8 @@ export const actionAddresses = {
|
|
|
27
27
|
McdSupply: '0x84372e73e1A2E95510869D2D81A3ef1AEC9e0Da8',
|
|
28
28
|
McdWithdraw: '0xa704FBBe2f7ea8eF45a8280f6Bf96939eBC73252',
|
|
29
29
|
McdClaim: '0xc0FC0f5Ba156E16217F8C7f400AEc0a658419C13',
|
|
30
|
+
McdDsrDeposit: '0x64bde7F73e05c6a28b701D7f569f0c0Ae4f6aD33',
|
|
31
|
+
McdDsrWithdraw: '0x96190d1f1c040fd8449250b90778Aa360f2e0Ec1',
|
|
30
32
|
// reflexer
|
|
31
33
|
ReflexerSupply: '0xd7a36CD4ce7CCc2F1376Dc5C48BaC84380A4f698',
|
|
32
34
|
ReflexerWithdraw: '0xD8a14d447AB6789F3bf1Eb763b6306db3FC3d666',
|
|
@@ -104,6 +106,10 @@ export const actionAddresses = {
|
|
|
104
106
|
LiquityEthGainToTrove: '0x65e19f967B3F3cB6466110aD238039F5423E3177',
|
|
105
107
|
LiquityClaim: '0x526735aDcBe5c9059275c5ED2E0574b4a24b875e',
|
|
106
108
|
LiquityRedeem: '0x20B78854658011394C931EF2BF3cEEA2Fe62E7f0',
|
|
109
|
+
LiquityAdjust: '0x0A398f6B97677192A5d5e7Ea8A937383FFf9304c',
|
|
110
|
+
// b.protocol
|
|
111
|
+
BprotocolLiquitySPDeposit: '0x5A0436c7559e37da8cD24B0f66C155a0a2fd6309',
|
|
112
|
+
BprotocolLiquitySPWithdraw: '0x20Ece7CB4463bB1DbA4C4fA800E321A05dfB028B',
|
|
107
113
|
// lido
|
|
108
114
|
LidoStake: '0x4a7dd38D2BcA817fb68165155F869ca4179d8060',
|
|
109
115
|
LidoWrap: '0xE637544390db79EdDE0a9CAF352ED0FfF7451bDB',
|
|
@@ -137,6 +143,7 @@ export const actionAddresses = {
|
|
|
137
143
|
TrailingStopTrigger: '0x0000000000000000000000000000000000000000',
|
|
138
144
|
CBRebondTrigger: '0x6Bb48580977e2aBfD6c70B522204EFbe828a9428',
|
|
139
145
|
CBUpdateRebondSub: '0x2709Fd59a27F35997dFf618E3C68ABA1c9e91465',
|
|
146
|
+
LiquityRatioCheck: '0x4AE38243936FAcb0f42993D676b7df1Bb31082d9',
|
|
140
147
|
// Convex
|
|
141
148
|
ConvexDeposit: '0x3Ecc4F1FD5aA09D2E13Ec9ebFdF102063d66F458',
|
|
142
149
|
ConvexWithdraw: '0x2B2c235F9e27A121947c34A39d447bD4C585aA15',
|