@aave-dao/aave-helpers-js 1.6.9 → 1.6.10
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-DSCnWGVE.cjs → protocol-diff-v4-C_rzde_Y.cjs} +132 -0
- package/dist/{protocol-diff-v4-C8OqNaGo.mjs → protocol-diff-v4-Dny4UiSl.mjs} +132 -0
- package/package.json +1 -1
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-C_rzde_Y.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-Dny4UiSl.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-C_rzde_Y.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-Dny4UiSl.mjs";
|
|
2
2
|
|
|
3
3
|
export { diff, diffSnapshots, diffV4Snapshots, eventDb, hasChanges, isChange };
|
|
@@ -8691,6 +8691,138 @@ const eventDb = [
|
|
|
8691
8691
|
],
|
|
8692
8692
|
name: "ProxyCreated",
|
|
8693
8693
|
type: "event"
|
|
8694
|
+
},
|
|
8695
|
+
{
|
|
8696
|
+
type: "event",
|
|
8697
|
+
name: "AgentSet",
|
|
8698
|
+
inputs: [
|
|
8699
|
+
{
|
|
8700
|
+
name: "agentId",
|
|
8701
|
+
type: "uint256",
|
|
8702
|
+
indexed: true,
|
|
8703
|
+
internalType: "uint256"
|
|
8704
|
+
},
|
|
8705
|
+
{
|
|
8706
|
+
name: "direction",
|
|
8707
|
+
type: "uint8",
|
|
8708
|
+
indexed: false,
|
|
8709
|
+
internalType: "enum ICapsRangeValidationModule.Direction"
|
|
8710
|
+
},
|
|
8711
|
+
{
|
|
8712
|
+
name: "kind",
|
|
8713
|
+
type: "uint8",
|
|
8714
|
+
indexed: false,
|
|
8715
|
+
internalType: "enum ICapsRangeValidationModule.CapKind"
|
|
8716
|
+
}
|
|
8717
|
+
],
|
|
8718
|
+
anonymous: false
|
|
8719
|
+
},
|
|
8720
|
+
{
|
|
8721
|
+
type: "event",
|
|
8722
|
+
name: "BoundsSet",
|
|
8723
|
+
inputs: [{
|
|
8724
|
+
name: "kind",
|
|
8725
|
+
type: "uint8",
|
|
8726
|
+
indexed: true,
|
|
8727
|
+
internalType: "enum ICapsRangeValidationModule.CapKind"
|
|
8728
|
+
}, {
|
|
8729
|
+
name: "bounds",
|
|
8730
|
+
type: "tuple",
|
|
8731
|
+
indexed: false,
|
|
8732
|
+
internalType: "struct ICapsRangeValidationModule.Bounds",
|
|
8733
|
+
components: [
|
|
8734
|
+
{
|
|
8735
|
+
name: "alphaBpsLimit",
|
|
8736
|
+
type: "uint16",
|
|
8737
|
+
internalType: "uint16"
|
|
8738
|
+
},
|
|
8739
|
+
{
|
|
8740
|
+
name: "cutBandBpsLimit",
|
|
8741
|
+
type: "uint16",
|
|
8742
|
+
internalType: "uint16"
|
|
8743
|
+
},
|
|
8744
|
+
{
|
|
8745
|
+
name: "maxIncreaseBps",
|
|
8746
|
+
type: "uint16",
|
|
8747
|
+
internalType: "uint16"
|
|
8748
|
+
},
|
|
8749
|
+
{
|
|
8750
|
+
name: "cooldown",
|
|
8751
|
+
type: "uint40",
|
|
8752
|
+
internalType: "uint40"
|
|
8753
|
+
}
|
|
8754
|
+
]
|
|
8755
|
+
}],
|
|
8756
|
+
anonymous: false
|
|
8757
|
+
},
|
|
8758
|
+
{
|
|
8759
|
+
type: "event",
|
|
8760
|
+
name: "RateLimitConfigSet",
|
|
8761
|
+
inputs: [
|
|
8762
|
+
{
|
|
8763
|
+
name: "asset",
|
|
8764
|
+
type: "address",
|
|
8765
|
+
indexed: true,
|
|
8766
|
+
internalType: "address"
|
|
8767
|
+
},
|
|
8768
|
+
{
|
|
8769
|
+
name: "kind",
|
|
8770
|
+
type: "uint8",
|
|
8771
|
+
indexed: true,
|
|
8772
|
+
internalType: "enum ICapsRangeValidationModule.CapKind"
|
|
8773
|
+
},
|
|
8774
|
+
{
|
|
8775
|
+
name: "rateLimitConfig",
|
|
8776
|
+
type: "tuple",
|
|
8777
|
+
indexed: false,
|
|
8778
|
+
internalType: "struct ICapsRangeValidationModule.RateLimitConfig",
|
|
8779
|
+
components: [
|
|
8780
|
+
{
|
|
8781
|
+
name: "maxCap",
|
|
8782
|
+
type: "uint64",
|
|
8783
|
+
internalType: "uint64"
|
|
8784
|
+
},
|
|
8785
|
+
{
|
|
8786
|
+
name: "maxHeadroom",
|
|
8787
|
+
type: "uint64",
|
|
8788
|
+
internalType: "uint64"
|
|
8789
|
+
},
|
|
8790
|
+
{
|
|
8791
|
+
name: "alphaBps",
|
|
8792
|
+
type: "uint16",
|
|
8793
|
+
internalType: "uint16"
|
|
8794
|
+
},
|
|
8795
|
+
{
|
|
8796
|
+
name: "cutBandBps",
|
|
8797
|
+
type: "uint16",
|
|
8798
|
+
internalType: "uint16"
|
|
8799
|
+
}
|
|
8800
|
+
]
|
|
8801
|
+
},
|
|
8802
|
+
{
|
|
8803
|
+
name: "caller",
|
|
8804
|
+
type: "address",
|
|
8805
|
+
indexed: false,
|
|
8806
|
+
internalType: "address"
|
|
8807
|
+
}
|
|
8808
|
+
],
|
|
8809
|
+
anonymous: false
|
|
8810
|
+
},
|
|
8811
|
+
{
|
|
8812
|
+
type: "event",
|
|
8813
|
+
name: "RiskCouncilChanged",
|
|
8814
|
+
inputs: [{
|
|
8815
|
+
name: "previousRiskCouncil",
|
|
8816
|
+
type: "address",
|
|
8817
|
+
indexed: true,
|
|
8818
|
+
internalType: "address"
|
|
8819
|
+
}, {
|
|
8820
|
+
name: "newRiskCouncil",
|
|
8821
|
+
type: "address",
|
|
8822
|
+
indexed: true,
|
|
8823
|
+
internalType: "address"
|
|
8824
|
+
}],
|
|
8825
|
+
anonymous: false
|
|
8694
8826
|
}
|
|
8695
8827
|
];
|
|
8696
8828
|
|
|
@@ -8663,6 +8663,138 @@ const eventDb = [
|
|
|
8663
8663
|
],
|
|
8664
8664
|
name: "ProxyCreated",
|
|
8665
8665
|
type: "event"
|
|
8666
|
+
},
|
|
8667
|
+
{
|
|
8668
|
+
type: "event",
|
|
8669
|
+
name: "AgentSet",
|
|
8670
|
+
inputs: [
|
|
8671
|
+
{
|
|
8672
|
+
name: "agentId",
|
|
8673
|
+
type: "uint256",
|
|
8674
|
+
indexed: true,
|
|
8675
|
+
internalType: "uint256"
|
|
8676
|
+
},
|
|
8677
|
+
{
|
|
8678
|
+
name: "direction",
|
|
8679
|
+
type: "uint8",
|
|
8680
|
+
indexed: false,
|
|
8681
|
+
internalType: "enum ICapsRangeValidationModule.Direction"
|
|
8682
|
+
},
|
|
8683
|
+
{
|
|
8684
|
+
name: "kind",
|
|
8685
|
+
type: "uint8",
|
|
8686
|
+
indexed: false,
|
|
8687
|
+
internalType: "enum ICapsRangeValidationModule.CapKind"
|
|
8688
|
+
}
|
|
8689
|
+
],
|
|
8690
|
+
anonymous: false
|
|
8691
|
+
},
|
|
8692
|
+
{
|
|
8693
|
+
type: "event",
|
|
8694
|
+
name: "BoundsSet",
|
|
8695
|
+
inputs: [{
|
|
8696
|
+
name: "kind",
|
|
8697
|
+
type: "uint8",
|
|
8698
|
+
indexed: true,
|
|
8699
|
+
internalType: "enum ICapsRangeValidationModule.CapKind"
|
|
8700
|
+
}, {
|
|
8701
|
+
name: "bounds",
|
|
8702
|
+
type: "tuple",
|
|
8703
|
+
indexed: false,
|
|
8704
|
+
internalType: "struct ICapsRangeValidationModule.Bounds",
|
|
8705
|
+
components: [
|
|
8706
|
+
{
|
|
8707
|
+
name: "alphaBpsLimit",
|
|
8708
|
+
type: "uint16",
|
|
8709
|
+
internalType: "uint16"
|
|
8710
|
+
},
|
|
8711
|
+
{
|
|
8712
|
+
name: "cutBandBpsLimit",
|
|
8713
|
+
type: "uint16",
|
|
8714
|
+
internalType: "uint16"
|
|
8715
|
+
},
|
|
8716
|
+
{
|
|
8717
|
+
name: "maxIncreaseBps",
|
|
8718
|
+
type: "uint16",
|
|
8719
|
+
internalType: "uint16"
|
|
8720
|
+
},
|
|
8721
|
+
{
|
|
8722
|
+
name: "cooldown",
|
|
8723
|
+
type: "uint40",
|
|
8724
|
+
internalType: "uint40"
|
|
8725
|
+
}
|
|
8726
|
+
]
|
|
8727
|
+
}],
|
|
8728
|
+
anonymous: false
|
|
8729
|
+
},
|
|
8730
|
+
{
|
|
8731
|
+
type: "event",
|
|
8732
|
+
name: "RateLimitConfigSet",
|
|
8733
|
+
inputs: [
|
|
8734
|
+
{
|
|
8735
|
+
name: "asset",
|
|
8736
|
+
type: "address",
|
|
8737
|
+
indexed: true,
|
|
8738
|
+
internalType: "address"
|
|
8739
|
+
},
|
|
8740
|
+
{
|
|
8741
|
+
name: "kind",
|
|
8742
|
+
type: "uint8",
|
|
8743
|
+
indexed: true,
|
|
8744
|
+
internalType: "enum ICapsRangeValidationModule.CapKind"
|
|
8745
|
+
},
|
|
8746
|
+
{
|
|
8747
|
+
name: "rateLimitConfig",
|
|
8748
|
+
type: "tuple",
|
|
8749
|
+
indexed: false,
|
|
8750
|
+
internalType: "struct ICapsRangeValidationModule.RateLimitConfig",
|
|
8751
|
+
components: [
|
|
8752
|
+
{
|
|
8753
|
+
name: "maxCap",
|
|
8754
|
+
type: "uint64",
|
|
8755
|
+
internalType: "uint64"
|
|
8756
|
+
},
|
|
8757
|
+
{
|
|
8758
|
+
name: "maxHeadroom",
|
|
8759
|
+
type: "uint64",
|
|
8760
|
+
internalType: "uint64"
|
|
8761
|
+
},
|
|
8762
|
+
{
|
|
8763
|
+
name: "alphaBps",
|
|
8764
|
+
type: "uint16",
|
|
8765
|
+
internalType: "uint16"
|
|
8766
|
+
},
|
|
8767
|
+
{
|
|
8768
|
+
name: "cutBandBps",
|
|
8769
|
+
type: "uint16",
|
|
8770
|
+
internalType: "uint16"
|
|
8771
|
+
}
|
|
8772
|
+
]
|
|
8773
|
+
},
|
|
8774
|
+
{
|
|
8775
|
+
name: "caller",
|
|
8776
|
+
type: "address",
|
|
8777
|
+
indexed: false,
|
|
8778
|
+
internalType: "address"
|
|
8779
|
+
}
|
|
8780
|
+
],
|
|
8781
|
+
anonymous: false
|
|
8782
|
+
},
|
|
8783
|
+
{
|
|
8784
|
+
type: "event",
|
|
8785
|
+
name: "RiskCouncilChanged",
|
|
8786
|
+
inputs: [{
|
|
8787
|
+
name: "previousRiskCouncil",
|
|
8788
|
+
type: "address",
|
|
8789
|
+
indexed: true,
|
|
8790
|
+
internalType: "address"
|
|
8791
|
+
}, {
|
|
8792
|
+
name: "newRiskCouncil",
|
|
8793
|
+
type: "address",
|
|
8794
|
+
indexed: true,
|
|
8795
|
+
internalType: "address"
|
|
8796
|
+
}],
|
|
8797
|
+
anonymous: false
|
|
8666
8798
|
}
|
|
8667
8799
|
];
|
|
8668
8800
|
|