@gearbox-protocol/sdk 14.11.3 → 14.11.5

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.
Files changed (20) hide show
  1. package/dist/cjs/abi/compressors/subcompressors/withdrawal/mellowWithdrawalSubcompressor.js +45 -1
  2. package/dist/cjs/abi/compressors/subcompressors/withdrawal/midasWithdrawalSubcompressor.js +45 -1
  3. package/dist/cjs/abi/compressors/subcompressors/withdrawal/securitizeRedemptionSubcompressor.js +45 -1
  4. package/dist/cjs/abi/compressors/withdrawalCompressor.js +45 -1
  5. package/dist/cjs/permissionless/bindings/factory/rate-keeper-factory.js +35 -0
  6. package/dist/cjs/permissionless/bindings/market-configurator.js +11 -0
  7. package/dist/esm/abi/compressors/subcompressors/withdrawal/mellowWithdrawalSubcompressor.js +45 -1
  8. package/dist/esm/abi/compressors/subcompressors/withdrawal/midasWithdrawalSubcompressor.js +45 -1
  9. package/dist/esm/abi/compressors/subcompressors/withdrawal/securitizeRedemptionSubcompressor.js +45 -1
  10. package/dist/esm/abi/compressors/withdrawalCompressor.js +45 -1
  11. package/dist/esm/permissionless/bindings/factory/rate-keeper-factory.js +11 -0
  12. package/dist/esm/permissionless/bindings/market-configurator.js +11 -0
  13. package/dist/types/abi/compressors/subcompressors/withdrawal/mellowWithdrawalSubcompressor.d.ts +77 -0
  14. package/dist/types/abi/compressors/subcompressors/withdrawal/midasWithdrawalSubcompressor.d.ts +77 -0
  15. package/dist/types/abi/compressors/subcompressors/withdrawal/securitizeRedemptionSubcompressor.d.ts +77 -0
  16. package/dist/types/abi/compressors/withdrawalCompressor.d.ts +77 -0
  17. package/dist/types/permissionless/bindings/compressors/withdrawal-compressor.d.ts +77 -0
  18. package/dist/types/permissionless/bindings/factory/rate-keeper-factory.d.ts +179 -0
  19. package/dist/types/permissionless/bindings/market-configurator.d.ts +2 -0
  20. package/package.json +1 -1
@@ -71,7 +71,8 @@ const mellowWithdrawalSubcompressorAbi = [
71
71
  { name: "target", type: "address", internalType: "address" },
72
72
  { name: "callData", type: "bytes", internalType: "bytes" }
73
73
  ]
74
- }
74
+ },
75
+ { name: "extraData", type: "bytes", internalType: "bytes" }
75
76
  ]
76
77
  },
77
78
  {
@@ -132,6 +133,49 @@ const mellowWithdrawalSubcompressorAbi = [
132
133
  ],
133
134
  stateMutability: "view"
134
135
  },
136
+ {
137
+ type: "function",
138
+ name: "getWithdrawalRequestResult",
139
+ inputs: [
140
+ { name: "creditAccount", type: "address", internalType: "address" },
141
+ { name: "token", type: "address", internalType: "address" },
142
+ { name: "withdrawalToken", type: "address", internalType: "address" },
143
+ { name: "amount", type: "uint256", internalType: "uint256" },
144
+ { name: "", type: "bytes", internalType: "bytes" }
145
+ ],
146
+ outputs: [
147
+ {
148
+ name: "requestableWithdrawal",
149
+ type: "tuple",
150
+ internalType: "struct RequestableWithdrawal",
151
+ components: [
152
+ { name: "token", type: "address", internalType: "address" },
153
+ { name: "amountIn", type: "uint256", internalType: "uint256" },
154
+ {
155
+ name: "outputs",
156
+ type: "tuple[]",
157
+ internalType: "struct WithdrawalOutput[]",
158
+ components: [
159
+ { name: "token", type: "address", internalType: "address" },
160
+ { name: "isDelayed", type: "bool", internalType: "bool" },
161
+ { name: "amount", type: "uint256", internalType: "uint256" }
162
+ ]
163
+ },
164
+ {
165
+ name: "requestCalls",
166
+ type: "tuple[]",
167
+ internalType: "struct MultiCall[]",
168
+ components: [
169
+ { name: "target", type: "address", internalType: "address" },
170
+ { name: "callData", type: "bytes", internalType: "bytes" }
171
+ ]
172
+ },
173
+ { name: "claimableAt", type: "uint256", internalType: "uint256" }
174
+ ]
175
+ }
176
+ ],
177
+ stateMutability: "view"
178
+ },
135
179
  {
136
180
  type: "function",
137
181
  name: "getWithdrawalRequestResult",
@@ -71,7 +71,8 @@ const midasWithdrawalSubcompressorAbi = [
71
71
  { name: "target", type: "address", internalType: "address" },
72
72
  { name: "callData", type: "bytes", internalType: "bytes" }
73
73
  ]
74
- }
74
+ },
75
+ { name: "extraData", type: "bytes", internalType: "bytes" }
75
76
  ]
76
77
  },
77
78
  {
@@ -132,6 +133,49 @@ const midasWithdrawalSubcompressorAbi = [
132
133
  ],
133
134
  stateMutability: "view"
134
135
  },
136
+ {
137
+ type: "function",
138
+ name: "getWithdrawalRequestResult",
139
+ inputs: [
140
+ { name: "creditAccount", type: "address", internalType: "address" },
141
+ { name: "token", type: "address", internalType: "address" },
142
+ { name: "withdrawalToken", type: "address", internalType: "address" },
143
+ { name: "amount", type: "uint256", internalType: "uint256" },
144
+ { name: "extraData", type: "bytes", internalType: "bytes" }
145
+ ],
146
+ outputs: [
147
+ {
148
+ name: "requestableWithdrawal",
149
+ type: "tuple",
150
+ internalType: "struct RequestableWithdrawal",
151
+ components: [
152
+ { name: "token", type: "address", internalType: "address" },
153
+ { name: "amountIn", type: "uint256", internalType: "uint256" },
154
+ {
155
+ name: "outputs",
156
+ type: "tuple[]",
157
+ internalType: "struct WithdrawalOutput[]",
158
+ components: [
159
+ { name: "token", type: "address", internalType: "address" },
160
+ { name: "isDelayed", type: "bool", internalType: "bool" },
161
+ { name: "amount", type: "uint256", internalType: "uint256" }
162
+ ]
163
+ },
164
+ {
165
+ name: "requestCalls",
166
+ type: "tuple[]",
167
+ internalType: "struct MultiCall[]",
168
+ components: [
169
+ { name: "target", type: "address", internalType: "address" },
170
+ { name: "callData", type: "bytes", internalType: "bytes" }
171
+ ]
172
+ },
173
+ { name: "claimableAt", type: "uint256", internalType: "uint256" }
174
+ ]
175
+ }
176
+ ],
177
+ stateMutability: "view"
178
+ },
135
179
  {
136
180
  type: "function",
137
181
  name: "getWithdrawalRequestResult",
@@ -71,7 +71,8 @@ const securitizeRedemptionSubcompressorAbi = [
71
71
  { name: "target", type: "address", internalType: "address" },
72
72
  { name: "callData", type: "bytes", internalType: "bytes" }
73
73
  ]
74
- }
74
+ },
75
+ { name: "extraData", type: "bytes", internalType: "bytes" }
75
76
  ]
