@aave-dao/aave-helpers-js 1.3.4 → 1.3.6
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-BOP7s2hK.mjs → protocol-diff-v4-DW93YtW7.mjs} +226 -0
- package/dist/{protocol-diff-v4-DjXSe_sS.cjs → protocol-diff-v4-Vg5ALPRD.cjs} +226 -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-Vg5ALPRD.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-DW93YtW7.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-Vg5ALPRD.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-DW93YtW7.mjs";
|
|
2
2
|
|
|
3
3
|
export { diff, diffSnapshots, diffV4Snapshots, eventDb, hasChanges, isChange };
|
|
@@ -6799,6 +6799,232 @@ const eventDb = [
|
|
|
6799
6799
|
],
|
|
6800
6800
|
name: "UpdateInterestRateData",
|
|
6801
6801
|
type: "event"
|
|
6802
|
+
},
|
|
6803
|
+
{
|
|
6804
|
+
anonymous: false,
|
|
6805
|
+
inputs: [{
|
|
6806
|
+
indexed: true,
|
|
6807
|
+
internalType: "address",
|
|
6808
|
+
name: "asset",
|
|
6809
|
+
type: "address"
|
|
6810
|
+
}],
|
|
6811
|
+
name: "AssetInitialized",
|
|
6812
|
+
type: "event"
|
|
6813
|
+
},
|
|
6814
|
+
{
|
|
6815
|
+
anonymous: false,
|
|
6816
|
+
inputs: [
|
|
6817
|
+
{
|
|
6818
|
+
indexed: true,
|
|
6819
|
+
internalType: "address",
|
|
6820
|
+
name: "user",
|
|
6821
|
+
type: "address"
|
|
6822
|
+
},
|
|
6823
|
+
{
|
|
6824
|
+
indexed: true,
|
|
6825
|
+
internalType: "address",
|
|
6826
|
+
name: "claimer",
|
|
6827
|
+
type: "address"
|
|
6828
|
+
},
|
|
6829
|
+
{
|
|
6830
|
+
indexed: true,
|
|
6831
|
+
internalType: "address",
|
|
6832
|
+
name: "caller",
|
|
6833
|
+
type: "address"
|
|
6834
|
+
},
|
|
6835
|
+
{
|
|
6836
|
+
indexed: false,
|
|
6837
|
+
internalType: "bool",
|
|
6838
|
+
name: "flag",
|
|
6839
|
+
type: "bool"
|
|
6840
|
+
}
|
|
6841
|
+
],
|
|
6842
|
+
name: "ClaimerSet",
|
|
6843
|
+
type: "event"
|
|
6844
|
+
},
|
|
6845
|
+
{
|
|
6846
|
+
anonymous: false,
|
|
6847
|
+
inputs: [{
|
|
6848
|
+
indexed: true,
|
|
6849
|
+
internalType: "address",
|
|
6850
|
+
name: "asset",
|
|
6851
|
+
type: "address"
|
|
6852
|
+
}, {
|
|
6853
|
+
indexed: false,
|
|
6854
|
+
internalType: "uint256",
|
|
6855
|
+
name: "newTimestamp",
|
|
6856
|
+
type: "uint256"
|
|
6857
|
+
}],
|
|
6858
|
+
name: "LastTimestampUpdated",
|
|
6859
|
+
type: "event"
|
|
6860
|
+
},
|
|
6861
|
+
{
|
|
6862
|
+
anonymous: false,
|
|
6863
|
+
inputs: [
|
|
6864
|
+
{
|
|
6865
|
+
indexed: true,
|
|
6866
|
+
internalType: "address",
|
|
6867
|
+
name: "asset",
|
|
6868
|
+
type: "address"
|
|
6869
|
+
},
|
|
6870
|
+
{
|
|
6871
|
+
indexed: true,
|
|
6872
|
+
internalType: "address",
|
|
6873
|
+
name: "reward",
|
|
6874
|
+
type: "address"
|
|
6875
|
+
},
|
|
6876
|
+
{
|
|
6877
|
+
indexed: true,
|
|
6878
|
+
internalType: "address",
|
|
6879
|
+
name: "user",
|
|
6880
|
+
type: "address"
|
|
6881
|
+
},
|
|
6882
|
+
{
|
|
6883
|
+
indexed: false,
|
|
6884
|
+
internalType: "address",
|
|
6885
|
+
name: "receiver",
|
|
6886
|
+
type: "address"
|
|
6887
|
+
},
|
|
6888
|
+
{
|
|
6889
|
+
indexed: false,
|
|
6890
|
+
internalType: "uint256",
|
|
6891
|
+
name: "amount",
|
|
6892
|
+
type: "uint256"
|
|
6893
|
+
}
|
|
6894
|
+
],
|
|
6895
|
+
name: "RewardClaimed",
|
|
6896
|
+
type: "event"
|
|
6897
|
+
},
|
|
6898
|
+
{
|
|
6899
|
+
anonymous: false,
|
|
6900
|
+
inputs: [
|
|
6901
|
+
{
|
|
6902
|
+
indexed: true,
|
|
6903
|
+
internalType: "address",
|
|
6904
|
+
name: "asset",
|
|
6905
|
+
type: "address"
|
|
6906
|
+
},
|
|
6907
|
+
{
|
|
6908
|
+
indexed: true,
|
|
6909
|
+
internalType: "address",
|
|
6910
|
+
name: "reward",
|
|
6911
|
+
type: "address"
|
|
6912
|
+
},
|
|
6913
|
+
{
|
|
6914
|
+
indexed: false,
|
|
6915
|
+
internalType: "uint256",
|
|
6916
|
+
name: "maxEmissionPerSecond",
|
|
6917
|
+
type: "uint256"
|
|
6918
|
+
},
|
|
6919
|
+
{
|
|
6920
|
+
indexed: false,
|
|
6921
|
+
internalType: "uint256",
|
|
6922
|
+
name: "distributionEnd",
|
|
6923
|
+
type: "uint256"
|
|
6924
|
+
},
|
|
6925
|
+
{
|
|
6926
|
+
indexed: false,
|
|
6927
|
+
internalType: "address",
|
|
6928
|
+
name: "rewardPayer",
|
|
6929
|
+
type: "address"
|
|
6930
|
+
}
|
|
6931
|
+
],
|
|
6932
|
+
name: "RewardConfigUpdated",
|
|
6933
|
+
type: "event"
|
|
6934
|
+
},
|
|
6935
|
+
{
|
|
6936
|
+
anonymous: false,
|
|
6937
|
+
inputs: [
|
|
6938
|
+
{
|
|
6939
|
+
indexed: true,
|
|
6940
|
+
internalType: "address",
|
|
6941
|
+
name: "asset",
|
|
6942
|
+
type: "address"
|
|
6943
|
+
},
|
|
6944
|
+
{
|
|
6945
|
+
indexed: true,
|
|
6946
|
+
internalType: "address",
|
|
6947
|
+
name: "reward",
|
|
6948
|
+
type: "address"
|
|
6949
|
+
},
|
|
6950
|
+
{
|
|
6951
|
+
indexed: false,
|
|
6952
|
+
internalType: "uint256",
|
|
6953
|
+
name: "newIndex",
|
|
6954
|
+
type: "uint256"
|
|
6955
|
+
}
|
|
6956
|
+
],
|
|
6957
|
+
name: "RewardIndexUpdated",
|
|
6958
|
+
type: "event"
|
|
6959
|
+
},
|
|
6960
|
+
{
|
|
6961
|
+
anonymous: false,
|
|
6962
|
+
inputs: [{
|
|
6963
|
+
indexed: true,
|
|
6964
|
+
internalType: "address",
|
|
6965
|
+
name: "asset",
|
|
6966
|
+
type: "address"
|
|
6967
|
+
}, {
|
|
6968
|
+
indexed: true,
|
|
6969
|
+
internalType: "address",
|
|
6970
|
+
name: "reward",
|
|
6971
|
+
type: "address"
|
|
6972
|
+
}],
|
|
6973
|
+
name: "RewardInitialized",
|
|
6974
|
+
type: "event"
|
|
6975
|
+
},
|
|
6976
|
+
{
|
|
6977
|
+
anonymous: false,
|
|
6978
|
+
inputs: [{
|
|
6979
|
+
indexed: true,
|
|
6980
|
+
internalType: "address",
|
|
6981
|
+
name: "asset",
|
|
6982
|
+
type: "address"
|
|
6983
|
+
}, {
|
|
6984
|
+
indexed: false,
|
|
6985
|
+
internalType: "uint256",
|
|
6986
|
+
name: "newTargetLiquidity",
|
|
6987
|
+
type: "uint256"
|
|
6988
|
+
}],
|
|
6989
|
+
name: "TargetLiquidityUpdated",
|
|
6990
|
+
type: "event"
|
|
6991
|
+
},
|
|
6992
|
+
{
|
|
6993
|
+
anonymous: false,
|
|
6994
|
+
inputs: [
|
|
6995
|
+
{
|
|
6996
|
+
indexed: true,
|
|
6997
|
+
internalType: "address",
|
|
6998
|
+
name: "asset",
|
|
6999
|
+
type: "address"
|
|
7000
|
+
},
|
|
7001
|
+
{
|
|
7002
|
+
indexed: true,
|
|
7003
|
+
internalType: "address",
|
|
7004
|
+
name: "reward",
|
|
7005
|
+
type: "address"
|
|
7006
|
+
},
|
|
7007
|
+
{
|
|
7008
|
+
indexed: true,
|
|
7009
|
+
internalType: "address",
|
|
7010
|
+
name: "user",
|
|
7011
|
+
type: "address"
|
|
7012
|
+
},
|
|
7013
|
+
{
|
|
7014
|
+
indexed: false,
|
|
7015
|
+
internalType: "uint256",
|
|
7016
|
+
name: "newIndex",
|
|
7017
|
+
type: "uint256"
|
|
7018
|
+
},
|
|
7019
|
+
{
|
|
7020
|
+
indexed: false,
|
|
7021
|
+
internalType: "uint256",
|
|
7022
|
+
name: "accruedFromLastUpdate",
|
|
7023
|
+
type: "uint256"
|
|
7024
|
+
}
|
|
7025
|
+
],
|
|
7026
|
+
name: "UserDataUpdated",
|
|
7027
|
+
type: "event"
|
|
6802
7028
|
}
|
|
6803
7029
|
];
|
|
6804
7030
|
|
|
@@ -6827,6 +6827,232 @@ const eventDb = [
|
|
|
6827
6827
|
],
|
|
6828
6828
|
name: "UpdateInterestRateData",
|
|
6829
6829
|
type: "event"
|
|
6830
|
+
},
|
|
6831
|
+
{
|
|
6832
|
+
anonymous: false,
|
|
6833
|
+
inputs: [{
|
|
6834
|
+
indexed: true,
|
|
6835
|
+
internalType: "address",
|
|
6836
|
+
name: "asset",
|
|
6837
|
+
type: "address"
|
|
6838
|
+
}],
|
|
6839
|
+
name: "AssetInitialized",
|
|
6840
|
+
type: "event"
|
|
6841
|
+
},
|
|
6842
|
+
{
|
|
6843
|
+
anonymous: false,
|
|
6844
|
+
inputs: [
|
|
6845
|
+
{
|
|
6846
|
+
indexed: true,
|
|
6847
|
+
internalType: "address",
|
|
6848
|
+
name: "user",
|
|
6849
|
+
type: "address"
|
|
6850
|
+
},
|
|
6851
|
+
{
|
|
6852
|
+
indexed: true,
|
|
6853
|
+
internalType: "address",
|
|
6854
|
+
name: "claimer",
|
|
6855
|
+
type: "address"
|
|
6856
|
+
},
|
|
6857
|
+
{
|
|
6858
|
+
indexed: true,
|
|
6859
|
+
internalType: "address",
|
|
6860
|
+
name: "caller",
|
|
6861
|
+
type: "address"
|
|
6862
|
+
},
|
|
6863
|
+
{
|
|
6864
|
+
indexed: false,
|
|
6865
|
+
internalType: "bool",
|
|
6866
|
+
name: "flag",
|
|
6867
|
+
type: "bool"
|
|
6868
|
+
}
|
|
6869
|
+
],
|
|
6870
|
+
name: "ClaimerSet",
|
|
6871
|
+
type: "event"
|
|
6872
|
+
},
|
|
6873
|
+
{
|
|
6874
|
+
anonymous: false,
|
|
6875
|
+
inputs: [{
|
|
6876
|
+
indexed: true,
|
|
6877
|
+
internalType: "address",
|
|
6878
|
+
name: "asset",
|
|
6879
|
+
type: "address"
|
|
6880
|
+
}, {
|
|
6881
|
+
indexed: false,
|
|
6882
|
+
internalType: "uint256",
|
|
6883
|
+
name: "newTimestamp",
|
|
6884
|
+
type: "uint256"
|
|
6885
|
+
}],
|
|
6886
|
+
name: "LastTimestampUpdated",
|
|
6887
|
+
type: "event"
|
|
6888
|
+
},
|
|
6889
|
+
{
|
|
6890
|
+
anonymous: false,
|
|
6891
|
+
inputs: [
|
|
6892
|
+
{
|
|
6893
|
+
indexed: true,
|
|
6894
|
+
internalType: "address",
|
|
6895
|
+
name: "asset",
|
|
6896
|
+
type: "address"
|
|
6897
|
+
},
|
|
6898
|
+
{
|
|
6899
|
+
indexed: true,
|
|
6900
|
+
internalType: "address",
|
|
6901
|
+
name: "reward",
|
|
6902
|
+
type: "address"
|
|
6903
|
+
},
|
|
6904
|
+
{
|
|
6905
|
+
indexed: true,
|
|
6906
|
+
internalType: "address",
|
|
6907
|
+
name: "user",
|
|
6908
|
+
type: "address"
|
|
6909
|
+
},
|
|
6910
|
+
{
|
|
6911
|
+
indexed: false,
|
|
6912
|
+
internalType: "address",
|
|
6913
|
+
name: "receiver",
|
|
6914
|
+
type: "address"
|
|
6915
|
+
},
|
|
6916
|
+
{
|
|
6917
|
+
indexed: false,
|
|
6918
|
+
internalType: "uint256",
|
|
6919
|
+
name: "amount",
|
|
6920
|
+
type: "uint256"
|
|
6921
|
+
}
|
|
6922
|
+
],
|
|
6923
|
+
name: "RewardClaimed",
|
|
6924
|
+
type: "event"
|
|
6925
|
+
},
|
|
6926
|
+
{
|
|
6927
|
+
anonymous: false,
|
|
6928
|
+
inputs: [
|
|
6929
|
+
{
|
|
6930
|
+
indexed: true,
|
|
6931
|
+
internalType: "address",
|
|
6932
|
+
name: "asset",
|
|
6933
|
+
type: "address"
|
|
6934
|
+
},
|
|
6935
|
+
{
|
|
6936
|
+
indexed: true,
|
|
6937
|
+
internalType: "address",
|
|
6938
|
+
name: "reward",
|
|
6939
|
+
type: "address"
|
|
6940
|
+
},
|
|
6941
|
+
{
|
|
6942
|
+
indexed: false,
|
|
6943
|
+
internalType: "uint256",
|
|
6944
|
+
name: "maxEmissionPerSecond",
|
|
6945
|
+
type: "uint256"
|
|
6946
|
+
},
|
|
6947
|
+
{
|
|
6948
|
+
indexed: false,
|
|
6949
|
+
internalType: "uint256",
|
|
6950
|
+
name: "distributionEnd",
|
|
6951
|
+
type: "uint256"
|
|
6952
|
+
},
|
|
6953
|
+
{
|
|
6954
|
+
indexed: false,
|
|
6955
|
+
internalType: "address",
|
|
6956
|
+
name: "rewardPayer",
|
|
6957
|
+
type: "address"
|
|
6958
|
+
}
|
|
6959
|
+
],
|
|
6960
|
+
name: "RewardConfigUpdated",
|
|
6961
|
+
type: "event"
|
|
6962
|
+
},
|
|
6963
|
+
{
|
|
6964
|
+
anonymous: false,
|
|
6965
|
+
inputs: [
|
|
6966
|
+
{
|
|
6967
|
+
indexed: true,
|
|
6968
|
+
internalType: "address",
|
|
6969
|
+
name: "asset",
|
|
6970
|
+
type: "address"
|
|
6971
|
+
},
|
|
6972
|
+
{
|
|
6973
|
+
indexed: true,
|
|
6974
|
+
internalType: "address",
|
|
6975
|
+
name: "reward",
|
|
6976
|
+
type: "address"
|
|
6977
|
+
},
|
|
6978
|
+
{
|
|
6979
|
+
indexed: false,
|
|
6980
|
+
internalType: "uint256",
|
|
6981
|
+
name: "newIndex",
|
|
6982
|
+
type: "uint256"
|
|
6983
|
+
}
|
|
6984
|
+
],
|
|
6985
|
+
name: "RewardIndexUpdated",
|
|
6986
|
+
type: "event"
|
|
6987
|
+
},
|
|
6988
|
+
{
|
|
6989
|
+
anonymous: false,
|
|
6990
|
+
inputs: [{
|
|
6991
|
+
indexed: true,
|
|
6992
|
+
internalType: "address",
|
|
6993
|
+
name: "asset",
|
|
6994
|
+
type: "address"
|
|
6995
|
+
}, {
|
|
6996
|
+
indexed: true,
|
|
6997
|
+
internalType: "address",
|
|
6998
|
+
name: "reward",
|
|
6999
|
+
type: "address"
|
|
7000
|
+
}],
|
|
7001
|
+
name: "RewardInitialized",
|
|
7002
|
+
type: "event"
|
|
7003
|
+
},
|
|
7004
|
+
{
|
|
7005
|
+
anonymous: false,
|
|
7006
|
+
inputs: [{
|
|
7007
|
+
indexed: true,
|
|
7008
|
+
internalType: "address",
|
|
7009
|
+
name: "asset",
|
|
7010
|
+
type: "address"
|
|
7011
|
+
}, {
|
|
7012
|
+
indexed: false,
|
|
7013
|
+
internalType: "uint256",
|
|
7014
|
+
name: "newTargetLiquidity",
|
|
7015
|
+
type: "uint256"
|
|
7016
|
+
}],
|
|
7017
|
+
name: "TargetLiquidityUpdated",
|
|
7018
|
+
type: "event"
|
|
7019
|
+
},
|
|
7020
|
+
{
|
|
7021
|
+
anonymous: false,
|
|
7022
|
+
inputs: [
|
|
7023
|
+
{
|
|
7024
|
+
indexed: true,
|
|
7025
|
+
internalType: "address",
|
|
7026
|
+
name: "asset",
|
|
7027
|
+
type: "address"
|
|
7028
|
+
},
|
|
7029
|
+
{
|
|
7030
|
+
indexed: true,
|
|
7031
|
+
internalType: "address",
|
|
7032
|
+
name: "reward",
|
|
7033
|
+
type: "address"
|
|
7034
|
+
},
|
|
7035
|
+
{
|
|
7036
|
+
indexed: true,
|
|
7037
|
+
internalType: "address",
|
|
7038
|
+
name: "user",
|
|
7039
|
+
type: "address"
|
|
7040
|
+
},
|
|
7041
|
+
{
|
|
7042
|
+
indexed: false,
|
|
7043
|
+
internalType: "uint256",
|
|
7044
|
+
name: "newIndex",
|
|
7045
|
+
type: "uint256"
|
|
7046
|
+
},
|
|
7047
|
+
{
|
|
7048
|
+
indexed: false,
|
|
7049
|
+
internalType: "uint256",
|
|
7050
|
+
name: "accruedFromLastUpdate",
|
|
7051
|
+
type: "uint256"
|
|
7052
|
+
}
|
|
7053
|
+
],
|
|
7054
|
+
name: "UserDataUpdated",
|
|
7055
|
+
type: "event"
|
|
6830
7056
|
}
|
|
6831
7057
|
];
|
|
6832
7058
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aave-dao/aave-helpers-js",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.6",
|
|
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.61.0",
|
|
32
32
|
"@aave-dao/toolbox": "^0.5.0",
|
|
33
33
|
"commander": "^14.0.3",
|
|
34
34
|
"find-object-paths": "^1.1.0",
|