@aave-dao/aave-helpers-js 1.3.7 → 1.4.1
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/dist/cli.cjs +1 -1
- package/dist/cli.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{protocol-diff-v4-DW93YtW7.mjs → protocol-diff-v4-B2FSqykw.mjs} +287 -0
- package/dist/{protocol-diff-v4-Vg5ALPRD.cjs → protocol-diff-v4-Ca6jLovh.cjs} +287 -0
- package/package.json +2 -2
package/dist/cli.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const require_protocol_diff_v4 = require('./protocol-diff-v4-
|
|
2
|
+
const require_protocol_diff_v4 = require('./protocol-diff-v4-Ca6jLovh.cjs');
|
|
3
3
|
let _aave_dao_toolbox = require("@aave-dao/toolbox");
|
|
4
4
|
let viem = require("viem");
|
|
5
5
|
let fs = require("fs");
|
package/dist/cli.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { n as diffSnapshots, t as diffV4Snapshots } from "./protocol-diff-v4-
|
|
2
|
+
import { n as diffSnapshots, t as diffV4Snapshots } from "./protocol-diff-v4-B2FSqykw.mjs";
|
|
3
3
|
import { Aip, IPayloadsController_ABI, cidV0ToBs58, getMdContractName, getPayloadsController, hash, makePayloadExecutableOnTestClient, parseFrontmatterMd, renderTenderlyReport, tenderly_createVnet } from "@aave-dao/toolbox";
|
|
4
4
|
import { encodeFunctionData, parseAbi, zeroAddress } from "viem";
|
|
5
5
|
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "fs";
|
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_protocol_diff_v4 = require('./protocol-diff-v4-
|
|
2
|
+
const require_protocol_diff_v4 = require('./protocol-diff-v4-Ca6jLovh.cjs');
|
|
3
3
|
|
|
4
4
|
exports.diff = require_protocol_diff_v4.diff;
|
|
5
5
|
exports.diffSnapshots = require_protocol_diff_v4.diffSnapshots;
|
package/dist/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as hasChanges, i as diff, n as diffSnapshots, o as isChange, r as eventDb, t as diffV4Snapshots } from "./protocol-diff-v4-
|
|
1
|
+
import { a as hasChanges, i as diff, n as diffSnapshots, o as isChange, r as eventDb, t as diffV4Snapshots } from "./protocol-diff-v4-B2FSqykw.mjs";
|
|
2
2
|
|
|
3
3
|
export { diff, diffSnapshots, diffV4Snapshots, eventDb, hasChanges, isChange };
|
|
@@ -7025,6 +7025,293 @@ const eventDb = [
|
|
|
7025
7025
|
],
|
|
7026
7026
|
name: "UserDataUpdated",
|
|
7027
7027
|
type: "event"
|
|
7028
|
+
},
|
|
7029
|
+
{
|
|
7030
|
+
anonymous: false,
|
|
7031
|
+
inputs: [{
|
|
7032
|
+
indexed: true,
|
|
7033
|
+
internalType: "address",
|
|
7034
|
+
name: "contractAddress",
|
|
7035
|
+
type: "address"
|
|
7036
|
+
}, {
|
|
7037
|
+
indexed: true,
|
|
7038
|
+
internalType: "bool",
|
|
7039
|
+
name: "isRestricted",
|
|
7040
|
+
type: "bool"
|
|
7041
|
+
}],
|
|
7042
|
+
name: "AddressRestricted",
|
|
7043
|
+
type: "event"
|
|
7044
|
+
},
|
|
7045
|
+
{
|
|
7046
|
+
anonymous: false,
|
|
7047
|
+
inputs: [{
|
|
7048
|
+
indexed: true,
|
|
7049
|
+
internalType: "uint8",
|
|
7050
|
+
name: "eModeCategoryId",
|
|
7051
|
+
type: "uint8"
|
|
7052
|
+
}, {
|
|
7053
|
+
indexed: true,
|
|
7054
|
+
internalType: "bool",
|
|
7055
|
+
name: "isRestricted",
|
|
7056
|
+
type: "bool"
|
|
7057
|
+
}],
|
|
7058
|
+
name: "EModeRestricted",
|
|
7059
|
+
type: "event"
|
|
7060
|
+
},
|
|
7061
|
+
{
|
|
7062
|
+
anonymous: false,
|
|
7063
|
+
inputs: [{
|
|
7064
|
+
components: [
|
|
7065
|
+
{
|
|
7066
|
+
components: [
|
|
7067
|
+
{
|
|
7068
|
+
components: [{
|
|
7069
|
+
internalType: "uint40",
|
|
7070
|
+
name: "minDelay",
|
|
7071
|
+
type: "uint40"
|
|
7072
|
+
}, {
|
|
7073
|
+
internalType: "uint256",
|
|
7074
|
+
name: "maxPercentChange",
|
|
7075
|
+
type: "uint256"
|
|
7076
|
+
}],
|
|
7077
|
+
internalType: "struct IRiskSteward.RiskParamConfig",
|
|
7078
|
+
name: "ltv",
|
|
7079
|
+
type: "tuple"
|
|
7080
|
+
},
|
|
7081
|
+
{
|
|
7082
|
+
components: [{
|
|
7083
|
+
internalType: "uint40",
|
|
7084
|
+
name: "minDelay",
|
|
7085
|
+
type: "uint40"
|
|
7086
|
+
}, {
|
|
7087
|
+
internalType: "uint256",
|
|
7088
|
+
name: "maxPercentChange",
|
|
7089
|
+
type: "uint256"
|
|
7090
|
+
}],
|
|
7091
|
+
internalType: "struct IRiskSteward.RiskParamConfig",
|
|
7092
|
+
name: "liquidationThreshold",
|
|
7093
|
+
type: "tuple"
|
|
7094
|
+
},
|
|
7095
|
+
{
|
|
7096
|
+
components: [{
|
|
7097
|
+
internalType: "uint40",
|
|
7098
|
+
name: "minDelay",
|
|
7099
|
+
type: "uint40"
|
|
7100
|
+
}, {
|
|
7101
|
+
internalType: "uint256",
|
|
7102
|
+
name: "maxPercentChange",
|
|
7103
|
+
type: "uint256"
|
|
7104
|
+
}],
|
|
7105
|
+
internalType: "struct IRiskSteward.RiskParamConfig",
|
|
7106
|
+
name: "liquidationBonus",
|
|
7107
|
+
type: "tuple"
|
|
7108
|
+
}
|
|
7109
|
+
],
|
|
7110
|
+
internalType: "struct IRiskSteward.CollateralConfig",
|
|
7111
|
+
name: "collateralConfig",
|
|
7112
|
+
type: "tuple"
|
|
7113
|
+
},
|
|
7114
|
+
{
|
|
7115
|
+
components: [
|
|
7116
|
+
{
|
|
7117
|
+
components: [{
|
|
7118
|
+
internalType: "uint40",
|
|
7119
|
+
name: "minDelay",
|
|
7120
|
+
type: "uint40"
|
|
7121
|
+
}, {
|
|
7122
|
+
internalType: "uint256",
|
|
7123
|
+
name: "maxPercentChange",
|
|
7124
|
+
type: "uint256"
|
|
7125
|
+
}],
|
|
7126
|
+
internalType: "struct IRiskSteward.RiskParamConfig",
|
|
7127
|
+
name: "ltv",
|
|
7128
|
+
type: "tuple"
|
|
7129
|
+
},
|
|
7130
|
+
{
|
|
7131
|
+
components: [{
|
|
7132
|
+
internalType: "uint40",
|
|
7133
|
+
name: "minDelay",
|
|
7134
|
+
type: "uint40"
|
|
7135
|
+
}, {
|
|
7136
|
+
internalType: "uint256",
|
|
7137
|
+
name: "maxPercentChange",
|
|
7138
|
+
type: "uint256"
|
|
7139
|
+
}],
|
|
7140
|
+
internalType: "struct IRiskSteward.RiskParamConfig",
|
|
7141
|
+
name: "liquidationThreshold",
|
|
7142
|
+
type: "tuple"
|
|
7143
|
+
},
|
|
7144
|
+
{
|
|
7145
|
+
components: [{
|
|
7146
|
+
internalType: "uint40",
|
|
7147
|
+
name: "minDelay",
|
|
7148
|
+
type: "uint40"
|
|
7149
|
+
}, {
|
|
7150
|
+
internalType: "uint256",
|
|
7151
|
+
name: "maxPercentChange",
|
|
7152
|
+
type: "uint256"
|
|
7153
|
+
}],
|
|
7154
|
+
internalType: "struct IRiskSteward.RiskParamConfig",
|
|
7155
|
+
name: "liquidationBonus",
|
|
7156
|
+
type: "tuple"
|
|
7157
|
+
}
|
|
7158
|
+
],
|
|
7159
|
+
internalType: "struct IRiskSteward.EmodeConfig",
|
|
7160
|
+
name: "eModeConfig",
|
|
7161
|
+
type: "tuple"
|
|
7162
|
+
},
|
|
7163
|
+
{
|
|
7164
|
+
components: [
|
|
7165
|
+
{
|
|
7166
|
+
components: [{
|
|
7167
|
+
internalType: "uint40",
|
|
7168
|
+
name: "minDelay",
|
|
7169
|
+
type: "uint40"
|
|
7170
|
+
}, {
|
|
7171
|
+
internalType: "uint256",
|
|
7172
|
+
name: "maxPercentChange",
|
|
7173
|
+
type: "uint256"
|
|
7174
|
+
}],
|
|
7175
|
+
internalType: "struct IRiskSteward.RiskParamConfig",
|
|
7176
|
+
name: "baseVariableBorrowRate",
|
|
7177
|
+
type: "tuple"
|
|
7178
|
+
},
|
|
7179
|
+
{
|
|
7180
|
+
components: [{
|
|
7181
|
+
internalType: "uint40",
|
|
7182
|
+
name: "minDelay",
|
|
7183
|
+
type: "uint40"
|
|
7184
|
+
}, {
|
|
7185
|
+
internalType: "uint256",
|
|
7186
|
+
name: "maxPercentChange",
|
|
7187
|
+
type: "uint256"
|
|
7188
|
+
}],
|
|
7189
|
+
internalType: "struct IRiskSteward.RiskParamConfig",
|
|
7190
|
+
name: "variableRateSlope1",
|
|
7191
|
+
type: "tuple"
|
|
7192
|
+
},
|
|
7193
|
+
{
|
|
7194
|
+
components: [{
|
|
7195
|
+
internalType: "uint40",
|
|
7196
|
+
name: "minDelay",
|
|
7197
|
+
type: "uint40"
|
|
7198
|
+
}, {
|
|
7199
|
+
internalType: "uint256",
|
|
7200
|
+
name: "maxPercentChange",
|
|
7201
|
+
type: "uint256"
|
|
7202
|
+
}],
|
|
7203
|
+
internalType: "struct IRiskSteward.RiskParamConfig",
|
|
7204
|
+
name: "variableRateSlope2",
|
|
7205
|
+
type: "tuple"
|
|
7206
|
+
},
|
|
7207
|
+
{
|
|
7208
|
+
components: [{
|
|
7209
|
+
internalType: "uint40",
|
|
7210
|
+
name: "minDelay",
|
|
7211
|
+
type: "uint40"
|
|
7212
|
+
}, {
|
|
7213
|
+
internalType: "uint256",
|
|
7214
|
+
name: "maxPercentChange",
|
|
7215
|
+
type: "uint256"
|
|
7216
|
+
}],
|
|
7217
|
+
internalType: "struct IRiskSteward.RiskParamConfig",
|
|
7218
|
+
name: "optimalUsageRatio",
|
|
7219
|
+
type: "tuple"
|
|
7220
|
+
}
|
|
7221
|
+
],
|
|
7222
|
+
internalType: "struct IRiskSteward.RateConfig",
|
|
7223
|
+
name: "rateConfig",
|
|
7224
|
+
type: "tuple"
|
|
7225
|
+
},
|
|
7226
|
+
{
|
|
7227
|
+
components: [{
|
|
7228
|
+
components: [{
|
|
7229
|
+
internalType: "uint40",
|
|
7230
|
+
name: "minDelay",
|
|
7231
|
+
type: "uint40"
|
|
7232
|
+
}, {
|
|
7233
|
+
internalType: "uint256",
|
|
7234
|
+
name: "maxPercentChange",
|
|
7235
|
+
type: "uint256"
|
|
7236
|
+
}],
|
|
7237
|
+
internalType: "struct IRiskSteward.RiskParamConfig",
|
|
7238
|
+
name: "supplyCap",
|
|
7239
|
+
type: "tuple"
|
|
7240
|
+
}, {
|
|
7241
|
+
components: [{
|
|
7242
|
+
internalType: "uint40",
|
|
7243
|
+
name: "minDelay",
|
|
7244
|
+
type: "uint40"
|
|
7245
|
+
}, {
|
|
7246
|
+
internalType: "uint256",
|
|
7247
|
+
name: "maxPercentChange",
|
|
7248
|
+
type: "uint256"
|
|
7249
|
+
}],
|
|
7250
|
+
internalType: "struct IRiskSteward.RiskParamConfig",
|
|
7251
|
+
name: "borrowCap",
|
|
7252
|
+
type: "tuple"
|
|
7253
|
+
}],
|
|
7254
|
+
internalType: "struct IRiskSteward.CapConfig",
|
|
7255
|
+
name: "capConfig",
|
|
7256
|
+
type: "tuple"
|
|
7257
|
+
},
|
|
7258
|
+
{
|
|
7259
|
+
components: [
|
|
7260
|
+
{
|
|
7261
|
+
components: [{
|
|
7262
|
+
internalType: "uint40",
|
|
7263
|
+
name: "minDelay",
|
|
7264
|
+
type: "uint40"
|
|
7265
|
+
}, {
|
|
7266
|
+
internalType: "uint256",
|
|
7267
|
+
name: "maxPercentChange",
|
|
7268
|
+
type: "uint256"
|
|
7269
|
+
}],
|
|
7270
|
+
internalType: "struct IRiskSteward.RiskParamConfig",
|
|
7271
|
+
name: "priceCapLst",
|
|
7272
|
+
type: "tuple"
|
|
7273
|
+
},
|
|
7274
|
+
{
|
|
7275
|
+
components: [{
|
|
7276
|
+
internalType: "uint40",
|
|
7277
|
+
name: "minDelay",
|
|
7278
|
+
type: "uint40"
|
|
7279
|
+
}, {
|
|
7280
|
+
internalType: "uint256",
|
|
7281
|
+
name: "maxPercentChange",
|
|
7282
|
+
type: "uint256"
|
|
7283
|
+
}],
|
|
7284
|
+
internalType: "struct IRiskSteward.RiskParamConfig",
|
|
7285
|
+
name: "priceCapStable",
|
|
7286
|
+
type: "tuple"
|
|
7287
|
+
},
|
|
7288
|
+
{
|
|
7289
|
+
components: [{
|
|
7290
|
+
internalType: "uint40",
|
|
7291
|
+
name: "minDelay",
|
|
7292
|
+
type: "uint40"
|
|
7293
|
+
}, {
|
|
7294
|
+
internalType: "uint256",
|
|
7295
|
+
name: "maxPercentChange",
|
|
7296
|
+
type: "uint256"
|
|
7297
|
+
}],
|
|
7298
|
+
internalType: "struct IRiskSteward.RiskParamConfig",
|
|
7299
|
+
name: "discountRatePendle",
|
|
7300
|
+
type: "tuple"
|
|
7301
|
+
}
|
|
7302
|
+
],
|
|
7303
|
+
internalType: "struct IRiskSteward.PriceCapConfig",
|
|
7304
|
+
name: "priceCapConfig",
|
|
7305
|
+
type: "tuple"
|
|
7306
|
+
}
|
|
7307
|
+
],
|
|
7308
|
+
indexed: true,
|
|
7309
|
+
internalType: "struct IRiskSteward.Config",
|
|
7310
|
+
name: "riskConfig",
|
|
7311
|
+
type: "tuple"
|
|
7312
|
+
}],
|
|
7313
|
+
name: "RiskConfigSet",
|
|
7314
|
+
type: "event"
|
|
7028
7315
|
}
|
|
7029
7316
|
];
|
|
7030
7317
|
|
|
@@ -7053,6 +7053,293 @@ const eventDb = [
|
|
|
7053
7053
|
],
|
|
7054
7054
|
name: "UserDataUpdated",
|
|
7055
7055
|
type: "event"
|
|
7056
|
+
},
|
|
7057
|
+
{
|
|
7058
|
+
anonymous: false,
|
|
7059
|
+
inputs: [{
|
|
7060
|
+
indexed: true,
|
|
7061
|
+
internalType: "address",
|
|
7062
|
+
name: "contractAddress",
|
|
7063
|
+
type: "address"
|
|
7064
|
+
}, {
|
|
7065
|
+
indexed: true,
|
|
7066
|
+
internalType: "bool",
|
|
7067
|
+
name: "isRestricted",
|
|
7068
|
+
type: "bool"
|
|
7069
|
+
}],
|
|
7070
|
+
name: "AddressRestricted",
|
|
7071
|
+
type: "event"
|
|
7072
|
+
},
|
|
7073
|
+
{
|
|
7074
|
+
anonymous: false,
|
|
7075
|
+
inputs: [{
|
|
7076
|
+
indexed: true,
|
|
7077
|
+
internalType: "uint8",
|
|
7078
|
+
name: "eModeCategoryId",
|
|
7079
|
+
type: "uint8"
|
|
7080
|
+
}, {
|
|
7081
|
+
indexed: true,
|
|
7082
|
+
internalType: "bool",
|
|
7083
|
+
name: "isRestricted",
|
|
7084
|
+
type: "bool"
|
|
7085
|
+
}],
|
|
7086
|
+
name: "EModeRestricted",
|
|
7087
|
+
type: "event"
|
|
7088
|
+
},
|
|
7089
|
+
{
|
|
7090
|
+
anonymous: false,
|
|
7091
|
+
inputs: [{
|
|
7092
|
+
components: [
|
|
7093
|
+
{
|
|
7094
|
+
components: [
|
|
7095
|
+
{
|
|
7096
|
+
components: [{
|
|
7097
|
+
internalType: "uint40",
|
|
7098
|
+
name: "minDelay",
|
|
7099
|
+
type: "uint40"
|
|
7100
|
+
}, {
|
|
7101
|
+
internalType: "uint256",
|
|
7102
|
+
name: "maxPercentChange",
|
|
7103
|
+
type: "uint256"
|
|
7104
|
+
}],
|
|
7105
|
+
internalType: "struct IRiskSteward.RiskParamConfig",
|
|
7106
|
+
name: "ltv",
|
|
7107
|
+
type: "tuple"
|
|
7108
|
+
},
|
|
7109
|
+
{
|
|
7110
|
+
components: [{
|
|
7111
|
+
internalType: "uint40",
|
|
7112
|
+
name: "minDelay",
|
|
7113
|
+
type: "uint40"
|
|
7114
|
+
}, {
|
|
7115
|
+
internalType: "uint256",
|
|
7116
|
+
name: "maxPercentChange",
|
|
7117
|
+
type: "uint256"
|
|
7118
|
+
}],
|
|
7119
|
+
internalType: "struct IRiskSteward.RiskParamConfig",
|
|
7120
|
+
name: "liquidationThreshold",
|
|
7121
|
+
type: "tuple"
|
|
7122
|
+
},
|
|
7123
|
+
{
|
|
7124
|
+
components: [{
|
|
7125
|
+
internalType: "uint40",
|
|
7126
|
+
name: "minDelay",
|
|
7127
|
+
type: "uint40"
|
|
7128
|
+
}, {
|
|
7129
|
+
internalType: "uint256",
|
|
7130
|
+
name: "maxPercentChange",
|
|
7131
|
+
type: "uint256"
|
|
7132
|
+
}],
|
|
7133
|
+
internalType: "struct IRiskSteward.RiskParamConfig",
|
|
7134
|
+
name: "liquidationBonus",
|
|
7135
|
+
type: "tuple"
|
|
7136
|
+
}
|
|
7137
|
+
],
|
|
7138
|
+
internalType: "struct IRiskSteward.CollateralConfig",
|
|
7139
|
+
name: "collateralConfig",
|
|
7140
|
+
type: "tuple"
|
|
7141
|
+
},
|
|
7142
|
+
{
|
|
7143
|
+
components: [
|
|
7144
|
+
{
|
|
7145
|
+
components: [{
|
|
7146
|
+
internalType: "uint40",
|
|
7147
|
+
name: "minDelay",
|
|
7148
|
+
type: "uint40"
|
|
7149
|
+
}, {
|
|
7150
|
+
internalType: "uint256",
|
|
7151
|
+
name: "maxPercentChange",
|
|
7152
|
+
type: "uint256"
|
|
7153
|
+
}],
|
|
7154
|
+
internalType: "struct IRiskSteward.RiskParamConfig",
|
|
7155
|
+
name: "ltv",
|
|
7156
|
+
type: "tuple"
|
|
7157
|
+
},
|
|
7158
|
+
{
|
|
7159
|
+
components: [{
|
|
7160
|
+
internalType: "uint40",
|
|
7161
|
+
name: "minDelay",
|
|
7162
|
+
type: "uint40"
|
|
7163
|
+
}, {
|
|
7164
|
+
internalType: "uint256",
|
|
7165
|
+
name: "maxPercentChange",
|
|
7166
|
+
type: "uint256"
|
|
7167
|
+
}],
|
|
7168
|
+
internalType: "struct IRiskSteward.RiskParamConfig",
|
|
7169
|
+
name: "liquidationThreshold",
|
|
7170
|
+
type: "tuple"
|
|
7171
|
+
},
|
|
7172
|
+
{
|
|
7173
|
+
components: [{
|
|
7174
|
+
internalType: "uint40",
|
|
7175
|
+
name: "minDelay",
|
|
7176
|
+
type: "uint40"
|
|
7177
|
+
}, {
|
|
7178
|
+
internalType: "uint256",
|
|
7179
|
+
name: "maxPercentChange",
|
|
7180
|
+
type: "uint256"
|
|
7181
|
+
}],
|
|
7182
|
+
internalType: "struct IRiskSteward.RiskParamConfig",
|
|
7183
|
+
name: "liquidationBonus",
|
|
7184
|
+
type: "tuple"
|
|
7185
|
+
}
|
|
7186
|
+
],
|
|
7187
|
+
internalType: "struct IRiskSteward.EmodeConfig",
|
|
7188
|
+
name: "eModeConfig",
|
|
7189
|
+
type: "tuple"
|
|
7190
|
+
},
|
|
7191
|
+
{
|
|
7192
|
+
components: [
|
|
7193
|
+
{
|
|
7194
|
+
components: [{
|
|
7195
|
+
internalType: "uint40",
|
|
7196
|
+
name: "minDelay",
|
|
7197
|
+
type: "uint40"
|
|
7198
|
+
}, {
|
|
7199
|
+
internalType: "uint256",
|
|
7200
|
+
name: "maxPercentChange",
|
|
7201
|
+
type: "uint256"
|
|
7202
|
+
}],
|
|
7203
|
+
internalType: "struct IRiskSteward.RiskParamConfig",
|
|
7204
|
+
name: "baseVariableBorrowRate",
|
|
7205
|
+
type: "tuple"
|
|
7206
|
+
},
|
|
7207
|
+
{
|
|
7208
|
+
components: [{
|
|
7209
|
+
internalType: "uint40",
|
|
7210
|
+
name: "minDelay",
|
|
7211
|
+
type: "uint40"
|
|
7212
|
+
}, {
|
|
7213
|
+
internalType: "uint256",
|
|
7214
|
+
name: "maxPercentChange",
|
|
7215
|
+
type: "uint256"
|
|
7216
|
+
}],
|
|
7217
|
+
internalType: "struct IRiskSteward.RiskParamConfig",
|
|
7218
|
+
name: "variableRateSlope1",
|
|
7219
|
+
type: "tuple"
|
|
7220
|
+
},
|
|
7221
|
+
{
|
|
7222
|
+
components: [{
|
|
7223
|
+
internalType: "uint40",
|
|
7224
|
+
name: "minDelay",
|
|
7225
|
+
type: "uint40"
|
|
7226
|
+
}, {
|
|
7227
|
+
internalType: "uint256",
|
|
7228
|
+
name: "maxPercentChange",
|
|
7229
|
+
type: "uint256"
|
|
7230
|
+
}],
|
|
7231
|
+
internalType: "struct IRiskSteward.RiskParamConfig",
|
|
7232
|
+
name: "variableRateSlope2",
|
|
7233
|
+
type: "tuple"
|
|
7234
|
+
},
|
|
7235
|
+
{
|
|
7236
|
+
components: [{
|
|
7237
|
+
internalType: "uint40",
|
|
7238
|
+
name: "minDelay",
|
|
7239
|
+
type: "uint40"
|
|
7240
|
+
}, {
|
|
7241
|
+
internalType: "uint256",
|
|
7242
|
+
name: "maxPercentChange",
|
|
7243
|
+
type: "uint256"
|
|
7244
|
+
}],
|
|
7245
|
+
internalType: "struct IRiskSteward.RiskParamConfig",
|
|
7246
|
+
name: "optimalUsageRatio",
|
|
7247
|
+
type: "tuple"
|
|
7248
|
+
}
|
|
7249
|
+
],
|
|
7250
|
+
internalType: "struct IRiskSteward.RateConfig",
|
|
7251
|
+
name: "rateConfig",
|
|
7252
|
+
type: "tuple"
|
|
7253
|
+
},
|
|
7254
|
+
{
|
|
7255
|
+
components: [{
|
|
7256
|
+
components: [{
|
|
7257
|
+
internalType: "uint40",
|
|
7258
|
+
name: "minDelay",
|
|
7259
|
+
type: "uint40"
|
|
7260
|
+
}, {
|
|
7261
|
+
internalType: "uint256",
|
|
7262
|
+
name: "maxPercentChange",
|
|
7263
|
+
type: "uint256"
|
|
7264
|
+
}],
|
|
7265
|
+
internalType: "struct IRiskSteward.RiskParamConfig",
|
|
7266
|
+
name: "supplyCap",
|
|
7267
|
+
type: "tuple"
|
|
7268
|
+
}, {
|
|
7269
|
+
components: [{
|
|
7270
|
+
internalType: "uint40",
|
|
7271
|
+
name: "minDelay",
|
|
7272
|
+
type: "uint40"
|
|
7273
|
+
}, {
|
|
7274
|
+
internalType: "uint256",
|
|
7275
|
+
name: "maxPercentChange",
|
|
7276
|
+
type: "uint256"
|
|
7277
|
+
}],
|
|
7278
|
+
internalType: "struct IRiskSteward.RiskParamConfig",
|
|
7279
|
+
name: "borrowCap",
|
|
7280
|
+
type: "tuple"
|
|
7281
|
+
}],
|
|
7282
|
+
internalType: "struct IRiskSteward.CapConfig",
|
|
7283
|
+
name: "capConfig",
|
|
7284
|
+
type: "tuple"
|
|
7285
|
+
},
|
|
7286
|
+
{
|
|
7287
|
+
components: [
|
|
7288
|
+
{
|
|
7289
|
+
components: [{
|
|
7290
|
+
internalType: "uint40",
|
|
7291
|
+
name: "minDelay",
|
|
7292
|
+
type: "uint40"
|
|
7293
|
+
}, {
|
|
7294
|
+
internalType: "uint256",
|
|
7295
|
+
name: "maxPercentChange",
|
|
7296
|
+
type: "uint256"
|
|
7297
|
+
}],
|
|
7298
|
+
internalType: "struct IRiskSteward.RiskParamConfig",
|
|
7299
|
+
name: "priceCapLst",
|
|
7300
|
+
type: "tuple"
|
|
7301
|
+
},
|
|
7302
|
+
{
|
|
7303
|
+
components: [{
|
|
7304
|
+
internalType: "uint40",
|
|
7305
|
+
name: "minDelay",
|
|
7306
|
+
type: "uint40"
|
|
7307
|
+
}, {
|
|
7308
|
+
internalType: "uint256",
|
|
7309
|
+
name: "maxPercentChange",
|
|
7310
|
+
type: "uint256"
|
|
7311
|
+
}],
|
|
7312
|
+
internalType: "struct IRiskSteward.RiskParamConfig",
|
|
7313
|
+
name: "priceCapStable",
|
|
7314
|
+
type: "tuple"
|
|
7315
|
+
},
|
|
7316
|
+
{
|
|
7317
|
+
components: [{
|
|
7318
|
+
internalType: "uint40",
|
|
7319
|
+
name: "minDelay",
|
|
7320
|
+
type: "uint40"
|
|
7321
|
+
}, {
|
|
7322
|
+
internalType: "uint256",
|
|
7323
|
+
name: "maxPercentChange",
|
|
7324
|
+
type: "uint256"
|
|
7325
|
+
}],
|
|
7326
|
+
internalType: "struct IRiskSteward.RiskParamConfig",
|
|
7327
|
+
name: "discountRatePendle",
|
|
7328
|
+
type: "tuple"
|
|
7329
|
+
}
|
|
7330
|
+
],
|
|
7331
|
+
internalType: "struct IRiskSteward.PriceCapConfig",
|
|
7332
|
+
name: "priceCapConfig",
|
|
7333
|
+
type: "tuple"
|
|
7334
|
+
}
|
|
7335
|
+
],
|
|
7336
|
+
indexed: true,
|
|
7337
|
+
internalType: "struct IRiskSteward.Config",
|
|
7338
|
+
name: "riskConfig",
|
|
7339
|
+
type: "tuple"
|
|
7340
|
+
}],
|
|
7341
|
+
name: "RiskConfigSet",
|
|
7342
|
+
type: "event"
|
|
7056
7343
|
}
|
|
7057
7344
|
];
|
|
7058
7345
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aave-dao/aave-helpers-js",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"dist"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@aave-dao/aave-address-book": "^4.
|
|
31
|
+
"@aave-dao/aave-address-book": "^4.65.6",
|
|
32
32
|
"@aave-dao/toolbox": "^0.5.0",
|
|
33
33
|
"commander": "^14.0.3",
|
|
34
34
|
"find-object-paths": "^1.1.0",
|