76
77
  },
77
78
  {
@@ -132,6 +133,49 @@ const securitizeRedemptionSubcompressorAbi = [
132
133
  ],
133
134
  stateMutability: "view"
134
135
  },
136
+ {
137
+ type: "function",
138
+ name: "getWithdrawalRequestResult",
139
+ inputs: [
140
+ { name: "creditAccount", type: "address", internalType: "address" },
141
+ { name: "token", type: "address", internalType: "address" },
142
+ { name: "withdrawalToken", type: "address", internalType: "address" },
143
+ { name: "amount", type: "uint256", internalType: "uint256" },
144
+ { name: "extraData", type: "bytes", internalType: "bytes" }
145
+ ],
146
+ outputs: [
147
+ {
148
+ name: "requestableWithdrawal",
149
+ type: "tuple",
150
+ internalType: "struct RequestableWithdrawal",
151
+ components: [
152
+ { name: "token", type: "address", internalType: "address" },
153
+ { name: "amountIn", type: "uint256", internalType: "uint256" },
154
+ {
155
+ name: "outputs",
156
+ type: "tuple[]",
157
+ internalType: "struct WithdrawalOutput[]",
158
+ components: [
159
+ { name: "token", type: "address", internalType: "address" },
160
+ { name: "isDelayed", type: "bool", internalType: "bool" },
161
+ { name: "amount", type: "uint256", internalType: "uint256" }
162
+ ]
163
+ },
164
+ {
165
+ name: "requestCalls",
166
+ type: "tuple[]",
167
+ internalType: "struct MultiCall[]",
168
+ components: [
169
+ { name: "target", type: "address", internalType: "address" },
170
+ { name: "callData", type: "bytes", internalType: "bytes" }
171
+ ]
172
+ },
173
+ { name: "claimableAt", type: "uint256", internalType: "uint256" }
174
+ ]
175
+ }
176
+ ],
177
+ stateMutability: "view"
178
+ },
135
179
  {
136
180
  type: "function",
137
181
  name: "getWithdrawalRequestResult",
@@ -92,7 +92,8 @@ const withdrawalCompressorAbi = [
92
92
  { name: "target", type: "address", internalType: "address" },
93
93
  { name: "callData", type: "bytes", internalType: "bytes" }
94
94
  ]
95
- }
95
+ },
96
+ { name: "extraData", type: "bytes", internalType: "bytes" }
96
97
  ]
97
98
  },
98
99
  {
@@ -152,6 +153,49 @@ const withdrawalCompressorAbi = [
152
153
  ],
153
154
  stateMutability: "view"
154
155
  },
156
+ {
157
+ type: "function",
158
+ name: "getWithdrawalRequestResult",
159
+ inputs: [
160
+ { name: "creditAccount", type: "address", internalType: "address" },
161
+ { name: "token", type: "address", internalType: "address" },
162
+ { name: "withdrawalToken", type: "address", internalType: "address" },
163
+ { name: "amount", type: "uint256", internalType: "uint256" },
164
+ { name: "extraData", type: "bytes", internalType: "bytes" }
165
+ ],
166
+ outputs: [
167
+ {
168
+ name: "withdrawal",
169
+ type: "tuple",
170
+ internalType: "struct RequestableWithdrawal",
171
+ components: [
172
+ { name: "token", type: "address", internalType: "address" },
173
+ { name: "amountIn", type: "uint256", internalType: "uint256" },
174
+ {
175
+ name: "outputs",
176
+ type: "tuple[]",
177
+ internalType: "struct WithdrawalOutput[]",
178
+ components: [
179
+ { name: "token", type: "address", internalType: "address" },
180
+ { name: "isDelayed", type: "bool", internalType: "bool" },
181
+ { name: "amount", type: "uint256", internalType: "uint256" }
182
+ ]
183
+ },
184
+ {
185
+ name: "requestCalls",
186
+ type: "tuple[]",
187
+ internalType: "struct MultiCall[]",
188
+ components: [
189
+ { name: "target", type: "address", internalType: "address" },
190
+ { name: "callData", type: "bytes", internalType: "bytes" }
191
+ ]
192
+ },
193
+ { name: "claimableAt", type: "uint256", internalType: "uint256" }
194
+ ]
195
+ }
196
+ ],
197
+ stateMutability: "view"
198
+ },
155
199
  {
156
200
  type: "function",
157
201
  name: "getWithdrawalRequestResult",
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var rate_keeper_factory_exports = {};
20
+ __export(rate_keeper_factory_exports, {
21
+ RateKeeperFactory: () => RateKeeperFactory
22
+ });
23
+ module.exports = __toCommonJS(rate_keeper_factory_exports);
24
+ var import_generated = require("../../../abi/310/generated.js");
25
+ var import_abstract_factory = require("./abstract-factory.js");
26
+ const abi = import_generated.iTumblerV310Abi;
27
+ class RateKeeperFactory extends import_abstract_factory.AbstractFactory {
28
+ constructor() {
29
+ super(abi);
30
+ }
31
+ }
32
+ // Annotate the CommonJS export names for ESM import in node:
33
+ 0 && (module.exports = {
34
+ RateKeeperFactory
35
+ });
@@ -32,6 +32,7 @@ var import_credit_factory = require("./factory/credit-factory.js");
32
32
  var import_loss_policy_factory = require("./factory/loss-policy-factory.js");
33
33
  var import_pool_factory = require("./factory/pool-factory.js");
34
34
  var import_price_oracle_factory = require("./factory/price-oracle-factory.js");
35
+ var import_rate_keeper_factory = require("./factory/rate-keeper-factory.js");
35
36
  var import_index = require("./index.js");
36
37
  const PERIPHERY_DOMAINS = ["ZAPPER", "DEGEN_NFT"];
37
38
  const abi = import_generated.iMarketConfiguratorV310Abi;
@@ -40,12 +41,14 @@ class MarketConfiguratorContract extends import_sdk.BaseContract {
40
41
  poolFactory;
41
42
  priceOracleFactory;
42
43
  lossPolicyFactory;
44
+ rateKeeperFactory;
43
45
  constructor(addr, client) {
44
46
  super({ client }, { abi, addr, name: "MarketConfigurator" });
45
47
  this.creditFactory = new import_credit_factory.CreditFactory();
46
48
  this.poolFactory = new import_pool_factory.PoolFactory();
47
49
  this.priceOracleFactory = new import_price_oracle_factory.PriceOracleFactory();
48
50
  this.lossPolicyFactory = new import_loss_policy_factory.LossPolicyFactory();
51
+ this.rateKeeperFactory = new import_rate_keeper_factory.RateKeeperFactory();
49
52
  }
50
53
  async getAddressProvider() {
51
54
  const addressProvider = await this.contract.read.addressProvider();
@@ -703,6 +706,14 @@ class MarketConfiguratorContract extends import_sdk.BaseContract {
703
706
  data: (0, import_sdk.json_stringify)(decoded)
704
707
  };
705
708
  }
709
+ case "configureRateKeeper": {
710
+ const [pool, calldata] = args;
711
+ const decoded = this.rateKeeperFactory.decodeConfig(calldata);
712
+ return {
713
+ pool,
714
+ data: (0, import_sdk.json_stringify)(decoded)
715
+ };
716
+ }
706
717
  case "updateInterestRateModel": {
707
718
  const [pool, deployParams] = args;
708
719
  return {
@@ -48,7 +48,8 @@ const mellowWithdrawalSubcompressorAbi = [
48
48
  { name: "target", type: "address", internalType: "address" },
49
49
  { name: "callData", type: "bytes", internalType: "bytes" }
50
50
  ]
51
- }
51
+ },
52
+ { name: "extraData", type: "bytes", internalType: "bytes" }
52
53
  ]
53
54
  },
