@aave-dao/aave-helpers-js 1.5.0 → 1.5.2
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-QdYu8sJe.mjs → protocol-diff-v4-CogMmqyF.mjs} +405 -0
- package/dist/{protocol-diff-v4-DwXofQCa.cjs → protocol-diff-v4-DYNCrUBC.cjs} +405 -0
- package/package.json +3 -3
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-DYNCrUBC.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-CogMmqyF.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-DYNCrUBC.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-CogMmqyF.mjs";
|
|
2
2
|
|
|
3
3
|
export { diff, diffSnapshots, diffV4Snapshots, eventDb, hasChanges, isChange };
|
|
@@ -7551,6 +7551,411 @@ const eventDb = [
|
|
|
7551
7551
|
],
|
|
7552
7552
|
name: "VariableDebtTokenUpgraded",
|
|
7553
7553
|
type: "event"
|
|
7554
|
+
},
|
|
7555
|
+
{
|
|
7556
|
+
anonymous: false,
|
|
7557
|
+
inputs: [
|
|
7558
|
+
{
|
|
7559
|
+
indexed: true,
|
|
7560
|
+
internalType: "address",
|
|
7561
|
+
name: "backer",
|
|
7562
|
+
type: "address"
|
|
7563
|
+
},
|
|
7564
|
+
{
|
|
7565
|
+
indexed: true,
|
|
7566
|
+
internalType: "address",
|
|
7567
|
+
name: "asset",
|
|
7568
|
+
type: "address"
|
|
7569
|
+
},
|
|
7570
|
+
{
|
|
7571
|
+
indexed: false,
|
|
7572
|
+
internalType: "uint256",
|
|
7573
|
+
name: "amount",
|
|
7574
|
+
type: "uint256"
|
|
7575
|
+
},
|
|
7576
|
+
{
|
|
7577
|
+
indexed: false,
|
|
7578
|
+
internalType: "uint256",
|
|
7579
|
+
name: "ghoAmount",
|
|
7580
|
+
type: "uint256"
|
|
7581
|
+
},
|
|
7582
|
+
{
|
|
7583
|
+
indexed: false,
|
|
7584
|
+
internalType: "uint256",
|
|
7585
|
+
name: "remainingLoss",
|
|
7586
|
+
type: "uint256"
|
|
7587
|
+
}
|
|
7588
|
+
],
|
|
7589
|
+
name: "BackingProvided",
|
|
7590
|
+
type: "event"
|
|
7591
|
+
},
|
|
7592
|
+
{
|
|
7593
|
+
anonymous: false,
|
|
7594
|
+
inputs: [
|
|
7595
|
+
{
|
|
7596
|
+
indexed: true,
|
|
7597
|
+
internalType: "address",
|
|
7598
|
+
name: "burner",
|
|
7599
|
+
type: "address"
|
|
7600
|
+
},
|
|
7601
|
+
{
|
|
7602
|
+
indexed: false,
|
|
7603
|
+
internalType: "uint256",
|
|
7604
|
+
name: "amount",
|
|
7605
|
+
type: "uint256"
|
|
7606
|
+
},
|
|
7607
|
+
{
|
|
7608
|
+
indexed: false,
|
|
7609
|
+
internalType: "uint256",
|
|
7610
|
+
name: "ghoOutstanding",
|
|
7611
|
+
type: "uint256"
|
|
7612
|
+
}
|
|
7613
|
+
],
|
|
7614
|
+
name: "BurnAfterSeize",
|
|
7615
|
+
type: "event"
|
|
7616
|
+
},
|
|
7617
|
+
{
|
|
7618
|
+
anonymous: false,
|
|
7619
|
+
inputs: [
|
|
7620
|
+
{
|
|
7621
|
+
indexed: true,
|
|
7622
|
+
internalType: "address",
|
|
7623
|
+
name: "originator",
|
|
7624
|
+
type: "address"
|
|
7625
|
+
},
|
|
7626
|
+
{
|
|
7627
|
+
indexed: true,
|
|
7628
|
+
internalType: "address",
|
|
7629
|
+
name: "receiver",
|
|
7630
|
+
type: "address"
|
|
7631
|
+
},
|
|
7632
|
+
{
|
|
7633
|
+
indexed: false,
|
|
7634
|
+
internalType: "uint256",
|
|
7635
|
+
name: "underlyingAmount",
|
|
7636
|
+
type: "uint256"
|
|
7637
|
+
},
|
|
7638
|
+
{
|
|
7639
|
+
indexed: false,
|
|
7640
|
+
internalType: "uint256",
|
|
7641
|
+
name: "ghoAmount",
|
|
7642
|
+
type: "uint256"
|
|
7643
|
+
},
|
|
7644
|
+
{
|
|
7645
|
+
indexed: false,
|
|
7646
|
+
internalType: "uint256",
|
|
7647
|
+
name: "fee",
|
|
7648
|
+
type: "uint256"
|
|
7649
|
+
}
|
|
7650
|
+
],
|
|
7651
|
+
name: "BuyAsset",
|
|
7652
|
+
type: "event"
|
|
7653
|
+
},
|
|
7654
|
+
{
|
|
7655
|
+
anonymous: false,
|
|
7656
|
+
inputs: [{
|
|
7657
|
+
indexed: false,
|
|
7658
|
+
internalType: "uint256",
|
|
7659
|
+
name: "oldExposureCap",
|
|
7660
|
+
type: "uint256"
|
|
7661
|
+
}, {
|
|
7662
|
+
indexed: false,
|
|
7663
|
+
internalType: "uint256",
|
|
7664
|
+
name: "newExposureCap",
|
|
7665
|
+
type: "uint256"
|
|
7666
|
+
}],
|
|
7667
|
+
name: "ExposureCapUpdated",
|
|
7668
|
+
type: "event"
|
|
7669
|
+
},
|
|
7670
|
+
{
|
|
7671
|
+
anonymous: false,
|
|
7672
|
+
inputs: [{
|
|
7673
|
+
indexed: true,
|
|
7674
|
+
internalType: "address",
|
|
7675
|
+
name: "oldFeeStrategy",
|
|
7676
|
+
type: "address"
|
|
7677
|
+
}, {
|
|
7678
|
+
indexed: true,
|
|
7679
|
+
internalType: "address",
|
|
7680
|
+
name: "newFeeStrategy",
|
|
7681
|
+
type: "address"
|
|
7682
|
+
}],
|
|
7683
|
+
name: "FeeStrategyUpdated",
|
|
7684
|
+
type: "event"
|
|
7685
|
+
},
|
|
7686
|
+
{
|
|
7687
|
+
anonymous: false,
|
|
7688
|
+
inputs: [
|
|
7689
|
+
{
|
|
7690
|
+
indexed: true,
|
|
7691
|
+
internalType: "address",
|
|
7692
|
+
name: "ghoTreasury",
|
|
7693
|
+
type: "address"
|
|
7694
|
+
},
|
|
7695
|
+
{
|
|
7696
|
+
indexed: true,
|
|
7697
|
+
internalType: "address",
|
|
7698
|
+
name: "asset",
|
|
7699
|
+
type: "address"
|
|
7700
|
+
},
|
|
7701
|
+
{
|
|
7702
|
+
indexed: false,
|
|
7703
|
+
internalType: "uint256",
|
|
7704
|
+
name: "amount",
|
|
7705
|
+
type: "uint256"
|
|
7706
|
+
}
|
|
7707
|
+
],
|
|
7708
|
+
name: "FeesDistributedToTreasury",
|
|
7709
|
+
type: "event"
|
|
7710
|
+
},
|
|
7711
|
+
{
|
|
7712
|
+
anonymous: false,
|
|
7713
|
+
inputs: [{
|
|
7714
|
+
indexed: false,
|
|
7715
|
+
internalType: "address",
|
|
7716
|
+
name: "oldReserve",
|
|
7717
|
+
type: "address"
|
|
7718
|
+
}, {
|
|
7719
|
+
indexed: false,
|
|
7720
|
+
internalType: "address",
|
|
7721
|
+
name: "newReserve",
|
|
7722
|
+
type: "address"
|
|
7723
|
+
}],
|
|
7724
|
+
name: "GhoReserveUpdated",
|
|
7725
|
+
type: "event"
|
|
7726
|
+
},
|
|
7727
|
+
{
|
|
7728
|
+
anonymous: false,
|
|
7729
|
+
inputs: [{
|
|
7730
|
+
indexed: true,
|
|
7731
|
+
internalType: "address",
|
|
7732
|
+
name: "oldGhoTreasury",
|
|
7733
|
+
type: "address"
|
|
7734
|
+
}, {
|
|
7735
|
+
indexed: true,
|
|
7736
|
+
internalType: "address",
|
|
7737
|
+
name: "newGhoTreasury",
|
|
7738
|
+
type: "address"
|
|
7739
|
+
}],
|
|
7740
|
+
name: "GhoTreasuryUpdated",
|
|
7741
|
+
type: "event"
|
|
7742
|
+
},
|
|
7743
|
+
{
|
|
7744
|
+
anonymous: false,
|
|
7745
|
+
inputs: [
|
|
7746
|
+
{
|
|
7747
|
+
indexed: true,
|
|
7748
|
+
internalType: "address",
|
|
7749
|
+
name: "seizer",
|
|
7750
|
+
type: "address"
|
|
7751
|
+
},
|
|
7752
|
+
{
|
|
7753
|
+
indexed: true,
|
|
7754
|
+
internalType: "address",
|
|
7755
|
+
name: "recipient",
|
|
7756
|
+
type: "address"
|
|
7757
|
+
},
|
|
7758
|
+
{
|
|
7759
|
+
indexed: false,
|
|
7760
|
+
internalType: "uint256",
|
|
7761
|
+
name: "underlyingAmount",
|
|
7762
|
+
type: "uint256"
|
|
7763
|
+
},
|
|
7764
|
+
{
|
|
7765
|
+
indexed: false,
|
|
7766
|
+
internalType: "uint256",
|
|
7767
|
+
name: "ghoOutstanding",
|
|
7768
|
+
type: "uint256"
|
|
7769
|
+
}
|
|
7770
|
+
],
|
|
7771
|
+
name: "Seized",
|
|
7772
|
+
type: "event"
|
|
7773
|
+
},
|
|
7774
|
+
{
|
|
7775
|
+
anonymous: false,
|
|
7776
|
+
inputs: [
|
|
7777
|
+
{
|
|
7778
|
+
indexed: true,
|
|
7779
|
+
internalType: "address",
|
|
7780
|
+
name: "originator",
|
|
7781
|
+
type: "address"
|
|
7782
|
+
},
|
|
7783
|
+
{
|
|
7784
|
+
indexed: true,
|
|
7785
|
+
internalType: "address",
|
|
7786
|
+
name: "receiver",
|
|
7787
|
+
type: "address"
|
|
7788
|
+
},
|
|
7789
|
+
{
|
|
7790
|
+
indexed: false,
|
|
7791
|
+
internalType: "uint256",
|
|
7792
|
+
name: "underlyingAmount",
|
|
7793
|
+
type: "uint256"
|
|
7794
|
+
},
|
|
7795
|
+
{
|
|
7796
|
+
indexed: false,
|
|
7797
|
+
internalType: "uint256",
|
|
7798
|
+
name: "ghoAmount",
|
|
7799
|
+
type: "uint256"
|
|
7800
|
+
},
|
|
7801
|
+
{
|
|
7802
|
+
indexed: false,
|
|
7803
|
+
internalType: "uint256",
|
|
7804
|
+
name: "fee",
|
|
7805
|
+
type: "uint256"
|
|
7806
|
+
}
|
|
7807
|
+
],
|
|
7808
|
+
name: "SellAsset",
|
|
7809
|
+
type: "event"
|
|
7810
|
+
},
|
|
7811
|
+
{
|
|
7812
|
+
anonymous: false,
|
|
7813
|
+
inputs: [{
|
|
7814
|
+
indexed: true,
|
|
7815
|
+
internalType: "address",
|
|
7816
|
+
name: "freezer",
|
|
7817
|
+
type: "address"
|
|
7818
|
+
}, {
|
|
7819
|
+
indexed: false,
|
|
7820
|
+
internalType: "bool",
|
|
7821
|
+
name: "enabled",
|
|
7822
|
+
type: "bool"
|
|
7823
|
+
}],
|
|
7824
|
+
name: "SwapFreeze",
|
|
7825
|
+
type: "event"
|
|
7826
|
+
},
|
|
7827
|
+
{
|
|
7828
|
+
anonymous: false,
|
|
7829
|
+
inputs: [
|
|
7830
|
+
{
|
|
7831
|
+
indexed: true,
|
|
7832
|
+
internalType: "address",
|
|
7833
|
+
name: "tokenRescued",
|
|
7834
|
+
type: "address"
|
|
7835
|
+
},
|
|
7836
|
+
{
|
|
7837
|
+
indexed: true,
|
|
7838
|
+
internalType: "address",
|
|
7839
|
+
name: "recipient",
|
|
7840
|
+
type: "address"
|
|
7841
|
+
},
|
|
7842
|
+
{
|
|
7843
|
+
indexed: false,
|
|
7844
|
+
internalType: "uint256",
|
|
7845
|
+
name: "amountRescued",
|
|
7846
|
+
type: "uint256"
|
|
7847
|
+
}
|
|
7848
|
+
],
|
|
7849
|
+
name: "TokensRescued",
|
|
7850
|
+
type: "event"
|
|
7851
|
+
},
|
|
7852
|
+
{
|
|
7853
|
+
anonymous: false,
|
|
7854
|
+
inputs: [{
|
|
7855
|
+
indexed: true,
|
|
7856
|
+
internalType: "address",
|
|
7857
|
+
name: "entity",
|
|
7858
|
+
type: "address"
|
|
7859
|
+
}],
|
|
7860
|
+
name: "EntityAdded",
|
|
7861
|
+
type: "event"
|
|
7862
|
+
},
|
|
7863
|
+
{
|
|
7864
|
+
anonymous: false,
|
|
7865
|
+
inputs: [{
|
|
7866
|
+
indexed: true,
|
|
7867
|
+
internalType: "address",
|
|
7868
|
+
name: "entity",
|
|
7869
|
+
type: "address"
|
|
7870
|
+
}],
|
|
7871
|
+
name: "EntityRemoved",
|
|
7872
|
+
type: "event"
|
|
7873
|
+
},
|
|
7874
|
+
{
|
|
7875
|
+
anonymous: false,
|
|
7876
|
+
inputs: [{
|
|
7877
|
+
indexed: true,
|
|
7878
|
+
internalType: "address",
|
|
7879
|
+
name: "entity",
|
|
7880
|
+
type: "address"
|
|
7881
|
+
}, {
|
|
7882
|
+
indexed: false,
|
|
7883
|
+
internalType: "uint256",
|
|
7884
|
+
name: "limit",
|
|
7885
|
+
type: "uint256"
|
|
7886
|
+
}],
|
|
7887
|
+
name: "GhoLimitUpdated",
|
|
7888
|
+
type: "event"
|
|
7889
|
+
},
|
|
7890
|
+
{
|
|
7891
|
+
anonymous: false,
|
|
7892
|
+
inputs: [{
|
|
7893
|
+
indexed: true,
|
|
7894
|
+
internalType: "address",
|
|
7895
|
+
name: "entity",
|
|
7896
|
+
type: "address"
|
|
7897
|
+
}, {
|
|
7898
|
+
indexed: false,
|
|
7899
|
+
internalType: "uint256",
|
|
7900
|
+
name: "amount",
|
|
7901
|
+
type: "uint256"
|
|
7902
|
+
}],
|
|
7903
|
+
name: "GhoRestored",
|
|
7904
|
+
type: "event"
|
|
7905
|
+
},
|
|
7906
|
+
{
|
|
7907
|
+
anonymous: false,
|
|
7908
|
+
inputs: [{
|
|
7909
|
+
indexed: true,
|
|
7910
|
+
internalType: "address",
|
|
7911
|
+
name: "to",
|
|
7912
|
+
type: "address"
|
|
7913
|
+
}, {
|
|
7914
|
+
indexed: false,
|
|
7915
|
+
internalType: "uint256",
|
|
7916
|
+
name: "amount",
|
|
7917
|
+
type: "uint256"
|
|
7918
|
+
}],
|
|
7919
|
+
name: "GhoTransferred",
|
|
7920
|
+
type: "event"
|
|
7921
|
+
},
|
|
7922
|
+
{
|
|
7923
|
+
anonymous: false,
|
|
7924
|
+
inputs: [{
|
|
7925
|
+
indexed: true,
|
|
7926
|
+
internalType: "address",
|
|
7927
|
+
name: "entity",
|
|
7928
|
+
type: "address"
|
|
7929
|
+
}, {
|
|
7930
|
+
indexed: false,
|
|
7931
|
+
internalType: "uint256",
|
|
7932
|
+
name: "amount",
|
|
7933
|
+
type: "uint256"
|
|
7934
|
+
}],
|
|
7935
|
+
name: "GhoUsed",
|
|
7936
|
+
type: "event"
|
|
7937
|
+
},
|
|
7938
|
+
{
|
|
7939
|
+
anonymous: false,
|
|
7940
|
+
inputs: [{
|
|
7941
|
+
indexed: true,
|
|
7942
|
+
internalType: "address",
|
|
7943
|
+
name: "gsmAddress",
|
|
7944
|
+
type: "address"
|
|
7945
|
+
}],
|
|
7946
|
+
name: "GsmAdded",
|
|
7947
|
+
type: "event"
|
|
7948
|
+
},
|
|
7949
|
+
{
|
|
7950
|
+
anonymous: false,
|
|
7951
|
+
inputs: [{
|
|
7952
|
+
indexed: true,
|
|
7953
|
+
internalType: "address",
|
|
7954
|
+
name: "gsmAddress",
|
|
7955
|
+
type: "address"
|
|
7956
|
+
}],
|
|
7957
|
+
name: "GsmRemoved",
|
|
7958
|
+
type: "event"
|
|
7554
7959
|
}
|
|
7555
7960
|
];
|
|
7556
7961
|
|
|
@@ -7579,6 +7579,411 @@ const eventDb = [
|
|
|
7579
7579
|
],
|
|
7580
7580
|
name: "VariableDebtTokenUpgraded",
|
|
7581
7581
|
type: "event"
|
|
7582
|
+
},
|
|
7583
|
+
{
|
|
7584
|
+
anonymous: false,
|
|
7585
|
+
inputs: [
|
|
7586
|
+
{
|
|
7587
|
+
indexed: true,
|
|
7588
|
+
internalType: "address",
|
|
7589
|
+
name: "backer",
|
|
7590
|
+
type: "address"
|
|
7591
|
+
},
|
|
7592
|
+
{
|
|
7593
|
+
indexed: true,
|
|
7594
|
+
internalType: "address",
|
|
7595
|
+
name: "asset",
|
|
7596
|
+
type: "address"
|
|
7597
|
+
},
|
|
7598
|
+
{
|
|
7599
|
+
indexed: false,
|
|
7600
|
+
internalType: "uint256",
|
|
7601
|
+
name: "amount",
|
|
7602
|
+
type: "uint256"
|
|
7603
|
+
},
|
|
7604
|
+
{
|
|
7605
|
+
indexed: false,
|
|
7606
|
+
internalType: "uint256",
|
|
7607
|
+
name: "ghoAmount",
|
|
7608
|
+
type: "uint256"
|
|
7609
|
+
},
|
|
7610
|
+
{
|
|
7611
|
+
indexed: false,
|
|
7612
|
+
internalType: "uint256",
|
|
7613
|
+
name: "remainingLoss",
|
|
7614
|
+
type: "uint256"
|
|
7615
|
+
}
|
|
7616
|
+
],
|
|
7617
|
+
name: "BackingProvided",
|
|
7618
|
+
type: "event"
|
|
7619
|
+
},
|
|
7620
|
+
{
|
|
7621
|
+
anonymous: false,
|
|
7622
|
+
inputs: [
|
|
7623
|
+
{
|
|
7624
|
+
indexed: true,
|
|
7625
|
+
internalType: "address",
|
|
7626
|
+
name: "burner",
|
|
7627
|
+
type: "address"
|
|
7628
|
+
},
|
|
7629
|
+
{
|
|
7630
|
+
indexed: false,
|
|
7631
|
+
internalType: "uint256",
|
|
7632
|
+
name: "amount",
|
|
7633
|
+
type: "uint256"
|
|
7634
|
+
},
|
|
7635
|
+
{
|
|
7636
|
+
indexed: false,
|
|
7637
|
+
internalType: "uint256",
|
|
7638
|
+
name: "ghoOutstanding",
|
|
7639
|
+
type: "uint256"
|
|
7640
|
+
}
|
|
7641
|
+
],
|
|
7642
|
+
name: "BurnAfterSeize",
|
|
7643
|
+
type: "event"
|
|
7644
|
+
},
|
|
7645
|
+
{
|
|
7646
|
+
anonymous: false,
|
|
7647
|
+
inputs: [
|
|
7648
|
+
{
|
|
7649
|
+
indexed: true,
|
|
7650
|
+
internalType: "address",
|
|
7651
|
+
name: "originator",
|
|
7652
|
+
type: "address"
|
|
7653
|
+
},
|
|
7654
|
+
{
|
|
7655
|
+
indexed: true,
|
|
7656
|
+
internalType: "address",
|
|
7657
|
+
name: "receiver",
|
|
7658
|
+
type: "address"
|
|
7659
|
+
},
|
|
7660
|
+
{
|
|
7661
|
+
indexed: false,
|
|
7662
|
+
internalType: "uint256",
|
|
7663
|
+
name: "underlyingAmount",
|
|
7664
|
+
type: "uint256"
|
|
7665
|
+
},
|
|
7666
|
+
{
|
|
7667
|
+
indexed: false,
|
|
7668
|
+
internalType: "uint256",
|
|
7669
|
+
name: "ghoAmount",
|
|
7670
|
+
type: "uint256"
|
|
7671
|
+
},
|
|
7672
|
+
{
|
|
7673
|
+
indexed: false,
|
|
7674
|
+
internalType: "uint256",
|
|
7675
|
+
name: "fee",
|
|
7676
|
+
type: "uint256"
|
|
7677
|
+
}
|
|
7678
|
+
],
|
|
7679
|
+
name: "BuyAsset",
|
|
7680
|
+
type: "event"
|
|
7681
|
+
},
|
|
7682
|
+
{
|
|
7683
|
+
anonymous: false,
|
|
7684
|
+
inputs: [{
|
|
7685
|
+
indexed: false,
|
|
7686
|
+
internalType: "uint256",
|
|
7687
|
+
name: "oldExposureCap",
|
|
7688
|
+
type: "uint256"
|
|
7689
|
+
}, {
|
|
7690
|
+
indexed: false,
|
|
7691
|
+
internalType: "uint256",
|
|
7692
|
+
name: "newExposureCap",
|
|
7693
|
+
type: "uint256"
|
|
7694
|
+
}],
|
|
7695
|
+
name: "ExposureCapUpdated",
|
|
7696
|
+
type: "event"
|
|
7697
|
+
},
|
|
7698
|
+
{
|
|
7699
|
+
anonymous: false,
|
|
7700
|
+
inputs: [{
|
|
7701
|
+
indexed: true,
|
|
7702
|
+
internalType: "address",
|
|
7703
|
+
name: "oldFeeStrategy",
|
|
7704
|
+
type: "address"
|
|
7705
|
+
}, {
|
|
7706
|
+
indexed: true,
|
|
7707
|
+
internalType: "address",
|
|
7708
|
+
name: "newFeeStrategy",
|
|
7709
|
+
type: "address"
|
|
7710
|
+
}],
|
|
7711
|
+
name: "FeeStrategyUpdated",
|
|
7712
|
+
type: "event"
|
|
7713
|
+
},
|
|
7714
|
+
{
|
|
7715
|
+
anonymous: false,
|
|
7716
|
+
inputs: [
|
|
7717
|
+
{
|
|
7718
|
+
indexed: true,
|
|
7719
|
+
internalType: "address",
|
|
7720
|
+
name: "ghoTreasury",
|
|
7721
|
+
type: "address"
|
|
7722
|
+
},
|
|
7723
|
+
{
|
|
7724
|
+
indexed: true,
|
|
7725
|
+
internalType: "address",
|
|
7726
|
+
name: "asset",
|
|
7727
|
+
type: "address"
|
|
7728
|
+
},
|
|
7729
|
+
{
|
|
7730
|
+
indexed: false,
|
|
7731
|
+
internalType: "uint256",
|
|
7732
|
+
name: "amount",
|
|
7733
|
+
type: "uint256"
|
|
7734
|
+
}
|
|
7735
|
+
],
|
|
7736
|
+
name: "FeesDistributedToTreasury",
|
|
7737
|
+
type: "event"
|
|
7738
|
+
},
|
|
7739
|
+
{
|
|
7740
|
+
anonymous: false,
|
|
7741
|
+
inputs: [{
|
|
7742
|
+
indexed: false,
|
|
7743
|
+
internalType: "address",
|
|
7744
|
+
name: "oldReserve",
|
|
7745
|
+
type: "address"
|
|
7746
|
+
}, {
|
|
7747
|
+
indexed: false,
|
|
7748
|
+
internalType: "address",
|
|
7749
|
+
name: "newReserve",
|
|
7750
|
+
type: "address"
|
|
7751
|
+
}],
|
|
7752
|
+
name: "GhoReserveUpdated",
|
|
7753
|
+
type: "event"
|
|
7754
|
+
},
|
|
7755
|
+
{
|
|
7756
|
+
anonymous: false,
|
|
7757
|
+
inputs: [{
|
|
7758
|
+
indexed: true,
|
|
7759
|
+
internalType: "address",
|
|
7760
|
+
name: "oldGhoTreasury",
|
|
7761
|
+
type: "address"
|
|
7762
|
+
}, {
|
|
7763
|
+
indexed: true,
|
|
7764
|
+
internalType: "address",
|
|
7765
|
+
name: "newGhoTreasury",
|
|
7766
|
+
type: "address"
|
|
7767
|
+
}],
|
|
7768
|
+
name: "GhoTreasuryUpdated",
|
|
7769
|
+
type: "event"
|
|
7770
|
+
},
|
|
7771
|
+
{
|
|
7772
|
+
anonymous: false,
|
|
7773
|
+
inputs: [
|
|
7774
|
+
{
|
|
7775
|
+
indexed: true,
|
|
7776
|
+
internalType: "address",
|
|
7777
|
+
name: "seizer",
|
|
7778
|
+
type: "address"
|
|
7779
|
+
},
|
|
7780
|
+
{
|
|
7781
|
+
indexed: true,
|
|
7782
|
+
internalType: "address",
|
|
7783
|
+
name: "recipient",
|
|
7784
|
+
type: "address"
|
|
7785
|
+
},
|
|
7786
|
+
{
|
|
7787
|
+
indexed: false,
|
|
7788
|
+
internalType: "uint256",
|
|
7789
|
+
name: "underlyingAmount",
|
|
7790
|
+
type: "uint256"
|
|
7791
|
+
},
|
|
7792
|
+
{
|
|
7793
|
+
indexed: false,
|
|
7794
|
+
internalType: "uint256",
|
|
7795
|
+
name: "ghoOutstanding",
|
|
7796
|
+
type: "uint256"
|
|
7797
|
+
}
|
|
7798
|
+
],
|
|
7799
|
+
name: "Seized",
|
|
7800
|
+
type: "event"
|
|
7801
|
+
},
|
|
7802
|
+
{
|
|
7803
|
+
anonymous: false,
|
|
7804
|
+
inputs: [
|
|
7805
|
+
{
|
|
7806
|
+
indexed: true,
|
|
7807
|
+
internalType: "address",
|
|
7808
|
+
name: "originator",
|
|
7809
|
+
type: "address"
|
|
7810
|
+
},
|
|
7811
|
+
{
|
|
7812
|
+
indexed: true,
|
|
7813
|
+
internalType: "address",
|
|
7814
|
+
name: "receiver",
|
|
7815
|
+
type: "address"
|
|
7816
|
+
},
|
|
7817
|
+
{
|
|
7818
|
+
indexed: false,
|
|
7819
|
+
internalType: "uint256",
|
|
7820
|
+
name: "underlyingAmount",
|
|
7821
|
+
type: "uint256"
|
|
7822
|
+
},
|
|
7823
|
+
{
|
|
7824
|
+
indexed: false,
|
|
7825
|
+
internalType: "uint256",
|
|
7826
|
+
name: "ghoAmount",
|
|
7827
|
+
type: "uint256"
|
|
7828
|
+
},
|
|
7829
|
+
{
|
|
7830
|
+
indexed: false,
|
|
7831
|
+
internalType: "uint256",
|
|
7832
|
+
name: "fee",
|
|
7833
|
+
type: "uint256"
|
|
7834
|
+
}
|
|
7835
|
+
],
|
|
7836
|
+
name: "SellAsset",
|
|
7837
|
+
type: "event"
|
|
7838
|
+
},
|
|
7839
|
+
{
|
|
7840
|
+
anonymous: false,
|
|
7841
|
+
inputs: [{
|
|
7842
|
+
indexed: true,
|
|
7843
|
+
internalType: "address",
|
|
7844
|
+
name: "freezer",
|
|
7845
|
+
type: "address"
|
|
7846
|
+
}, {
|
|
7847
|
+
indexed: false,
|
|
7848
|
+
internalType: "bool",
|
|
7849
|
+
name: "enabled",
|
|
7850
|
+
type: "bool"
|
|
7851
|
+
}],
|
|
7852
|
+
name: "SwapFreeze",
|
|
7853
|
+
type: "event"
|
|
7854
|
+
},
|
|
7855
|
+
{
|
|
7856
|
+
anonymous: false,
|
|
7857
|
+
inputs: [
|
|
7858
|
+
{
|
|
7859
|
+
indexed: true,
|
|
7860
|
+
internalType: "address",
|
|
7861
|
+
name: "tokenRescued",
|
|
7862
|
+
type: "address"
|
|
7863
|
+
},
|
|
7864
|
+
{
|
|
7865
|
+
indexed: true,
|
|
7866
|
+
internalType: "address",
|
|
7867
|
+
name: "recipient",
|
|
7868
|
+
type: "address"
|
|
7869
|
+
},
|
|
7870
|
+
{
|
|
7871
|
+
indexed: false,
|
|
7872
|
+
internalType: "uint256",
|
|
7873
|
+
name: "amountRescued",
|
|
7874
|
+
type: "uint256"
|
|
7875
|
+
}
|
|
7876
|
+
],
|
|
7877
|
+
name: "TokensRescued",
|
|
7878
|
+
type: "event"
|
|
7879
|
+
},
|
|
7880
|
+
{
|
|
7881
|
+
anonymous: false,
|
|
7882
|
+
inputs: [{
|
|
7883
|
+
indexed: true,
|
|
7884
|
+
internalType: "address",
|
|
7885
|
+
name: "entity",
|
|
7886
|
+
type: "address"
|
|
7887
|
+
}],
|
|
7888
|
+
name: "EntityAdded",
|
|
7889
|
+
type: "event"
|
|
7890
|
+
},
|
|
7891
|
+
{
|
|
7892
|
+
anonymous: false,
|
|
7893
|
+
inputs: [{
|
|
7894
|
+
indexed: true,
|
|
7895
|
+
internalType: "address",
|
|
7896
|
+
name: "entity",
|
|
7897
|
+
type: "address"
|
|
7898
|
+
}],
|
|
7899
|
+
name: "EntityRemoved",
|
|
7900
|
+
type: "event"
|
|
7901
|
+
},
|
|
7902
|
+
{
|
|
7903
|
+
anonymous: false,
|
|
7904
|
+
inputs: [{
|
|
7905
|
+
indexed: true,
|
|
7906
|
+
internalType: "address",
|
|
7907
|
+
name: "entity",
|
|
7908
|
+
type: "address"
|
|
7909
|
+
}, {
|
|
7910
|
+
indexed: false,
|
|
7911
|
+
internalType: "uint256",
|
|
7912
|
+
name: "limit",
|
|
7913
|
+
type: "uint256"
|
|
7914
|
+
}],
|
|
7915
|
+
name: "GhoLimitUpdated",
|
|
7916
|
+
type: "event"
|
|
7917
|
+
},
|
|
7918
|
+
{
|
|
7919
|
+
anonymous: false,
|
|
7920
|
+
inputs: [{
|
|
7921
|
+
indexed: true,
|
|
7922
|
+
internalType: "address",
|
|
7923
|
+
name: "entity",
|
|
7924
|
+
type: "address"
|
|
7925
|
+
}, {
|
|
7926
|
+
indexed: false,
|
|
7927
|
+
internalType: "uint256",
|
|
7928
|
+
name: "amount",
|
|
7929
|
+
type: "uint256"
|
|
7930
|
+
}],
|
|
7931
|
+
name: "GhoRestored",
|
|
7932
|
+
type: "event"
|
|
7933
|
+
},
|
|
7934
|
+
{
|
|
7935
|
+
anonymous: false,
|
|
7936
|
+
inputs: [{
|
|
7937
|
+
indexed: true,
|
|
7938
|
+
internalType: "address",
|
|
7939
|
+
name: "to",
|
|
7940
|
+
type: "address"
|
|
7941
|
+
}, {
|
|
7942
|
+
indexed: false,
|
|
7943
|
+
internalType: "uint256",
|
|
7944
|
+
name: "amount",
|
|
7945
|
+
type: "uint256"
|
|
7946
|
+
}],
|
|
7947
|
+
name: "GhoTransferred",
|
|
7948
|
+
type: "event"
|
|
7949
|
+
},
|
|
7950
|
+
{
|
|
7951
|
+
anonymous: false,
|
|
7952
|
+
inputs: [{
|
|
7953
|
+
indexed: true,
|
|
7954
|
+
internalType: "address",
|
|
7955
|
+
name: "entity",
|
|
7956
|
+
type: "address"
|
|
7957
|
+
}, {
|
|
7958
|
+
indexed: false,
|
|
7959
|
+
internalType: "uint256",
|
|
7960
|
+
name: "amount",
|
|
7961
|
+
type: "uint256"
|
|
7962
|
+
}],
|
|
7963
|
+
name: "GhoUsed",
|
|
7964
|
+
type: "event"
|
|
7965
|
+
},
|
|
7966
|
+
{
|
|
7967
|
+
anonymous: false,
|
|
7968
|
+
inputs: [{
|
|
7969
|
+
indexed: true,
|
|
7970
|
+
internalType: "address",
|
|
7971
|
+
name: "gsmAddress",
|
|
7972
|
+
type: "address"
|
|
7973
|
+
}],
|
|
7974
|
+
name: "GsmAdded",
|
|
7975
|
+
type: "event"
|
|
7976
|
+
},
|
|
7977
|
+
{
|
|
7978
|
+
anonymous: false,
|
|
7979
|
+
inputs: [{
|
|
7980
|
+
indexed: true,
|
|
7981
|
+
internalType: "address",
|
|
7982
|
+
name: "gsmAddress",
|
|
7983
|
+
type: "address"
|
|
7984
|
+
}],
|
|
7985
|
+
name: "GsmRemoved",
|
|
7986
|
+
type: "event"
|
|
7582
7987
|
}
|
|
7583
7988
|
];
|
|
7584
7989
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aave-dao/aave-helpers-js",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"dist"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@aave-dao/aave-address-book": "^4.
|
|
32
|
-
"@aave-dao/toolbox": "^0.
|
|
31
|
+
"@aave-dao/aave-address-book": "^4.68.1",
|
|
32
|
+
"@aave-dao/toolbox": "^0.7.0",
|
|
33
33
|
"commander": "^14.0.3",
|
|
34
34
|
"find-object-paths": "^1.1.0",
|
|
35
35
|
"viem": "^2.45.3",
|