@aave-dao/aave-helpers-js 1.0.8 → 1.0.9
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
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const require_protocol_diff = require('./protocol-diff-
|
|
2
|
+
const require_protocol_diff = require('./protocol-diff-CnKXLpiL.cjs');
|
|
3
3
|
let _bgd_labs_toolbox = require("@bgd-labs/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 { t as diffSnapshots } from "./protocol-diff-
|
|
2
|
+
import { t as diffSnapshots } from "./protocol-diff-C2SNG4ee.mjs";
|
|
3
3
|
import { Aip, IPayloadsController_ABI, cidV0ToBs58, getMdContractName, getPayloadsController, hash, makePayloadExecutableOnTestClient, parseFrontmatterMd, renderTenderlyReport, tenderly_createVnet } from "@bgd-labs/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 = require('./protocol-diff-
|
|
2
|
+
const require_protocol_diff = require('./protocol-diff-CnKXLpiL.cjs');
|
|
3
3
|
|
|
4
4
|
exports.diff = require_protocol_diff.diff;
|
|
5
5
|
exports.diffSnapshots = require_protocol_diff.diffSnapshots;
|
package/dist/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as isChange, i as hasChanges, n as eventDb, r as diff, t as diffSnapshots } from "./protocol-diff-
|
|
1
|
+
import { a as isChange, i as hasChanges, n as eventDb, r as diff, t as diffSnapshots } from "./protocol-diff-C2SNG4ee.mjs";
|
|
2
2
|
|
|
3
3
|
export { diff, diffSnapshots, eventDb, hasChanges, isChange };
|
|
@@ -2734,6 +2734,554 @@ const eventDb = [
|
|
|
2734
2734
|
}],
|
|
2735
2735
|
name: "TokensConsumed",
|
|
2736
2736
|
type: "event"
|
|
2737
|
+
},
|
|
2738
|
+
{
|
|
2739
|
+
anonymous: false,
|
|
2740
|
+
inputs: [{
|
|
2741
|
+
indexed: true,
|
|
2742
|
+
internalType: "address",
|
|
2743
|
+
name: "asset",
|
|
2744
|
+
type: "address"
|
|
2745
|
+
}, {
|
|
2746
|
+
indexed: false,
|
|
2747
|
+
internalType: "uint256",
|
|
2748
|
+
name: "emission",
|
|
2749
|
+
type: "uint256"
|
|
2750
|
+
}],
|
|
2751
|
+
name: "AssetConfigUpdated",
|
|
2752
|
+
type: "event"
|
|
2753
|
+
},
|
|
2754
|
+
{
|
|
2755
|
+
anonymous: false,
|
|
2756
|
+
inputs: [{
|
|
2757
|
+
indexed: true,
|
|
2758
|
+
internalType: "address",
|
|
2759
|
+
name: "asset",
|
|
2760
|
+
type: "address"
|
|
2761
|
+
}, {
|
|
2762
|
+
indexed: false,
|
|
2763
|
+
internalType: "uint256",
|
|
2764
|
+
name: "index",
|
|
2765
|
+
type: "uint256"
|
|
2766
|
+
}],
|
|
2767
|
+
name: "AssetIndexUpdated",
|
|
2768
|
+
type: "event"
|
|
2769
|
+
},
|
|
2770
|
+
{
|
|
2771
|
+
anonymous: false,
|
|
2772
|
+
inputs: [{
|
|
2773
|
+
indexed: true,
|
|
2774
|
+
internalType: "address",
|
|
2775
|
+
name: "user",
|
|
2776
|
+
type: "address"
|
|
2777
|
+
}, {
|
|
2778
|
+
indexed: false,
|
|
2779
|
+
internalType: "uint256",
|
|
2780
|
+
name: "amount",
|
|
2781
|
+
type: "uint256"
|
|
2782
|
+
}],
|
|
2783
|
+
name: "Cooldown",
|
|
2784
|
+
type: "event"
|
|
2785
|
+
},
|
|
2786
|
+
{
|
|
2787
|
+
anonymous: false,
|
|
2788
|
+
inputs: [{
|
|
2789
|
+
indexed: false,
|
|
2790
|
+
internalType: "uint256",
|
|
2791
|
+
name: "cooldownSeconds",
|
|
2792
|
+
type: "uint256"
|
|
2793
|
+
}],
|
|
2794
|
+
name: "CooldownSecondsChanged",
|
|
2795
|
+
type: "event"
|
|
2796
|
+
},
|
|
2797
|
+
{
|
|
2798
|
+
anonymous: false,
|
|
2799
|
+
inputs: [{
|
|
2800
|
+
indexed: false,
|
|
2801
|
+
internalType: "uint256",
|
|
2802
|
+
name: "endTimestamp",
|
|
2803
|
+
type: "uint256"
|
|
2804
|
+
}],
|
|
2805
|
+
name: "DistributionEndChanged",
|
|
2806
|
+
type: "event"
|
|
2807
|
+
},
|
|
2808
|
+
{
|
|
2809
|
+
anonymous: false,
|
|
2810
|
+
inputs: [],
|
|
2811
|
+
name: "EIP712DomainChanged",
|
|
2812
|
+
type: "event"
|
|
2813
|
+
},
|
|
2814
|
+
{
|
|
2815
|
+
anonymous: false,
|
|
2816
|
+
inputs: [{
|
|
2817
|
+
indexed: false,
|
|
2818
|
+
internalType: "uint216",
|
|
2819
|
+
name: "exchangeRate",
|
|
2820
|
+
type: "uint216"
|
|
2821
|
+
}],
|
|
2822
|
+
name: "ExchangeRateChanged",
|
|
2823
|
+
type: "event"
|
|
2824
|
+
},
|
|
2825
|
+
{
|
|
2826
|
+
anonymous: false,
|
|
2827
|
+
inputs: [{
|
|
2828
|
+
indexed: false,
|
|
2829
|
+
internalType: "uint256",
|
|
2830
|
+
name: "amount",
|
|
2831
|
+
type: "uint256"
|
|
2832
|
+
}],
|
|
2833
|
+
name: "FundsReturned",
|
|
2834
|
+
type: "event"
|
|
2835
|
+
},
|
|
2836
|
+
{
|
|
2837
|
+
anonymous: false,
|
|
2838
|
+
inputs: [{
|
|
2839
|
+
indexed: false,
|
|
2840
|
+
internalType: "uint64",
|
|
2841
|
+
name: "version",
|
|
2842
|
+
type: "uint64"
|
|
2843
|
+
}],
|
|
2844
|
+
name: "Initialized",
|
|
2845
|
+
type: "event"
|
|
2846
|
+
},
|
|
2847
|
+
{
|
|
2848
|
+
anonymous: false,
|
|
2849
|
+
inputs: [{
|
|
2850
|
+
indexed: false,
|
|
2851
|
+
internalType: "uint256",
|
|
2852
|
+
name: "newPercentage",
|
|
2853
|
+
type: "uint256"
|
|
2854
|
+
}],
|
|
2855
|
+
name: "MaxSlashablePercentageChanged",
|
|
2856
|
+
type: "event"
|
|
2857
|
+
},
|
|
2858
|
+
{
|
|
2859
|
+
anonymous: false,
|
|
2860
|
+
inputs: [{
|
|
2861
|
+
indexed: true,
|
|
2862
|
+
internalType: "address",
|
|
2863
|
+
name: "newPendingAdmin",
|
|
2864
|
+
type: "address"
|
|
2865
|
+
}, {
|
|
2866
|
+
indexed: false,
|
|
2867
|
+
internalType: "uint256",
|
|
2868
|
+
name: "role",
|
|
2869
|
+
type: "uint256"
|
|
2870
|
+
}],
|
|
2871
|
+
name: "PendingAdminChanged",
|
|
2872
|
+
type: "event"
|
|
2873
|
+
},
|
|
2874
|
+
{
|
|
2875
|
+
anonymous: false,
|
|
2876
|
+
inputs: [
|
|
2877
|
+
{
|
|
2878
|
+
indexed: true,
|
|
2879
|
+
internalType: "address",
|
|
2880
|
+
name: "from",
|
|
2881
|
+
type: "address"
|
|
2882
|
+
},
|
|
2883
|
+
{
|
|
2884
|
+
indexed: true,
|
|
2885
|
+
internalType: "address",
|
|
2886
|
+
name: "to",
|
|
2887
|
+
type: "address"
|
|
2888
|
+
},
|
|
2889
|
+
{
|
|
2890
|
+
indexed: false,
|
|
2891
|
+
internalType: "uint256",
|
|
2892
|
+
name: "assets",
|
|
2893
|
+
type: "uint256"
|
|
2894
|
+
},
|
|
2895
|
+
{
|
|
2896
|
+
indexed: false,
|
|
2897
|
+
internalType: "uint256",
|
|
2898
|
+
name: "shares",
|
|
2899
|
+
type: "uint256"
|
|
2900
|
+
}
|
|
2901
|
+
],
|
|
2902
|
+
name: "Redeem",
|
|
2903
|
+
type: "event"
|
|
2904
|
+
},
|
|
2905
|
+
{
|
|
2906
|
+
anonymous: false,
|
|
2907
|
+
inputs: [{
|
|
2908
|
+
indexed: false,
|
|
2909
|
+
internalType: "address",
|
|
2910
|
+
name: "user",
|
|
2911
|
+
type: "address"
|
|
2912
|
+
}, {
|
|
2913
|
+
indexed: false,
|
|
2914
|
+
internalType: "uint256",
|
|
2915
|
+
name: "amount",
|
|
2916
|
+
type: "uint256"
|
|
2917
|
+
}],
|
|
2918
|
+
name: "RewardsAccrued",
|
|
2919
|
+
type: "event"
|
|
2920
|
+
},
|
|
2921
|
+
{
|
|
2922
|
+
anonymous: false,
|
|
2923
|
+
inputs: [
|
|
2924
|
+
{
|
|
2925
|
+
indexed: true,
|
|
2926
|
+
internalType: "address",
|
|
2927
|
+
name: "from",
|
|
2928
|
+
type: "address"
|
|
2929
|
+
},
|
|
2930
|
+
{
|
|
2931
|
+
indexed: true,
|
|
2932
|
+
internalType: "address",
|
|
2933
|
+
name: "to",
|
|
2934
|
+
type: "address"
|
|
2935
|
+
},
|
|
2936
|
+
{
|
|
2937
|
+
indexed: false,
|
|
2938
|
+
internalType: "uint256",
|
|
2939
|
+
name: "amount",
|
|
2940
|
+
type: "uint256"
|
|
2941
|
+
}
|
|
2942
|
+
],
|
|
2943
|
+
name: "RewardsClaimed",
|
|
2944
|
+
type: "event"
|
|
2945
|
+
},
|
|
2946
|
+
{
|
|
2947
|
+
anonymous: false,
|
|
2948
|
+
inputs: [{
|
|
2949
|
+
indexed: true,
|
|
2950
|
+
internalType: "address",
|
|
2951
|
+
name: "newAdmin",
|
|
2952
|
+
type: "address"
|
|
2953
|
+
}, {
|
|
2954
|
+
indexed: false,
|
|
2955
|
+
internalType: "uint256",
|
|
2956
|
+
name: "role",
|
|
2957
|
+
type: "uint256"
|
|
2958
|
+
}],
|
|
2959
|
+
name: "RoleClaimed",
|
|
2960
|
+
type: "event"
|
|
2961
|
+
},
|
|
2962
|
+
{
|
|
2963
|
+
anonymous: false,
|
|
2964
|
+
inputs: [{
|
|
2965
|
+
indexed: true,
|
|
2966
|
+
internalType: "address",
|
|
2967
|
+
name: "destination",
|
|
2968
|
+
type: "address"
|
|
2969
|
+
}, {
|
|
2970
|
+
indexed: false,
|
|
2971
|
+
internalType: "uint256",
|
|
2972
|
+
name: "amount",
|
|
2973
|
+
type: "uint256"
|
|
2974
|
+
}],
|
|
2975
|
+
name: "Slashed",
|
|
2976
|
+
type: "event"
|
|
2977
|
+
},
|
|
2978
|
+
{
|
|
2979
|
+
anonymous: false,
|
|
2980
|
+
inputs: [{
|
|
2981
|
+
indexed: false,
|
|
2982
|
+
internalType: "uint256",
|
|
2983
|
+
name: "windowSeconds",
|
|
2984
|
+
type: "uint256"
|
|
2985
|
+
}],
|
|
2986
|
+
name: "SlashingExitWindowDurationChanged",
|
|
2987
|
+
type: "event"
|
|
2988
|
+
},
|
|
2989
|
+
{
|
|
2990
|
+
anonymous: false,
|
|
2991
|
+
inputs: [],
|
|
2992
|
+
name: "SlashingSettled",
|
|
2993
|
+
type: "event"
|
|
2994
|
+
},
|
|
2995
|
+
{
|
|
2996
|
+
anonymous: false,
|
|
2997
|
+
inputs: [
|
|
2998
|
+
{
|
|
2999
|
+
indexed: true,
|
|
3000
|
+
internalType: "address",
|
|
3001
|
+
name: "from",
|
|
3002
|
+
type: "address"
|
|
3003
|
+
},
|
|
3004
|
+
{
|
|
3005
|
+
indexed: true,
|
|
3006
|
+
internalType: "address",
|
|
3007
|
+
name: "to",
|
|
3008
|
+
type: "address"
|
|
3009
|
+
},
|
|
3010
|
+
{
|
|
3011
|
+
indexed: false,
|
|
3012
|
+
internalType: "uint256",
|
|
3013
|
+
name: "assets",
|
|
3014
|
+
type: "uint256"
|
|
3015
|
+
},
|
|
3016
|
+
{
|
|
3017
|
+
indexed: false,
|
|
3018
|
+
internalType: "uint256",
|
|
3019
|
+
name: "shares",
|
|
3020
|
+
type: "uint256"
|
|
3021
|
+
}
|
|
3022
|
+
],
|
|
3023
|
+
name: "Staked",
|
|
3024
|
+
type: "event"
|
|
3025
|
+
},
|
|
3026
|
+
{
|
|
3027
|
+
anonymous: false,
|
|
3028
|
+
inputs: [
|
|
3029
|
+
{
|
|
3030
|
+
indexed: true,
|
|
3031
|
+
internalType: "address",
|
|
3032
|
+
name: "user",
|
|
3033
|
+
type: "address"
|
|
3034
|
+
},
|
|
3035
|
+
{
|
|
3036
|
+
indexed: true,
|
|
3037
|
+
internalType: "address",
|
|
3038
|
+
name: "asset",
|
|
3039
|
+
type: "address"
|
|
3040
|
+
},
|
|
3041
|
+
{
|
|
3042
|
+
indexed: false,
|
|
3043
|
+
internalType: "uint256",
|
|
3044
|
+
name: "index",
|
|
3045
|
+
type: "uint256"
|
|
3046
|
+
}
|
|
3047
|
+
],
|
|
3048
|
+
name: "UserIndexUpdated",
|
|
3049
|
+
type: "event"
|
|
3050
|
+
},
|
|
3051
|
+
{
|
|
3052
|
+
constant: false,
|
|
3053
|
+
inputs: [
|
|
3054
|
+
{
|
|
3055
|
+
indexed: true,
|
|
3056
|
+
internalType: "address",
|
|
3057
|
+
name: "token",
|
|
3058
|
+
type: "address"
|
|
3059
|
+
},
|
|
3060
|
+
{
|
|
3061
|
+
indexed: true,
|
|
3062
|
+
internalType: "address",
|
|
3063
|
+
name: "currentAdmin",
|
|
3064
|
+
type: "address"
|
|
3065
|
+
},
|
|
3066
|
+
{
|
|
3067
|
+
indexed: true,
|
|
3068
|
+
internalType: "address",
|
|
3069
|
+
name: "newAdmin",
|
|
3070
|
+
type: "address"
|
|
3071
|
+
}
|
|
3072
|
+
],
|
|
3073
|
+
name: "AdministratorTransferRequested",
|
|
3074
|
+
payable: false,
|
|
3075
|
+
type: "event"
|
|
3076
|
+
},
|
|
3077
|
+
{
|
|
3078
|
+
constant: false,
|
|
3079
|
+
inputs: [{
|
|
3080
|
+
indexed: true,
|
|
3081
|
+
internalType: "address",
|
|
3082
|
+
name: "token",
|
|
3083
|
+
type: "address"
|
|
3084
|
+
}, {
|
|
3085
|
+
indexed: true,
|
|
3086
|
+
internalType: "address",
|
|
3087
|
+
name: "newAdmin",
|
|
3088
|
+
type: "address"
|
|
3089
|
+
}],
|
|
3090
|
+
name: "AdministratorTransferred",
|
|
3091
|
+
payable: false,
|
|
3092
|
+
type: "event"
|
|
3093
|
+
},
|
|
3094
|
+
{
|
|
3095
|
+
constant: false,
|
|
3096
|
+
inputs: [
|
|
3097
|
+
{
|
|
3098
|
+
indexed: true,
|
|
3099
|
+
internalType: "address",
|
|
3100
|
+
name: "token",
|
|
3101
|
+
type: "address"
|
|
3102
|
+
},
|
|
3103
|
+
{
|
|
3104
|
+
indexed: true,
|
|
3105
|
+
internalType: "address",
|
|
3106
|
+
name: "previousPool",
|
|
3107
|
+
type: "address"
|
|
3108
|
+
},
|
|
3109
|
+
{
|
|
3110
|
+
indexed: true,
|
|
3111
|
+
internalType: "address",
|
|
3112
|
+
name: "newPool",
|
|
3113
|
+
type: "address"
|
|
3114
|
+
}
|
|
3115
|
+
],
|
|
3116
|
+
name: "PoolSet",
|
|
3117
|
+
payable: false,
|
|
3118
|
+
type: "event"
|
|
3119
|
+
},
|
|
3120
|
+
{
|
|
3121
|
+
constant: false,
|
|
3122
|
+
inputs: [{
|
|
3123
|
+
indexed: false,
|
|
3124
|
+
internalType: "address",
|
|
3125
|
+
name: "module",
|
|
3126
|
+
type: "address"
|
|
3127
|
+
}],
|
|
3128
|
+
name: "RegistryModuleAdded",
|
|
3129
|
+
payable: false,
|
|
3130
|
+
type: "event"
|
|
3131
|
+
},
|
|
3132
|
+
{
|
|
3133
|
+
constant: false,
|
|
3134
|
+
inputs: [{
|
|
3135
|
+
indexed: true,
|
|
3136
|
+
internalType: "address",
|
|
3137
|
+
name: "module",
|
|
3138
|
+
type: "address"
|
|
3139
|
+
}],
|
|
3140
|
+
name: "RegistryModuleRemoved",
|
|
3141
|
+
payable: false,
|
|
3142
|
+
type: "event"
|
|
3143
|
+
},
|
|
3144
|
+
{
|
|
3145
|
+
constant: false,
|
|
3146
|
+
inputs: [
|
|
3147
|
+
{
|
|
3148
|
+
indexed: true,
|
|
3149
|
+
internalType: "address",
|
|
3150
|
+
name: "facilitatorAddress",
|
|
3151
|
+
type: "address"
|
|
3152
|
+
},
|
|
3153
|
+
{
|
|
3154
|
+
indexed: true,
|
|
3155
|
+
internalType: "bytes32",
|
|
3156
|
+
name: "label",
|
|
3157
|
+
type: "bytes32"
|
|
3158
|
+
},
|
|
3159
|
+
{
|
|
3160
|
+
indexed: false,
|
|
3161
|
+
internalType: "uint256",
|
|
3162
|
+
name: "bucketCapacity",
|
|
3163
|
+
type: "uint256"
|
|
3164
|
+
}
|
|
3165
|
+
],
|
|
3166
|
+
name: "FacilitatorAdded",
|
|
3167
|
+
payable: false,
|
|
3168
|
+
type: "event"
|
|
3169
|
+
},
|
|
3170
|
+
{
|
|
3171
|
+
constant: false,
|
|
3172
|
+
inputs: [
|
|
3173
|
+
{
|
|
3174
|
+
indexed: true,
|
|
3175
|
+
internalType: "address",
|
|
3176
|
+
name: "facilitatorAddress",
|
|
3177
|
+
type: "address"
|
|
3178
|
+
},
|
|
3179
|
+
{
|
|
3180
|
+
indexed: false,
|
|
3181
|
+
internalType: "uint256",
|
|
3182
|
+
name: "oldCapacity",
|
|
3183
|
+
type: "uint256"
|
|
3184
|
+
},
|
|
3185
|
+
{
|
|
3186
|
+
indexed: false,
|
|
3187
|
+
internalType: "uint256",
|
|
3188
|
+
name: "newCapacity",
|
|
3189
|
+
type: "uint256"
|
|
3190
|
+
}
|
|
3191
|
+
],
|
|
3192
|
+
name: "FacilitatorBucketCapacityUpdated",
|
|
3193
|
+
payable: false,
|
|
3194
|
+
type: "event"
|
|
3195
|
+
},
|
|
3196
|
+
{
|
|
3197
|
+
constant: false,
|
|
3198
|
+
inputs: [
|
|
3199
|
+
{
|
|
3200
|
+
indexed: true,
|
|
3201
|
+
internalType: "address",
|
|
3202
|
+
name: "facilitatorAddress",
|
|
3203
|
+
type: "address"
|
|
3204
|
+
},
|
|
3205
|
+
{
|
|
3206
|
+
indexed: false,
|
|
3207
|
+
internalType: "uint256",
|
|
3208
|
+
name: "oldLevel",
|
|
3209
|
+
type: "uint256"
|
|
3210
|
+
},
|
|
3211
|
+
{
|
|
3212
|
+
indexed: false,
|
|
3213
|
+
internalType: "uint256",
|
|
3214
|
+
name: "newLevel",
|
|
3215
|
+
type: "uint256"
|
|
3216
|
+
}
|
|
3217
|
+
],
|
|
3218
|
+
name: "FacilitatorBucketLevelUpdated",
|
|
3219
|
+
payable: false,
|
|
3220
|
+
type: "event"
|
|
3221
|
+
},
|
|
3222
|
+
{
|
|
3223
|
+
constant: false,
|
|
3224
|
+
inputs: [{
|
|
3225
|
+
indexed: true,
|
|
3226
|
+
internalType: "address",
|
|
3227
|
+
name: "facilitatorAddress",
|
|
3228
|
+
type: "address"
|
|
3229
|
+
}],
|
|
3230
|
+
name: "FacilitatorRemoved",
|
|
3231
|
+
payable: false,
|
|
3232
|
+
type: "event"
|
|
3233
|
+
},
|
|
3234
|
+
{
|
|
3235
|
+
constant: false,
|
|
3236
|
+
inputs: [
|
|
3237
|
+
{
|
|
3238
|
+
indexed: true,
|
|
3239
|
+
internalType: "bytes32",
|
|
3240
|
+
name: "role",
|
|
3241
|
+
type: "bytes32"
|
|
3242
|
+
},
|
|
3243
|
+
{
|
|
3244
|
+
indexed: true,
|
|
3245
|
+
internalType: "bytes32",
|
|
3246
|
+
name: "previousAdminRole",
|
|
3247
|
+
type: "bytes32"
|
|
3248
|
+
},
|
|
3249
|
+
{
|
|
3250
|
+
indexed: true,
|
|
3251
|
+
internalType: "bytes32",
|
|
3252
|
+
name: "newAdminRole",
|
|
3253
|
+
type: "bytes32"
|
|
3254
|
+
}
|
|
3255
|
+
],
|
|
3256
|
+
name: "RoleAdminChanged",
|
|
3257
|
+
payable: false,
|
|
3258
|
+
type: "event"
|
|
3259
|
+
},
|
|
3260
|
+
{
|
|
3261
|
+
constant: false,
|
|
3262
|
+
inputs: [
|
|
3263
|
+
{
|
|
3264
|
+
indexed: true,
|
|
3265
|
+
internalType: "bytes32",
|
|
3266
|
+
name: "role",
|
|
3267
|
+
type: "bytes32"
|
|
3268
|
+
},
|
|
3269
|
+
{
|
|
3270
|
+
indexed: true,
|
|
3271
|
+
internalType: "address",
|
|
3272
|
+
name: "account",
|
|
3273
|
+
type: "address"
|
|
3274
|
+
},
|
|
3275
|
+
{
|
|
3276
|
+
indexed: true,
|
|
3277
|
+
internalType: "address",
|
|
3278
|
+
name: "sender",
|
|
3279
|
+
type: "address"
|
|
3280
|
+
}
|
|
3281
|
+
],
|
|
3282
|
+
name: "RoleRevoked",
|
|
3283
|
+
payable: false,
|
|
3284
|
+
type: "event"
|
|
2737
3285
|
}
|
|
2738
3286
|
];
|
|
2739
3287
|
|
|
@@ -2762,6 +2762,554 @@ const eventDb = [
|
|
|
2762
2762
|
}],
|
|
2763
2763
|
name: "TokensConsumed",
|
|
2764
2764
|
type: "event"
|
|
2765
|
+
},
|
|
2766
|
+
{
|
|
2767
|
+
anonymous: false,
|
|
2768
|
+
inputs: [{
|
|
2769
|
+
indexed: true,
|
|
2770
|
+
internalType: "address",
|
|
2771
|
+
name: "asset",
|
|
2772
|
+
type: "address"
|
|
2773
|
+
}, {
|
|
2774
|
+
indexed: false,
|
|
2775
|
+
internalType: "uint256",
|
|
2776
|
+
name: "emission",
|
|
2777
|
+
type: "uint256"
|
|
2778
|
+
}],
|
|
2779
|
+
name: "AssetConfigUpdated",
|
|
2780
|
+
type: "event"
|
|
2781
|
+
},
|
|
2782
|
+
{
|
|
2783
|
+
anonymous: false,
|
|
2784
|
+
inputs: [{
|
|
2785
|
+
indexed: true,
|
|
2786
|
+
internalType: "address",
|
|
2787
|
+
name: "asset",
|
|
2788
|
+
type: "address"
|
|
2789
|
+
}, {
|
|
2790
|
+
indexed: false,
|
|
2791
|
+
internalType: "uint256",
|
|
2792
|
+
name: "index",
|
|
2793
|
+
type: "uint256"
|
|
2794
|
+
}],
|
|
2795
|
+
name: "AssetIndexUpdated",
|
|
2796
|
+
type: "event"
|
|
2797
|
+
},
|
|
2798
|
+
{
|
|
2799
|
+
anonymous: false,
|
|
2800
|
+
inputs: [{
|
|
2801
|
+
indexed: true,
|
|
2802
|
+
internalType: "address",
|
|
2803
|
+
name: "user",
|
|
2804
|
+
type: "address"
|
|
2805
|
+
}, {
|
|
2806
|
+
indexed: false,
|
|
2807
|
+
internalType: "uint256",
|
|
2808
|
+
name: "amount",
|
|
2809
|
+
type: "uint256"
|
|
2810
|
+
}],
|
|
2811
|
+
name: "Cooldown",
|
|
2812
|
+
type: "event"
|
|
2813
|
+
},
|
|
2814
|
+
{
|
|
2815
|
+
anonymous: false,
|
|
2816
|
+
inputs: [{
|
|
2817
|
+
indexed: false,
|
|
2818
|
+
internalType: "uint256",
|
|
2819
|
+
name: "cooldownSeconds",
|
|
2820
|
+
type: "uint256"
|
|
2821
|
+
}],
|
|
2822
|
+
name: "CooldownSecondsChanged",
|
|
2823
|
+
type: "event"
|
|
2824
|
+
},
|
|
2825
|
+
{
|
|
2826
|
+
anonymous: false,
|
|
2827
|
+
inputs: [{
|
|
2828
|
+
indexed: false,
|
|
2829
|
+
internalType: "uint256",
|
|
2830
|
+
name: "endTimestamp",
|
|
2831
|
+
type: "uint256"
|
|
2832
|
+
}],
|
|
2833
|
+
name: "DistributionEndChanged",
|
|
2834
|
+
type: "event"
|
|
2835
|
+
},
|
|
2836
|
+
{
|
|
2837
|
+
anonymous: false,
|
|
2838
|
+
inputs: [],
|
|
2839
|
+
name: "EIP712DomainChanged",
|
|
2840
|
+
type: "event"
|
|
2841
|
+
},
|
|
2842
|
+
{
|
|
2843
|
+
anonymous: false,
|
|
2844
|
+
inputs: [{
|
|
2845
|
+
indexed: false,
|
|
2846
|
+
internalType: "uint216",
|
|
2847
|
+
name: "exchangeRate",
|
|
2848
|
+
type: "uint216"
|
|
2849
|
+
}],
|
|
2850
|
+
name: "ExchangeRateChanged",
|
|
2851
|
+
type: "event"
|
|
2852
|
+
},
|
|
2853
|
+
{
|
|
2854
|
+
anonymous: false,
|
|
2855
|
+
inputs: [{
|
|
2856
|
+
indexed: false,
|
|
2857
|
+
internalType: "uint256",
|
|
2858
|
+
name: "amount",
|
|
2859
|
+
type: "uint256"
|
|
2860
|
+
}],
|
|
2861
|
+
name: "FundsReturned",
|
|
2862
|
+
type: "event"
|
|
2863
|
+
},
|
|
2864
|
+
{
|
|
2865
|
+
anonymous: false,
|
|
2866
|
+
inputs: [{
|
|
2867
|
+
indexed: false,
|
|
2868
|
+
internalType: "uint64",
|
|
2869
|
+
name: "version",
|
|
2870
|
+
type: "uint64"
|
|
2871
|
+
}],
|
|
2872
|
+
name: "Initialized",
|
|
2873
|
+
type: "event"
|
|
2874
|
+
},
|
|
2875
|
+
{
|
|
2876
|
+
anonymous: false,
|
|
2877
|
+
inputs: [{
|
|
2878
|
+
indexed: false,
|
|
2879
|
+
internalType: "uint256",
|
|
2880
|
+
name: "newPercentage",
|
|
2881
|
+
type: "uint256"
|
|
2882
|
+
}],
|
|
2883
|
+
name: "MaxSlashablePercentageChanged",
|
|
2884
|
+
type: "event"
|
|
2885
|
+
},
|
|
2886
|
+
{
|
|
2887
|
+
anonymous: false,
|
|
2888
|
+
inputs: [{
|
|
2889
|
+
indexed: true,
|
|
2890
|
+
internalType: "address",
|
|
2891
|
+
name: "newPendingAdmin",
|
|
2892
|
+
type: "address"
|
|
2893
|
+
}, {
|
|
2894
|
+
indexed: false,
|
|
2895
|
+
internalType: "uint256",
|
|
2896
|
+
name: "role",
|
|
2897
|
+
type: "uint256"
|
|
2898
|
+
}],
|
|
2899
|
+
name: "PendingAdminChanged",
|
|
2900
|
+
type: "event"
|
|
2901
|
+
},
|
|
2902
|
+
{
|
|
2903
|
+
anonymous: false,
|
|
2904
|
+
inputs: [
|
|
2905
|
+
{
|
|
2906
|
+
indexed: true,
|
|
2907
|
+
internalType: "address",
|
|
2908
|
+
name: "from",
|
|
2909
|
+
type: "address"
|
|
2910
|
+
},
|
|
2911
|
+
{
|
|
2912
|
+
indexed: true,
|
|
2913
|
+
internalType: "address",
|
|
2914
|
+
name: "to",
|
|
2915
|
+
type: "address"
|
|
2916
|
+
},
|
|
2917
|
+
{
|
|
2918
|
+
indexed: false,
|
|
2919
|
+
internalType: "uint256",
|
|
2920
|
+
name: "assets",
|
|
2921
|
+
type: "uint256"
|
|
2922
|
+
},
|
|
2923
|
+
{
|
|
2924
|
+
indexed: false,
|
|
2925
|
+
internalType: "uint256",
|
|
2926
|
+
name: "shares",
|
|
2927
|
+
type: "uint256"
|
|
2928
|
+
}
|
|
2929
|
+
],
|
|
2930
|
+
name: "Redeem",
|
|
2931
|
+
type: "event"
|
|
2932
|
+
},
|
|
2933
|
+
{
|
|
2934
|
+
anonymous: false,
|
|
2935
|
+
inputs: [{
|
|
2936
|
+
indexed: false,
|
|
2937
|
+
internalType: "address",
|
|
2938
|
+
name: "user",
|
|
2939
|
+
type: "address"
|
|
2940
|
+
}, {
|
|
2941
|
+
indexed: false,
|
|
2942
|
+
internalType: "uint256",
|
|
2943
|
+
name: "amount",
|
|
2944
|
+
type: "uint256"
|
|
2945
|
+
}],
|
|
2946
|
+
name: "RewardsAccrued",
|
|
2947
|
+
type: "event"
|
|
2948
|
+
},
|
|
2949
|
+
{
|
|
2950
|
+
anonymous: false,
|
|
2951
|
+
inputs: [
|
|
2952
|
+
{
|
|
2953
|
+
indexed: true,
|
|
2954
|
+
internalType: "address",
|
|
2955
|
+
name: "from",
|
|
2956
|
+
type: "address"
|
|
2957
|
+
},
|
|
2958
|
+
{
|
|
2959
|
+
indexed: true,
|
|
2960
|
+
internalType: "address",
|
|
2961
|
+
name: "to",
|
|
2962
|
+
type: "address"
|
|
2963
|
+
},
|
|
2964
|
+
{
|
|
2965
|
+
indexed: false,
|
|
2966
|
+
internalType: "uint256",
|
|
2967
|
+
name: "amount",
|
|
2968
|
+
type: "uint256"
|
|
2969
|
+
}
|
|
2970
|
+
],
|
|
2971
|
+
name: "RewardsClaimed",
|
|
2972
|
+
type: "event"
|
|
2973
|
+
},
|
|
2974
|
+
{
|
|
2975
|
+
anonymous: false,
|
|
2976
|
+
inputs: [{
|
|
2977
|
+
indexed: true,
|
|
2978
|
+
internalType: "address",
|
|
2979
|
+
name: "newAdmin",
|
|
2980
|
+
type: "address"
|
|
2981
|
+
}, {
|
|
2982
|
+
indexed: false,
|
|
2983
|
+
internalType: "uint256",
|
|
2984
|
+
name: "role",
|
|
2985
|
+
type: "uint256"
|
|
2986
|
+
}],
|
|
2987
|
+
name: "RoleClaimed",
|
|
2988
|
+
type: "event"
|
|
2989
|
+
},
|
|
2990
|
+
{
|
|
2991
|
+
anonymous: false,
|
|
2992
|
+
inputs: [{
|
|
2993
|
+
indexed: true,
|
|
2994
|
+
internalType: "address",
|
|
2995
|
+
name: "destination",
|
|
2996
|
+
type: "address"
|
|
2997
|
+
}, {
|
|
2998
|
+
indexed: false,
|
|
2999
|
+
internalType: "uint256",
|
|
3000
|
+
name: "amount",
|
|
3001
|
+
type: "uint256"
|
|
3002
|
+
}],
|
|
3003
|
+
name: "Slashed",
|
|
3004
|
+
type: "event"
|
|
3005
|
+
},
|
|
3006
|
+
{
|
|
3007
|
+
anonymous: false,
|
|
3008
|
+
inputs: [{
|
|
3009
|
+
indexed: false,
|
|
3010
|
+
internalType: "uint256",
|
|
3011
|
+
name: "windowSeconds",
|
|
3012
|
+
type: "uint256"
|
|
3013
|
+
}],
|
|
3014
|
+
name: "SlashingExitWindowDurationChanged",
|
|
3015
|
+
type: "event"
|
|
3016
|
+
},
|
|
3017
|
+
{
|
|
3018
|
+
anonymous: false,
|
|
3019
|
+
inputs: [],
|
|
3020
|
+
name: "SlashingSettled",
|
|
3021
|
+
type: "event"
|
|
3022
|
+
},
|
|
3023
|
+
{
|
|
3024
|
+
anonymous: false,
|
|
3025
|
+
inputs: [
|
|
3026
|
+
{
|
|
3027
|
+
indexed: true,
|
|
3028
|
+
internalType: "address",
|
|
3029
|
+
name: "from",
|
|
3030
|
+
type: "address"
|
|
3031
|
+
},
|
|
3032
|
+
{
|
|
3033
|
+
indexed: true,
|
|
3034
|
+
internalType: "address",
|
|
3035
|
+
name: "to",
|
|
3036
|
+
type: "address"
|
|
3037
|
+
},
|
|
3038
|
+
{
|
|
3039
|
+
indexed: false,
|
|
3040
|
+
internalType: "uint256",
|
|
3041
|
+
name: "assets",
|
|
3042
|
+
type: "uint256"
|
|
3043
|
+
},
|
|
3044
|
+
{
|
|
3045
|
+
indexed: false,
|
|
3046
|
+
internalType: "uint256",
|
|
3047
|
+
name: "shares",
|
|
3048
|
+
type: "uint256"
|
|
3049
|
+
}
|
|
3050
|
+
],
|
|
3051
|
+
name: "Staked",
|
|
3052
|
+
type: "event"
|
|
3053
|
+
},
|
|
3054
|
+
{
|
|
3055
|
+
anonymous: false,
|
|
3056
|
+
inputs: [
|
|
3057
|
+
{
|
|
3058
|
+
indexed: true,
|
|
3059
|
+
internalType: "address",
|
|
3060
|
+
name: "user",
|
|
3061
|
+
type: "address"
|
|
3062
|
+
},
|
|
3063
|
+
{
|
|
3064
|
+
indexed: true,
|
|
3065
|
+
internalType: "address",
|
|
3066
|
+
name: "asset",
|
|
3067
|
+
type: "address"
|
|
3068
|
+
},
|
|
3069
|
+
{
|
|
3070
|
+
indexed: false,
|
|
3071
|
+
internalType: "uint256",
|
|
3072
|
+
name: "index",
|
|
3073
|
+
type: "uint256"
|
|
3074
|
+
}
|
|
3075
|
+
],
|
|
3076
|
+
name: "UserIndexUpdated",
|
|
3077
|
+
type: "event"
|
|
3078
|
+
},
|
|
3079
|
+
{
|
|
3080
|
+
constant: false,
|
|
3081
|
+
inputs: [
|
|
3082
|
+
{
|
|
3083
|
+
indexed: true,
|
|
3084
|
+
internalType: "address",
|
|
3085
|
+
name: "token",
|
|
3086
|
+
type: "address"
|
|
3087
|
+
},
|
|
3088
|
+
{
|
|
3089
|
+
indexed: true,
|
|
3090
|
+
internalType: "address",
|
|
3091
|
+
name: "currentAdmin",
|
|
3092
|
+
type: "address"
|
|
3093
|
+
},
|
|
3094
|
+
{
|
|
3095
|
+
indexed: true,
|
|
3096
|
+
internalType: "address",
|
|
3097
|
+
name: "newAdmin",
|
|
3098
|
+
type: "address"
|
|
3099
|
+
}
|
|
3100
|
+
],
|
|
3101
|
+
name: "AdministratorTransferRequested",
|
|
3102
|
+
payable: false,
|
|
3103
|
+
type: "event"
|
|
3104
|
+
},
|
|
3105
|
+
{
|
|
3106
|
+
constant: false,
|
|
3107
|
+
inputs: [{
|
|
3108
|
+
indexed: true,
|
|
3109
|
+
internalType: "address",
|
|
3110
|
+
name: "token",
|
|
3111
|
+
type: "address"
|
|
3112
|
+
}, {
|
|
3113
|
+
indexed: true,
|
|
3114
|
+
internalType: "address",
|
|
3115
|
+
name: "newAdmin",
|
|
3116
|
+
type: "address"
|
|
3117
|
+
}],
|
|
3118
|
+
name: "AdministratorTransferred",
|
|
3119
|
+
payable: false,
|
|
3120
|
+
type: "event"
|
|
3121
|
+
},
|
|
3122
|
+
{
|
|
3123
|
+
constant: false,
|
|
3124
|
+
inputs: [
|
|
3125
|
+
{
|
|
3126
|
+
indexed: true,
|
|
3127
|
+
internalType: "address",
|
|
3128
|
+
name: "token",
|
|
3129
|
+
type: "address"
|
|
3130
|
+
},
|
|
3131
|
+
{
|
|
3132
|
+
indexed: true,
|
|
3133
|
+
internalType: "address",
|
|
3134
|
+
name: "previousPool",
|
|
3135
|
+
type: "address"
|
|
3136
|
+
},
|
|
3137
|
+
{
|
|
3138
|
+
indexed: true,
|
|
3139
|
+
internalType: "address",
|
|
3140
|
+
name: "newPool",
|
|
3141
|
+
type: "address"
|
|
3142
|
+
}
|
|
3143
|
+
],
|
|
3144
|
+
name: "PoolSet",
|
|
3145
|
+
payable: false,
|
|
3146
|
+
type: "event"
|
|
3147
|
+
},
|
|
3148
|
+
{
|
|
3149
|
+
constant: false,
|
|
3150
|
+
inputs: [{
|
|
3151
|
+
indexed: false,
|
|
3152
|
+
internalType: "address",
|
|
3153
|
+
name: "module",
|
|
3154
|
+
type: "address"
|
|
3155
|
+
}],
|
|
3156
|
+
name: "RegistryModuleAdded",
|
|
3157
|
+
payable: false,
|
|
3158
|
+
type: "event"
|
|
3159
|
+
},
|
|
3160
|
+
{
|
|
3161
|
+
constant: false,
|
|
3162
|
+
inputs: [{
|
|
3163
|
+
indexed: true,
|
|
3164
|
+
internalType: "address",
|
|
3165
|
+
name: "module",
|
|
3166
|
+
type: "address"
|
|
3167
|
+
}],
|
|
3168
|
+
name: "RegistryModuleRemoved",
|
|
3169
|
+
payable: false,
|
|
3170
|
+
type: "event"
|
|
3171
|
+
},
|
|
3172
|
+
{
|
|
3173
|
+
constant: false,
|
|
3174
|
+
inputs: [
|
|
3175
|
+
{
|
|
3176
|
+
indexed: true,
|
|
3177
|
+
internalType: "address",
|
|
3178
|
+
name: "facilitatorAddress",
|
|
3179
|
+
type: "address"
|
|
3180
|
+
},
|
|
3181
|
+
{
|
|
3182
|
+
indexed: true,
|
|
3183
|
+
internalType: "bytes32",
|
|
3184
|
+
name: "label",
|
|
3185
|
+
type: "bytes32"
|
|
3186
|
+
},
|
|
3187
|
+
{
|
|
3188
|
+
indexed: false,
|
|
3189
|
+
internalType: "uint256",
|
|
3190
|
+
name: "bucketCapacity",
|
|
3191
|
+
type: "uint256"
|
|
3192
|
+
}
|
|
3193
|
+
],
|
|
3194
|
+
name: "FacilitatorAdded",
|
|
3195
|
+
payable: false,
|
|
3196
|
+
type: "event"
|
|
3197
|
+
},
|
|
3198
|
+
{
|
|
3199
|
+
constant: false,
|
|
3200
|
+
inputs: [
|
|
3201
|
+
{
|
|
3202
|
+
indexed: true,
|
|
3203
|
+
internalType: "address",
|
|
3204
|
+
name: "facilitatorAddress",
|
|
3205
|
+
type: "address"
|
|
3206
|
+
},
|
|
3207
|
+
{
|
|
3208
|
+
indexed: false,
|
|
3209
|
+
internalType: "uint256",
|
|
3210
|
+
name: "oldCapacity",
|
|
3211
|
+
type: "uint256"
|
|
3212
|
+
},
|
|
3213
|
+
{
|
|
3214
|
+
indexed: false,
|
|
3215
|
+
internalType: "uint256",
|
|
3216
|
+
name: "newCapacity",
|
|
3217
|
+
type: "uint256"
|
|
3218
|
+
}
|
|
3219
|
+
],
|
|
3220
|
+
name: "FacilitatorBucketCapacityUpdated",
|
|
3221
|
+
payable: false,
|
|
3222
|
+
type: "event"
|
|
3223
|
+
},
|
|
3224
|
+
{
|
|
3225
|
+
constant: false,
|
|
3226
|
+
inputs: [
|
|
3227
|
+
{
|
|
3228
|
+
indexed: true,
|
|
3229
|
+
internalType: "address",
|
|
3230
|
+
name: "facilitatorAddress",
|
|
3231
|
+
type: "address"
|
|
3232
|
+
},
|
|
3233
|
+
{
|
|
3234
|
+
indexed: false,
|
|
3235
|
+
internalType: "uint256",
|
|
3236
|
+
name: "oldLevel",
|
|
3237
|
+
type: "uint256"
|
|
3238
|
+
},
|
|
3239
|
+
{
|
|
3240
|
+
indexed: false,
|
|
3241
|
+
internalType: "uint256",
|
|
3242
|
+
name: "newLevel",
|
|
3243
|
+
type: "uint256"
|
|
3244
|
+
}
|
|
3245
|
+
],
|
|
3246
|
+
name: "FacilitatorBucketLevelUpdated",
|
|
3247
|
+
payable: false,
|
|
3248
|
+
type: "event"
|
|
3249
|
+
},
|
|
3250
|
+
{
|
|
3251
|
+
constant: false,
|
|
3252
|
+
inputs: [{
|
|
3253
|
+
indexed: true,
|
|
3254
|
+
internalType: "address",
|
|
3255
|
+
name: "facilitatorAddress",
|
|
3256
|
+
type: "address"
|
|
3257
|
+
}],
|
|
3258
|
+
name: "FacilitatorRemoved",
|
|
3259
|
+
payable: false,
|
|
3260
|
+
type: "event"
|
|
3261
|
+
},
|
|
3262
|
+
{
|
|
3263
|
+
constant: false,
|
|
3264
|
+
inputs: [
|
|
3265
|
+
{
|
|
3266
|
+
indexed: true,
|
|
3267
|
+
internalType: "bytes32",
|
|
3268
|
+
name: "role",
|
|
3269
|
+
type: "bytes32"
|
|
3270
|
+
},
|
|
3271
|
+
{
|
|
3272
|
+
indexed: true,
|
|
3273
|
+
internalType: "bytes32",
|
|
3274
|
+
name: "previousAdminRole",
|
|
3275
|
+
type: "bytes32"
|
|
3276
|
+
},
|
|
3277
|
+
{
|
|
3278
|
+
indexed: true,
|
|
3279
|
+
internalType: "bytes32",
|
|
3280
|
+
name: "newAdminRole",
|
|
3281
|
+
type: "bytes32"
|
|
3282
|
+
}
|
|
3283
|
+
],
|
|
3284
|
+
name: "RoleAdminChanged",
|
|
3285
|
+
payable: false,
|
|
3286
|
+
type: "event"
|
|
3287
|
+
},
|
|
3288
|
+
{
|
|
3289
|
+
constant: false,
|
|
3290
|
+
inputs: [
|
|
3291
|
+
{
|
|
3292
|
+
indexed: true,
|
|
3293
|
+
internalType: "bytes32",
|
|
3294
|
+
name: "role",
|
|
3295
|
+
type: "bytes32"
|
|
3296
|
+
},
|
|
3297
|
+
{
|
|
3298
|
+
indexed: true,
|
|
3299
|
+
internalType: "address",
|
|
3300
|
+
name: "account",
|
|
3301
|
+
type: "address"
|
|
3302
|
+
},
|
|
3303
|
+
{
|
|
3304
|
+
indexed: true,
|
|
3305
|
+
internalType: "address",
|
|
3306
|
+
name: "sender",
|
|
3307
|
+
type: "address"
|
|
3308
|
+
}
|
|
3309
|
+
],
|
|
3310
|
+
name: "RoleRevoked",
|
|
3311
|
+
payable: false,
|
|
3312
|
+
type: "event"
|
|
2765
3313
|
}
|
|
2766
3314
|
];
|
|
2767
3315
|
|