54
55
  {
@@ -109,6 +110,49 @@ const mellowWithdrawalSubcompressorAbi = [
109
110
  ],
110
111
  stateMutability: "view"
111
112
  },
113
+ {
114
+ type: "function",
115
+ name: "getWithdrawalRequestResult",
116
+ inputs: [
117
+ { name: "creditAccount", type: "address", internalType: "address" },
118
+ { name: "token", type: "address", internalType: "address" },
119
+ { name: "withdrawalToken", type: "address", internalType: "address" },
120
+ { name: "amount", type: "uint256", internalType: "uint256" },
121
+ { name: "", type: "bytes", internalType: "bytes" }
122
+ ],
123
+ outputs: [
124
+ {
125
+ name: "requestableWithdrawal",
126
+ type: "tuple",
127
+ internalType: "struct RequestableWithdrawal",
128
+ components: [
129
+ { name: "token", type: "address", internalType: "address" },
130
+ { name: "amountIn", type: "uint256", internalType: "uint256" },
131
+ {
132
+ name: "outputs",
133
+ type: "tuple[]",
134
+ internalType: "struct WithdrawalOutput[]",
135
+ components: [
136
+ { name: "token", type: "address", internalType: "address" },
137
+ { name: "isDelayed", type: "bool", internalType: "bool" },
138
+ { name: "amount", type: "uint256", internalType: "uint256" }
139
+ ]
140
+ },
141
+ {
142
+ name: "requestCalls",
143
+ type: "tuple[]",
144
+ internalType: "struct MultiCall[]",
145
+ components: [
146
+ { name: "target", type: "address", internalType: "address" },
147
+ { name: "callData", type: "bytes", internalType: "bytes" }
148
+ ]
149
+ },
150
+ { name: "claimableAt", type: "uint256", internalType: "uint256" }
151
+ ]
152
+ }
153
+ ],
154
+ stateMutability: "view"
155
+ },
112
156
  {
113
157
  type: "function",
114
158
  name: "getWithdrawalRequestResult",
@@ -48,7 +48,8 @@ const midasWithdrawalSubcompressorAbi = [
48
48
  { name: "target", type: "address", internalType: "address" },
49
49
  { name: "callData", type: "bytes", internalType: "bytes" }
50
50
  ]
51
- }
51
+ },
52
+ { name: "extraData", type: "bytes", internalType: "bytes" }
52
53
  ]
53
54
  },
54
55
  {
@@ -109,6 +110,49 @@ const midasWithdrawalSubcompressorAbi = [
109
110
  ],
110
111
  stateMutability: "view"
111
112
  },
113
+ {
114
+ type: "function",
115
+ name: "getWithdrawalRequestResult",
116
+ inputs: [
117
+ { name: "creditAccount", type: "address", internalType: "address" },
118
+ { name: "token", type: "address", internalType: "address" },
119
+ { name: "withdrawalToken", type: "address", internalType: "address" },
120
+ { name: "amount", type: "uint256", internalType: "uint256" },
121
+ { name: "extraData", type: "bytes", internalType: "bytes" }
122
+ ],
123
+ outputs: [
124
+ {
125
+ name: "requestableWithdrawal",
126
+ type: "tuple",
127
+ internalType: "struct RequestableWithdrawal",
128
+ components: [
129
+ { name: "token", type: "address", internalType: "address" },
130
+ { name: "amountIn", type: "uint256", internalType: "uint256" },
131
+ {
132
+ name: "outputs",
133
+ type: "tuple[]",
134
+ internalType: "struct WithdrawalOutput[]",
135
+ components: [
136
+ { name: "token", type: "address", internalType: "address" },
137
+ { name: "isDelayed", type: "bool", internalType: "bool" },
138
+ { name: "amount", type: "uint256", internalType: "uint256" }
139
+ ]
140
+ },
141
+ {
142
+ name: "requestCalls",
143
+ type: "tuple[]",
144
+ internalType: "struct MultiCall[]",
145
+ components: [
146
+ { name: "target", type: "address", internalType: "address" },
147
+ { name: "callData", type: "bytes", internalType: "bytes" }
148
+ ]
149
+ },
150
+ { name: "claimableAt", type: "uint256", internalType: "uint256" }
151
+ ]
152
+ }
153
+ ],
154
+ stateMutability: "view"
155
+ },
112
156
  {
113
157
  type: "function",
114
158
  name: "getWithdrawalRequestResult",
@@ -48,7 +48,8 @@ const securitizeRedemptionSubcompressorAbi = [
48
48
  { name: "target", type: "address", internalType: "address" },
49
49
  { name: "callData", type: "bytes", internalType: "bytes" }
50
50
  ]
51
- }
51
+ },
52
+ { name: "extraData", type: "bytes", internalType: "bytes" }
52
53
  ]
53
54
  },
54
55
  {
@@ -109,6 +110,49 @@ const securitizeRedemptionSubcompressorAbi = [
109
110
  ],
110
111
  stateMutability: "view"
111
112
  },
113
+ {
114
+ type: "function",
115
+ name: "getWithdrawalRequestResult",
116
+ inputs: [
117
+ { name: "creditAccount", type: "address", internalType: "address" },
118
+ { name: "token", type: "address", internalType: "address" },
119
+ { name: "withdrawalToken", type: "address", internalType: "address" },
120
+ { name: "amount", type: "uint256", internalType: "uint256" },
121
+ { name: "extraData", type: "bytes", internalType: "bytes" }
122
+ ],
123
+ outputs: [
124
+ {
125
+ name: "requestableWithdrawal",
126
+ type: "tuple",
127
+ internalType: "struct RequestableWithdrawal",
128
+ components: [
129
+ { name: "token", type: "address", internalType: "address" },
130
+ { name: "amountIn", type: "uint256", internalType: "uint256" },
131
+ {
132
+ name: "outputs",
133
+ type: "tuple[]",
134
+ internalType: "struct WithdrawalOutput[]",
135
+ components: [
136
+ { name: "token", type: "address", internalType: "address" },
137
+ { name: "isDelayed", type: "bool", internalType: "bool" },
138
+ { name: "amount", type: "uint256", internalType: "uint256" }
139
+ ]
140
+ },
141
+ {
142
+ name: "requestCalls",
143
+ type: "tuple[]",
144
+ internalType: "struct MultiCall[]",
145
+ components: [
146
+ { name: "target", type: "address", internalType: "address" },
147
+ { name: "callData", type: "bytes", internalType: "bytes" }
148
+ ]
149
+ },
150
+ { name: "claimableAt", type: "uint256", internalType: "uint256" }
151
+ ]
152
+ }
153
+ ],
154
+ stateMutability: "view"
155
+ },
112
156
  {
113
157
  type: "function",
114
158
  name: "getWithdrawalRequestResult",
@@ -69,7 +69,8 @@ const withdrawalCompressorAbi = [
69
69
  { name: "target", type: "address", internalType: "address" },
70
70
  { name: "callData", type: "bytes", internalType: "bytes" }
71
71
  ]
72
- }
72
+ },
73
+ { name: "extraData", type: "bytes", internalType: "bytes" }
73
74
  ]
74
75
  },
75
76
  {
@@ -129,6 +130,49 @@ const withdrawalCompressorAbi = [
129
130
  ],
130
131
  stateMutability: "view"
131
132
  },
133
+ {
134
+ type: "function",
135
+ name: "getWithdrawalRequestResult",
136
+ inputs: [
137
+ { name: "creditAccount", type: "address", internalType: "address" },
138
+ { name: "token", type: "address", internalType: "address" },
139
+ { name: "withdrawalToken", type: "address", internalType: "address" },
140
+ { name: "amount", type: "uint256", internalType: "uint256" },
141
+ { name: "extraData", type: "bytes", internalType: "bytes" }
142
+ ],
143
+ outputs: [
144
+ {
145
+ name: "withdrawal",
146
+ type: "tuple",
147
+ internalType: "struct RequestableWithdrawal",
148
+ components: [
149
+ { name: "token", type: "address", internalType: "address" },
150
+ { name: "amountIn", type: "uint256", internalType: "uint256" },
151
+ {
152
+ name: "outputs",
153
+ type: "tuple[]",
154
+ internalType: "struct WithdrawalOutput[]",
155
+ components: [
156
+ { name: "token", type: "address", internalType: "address" },
157
+ { name: "isDelayed", type: "bool", internalType: "bool" },
158
+ { name: "amount", type: "uint256", internalType: "uint256" }
159
+ ]
160
+ },
161
+ {
162
+ name: "requestCalls",
163
+ type: "tuple[]",
164
+ internalType: "struct MultiCall[]",
165
+ components: [
166
+ { name: "target", type: "address", internalType: "address" },
167
+ { name: "callData", type: "bytes", internalType: "bytes" }
168
+ ]
169
+ },
170
+ { name: "claimableAt", type: "uint256", internalType: "uint256" }
171
+ ]
172
+ }
173
+ ],
174
+ stateMutability: "view"
175
+ },
132
176
  {
133
177
  type: "function",
134
178
  name: "getWithdrawalRequestResult",
@@ -0,0 +1,11 @@
1
+ import { iTumblerV310Abi } from "../../../abi/310/generated.js";
2
+ import { AbstractFactory } from "./abstract-factory.js";
3
+ const abi = iTumblerV310Abi;
4
+ class RateKeeperFactory extends AbstractFactory {
5
+ constructor() {
6
+ super(abi);
7
+ }
8
+ }
9
+ export {
10
+ RateKeeperFactory
11
+ };
@@ -27,6 +27,7 @@ import { CreditFactory } from "./factory/credit-factory.js";
27
27
  import { LossPolicyFactory } from "./factory/loss-policy-factory.js";
28
28
  import { PoolFactory } from "./factory/pool-factory.js";
29
29
  import { PriceOracleFactory } from "./factory/price-oracle-factory.js";
30
+ import { RateKeeperFactory } from "./factory/rate-keeper-factory.js";
30
31
  import { AddressProviderContract } from "./index.js";
31
32
  const PERIPHERY_DOMAINS = ["ZAPPER", "DEGEN_NFT"];
32
33
  const abi = iMarketConfiguratorV310Abi;
@@ -35,12 +36,14 @@ class MarketConfiguratorContract extends BaseContract {
35
36
  poolFactory;
36
37
  priceOracleFactory;
37
38
  lossPolicyFactory;
39
+ rateKeeperFactory;
38
40
  constructor(addr, client) {
39
41
  super({ client }, { abi, addr, name: "MarketConfigurator" });
40
42
  this.creditFactory = new CreditFactory();
41
43
  this.poolFactory = new PoolFactory();
42
44
  this.priceOracleFactory = new PriceOracleFactory();
43
45
  this.lossPolicyFactory = new LossPolicyFactory();
46
+ this.rateKeeperFactory = new RateKeeperFactory();
44
47
  }
45
48
  async getAddressProvider() {
46
49
  const addressProvider = await this.contract.read.addressProvider();
@@ -698,6 +701,14 @@ class MarketConfiguratorContract extends BaseContract {
698
701
  data: json_stringify(decoded)
699
702
  };
700
703
  }
704
+ case "configureRateKeeper": {
705
+ const [pool, calldata] = args;
706
+ const decoded = this.rateKeeperFactory.decodeConfig(calldata);
707
+ return {
708
+ pool,
709
+ data: json_stringify(decoded)
710
+ };
711
+ }
701
712
  case "updateInterestRateModel": {
702
713
  const [pool, deployParams] = args;
703
714
  return {
@@ -66,6 +66,10 @@ export declare const mellowWithdrawalSubcompressorAbi: readonly [{
66
66
  readonly type: "bytes";
67
67
  readonly internalType: "bytes";
68
68
  }];
69
+ }, {
70
+ readonly name: "extraData";
71
+ readonly type: "bytes";
72
+ readonly internalType: "bytes";
69
73
  }];
70
74
  }, {
71
75
  readonly name: "";
@@ -142,6 +146,79 @@ export declare const mellowWithdrawalSubcompressorAbi: readonly [{
142
146
  }];
143
147
  }];
144
148
  readonly stateMutability: "view";
149
+ }, {
150
+ readonly type: "function";
151
+ readonly name: "getWithdrawalRequestResult";
152
+ readonly inputs: readonly [{
153
+ readonly name: "creditAccount";
154
+ readonly type: "address";
155
+ readonly internalType: "address";
156
+ }, {
157
+ readonly name: "token";
158
+ readonly type: "address";
159
+ readonly internalType: "address";
160
+ }, {
161
+ readonly name: "withdrawalToken";
162
+ readonly type: "address";
163
+ readonly internalType: "address";
164
+ }, {
165
+ readonly name: "amount";
166
+ readonly type: "uint256";
167
+ readonly internalType: "uint256";
168
+ }, {
169
+ readonly name: "";
170
+ readonly type: "bytes";
171
+ readonly internalType: "bytes";
172
+ }];
173
+ readonly outputs: readonly [{
174
+ readonly name: "requestableWithdrawal";
175
+ readonly type: "tuple";
176
+ readonly internalType: "struct RequestableWithdrawal";
177
+ readonly components: readonly [{
178
+ readonly name: "token";
179
+ readonly type: "address";
180
+ readonly internalType: "address";
181
+ }, {
182
+ readonly name: "amountIn";
183
+ readonly type: "uint256";
184
+ readonly internalType: "uint256";
185
+ }, {
186
+ readonly name: "outputs";
187
+ readonly type: "tuple[]";
188
+ readonly internalType: "struct WithdrawalOutput[]";
189
+ readonly components: readonly [{
190
+ readonly name: "token";
191
+ readonly type: "address";
192
+ readonly internalType: "address";
193
+ }, {
194
+ readonly name: "isDelayed";
195
+ readonly type: "bool";
196
+ readonly internalType: "bool";
197
+ }, {
198
+ readonly name: "amount";
199
+ readonly type: "uint256";
200
+ readonly internalType: "uint256";
201
+ }];
202
+ }, {
203
+ readonly name: "requestCalls";
204
+ readonly type: "tuple[]";
205
+ readonly internalType: "struct MultiCall[]";
206
+ readonly components: readonly [{
207
+ readonly name: "target";
208
+ readonly type: "address";
209
+ readonly internalType: "address";
210
+ }, {
211
+ readonly name: "callData";
212
+ readonly type: "bytes";
213
+ readonly internalType: "bytes";
214
+ }];
215
+ }, {
216
+ readonly name: "claimableAt";
217
+ readonly type: "uint256";
218
+ readonly internalType: "uint256";
219
+ }];
220
+ }];
221
+ readonly stateMutability: "view";
145
222
  }, {
146
223
  readonly type: "function";
147
224
  readonly name: "getWithdrawalRequestResult";
@@ -66,6 +66,10 @@ export declare const midasWithdrawalSubcompressorAbi: readonly [{
66
66
  readonly type: "bytes";
67
67
  readonly internalType: "bytes";
68
68
  }];
69
+ }, {
70
+ readonly name: "extraData";
71
+ readonly type: "bytes";
72
+ readonly internalType: "bytes";
69
73
  }];
70
74
  }, {
71
75
  readonly name: "";
@@ -142,6 +146,79 @@ export declare const midasWithdrawalSubcompressorAbi: readonly [{
142
146
  }];
143
147
  }];
144
148
  readonly stateMutability: "view";
149
+ }, {
150
+ readonly type: "function";
151
+ readonly name: "getWithdrawalRequestResult";
152
+ readonly inputs: readonly [{
153
+ readonly name: "creditAccount";
154
+ readonly type: "address";
155
+ readonly internalType: "address";
156
+ }, {
157
+ readonly name: "token";
158
+ readonly type: "address";
159
+ readonly internalType: "address";
160
+ }, {
161
+ readonly name: "withdrawalToken";
162
+ readonly type: "address";
163
+ readonly internalType: "address";
164
+ }, {
165
+ readonly name: "amount";
166
+ readonly type: "uint256";
167
+ readonly internalType: "uint256";
168
+ }, {
169
+ readonly name: "extraData";
170
+ readonly type: "bytes";
171
+ readonly internalType: "bytes";
172
+ }];
173
+ readonly outputs: readonly [{
174
+ readonly name: "requestableWithdrawal";
175
+ readonly type: "tuple";
176
+ readonly internalType: "struct RequestableWithdrawal";
177
+ readonly components: readonly [{
178
+ readonly name: "token";
179
+ readonly type: "address";
180
+ readonly internalType: "address";
181
+ }, {
182
+ readonly name: "amountIn";
183
+ readonly type: "uint256";
184
+ readonly internalType: "uint256";
185
+ }, {
186
+ readonly name: "outputs";
187
+ readonly type: "tuple[]";
188
+ readonly internalType: "struct WithdrawalOutput[]";
189
+ readonly components: readonly [{
190
+ readonly name: "token";
191
+ readonly type: "address";
192
+ readonly internalType: "address";
193
+ }, {
194
+ readonly name: "isDelayed";
195
+ readonly type: "bool";
196
+ readonly internalType: "bool";
197
+ }, {
198
+ readonly name: "amount";
199
+ readonly type: "uint256";
200
+ readonly internalType: "uint256";
201
+ }];
202
+ }, {
203
+ readonly name: "requestCalls";
204
+ readonly type: "tuple[]";
205
+ readonly internalType: "struct MultiCall[]";
206
+ readonly components: readonly [{
207
+ readonly name: "target";
208
+ readonly type: "address";
209
+ readonly internalType: "address";
210
+ }, {
211
+ readonly name: "callData";
212
+ readonly type: "bytes";
213
+ readonly internalType: "bytes";
214
+ }];
215
+ }, {
216
+ readonly name: "claimableAt";
217
+ readonly type: "uint256";
218
+ readonly internalType: "uint256";
219
+ }];
220
+ }];
221
+ readonly stateMutability: "view";
145
222
  }, {
146
223
  readonly type: "function";
147
224
  readonly name: "getWithdrawalRequestResult";
@@ -66,6 +66,10 @@ export declare const securitizeRedemptionSubcompressorAbi: readonly [{
66
66
  readonly type: "bytes";
67
67
  readonly internalType: "bytes";
68
68
  }];
69
+ }, {
70
+ readonly name: "extraData";
71
+ readonly type: "bytes";
72
+ readonly internalType: "bytes";
69
73
  }];
70
74
  }, {
71
75
  readonly name: "";
@@ -142,6 +146,79 @@ export declare const securitizeRedemptionSubcompressorAbi: readonly [{
142
146
  }];
143
147
  }];
144
148
  readonly stateMutability: "view";
149
+ }, {
150
+ readonly type: "function";
151
+ readonly name: "getWithdrawalRequestResult";
152
+ readonly inputs: readonly [{
153
+ readonly name: "creditAccount";
154
+ readonly type: "address";
155
+ readonly internalType: "address";
156
+ }, {
157
+ readonly name: "token";
158
+ readonly type: "address";
159
+ readonly internalType: "address";
160
+ }, {
161
+ readonly name: "withdrawalToken";
162
+ readonly type: "address";
163
+ readonly internalType: "address";
164
+ }, {
165
+ readonly name: "amount";
166
+ readonly type: "uint256";
167
+ readonly internalType: "uint256";
168
+ }, {
169
+ readonly name: "extraData";
170
+ readonly type: "bytes";
171
+ readonly internalType: "bytes";
172
+ }];
173
+ readonly outputs: readonly [{
174
+ readonly name: "requestableWithdrawal";
175
+ readonly type: "tuple";
176
+ readonly internalType: "struct RequestableWithdrawal";
177
+ readonly components: readonly [{
178
+ readonly name: "token";
179
+ readonly type: "address";
180
+ readonly internalType: "address";
181
+ }, {
182
+ readonly name: "amountIn";
183
+ readonly type: "uint256";
184
+ readonly internalType: "uint256";
185
+ }, {
186
+ readonly name: "outputs";
187
+ readonly type: "tuple[]";
188
+ readonly internalType: "struct WithdrawalOutput[]";
189
+ readonly components: readonly [{
190
+ readonly name: "token";
191
+ readonly type: "address";
192
+ readonly internalType: "address";
193
+ }, {
194
+ readonly name: "isDelayed";
195
+ readonly type: "bool";
196
+ readonly internalType: "bool";
197
+ }, {
198
+ readonly name: "amount";
199
+ readonly type: "uint256";
200
+ readonly internalType: "uint256";
201
+ }];
202
+ }, {
203
+ readonly name: "requestCalls";
204
+ readonly type: "tuple[]";
205
+ readonly internalType: "struct MultiCall[]";
206
+ readonly components: readonly [{
207
+ readonly name: "target";
208
+ readonly type: "address";
209
+ readonly internalType: "address";
210
+ }, {
211
+ readonly name: "callData";
212
+ readonly type: "bytes";
213
+ readonly internalType: "bytes";
214
+ }];
215
+ }, {
216
+ readonly name: "claimableAt";
217
+ readonly type: "uint256";
218
+ readonly internalType: "uint256";
219
+ }];
220
+ }];
221
+ readonly stateMutability: "view";
145
222
  }, {
146
223
  readonly type: "function";
147
224
  readonly name: "getWithdrawalRequestResult";
@@ -98,6 +98,10 @@ export declare const withdrawalCompressorAbi: readonly [{
98
98
  readonly type: "bytes";
99
99
  readonly internalType: "bytes";
100
100
  }];
101
+ }, {
102
+ readonly name: "extraData";
103
+ readonly type: "bytes";
104
+ readonly internalType: "bytes";
101
105
  }];
102
106
  }, {
103
107
  readonly name: "";
@@ -170,6 +174,79 @@ export declare const withdrawalCompressorAbi: readonly [{
170
174
  }];
171
175
  }];
172
176
  readonly stateMutability: "view";
177
+ }, {
178
+ readonly type: "function";
179
+ readonly name: "getWithdrawalRequestResult";
180
+ readonly inputs: readonly [{
181
+ readonly name: "creditAccount";
182
+ readonly type: "address";
183
+ readonly internalType: "address";
184
+ }, {
185
+ readonly name: "token";
186
+ readonly type: "address";
187
+ readonly internalType: "address";
188
+ }, {
189
+ readonly name: "withdrawalToken";
190
+ readonly type: "address";
191
+ readonly internalType: "address";
192
+ }, {
193
+ readonly name: "amount";
194
+ readonly type: "uint256";
195
+ readonly internalType: "uint256";
196
+ }, {
197
+ readonly name: "extraData";
198
+ readonly type: "bytes";
199
+ readonly internalType: "bytes";
200
+ }];
201
+ readonly outputs: readonly [{
202
+ readonly name: "withdrawal";
203
+ readonly type: "tuple";
204
+ readonly internalType: "struct RequestableWithdrawal";
205
+ readonly components: readonly [{
206
+ readonly name: "token";
207
+ readonly type: "address";
208
+ readonly internalType: "address";
209
+ }, {
210
+ readonly name: "amountIn";
211
+ readonly type: "uint256";
212
+ readonly internalType: "uint256";
213
+ }, {
214
+ readonly name: "outputs";
215
+ readonly type: "tuple[]";
216
+ readonly internalType: "struct WithdrawalOutput[]";
217
+ readonly components: readonly [{
218
+ readonly name: "token";
219
+ readonly type: "address";
220
+ readonly internalType: "address";
221
+ }, {
222
+ readonly name: "isDelayed";
223
+ readonly type: "bool";
224
+ readonly internalType: "bool";
225
+ }, {
226
+ readonly name: "amount";
227
+ readonly type: "uint256";
228
+ readonly internalType: "uint256";
229
+ }];
230
+ }, {
231
+ readonly name: "requestCalls";
232
+ readonly type: "tuple[]";
233
+ readonly internalType: "struct MultiCall[]";
234
+ readonly components: readonly [{
235
+ readonly name: "target";
236
+ readonly type: "address";
237
+ readonly internalType: "address";
238
+ }, {
239
+ readonly name: "callData";
240
+ readonly type: "bytes";
241
+ readonly internalType: "bytes";
242
+ }];
243
+ }, {
244
+ readonly name: "claimableAt";
245
+ readonly type: "uint256";
246
+ readonly internalType: "uint256";
247
+ }];
248
+ }];
249
+ readonly stateMutability: "view";
173
250
  }, {
174
251
  readonly type: "function";
175
252
  readonly name: "getWithdrawalRequestResult";
@@ -100,6 +100,10 @@ declare const abi: readonly [{
100
100
  readonly type: "bytes";
101
101
  readonly internalType: "bytes";
102
102
  }];
103
+ }, {
104
+ readonly name: "extraData";
105
+ readonly type: "bytes";
106
+ readonly internalType: "bytes";
103
107
  }];
104
108
  }, {
105
109
  readonly name: "";
@@ -172,6 +176,79 @@ declare const abi: readonly [{
172
176
  }];
173
177
  }];
174
178
  readonly stateMutability: "view";
179
+ }, {
180
+ readonly type: "function";
181
+ readonly name: "getWithdrawalRequestResult";
182
+ readonly inputs: readonly [{
183
+ readonly name: "creditAccount";
184
+ readonly type: "address";
185
+ readonly internalType: "address";
186
+ }, {
187
+ readonly name: "token";
188
+ readonly type: "address";
189
+ readonly internalType: "address";
190
+ }, {
191
+ readonly name: "withdrawalToken";
192
+ readonly type: "address";
193
+ readonly internalType: "address";
194
+ }, {
195
+ readonly name: "amount";
196
+ readonly type: "uint256";
197
+ readonly internalType: "uint256";
198
+ }, {
199
+ readonly name: "extraData";
200
+ readonly type: "bytes";
201
+ readonly internalType: "bytes";
202
+ }];
203
+ readonly outputs: readonly [{
204
+ readonly name: "withdrawal";
205
+ readonly type: "tuple";
206
+ readonly internalType: "struct RequestableWithdrawal";
207
+ readonly components: readonly [{
208
+ readonly name: "token";
209
+ readonly type: "address";
210
+ readonly internalType: "address";
211
+ }, {
212
+ readonly name: "amountIn";
213
+ readonly type: "uint256";
214
+ readonly internalType: "uint256";
215
+ }, {
216
+ readonly name: "outputs";
217
+ readonly type: "tuple[]";
218
+ readonly internalType: "struct WithdrawalOutput[]";
219
+ readonly components: readonly [{
220
+ readonly name: "token";
221
+ readonly type: "address";
222
+ readonly internalType: "address";
223
+ }, {
224
+ readonly name: "isDelayed";
225
+ readonly type: "bool";
226
+ readonly internalType: "bool";
227
+ }, {
228
+ readonly name: "amount";
229
+ readonly type: "uint256";
230
+ readonly internalType: "uint256";
231
+ }];
232
+ }, {
233
+ readonly name: "requestCalls";
234
+ readonly type: "tuple[]";
235
+ readonly internalType: "struct MultiCall[]";
236
+ readonly components: readonly [{
237
+ readonly name: "target";
238
+ readonly type: "address";
239
+ readonly internalType: "address";
240
+ }, {
241
+ readonly name: "callData";
242
+ readonly type: "bytes";
243
+ readonly internalType: "bytes";
244
+ }];
245
+ }, {
246
+ readonly name: "claimableAt";
247
+ readonly type: "uint256";
248
+ readonly internalType: "uint256";
249
+ }];
250
+ }];
251
+ readonly stateMutability: "view";
175
252
  }, {
176
253
  readonly type: "function";
177
254
  readonly name: "getWithdrawalRequestResult";
@@ -0,0 +1,179 @@
1
+ import { AbstractFactory } from "./abstract-factory.js";
2
+ declare const abi: readonly [{
3
+ readonly type: "function";
4
+ readonly inputs: readonly [];
5
+ readonly name: "acl";
6
+ readonly outputs: readonly [{
7
+ readonly name: "";
8
+ readonly internalType: "address";
9
+ readonly type: "address";
10
+ }];
11
+ readonly stateMutability: "view";
12
+ }, {
13
+ readonly type: "function";
14
+ readonly inputs: readonly [{
15
+ readonly name: "token";
16
+ readonly internalType: "address";
17
+ readonly type: "address";
18
+ }];
19
+ readonly name: "addToken";
20
+ readonly outputs: readonly [];
21
+ readonly stateMutability: "nonpayable";
22
+ }, {
23
+ readonly type: "function";
24
+ readonly inputs: readonly [];
25
+ readonly name: "contractType";
26
+ readonly outputs: readonly [{
27
+ readonly name: "";
28
+ readonly internalType: "bytes32";
29
+ readonly type: "bytes32";
30
+ }];
31
+ readonly stateMutability: "view";
32
+ }, {
33
+ readonly type: "function";
34
+ readonly inputs: readonly [];
35
+ readonly name: "epochLength";
36
+ readonly outputs: readonly [{
37
+ readonly name: "";
38
+ readonly internalType: "uint256";
39
+ readonly type: "uint256";
40
+ }];
41
+ readonly stateMutability: "view";
42
+ }, {
43
+ readonly type: "function";
44
+ readonly inputs: readonly [{
45
+ readonly name: "tokens";
46
+ readonly internalType: "address[]";
47
+ readonly type: "address[]";
48
+ }];
49
+ readonly name: "getRates";
50
+ readonly outputs: readonly [{
51
+ readonly name: "";
52
+ readonly internalType: "uint16[]";
53
+ readonly type: "uint16[]";
54
+ }];
55
+ readonly stateMutability: "view";
56
+ }, {
57
+ readonly type: "function";
58
+ readonly inputs: readonly [];
59
+ readonly name: "getTokens";
60
+ readonly outputs: readonly [{
61
+ readonly name: "";
62
+ readonly internalType: "address[]";
63
+ readonly type: "address[]";
64
+ }];
65
+ readonly stateMutability: "view";
66
+ }, {
67
+ readonly type: "function";
68
+ readonly inputs: readonly [{
69
+ readonly name: "token";
70
+ readonly internalType: "address";
71
+ readonly type: "address";
72
+ }];
73
+ readonly name: "isTokenAdded";
74
+ readonly outputs: readonly [{
75
+ readonly name: "";
76
+ readonly internalType: "bool";
77
+ readonly type: "bool";
78
+ }];
79
+ readonly stateMutability: "view";
80
+ }, {
81
+ readonly type: "function";
82
+ readonly inputs: readonly [];
83
+ readonly name: "pool";
84
+ readonly outputs: readonly [{
85
+ readonly name: "";
86
+ readonly internalType: "address";
87
+ readonly type: "address";
88
+ }];
89
+ readonly stateMutability: "view";
90
+ }, {
91
+ readonly type: "function";
92
+ readonly inputs: readonly [];
93
+ readonly name: "poolQuotaKeeper";
94
+ readonly outputs: readonly [{
95
+ readonly name: "";
96
+ readonly internalType: "address";
97
+ readonly type: "address";
98
+ }];
99
+ readonly stateMutability: "view";
100
+ }, {
101
+ readonly type: "function";
102
+ readonly inputs: readonly [];
103
+ readonly name: "serialize";
104
+ readonly outputs: readonly [{
105
+ readonly name: "serializedData";
106
+ readonly internalType: "bytes";
107
+ readonly type: "bytes";
108
+ }];
109
+ readonly stateMutability: "view";
110
+ }, {
111
+ readonly type: "function";
112
+ readonly inputs: readonly [{
113
+ readonly name: "token";
114
+ readonly internalType: "address";
115
+ readonly type: "address";
116
+ }, {
117
+ readonly name: "rate";
118
+ readonly internalType: "uint16";
119
+ readonly type: "uint16";
120
+ }];
121
+ readonly name: "setRate";
122
+ readonly outputs: readonly [];
123
+ readonly stateMutability: "nonpayable";
124
+ }, {
125
+ readonly type: "function";
126
+ readonly inputs: readonly [];
127
+ readonly name: "underlying";
128
+ readonly outputs: readonly [{
129
+ readonly name: "";
130
+ readonly internalType: "address";
131
+ readonly type: "address";
132
+ }];
133
+ readonly stateMutability: "view";
134
+ }, {
135
+ readonly type: "function";
136
+ readonly inputs: readonly [];
137
+ readonly name: "updateRates";
138
+ readonly outputs: readonly [];
139
+ readonly stateMutability: "nonpayable";
140
+ }, {
141
+ readonly type: "function";
142
+ readonly inputs: readonly [];
143
+ readonly name: "version";
144
+ readonly outputs: readonly [{
145
+ readonly name: "";
146
+ readonly internalType: "uint256";
147
+ readonly type: "uint256";
148
+ }];
149
+ readonly stateMutability: "view";
150
+ }, {
151
+ readonly type: "event";
152
+ readonly anonymous: false;
153
+ readonly inputs: readonly [{
154
+ readonly name: "token";
155
+ readonly internalType: "address";
156
+ readonly type: "address";
157
+ readonly indexed: true;
158
+ }];
159
+ readonly name: "AddToken";
160
+ }, {
161
+ readonly type: "event";
162
+ readonly anonymous: false;
163
+ readonly inputs: readonly [{
164
+ readonly name: "token";
165
+ readonly internalType: "address";
166
+ readonly type: "address";
167
+ readonly indexed: true;
168
+ }, {
169
+ readonly name: "rate";
170
+ readonly internalType: "uint16";
171
+ readonly type: "uint16";
172
+ readonly indexed: false;
173
+ }];
174
+ readonly name: "SetRate";
175
+ }];
176
+ export declare class RateKeeperFactory extends AbstractFactory<typeof abi> {
177
+ constructor();
178
+ }
179
+ export {};
@@ -5,6 +5,7 @@ import { CreditFactory } from "./factory/credit-factory.js";
5
5
  import { LossPolicyFactory } from "./factory/loss-policy-factory.js";
6
6
  import { PoolFactory } from "./factory/pool-factory.js";
7
7
  import { PriceOracleFactory } from "./factory/price-oracle-factory.js";
8
+ import { RateKeeperFactory } from "./factory/rate-keeper-factory.js";
8
9
  import { AddressProviderContract } from "./index.js";
9
10
  import type { AddAssetParams, AllowTokenParams, DeployParams, ForbidAdapterParams, ForbidTokenParams, Market, PauseCreditManagerParams, PeripheryDomain, SetExpirationDateParams, SetFeesParams, SetPriceFeedParams, SetReservePriceFeedParams, SetTokenQuotaIncreaseFeeParams, UnpauseCreditManagerParams } from "./types.js";
10
11
  declare const abi: readonly [{
@@ -1536,6 +1537,7 @@ export declare class MarketConfiguratorContract extends BaseContract<typeof abi>
1536
1537
  readonly poolFactory: PoolFactory;
1537
1538
  readonly priceOracleFactory: PriceOracleFactory;
1538
1539
  readonly lossPolicyFactory: LossPolicyFactory;
1540
+ readonly rateKeeperFactory: RateKeeperFactory;
1539
1541
  constructor(addr: Address, client: PublicClient<Transport, Chain>);
1540
1542
  getAddressProvider(): Promise<AddressProviderContract>;
1541
1543
  previewCreateMarket(params: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "14.11.3",
3
+ "version": "14.11.5",
4
4
  "description": "Gearbox SDK",
5
5
  "license": "MIT",
6
6
  "repository": {