@aave-dao/aave-helpers-js 1.0.10 → 1.0.12
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-ir64sQgZ.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-DG1hWNo7.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-ir64sQgZ.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-DG1hWNo7.mjs";
|
|
2
2
|
|
|
3
3
|
export { diff, diffSnapshots, eventDb, hasChanges, isChange };
|
|
@@ -3941,6 +3941,557 @@ const eventDb = [
|
|
|
3941
3941
|
],
|
|
3942
3942
|
name: "Withdraw",
|
|
3943
3943
|
type: "event"
|
|
3944
|
+
},
|
|
3945
|
+
{
|
|
3946
|
+
anonymous: false,
|
|
3947
|
+
inputs: [
|
|
3948
|
+
{
|
|
3949
|
+
indexed: true,
|
|
3950
|
+
internalType: "address",
|
|
3951
|
+
name: "caller",
|
|
3952
|
+
type: "address"
|
|
3953
|
+
},
|
|
3954
|
+
{
|
|
3955
|
+
indexed: true,
|
|
3956
|
+
internalType: "address",
|
|
3957
|
+
name: "token",
|
|
3958
|
+
type: "address"
|
|
3959
|
+
},
|
|
3960
|
+
{
|
|
3961
|
+
indexed: true,
|
|
3962
|
+
internalType: "address",
|
|
3963
|
+
name: "to",
|
|
3964
|
+
type: "address"
|
|
3965
|
+
},
|
|
3966
|
+
{
|
|
3967
|
+
indexed: false,
|
|
3968
|
+
internalType: "uint256",
|
|
3969
|
+
name: "amount",
|
|
3970
|
+
type: "uint256"
|
|
3971
|
+
}
|
|
3972
|
+
],
|
|
3973
|
+
name: "ERC20Rescued",
|
|
3974
|
+
type: "event"
|
|
3975
|
+
},
|
|
3976
|
+
{
|
|
3977
|
+
anonymous: false,
|
|
3978
|
+
inputs: [{
|
|
3979
|
+
indexed: false,
|
|
3980
|
+
internalType: "address",
|
|
3981
|
+
name: "oldAddress",
|
|
3982
|
+
type: "address"
|
|
3983
|
+
}, {
|
|
3984
|
+
indexed: false,
|
|
3985
|
+
internalType: "address",
|
|
3986
|
+
name: "newAddress",
|
|
3987
|
+
type: "address"
|
|
3988
|
+
}],
|
|
3989
|
+
name: "LimitOrderPriceCheckerUpdated",
|
|
3990
|
+
type: "event"
|
|
3991
|
+
},
|
|
3992
|
+
{
|
|
3993
|
+
anonymous: false,
|
|
3994
|
+
inputs: [
|
|
3995
|
+
{
|
|
3996
|
+
indexed: true,
|
|
3997
|
+
internalType: "address",
|
|
3998
|
+
name: "fromToken",
|
|
3999
|
+
type: "address"
|
|
4000
|
+
},
|
|
4001
|
+
{
|
|
4002
|
+
indexed: true,
|
|
4003
|
+
internalType: "address",
|
|
4004
|
+
name: "toToken",
|
|
4005
|
+
type: "address"
|
|
4006
|
+
},
|
|
4007
|
+
{
|
|
4008
|
+
indexed: false,
|
|
4009
|
+
internalType: "uint256",
|
|
4010
|
+
name: "amount",
|
|
4011
|
+
type: "uint256"
|
|
4012
|
+
},
|
|
4013
|
+
{
|
|
4014
|
+
indexed: false,
|
|
4015
|
+
internalType: "uint256",
|
|
4016
|
+
name: "minAmountOut",
|
|
4017
|
+
type: "uint256"
|
|
4018
|
+
}
|
|
4019
|
+
],
|
|
4020
|
+
name: "LimitSwapRequested",
|
|
4021
|
+
type: "event"
|
|
4022
|
+
},
|
|
4023
|
+
{
|
|
4024
|
+
anonymous: false,
|
|
4025
|
+
inputs: [{
|
|
4026
|
+
indexed: false,
|
|
4027
|
+
internalType: "address",
|
|
4028
|
+
name: "oldAddress",
|
|
4029
|
+
type: "address"
|
|
4030
|
+
}, {
|
|
4031
|
+
indexed: false,
|
|
4032
|
+
internalType: "address",
|
|
4033
|
+
name: "newAddress",
|
|
4034
|
+
type: "address"
|
|
4035
|
+
}],
|
|
4036
|
+
name: "MilkmanAddressUpdated",
|
|
4037
|
+
type: "event"
|
|
4038
|
+
},
|
|
4039
|
+
{
|
|
4040
|
+
anonymous: false,
|
|
4041
|
+
inputs: [
|
|
4042
|
+
{
|
|
4043
|
+
indexed: true,
|
|
4044
|
+
internalType: "address",
|
|
4045
|
+
name: "caller",
|
|
4046
|
+
type: "address"
|
|
4047
|
+
},
|
|
4048
|
+
{
|
|
4049
|
+
indexed: true,
|
|
4050
|
+
internalType: "address",
|
|
4051
|
+
name: "to",
|
|
4052
|
+
type: "address"
|
|
4053
|
+
},
|
|
4054
|
+
{
|
|
4055
|
+
indexed: false,
|
|
4056
|
+
internalType: "uint256",
|
|
4057
|
+
name: "amount",
|
|
4058
|
+
type: "uint256"
|
|
4059
|
+
}
|
|
4060
|
+
],
|
|
4061
|
+
name: "NativeTokensRescued",
|
|
4062
|
+
type: "event"
|
|
4063
|
+
},
|
|
4064
|
+
{
|
|
4065
|
+
anonymous: false,
|
|
4066
|
+
inputs: [{
|
|
4067
|
+
indexed: false,
|
|
4068
|
+
internalType: "address",
|
|
4069
|
+
name: "oldAddress",
|
|
4070
|
+
type: "address"
|
|
4071
|
+
}, {
|
|
4072
|
+
indexed: false,
|
|
4073
|
+
internalType: "address",
|
|
4074
|
+
name: "newAddress",
|
|
4075
|
+
type: "address"
|
|
4076
|
+
}],
|
|
4077
|
+
name: "PriceCheckerUpdated",
|
|
4078
|
+
type: "event"
|
|
4079
|
+
},
|
|
4080
|
+
{
|
|
4081
|
+
anonymous: false,
|
|
4082
|
+
inputs: [{
|
|
4083
|
+
indexed: false,
|
|
4084
|
+
internalType: "address",
|
|
4085
|
+
name: "oldAddress",
|
|
4086
|
+
type: "address"
|
|
4087
|
+
}, {
|
|
4088
|
+
indexed: false,
|
|
4089
|
+
internalType: "address",
|
|
4090
|
+
name: "newAddress",
|
|
4091
|
+
type: "address"
|
|
4092
|
+
}],
|
|
4093
|
+
name: "RelayerAddressUpdated",
|
|
4094
|
+
type: "event"
|
|
4095
|
+
},
|
|
4096
|
+
{
|
|
4097
|
+
anonymous: false,
|
|
4098
|
+
inputs: [
|
|
4099
|
+
{
|
|
4100
|
+
indexed: true,
|
|
4101
|
+
internalType: "address",
|
|
4102
|
+
name: "fromToken",
|
|
4103
|
+
type: "address"
|
|
4104
|
+
},
|
|
4105
|
+
{
|
|
4106
|
+
indexed: true,
|
|
4107
|
+
internalType: "address",
|
|
4108
|
+
name: "toToken",
|
|
4109
|
+
type: "address"
|
|
4110
|
+
},
|
|
4111
|
+
{
|
|
4112
|
+
indexed: false,
|
|
4113
|
+
internalType: "bool",
|
|
4114
|
+
name: "allowed",
|
|
4115
|
+
type: "bool"
|
|
4116
|
+
}
|
|
4117
|
+
],
|
|
4118
|
+
name: "SetSwappablePair",
|
|
4119
|
+
type: "event"
|
|
4120
|
+
},
|
|
4121
|
+
{
|
|
4122
|
+
anonymous: false,
|
|
4123
|
+
inputs: [{
|
|
4124
|
+
indexed: true,
|
|
4125
|
+
internalType: "address",
|
|
4126
|
+
name: "token",
|
|
4127
|
+
type: "address"
|
|
4128
|
+
}, {
|
|
4129
|
+
indexed: true,
|
|
4130
|
+
internalType: "address",
|
|
4131
|
+
name: "oracle",
|
|
4132
|
+
type: "address"
|
|
4133
|
+
}],
|
|
4134
|
+
name: "SetTokenOracle",
|
|
4135
|
+
type: "event"
|
|
4136
|
+
},
|
|
4137
|
+
{
|
|
4138
|
+
anonymous: false,
|
|
4139
|
+
inputs: [
|
|
4140
|
+
{
|
|
4141
|
+
indexed: true,
|
|
4142
|
+
internalType: "address",
|
|
4143
|
+
name: "fromToken",
|
|
4144
|
+
type: "address"
|
|
4145
|
+
},
|
|
4146
|
+
{
|
|
4147
|
+
indexed: true,
|
|
4148
|
+
internalType: "address",
|
|
4149
|
+
name: "toToken",
|
|
4150
|
+
type: "address"
|
|
4151
|
+
},
|
|
4152
|
+
{
|
|
4153
|
+
indexed: false,
|
|
4154
|
+
internalType: "uint256",
|
|
4155
|
+
name: "amount",
|
|
4156
|
+
type: "uint256"
|
|
4157
|
+
}
|
|
4158
|
+
],
|
|
4159
|
+
name: "SwapCanceled",
|
|
4160
|
+
type: "event"
|
|
4161
|
+
},
|
|
4162
|
+
{
|
|
4163
|
+
anonymous: false,
|
|
4164
|
+
inputs: [
|
|
4165
|
+
{
|
|
4166
|
+
indexed: true,
|
|
4167
|
+
internalType: "address",
|
|
4168
|
+
name: "fromToken",
|
|
4169
|
+
type: "address"
|
|
4170
|
+
},
|
|
4171
|
+
{
|
|
4172
|
+
indexed: true,
|
|
4173
|
+
internalType: "address",
|
|
4174
|
+
name: "toToken",
|
|
4175
|
+
type: "address"
|
|
4176
|
+
},
|
|
4177
|
+
{
|
|
4178
|
+
indexed: false,
|
|
4179
|
+
internalType: "address",
|
|
4180
|
+
name: "fromOracle",
|
|
4181
|
+
type: "address"
|
|
4182
|
+
},
|
|
4183
|
+
{
|
|
4184
|
+
indexed: false,
|
|
4185
|
+
internalType: "address",
|
|
4186
|
+
name: "toOracle",
|
|
4187
|
+
type: "address"
|
|
4188
|
+
},
|
|
4189
|
+
{
|
|
4190
|
+
indexed: false,
|
|
4191
|
+
internalType: "uint256",
|
|
4192
|
+
name: "amount",
|
|
4193
|
+
type: "uint256"
|
|
4194
|
+
},
|
|
4195
|
+
{
|
|
4196
|
+
indexed: false,
|
|
4197
|
+
internalType: "uint256",
|
|
4198
|
+
name: "slippage",
|
|
4199
|
+
type: "uint256"
|
|
4200
|
+
}
|
|
4201
|
+
],
|
|
4202
|
+
name: "SwapRequested",
|
|
4203
|
+
type: "event"
|
|
4204
|
+
},
|
|
4205
|
+
{
|
|
4206
|
+
anonymous: false,
|
|
4207
|
+
inputs: [
|
|
4208
|
+
{
|
|
4209
|
+
indexed: true,
|
|
4210
|
+
internalType: "address",
|
|
4211
|
+
name: "fromToken",
|
|
4212
|
+
type: "address"
|
|
4213
|
+
},
|
|
4214
|
+
{
|
|
4215
|
+
indexed: true,
|
|
4216
|
+
internalType: "address",
|
|
4217
|
+
name: "toToken",
|
|
4218
|
+
type: "address"
|
|
4219
|
+
},
|
|
4220
|
+
{
|
|
4221
|
+
indexed: false,
|
|
4222
|
+
internalType: "uint256",
|
|
4223
|
+
name: "totalAmount",
|
|
4224
|
+
type: "uint256"
|
|
4225
|
+
}
|
|
4226
|
+
],
|
|
4227
|
+
name: "TWAPSwapCanceled",
|
|
4228
|
+
type: "event"
|
|
4229
|
+
},
|
|
4230
|
+
{
|
|
4231
|
+
anonymous: false,
|
|
4232
|
+
inputs: [
|
|
4233
|
+
{
|
|
4234
|
+
indexed: true,
|
|
4235
|
+
internalType: "address",
|
|
4236
|
+
name: "fromToken",
|
|
4237
|
+
type: "address"
|
|
4238
|
+
},
|
|
4239
|
+
{
|
|
4240
|
+
indexed: true,
|
|
4241
|
+
internalType: "address",
|
|
4242
|
+
name: "toToken",
|
|
4243
|
+
type: "address"
|
|
4244
|
+
},
|
|
4245
|
+
{
|
|
4246
|
+
indexed: false,
|
|
4247
|
+
internalType: "uint256",
|
|
4248
|
+
name: "totalAmount",
|
|
4249
|
+
type: "uint256"
|
|
4250
|
+
}
|
|
4251
|
+
],
|
|
4252
|
+
name: "TWAPSwapRequested",
|
|
4253
|
+
type: "event"
|
|
4254
|
+
},
|
|
4255
|
+
{
|
|
4256
|
+
anonymous: false,
|
|
4257
|
+
inputs: [{
|
|
4258
|
+
indexed: true,
|
|
4259
|
+
internalType: "address",
|
|
4260
|
+
name: "token",
|
|
4261
|
+
type: "address"
|
|
4262
|
+
}, {
|
|
4263
|
+
indexed: false,
|
|
4264
|
+
internalType: "uint256",
|
|
4265
|
+
name: "budget",
|
|
4266
|
+
type: "uint256"
|
|
4267
|
+
}],
|
|
4268
|
+
name: "UpdatedTokenBudget",
|
|
4269
|
+
type: "event"
|
|
4270
|
+
},
|
|
4271
|
+
{
|
|
4272
|
+
anonymous: false,
|
|
4273
|
+
inputs: [{
|
|
4274
|
+
indexed: false,
|
|
4275
|
+
internalType: "address",
|
|
4276
|
+
name: "token",
|
|
4277
|
+
type: "address"
|
|
4278
|
+
}, {
|
|
4279
|
+
indexed: false,
|
|
4280
|
+
internalType: "uint256",
|
|
4281
|
+
name: "amount",
|
|
4282
|
+
type: "uint256"
|
|
4283
|
+
}],
|
|
4284
|
+
name: "Bridge",
|
|
4285
|
+
type: "event"
|
|
4286
|
+
},
|
|
4287
|
+
{
|
|
4288
|
+
anonymous: false,
|
|
4289
|
+
inputs: [{
|
|
4290
|
+
indexed: false,
|
|
4291
|
+
internalType: "bytes",
|
|
4292
|
+
name: "proof",
|
|
4293
|
+
type: "bytes"
|
|
4294
|
+
}],
|
|
4295
|
+
name: "Exit",
|
|
4296
|
+
type: "event"
|
|
4297
|
+
},
|
|
4298
|
+
{
|
|
4299
|
+
anonymous: false,
|
|
4300
|
+
inputs: [],
|
|
4301
|
+
name: "FailedToSendETH",
|
|
4302
|
+
type: "event"
|
|
4303
|
+
},
|
|
4304
|
+
{
|
|
4305
|
+
anonymous: false,
|
|
4306
|
+
inputs: [{
|
|
4307
|
+
indexed: false,
|
|
4308
|
+
internalType: "address",
|
|
4309
|
+
name: "token",
|
|
4310
|
+
type: "address"
|
|
4311
|
+
}, {
|
|
4312
|
+
indexed: false,
|
|
4313
|
+
internalType: "uint256",
|
|
4314
|
+
name: "amount",
|
|
4315
|
+
type: "uint256"
|
|
4316
|
+
}],
|
|
4317
|
+
name: "WithdrawToCollector",
|
|
4318
|
+
type: "event"
|
|
4319
|
+
},
|
|
4320
|
+
{
|
|
4321
|
+
anonymous: false,
|
|
4322
|
+
inputs: [],
|
|
4323
|
+
name: "Closed",
|
|
4324
|
+
type: "event"
|
|
4325
|
+
},
|
|
4326
|
+
{
|
|
4327
|
+
anonymous: false,
|
|
4328
|
+
inputs: [{
|
|
4329
|
+
indexed: true,
|
|
4330
|
+
internalType: "address",
|
|
4331
|
+
name: "usr",
|
|
4332
|
+
type: "address"
|
|
4333
|
+
}],
|
|
4334
|
+
name: "Deny",
|
|
4335
|
+
type: "event"
|
|
4336
|
+
},
|
|
4337
|
+
{
|
|
4338
|
+
anonymous: false,
|
|
4339
|
+
inputs: [
|
|
4340
|
+
{
|
|
4341
|
+
indexed: true,
|
|
4342
|
+
internalType: "address",
|
|
4343
|
+
name: "l1Token",
|
|
4344
|
+
type: "address"
|
|
4345
|
+
},
|
|
4346
|
+
{
|
|
4347
|
+
indexed: true,
|
|
4348
|
+
internalType: "address",
|
|
4349
|
+
name: "from",
|
|
4350
|
+
type: "address"
|
|
4351
|
+
},
|
|
4352
|
+
{
|
|
4353
|
+
indexed: true,
|
|
4354
|
+
internalType: "address",
|
|
4355
|
+
name: "to",
|
|
4356
|
+
type: "address"
|
|
4357
|
+
},
|
|
4358
|
+
{
|
|
4359
|
+
indexed: false,
|
|
4360
|
+
internalType: "uint256",
|
|
4361
|
+
name: "amount",
|
|
4362
|
+
type: "uint256"
|
|
4363
|
+
}
|
|
4364
|
+
],
|
|
4365
|
+
name: "DepositFinalized",
|
|
4366
|
+
type: "event"
|
|
4367
|
+
},
|
|
4368
|
+
{
|
|
4369
|
+
anonymous: false,
|
|
4370
|
+
inputs: [{
|
|
4371
|
+
indexed: true,
|
|
4372
|
+
internalType: "address",
|
|
4373
|
+
name: "usr",
|
|
4374
|
+
type: "address"
|
|
4375
|
+
}],
|
|
4376
|
+
name: "Rely",
|
|
4377
|
+
type: "event"
|
|
4378
|
+
},
|
|
4379
|
+
{
|
|
4380
|
+
anonymous: false,
|
|
4381
|
+
inputs: [
|
|
4382
|
+
{
|
|
4383
|
+
indexed: true,
|
|
4384
|
+
internalType: "address",
|
|
4385
|
+
name: "from",
|
|
4386
|
+
type: "address"
|
|
4387
|
+
},
|
|
4388
|
+
{
|
|
4389
|
+
indexed: true,
|
|
4390
|
+
internalType: "address",
|
|
4391
|
+
name: "to",
|
|
4392
|
+
type: "address"
|
|
4393
|
+
},
|
|
4394
|
+
{
|
|
4395
|
+
indexed: true,
|
|
4396
|
+
internalType: "uint256",
|
|
4397
|
+
name: "id",
|
|
4398
|
+
type: "uint256"
|
|
4399
|
+
},
|
|
4400
|
+
{
|
|
4401
|
+
indexed: false,
|
|
4402
|
+
internalType: "bytes",
|
|
4403
|
+
name: "data",
|
|
4404
|
+
type: "bytes"
|
|
4405
|
+
}
|
|
4406
|
+
],
|
|
4407
|
+
name: "TxToL1",
|
|
4408
|
+
type: "event"
|
|
4409
|
+
},
|
|
4410
|
+
{
|
|
4411
|
+
anonymous: false,
|
|
4412
|
+
inputs: [
|
|
4413
|
+
{
|
|
4414
|
+
indexed: false,
|
|
4415
|
+
internalType: "address",
|
|
4416
|
+
name: "l1Token",
|
|
4417
|
+
type: "address"
|
|
4418
|
+
},
|
|
4419
|
+
{
|
|
4420
|
+
indexed: true,
|
|
4421
|
+
internalType: "address",
|
|
4422
|
+
name: "from",
|
|
4423
|
+
type: "address"
|
|
4424
|
+
},
|
|
4425
|
+
{
|
|
4426
|
+
indexed: true,
|
|
4427
|
+
internalType: "address",
|
|
4428
|
+
name: "to",
|
|
4429
|
+
type: "address"
|
|
4430
|
+
},
|
|
4431
|
+
{
|
|
4432
|
+
indexed: true,
|
|
4433
|
+
internalType: "uint256",
|
|
4434
|
+
name: "l2ToL1Id",
|
|
4435
|
+
type: "uint256"
|
|
4436
|
+
},
|
|
4437
|
+
{
|
|
4438
|
+
indexed: false,
|
|
4439
|
+
internalType: "uint256",
|
|
4440
|
+
name: "exitNum",
|
|
4441
|
+
type: "uint256"
|
|
4442
|
+
},
|
|
4443
|
+
{
|
|
4444
|
+
indexed: false,
|
|
4445
|
+
internalType: "uint256",
|
|
4446
|
+
name: "amount",
|
|
4447
|
+
type: "uint256"
|
|
4448
|
+
}
|
|
4449
|
+
],
|
|
4450
|
+
name: "WithdrawalInitiated",
|
|
4451
|
+
type: "event"
|
|
4452
|
+
},
|
|
4453
|
+
{
|
|
4454
|
+
anonymous: false,
|
|
4455
|
+
inputs: [
|
|
4456
|
+
{
|
|
4457
|
+
indexed: false,
|
|
4458
|
+
internalType: "address",
|
|
4459
|
+
name: "l2sender",
|
|
4460
|
+
type: "address"
|
|
4461
|
+
},
|
|
4462
|
+
{
|
|
4463
|
+
indexed: false,
|
|
4464
|
+
internalType: "address",
|
|
4465
|
+
name: "to",
|
|
4466
|
+
type: "address"
|
|
4467
|
+
},
|
|
4468
|
+
{
|
|
4469
|
+
indexed: false,
|
|
4470
|
+
internalType: "uint256",
|
|
4471
|
+
name: "l2block",
|
|
4472
|
+
type: "uint256"
|
|
4473
|
+
},
|
|
4474
|
+
{
|
|
4475
|
+
indexed: false,
|
|
4476
|
+
internalType: "uint256",
|
|
4477
|
+
name: "l1block",
|
|
4478
|
+
type: "uint256"
|
|
4479
|
+
},
|
|
4480
|
+
{
|
|
4481
|
+
indexed: false,
|
|
4482
|
+
internalType: "uint256",
|
|
4483
|
+
name: "value",
|
|
4484
|
+
type: "uint256"
|
|
4485
|
+
},
|
|
4486
|
+
{
|
|
4487
|
+
indexed: false,
|
|
4488
|
+
internalType: "bytes",
|
|
4489
|
+
name: "data",
|
|
4490
|
+
type: "bytes"
|
|
4491
|
+
}
|
|
4492
|
+
],
|
|
4493
|
+
name: "Exit",
|
|
4494
|
+
type: "event"
|
|
3944
4495
|
}
|
|
3945
4496
|
];
|
|
3946
4497
|
|
|
@@ -3969,6 +3969,557 @@ const eventDb = [
|
|
|
3969
3969
|
],
|
|
3970
3970
|
name: "Withdraw",
|
|
3971
3971
|
type: "event"
|
|
3972
|
+
},
|
|
3973
|
+
{
|
|
3974
|
+
anonymous: false,
|
|
3975
|
+
inputs: [
|
|
3976
|
+
{
|
|
3977
|
+
indexed: true,
|
|
3978
|
+
internalType: "address",
|
|
3979
|
+
name: "caller",
|
|
3980
|
+
type: "address"
|
|
3981
|
+
},
|
|
3982
|
+
{
|
|
3983
|
+
indexed: true,
|
|
3984
|
+
internalType: "address",
|
|
3985
|
+
name: "token",
|
|
3986
|
+
type: "address"
|
|
3987
|
+
},
|
|
3988
|
+
{
|
|
3989
|
+
indexed: true,
|
|
3990
|
+
internalType: "address",
|
|
3991
|
+
name: "to",
|
|
3992
|
+
type: "address"
|
|
3993
|
+
},
|
|
3994
|
+
{
|
|
3995
|
+
indexed: false,
|
|
3996
|
+
internalType: "uint256",
|
|
3997
|
+
name: "amount",
|
|
3998
|
+
type: "uint256"
|
|
3999
|
+
}
|
|
4000
|
+
],
|
|
4001
|
+
name: "ERC20Rescued",
|
|
4002
|
+
type: "event"
|
|
4003
|
+
},
|
|
4004
|
+
{
|
|
4005
|
+
anonymous: false,
|
|
4006
|
+
inputs: [{
|
|
4007
|
+
indexed: false,
|
|
4008
|
+
internalType: "address",
|
|
4009
|
+
name: "oldAddress",
|
|
4010
|
+
type: "address"
|
|
4011
|
+
}, {
|
|
4012
|
+
indexed: false,
|
|
4013
|
+
internalType: "address",
|
|
4014
|
+
name: "newAddress",
|
|
4015
|
+
type: "address"
|
|
4016
|
+
}],
|
|
4017
|
+
name: "LimitOrderPriceCheckerUpdated",
|
|
4018
|
+
type: "event"
|
|
4019
|
+
},
|
|
4020
|
+
{
|
|
4021
|
+
anonymous: false,
|
|
4022
|
+
inputs: [
|
|
4023
|
+
{
|
|
4024
|
+
indexed: true,
|
|
4025
|
+
internalType: "address",
|
|
4026
|
+
name: "fromToken",
|
|
4027
|
+
type: "address"
|
|
4028
|
+
},
|
|
4029
|
+
{
|
|
4030
|
+
indexed: true,
|
|
4031
|
+
internalType: "address",
|
|
4032
|
+
name: "toToken",
|
|
4033
|
+
type: "address"
|
|
4034
|
+
},
|
|
4035
|
+
{
|
|
4036
|
+
indexed: false,
|
|
4037
|
+
internalType: "uint256",
|
|
4038
|
+
name: "amount",
|
|
4039
|
+
type: "uint256"
|
|
4040
|
+
},
|
|
4041
|
+
{
|
|
4042
|
+
indexed: false,
|
|
4043
|
+
internalType: "uint256",
|
|
4044
|
+
name: "minAmountOut",
|
|
4045
|
+
type: "uint256"
|
|
4046
|
+
}
|
|
4047
|
+
],
|
|
4048
|
+
name: "LimitSwapRequested",
|
|
4049
|
+
type: "event"
|
|
4050
|
+
},
|
|
4051
|
+
{
|
|
4052
|
+
anonymous: false,
|
|
4053
|
+
inputs: [{
|
|
4054
|
+
indexed: false,
|
|
4055
|
+
internalType: "address",
|
|
4056
|
+
name: "oldAddress",
|
|
4057
|
+
type: "address"
|
|
4058
|
+
}, {
|
|
4059
|
+
indexed: false,
|
|
4060
|
+
internalType: "address",
|
|
4061
|
+
name: "newAddress",
|
|
4062
|
+
type: "address"
|
|
4063
|
+
}],
|
|
4064
|
+
name: "MilkmanAddressUpdated",
|
|
4065
|
+
type: "event"
|
|
4066
|
+
},
|
|
4067
|
+
{
|
|
4068
|
+
anonymous: false,
|
|
4069
|
+
inputs: [
|
|
4070
|
+
{
|
|
4071
|
+
indexed: true,
|
|
4072
|
+
internalType: "address",
|
|
4073
|
+
name: "caller",
|
|
4074
|
+
type: "address"
|
|
4075
|
+
},
|
|
4076
|
+
{
|
|
4077
|
+
indexed: true,
|
|
4078
|
+
internalType: "address",
|
|
4079
|
+
name: "to",
|
|
4080
|
+
type: "address"
|
|
4081
|
+
},
|
|
4082
|
+
{
|
|
4083
|
+
indexed: false,
|
|
4084
|
+
internalType: "uint256",
|
|
4085
|
+
name: "amount",
|
|
4086
|
+
type: "uint256"
|
|
4087
|
+
}
|
|
4088
|
+
],
|
|
4089
|
+
name: "NativeTokensRescued",
|
|
4090
|
+
type: "event"
|
|
4091
|
+
},
|
|
4092
|
+
{
|
|
4093
|
+
anonymous: false,
|
|
4094
|
+
inputs: [{
|
|
4095
|
+
indexed: false,
|
|
4096
|
+
internalType: "address",
|
|
4097
|
+
name: "oldAddress",
|
|
4098
|
+
type: "address"
|
|
4099
|
+
}, {
|
|
4100
|
+
indexed: false,
|
|
4101
|
+
internalType: "address",
|
|
4102
|
+
name: "newAddress",
|
|
4103
|
+
type: "address"
|
|
4104
|
+
}],
|
|
4105
|
+
name: "PriceCheckerUpdated",
|
|
4106
|
+
type: "event"
|
|
4107
|
+
},
|
|
4108
|
+
{
|
|
4109
|
+
anonymous: false,
|
|
4110
|
+
inputs: [{
|
|
4111
|
+
indexed: false,
|
|
4112
|
+
internalType: "address",
|
|
4113
|
+
name: "oldAddress",
|
|
4114
|
+
type: "address"
|
|
4115
|
+
}, {
|
|
4116
|
+
indexed: false,
|
|
4117
|
+
internalType: "address",
|
|
4118
|
+
name: "newAddress",
|
|
4119
|
+
type: "address"
|
|
4120
|
+
}],
|
|
4121
|
+
name: "RelayerAddressUpdated",
|
|
4122
|
+
type: "event"
|
|
4123
|
+
},
|
|
4124
|
+
{
|
|
4125
|
+
anonymous: false,
|
|
4126
|
+
inputs: [
|
|
4127
|
+
{
|
|
4128
|
+
indexed: true,
|
|
4129
|
+
internalType: "address",
|
|
4130
|
+
name: "fromToken",
|
|
4131
|
+
type: "address"
|
|
4132
|
+
},
|
|
4133
|
+
{
|
|
4134
|
+
indexed: true,
|
|
4135
|
+
internalType: "address",
|
|
4136
|
+
name: "toToken",
|
|
4137
|
+
type: "address"
|
|
4138
|
+
},
|
|
4139
|
+
{
|
|
4140
|
+
indexed: false,
|
|
4141
|
+
internalType: "bool",
|
|
4142
|
+
name: "allowed",
|
|
4143
|
+
type: "bool"
|
|
4144
|
+
}
|
|
4145
|
+
],
|
|
4146
|
+
name: "SetSwappablePair",
|
|
4147
|
+
type: "event"
|
|
4148
|
+
},
|
|
4149
|
+
{
|
|
4150
|
+
anonymous: false,
|
|
4151
|
+
inputs: [{
|
|
4152
|
+
indexed: true,
|
|
4153
|
+
internalType: "address",
|
|
4154
|
+
name: "token",
|
|
4155
|
+
type: "address"
|
|
4156
|
+
}, {
|
|
4157
|
+
indexed: true,
|
|
4158
|
+
internalType: "address",
|
|
4159
|
+
name: "oracle",
|
|
4160
|
+
type: "address"
|
|
4161
|
+
}],
|
|
4162
|
+
name: "SetTokenOracle",
|
|
4163
|
+
type: "event"
|
|
4164
|
+
},
|
|
4165
|
+
{
|
|
4166
|
+
anonymous: false,
|
|
4167
|
+
inputs: [
|
|
4168
|
+
{
|
|
4169
|
+
indexed: true,
|
|
4170
|
+
internalType: "address",
|
|
4171
|
+
name: "fromToken",
|
|
4172
|
+
type: "address"
|
|
4173
|
+
},
|
|
4174
|
+
{
|
|
4175
|
+
indexed: true,
|
|
4176
|
+
internalType: "address",
|
|
4177
|
+
name: "toToken",
|
|
4178
|
+
type: "address"
|
|
4179
|
+
},
|
|
4180
|
+
{
|
|
4181
|
+
indexed: false,
|
|
4182
|
+
internalType: "uint256",
|
|
4183
|
+
name: "amount",
|
|
4184
|
+
type: "uint256"
|
|
4185
|
+
}
|
|
4186
|
+
],
|
|
4187
|
+
name: "SwapCanceled",
|
|
4188
|
+
type: "event"
|
|
4189
|
+
},
|
|
4190
|
+
{
|
|
4191
|
+
anonymous: false,
|
|
4192
|
+
inputs: [
|
|
4193
|
+
{
|
|
4194
|
+
indexed: true,
|
|
4195
|
+
internalType: "address",
|
|
4196
|
+
name: "fromToken",
|
|
4197
|
+
type: "address"
|
|
4198
|
+
},
|
|
4199
|
+
{
|
|
4200
|
+
indexed: true,
|
|
4201
|
+
internalType: "address",
|
|
4202
|
+
name: "toToken",
|
|
4203
|
+
type: "address"
|
|
4204
|
+
},
|
|
4205
|
+
{
|
|
4206
|
+
indexed: false,
|
|
4207
|
+
internalType: "address",
|
|
4208
|
+
name: "fromOracle",
|
|
4209
|
+
type: "address"
|
|
4210
|
+
},
|
|
4211
|
+
{
|
|
4212
|
+
indexed: false,
|
|
4213
|
+
internalType: "address",
|
|
4214
|
+
name: "toOracle",
|
|
4215
|
+
type: "address"
|
|
4216
|
+
},
|
|
4217
|
+
{
|
|
4218
|
+
indexed: false,
|
|
4219
|
+
internalType: "uint256",
|
|
4220
|
+
name: "amount",
|
|
4221
|
+
type: "uint256"
|
|
4222
|
+
},
|
|
4223
|
+
{
|
|
4224
|
+
indexed: false,
|
|
4225
|
+
internalType: "uint256",
|
|
4226
|
+
name: "slippage",
|
|
4227
|
+
type: "uint256"
|
|
4228
|
+
}
|
|
4229
|
+
],
|
|
4230
|
+
name: "SwapRequested",
|
|
4231
|
+
type: "event"
|
|
4232
|
+
},
|
|
4233
|
+
{
|
|
4234
|
+
anonymous: false,
|
|
4235
|
+
inputs: [
|
|
4236
|
+
{
|
|
4237
|
+
indexed: true,
|
|
4238
|
+
internalType: "address",
|
|
4239
|
+
name: "fromToken",
|
|
4240
|
+
type: "address"
|
|
4241
|
+
},
|
|
4242
|
+
{
|
|
4243
|
+
indexed: true,
|
|
4244
|
+
internalType: "address",
|
|
4245
|
+
name: "toToken",
|
|
4246
|
+
type: "address"
|
|
4247
|
+
},
|
|
4248
|
+
{
|
|
4249
|
+
indexed: false,
|
|
4250
|
+
internalType: "uint256",
|
|
4251
|
+
name: "totalAmount",
|
|
4252
|
+
type: "uint256"
|
|
4253
|
+
}
|
|
4254
|
+
],
|
|
4255
|
+
name: "TWAPSwapCanceled",
|
|
4256
|
+
type: "event"
|
|
4257
|
+
},
|
|
4258
|
+
{
|
|
4259
|
+
anonymous: false,
|
|
4260
|
+
inputs: [
|
|
4261
|
+
{
|
|
4262
|
+
indexed: true,
|
|
4263
|
+
internalType: "address",
|
|
4264
|
+
name: "fromToken",
|
|
4265
|
+
type: "address"
|
|
4266
|
+
},
|
|
4267
|
+
{
|
|
4268
|
+
indexed: true,
|
|
4269
|
+
internalType: "address",
|
|
4270
|
+
name: "toToken",
|
|
4271
|
+
type: "address"
|
|
4272
|
+
},
|
|
4273
|
+
{
|
|
4274
|
+
indexed: false,
|
|
4275
|
+
internalType: "uint256",
|
|
4276
|
+
name: "totalAmount",
|
|
4277
|
+
type: "uint256"
|
|
4278
|
+
}
|
|
4279
|
+
],
|
|
4280
|
+
name: "TWAPSwapRequested",
|
|
4281
|
+
type: "event"
|
|
4282
|
+
},
|
|
4283
|
+
{
|
|
4284
|
+
anonymous: false,
|
|
4285
|
+
inputs: [{
|
|
4286
|
+
indexed: true,
|
|
4287
|
+
internalType: "address",
|
|
4288
|
+
name: "token",
|
|
4289
|
+
type: "address"
|
|
4290
|
+
}, {
|
|
4291
|
+
indexed: false,
|
|
4292
|
+
internalType: "uint256",
|
|
4293
|
+
name: "budget",
|
|
4294
|
+
type: "uint256"
|
|
4295
|
+
}],
|
|
4296
|
+
name: "UpdatedTokenBudget",
|
|
4297
|
+
type: "event"
|
|
4298
|
+
},
|
|
4299
|
+
{
|
|
4300
|
+
anonymous: false,
|
|
4301
|
+
inputs: [{
|
|
4302
|
+
indexed: false,
|
|
4303
|
+
internalType: "address",
|
|
4304
|
+
name: "token",
|
|
4305
|
+
type: "address"
|
|
4306
|
+
}, {
|
|
4307
|
+
indexed: false,
|
|
4308
|
+
internalType: "uint256",
|
|
4309
|
+
name: "amount",
|
|
4310
|
+
type: "uint256"
|
|
4311
|
+
}],
|
|
4312
|
+
name: "Bridge",
|
|
4313
|
+
type: "event"
|
|
4314
|
+
},
|
|
4315
|
+
{
|
|
4316
|
+
anonymous: false,
|
|
4317
|
+
inputs: [{
|
|
4318
|
+
indexed: false,
|
|
4319
|
+
internalType: "bytes",
|
|
4320
|
+
name: "proof",
|
|
4321
|
+
type: "bytes"
|
|
4322
|
+
}],
|
|
4323
|
+
name: "Exit",
|
|
4324
|
+
type: "event"
|
|
4325
|
+
},
|
|
4326
|
+
{
|
|
4327
|
+
anonymous: false,
|
|
4328
|
+
inputs: [],
|
|
4329
|
+
name: "FailedToSendETH",
|
|
4330
|
+
type: "event"
|
|
4331
|
+
},
|
|
4332
|
+
{
|
|
4333
|
+
anonymous: false,
|
|
4334
|
+
inputs: [{
|
|
4335
|
+
indexed: false,
|
|
4336
|
+
internalType: "address",
|
|
4337
|
+
name: "token",
|
|
4338
|
+
type: "address"
|
|
4339
|
+
}, {
|
|
4340
|
+
indexed: false,
|
|
4341
|
+
internalType: "uint256",
|
|
4342
|
+
name: "amount",
|
|
4343
|
+
type: "uint256"
|
|
4344
|
+
}],
|
|
4345
|
+
name: "WithdrawToCollector",
|
|
4346
|
+
type: "event"
|
|
4347
|
+
},
|
|
4348
|
+
{
|
|
4349
|
+
anonymous: false,
|
|
4350
|
+
inputs: [],
|
|
4351
|
+
name: "Closed",
|
|
4352
|
+
type: "event"
|
|
4353
|
+
},
|
|
4354
|
+
{
|
|
4355
|
+
anonymous: false,
|
|
4356
|
+
inputs: [{
|
|
4357
|
+
indexed: true,
|
|
4358
|
+
internalType: "address",
|
|
4359
|
+
name: "usr",
|
|
4360
|
+
type: "address"
|
|
4361
|
+
}],
|
|
4362
|
+
name: "Deny",
|
|
4363
|
+
type: "event"
|
|
4364
|
+
},
|
|
4365
|
+
{
|
|
4366
|
+
anonymous: false,
|
|
4367
|
+
inputs: [
|
|
4368
|
+
{
|
|
4369
|
+
indexed: true,
|
|
4370
|
+
internalType: "address",
|
|
4371
|
+
name: "l1Token",
|
|
4372
|
+
type: "address"
|
|
4373
|
+
},
|
|
4374
|
+
{
|
|
4375
|
+
indexed: true,
|
|
4376
|
+
internalType: "address",
|
|
4377
|
+
name: "from",
|
|
4378
|
+
type: "address"
|
|
4379
|
+
},
|
|
4380
|
+
{
|
|
4381
|
+
indexed: true,
|
|
4382
|
+
internalType: "address",
|
|
4383
|
+
name: "to",
|
|
4384
|
+
type: "address"
|
|
4385
|
+
},
|
|
4386
|
+
{
|
|
4387
|
+
indexed: false,
|
|
4388
|
+
internalType: "uint256",
|
|
4389
|
+
name: "amount",
|
|
4390
|
+
type: "uint256"
|
|
4391
|
+
}
|
|
4392
|
+
],
|
|
4393
|
+
name: "DepositFinalized",
|
|
4394
|
+
type: "event"
|
|
4395
|
+
},
|
|
4396
|
+
{
|
|
4397
|
+
anonymous: false,
|
|
4398
|
+
inputs: [{
|
|
4399
|
+
indexed: true,
|
|
4400
|
+
internalType: "address",
|
|
4401
|
+
name: "usr",
|
|
4402
|
+
type: "address"
|
|
4403
|
+
}],
|
|
4404
|
+
name: "Rely",
|
|
4405
|
+
type: "event"
|
|
4406
|
+
},
|
|
4407
|
+
{
|
|
4408
|
+
anonymous: false,
|
|
4409
|
+
inputs: [
|
|
4410
|
+
{
|
|
4411
|
+
indexed: true,
|
|
4412
|
+
internalType: "address",
|
|
4413
|
+
name: "from",
|
|
4414
|
+
type: "address"
|
|
4415
|
+
},
|
|
4416
|
+
{
|
|
4417
|
+
indexed: true,
|
|
4418
|
+
internalType: "address",
|
|
4419
|
+
name: "to",
|
|
4420
|
+
type: "address"
|
|
4421
|
+
},
|
|
4422
|
+
{
|
|
4423
|
+
indexed: true,
|
|
4424
|
+
internalType: "uint256",
|
|
4425
|
+
name: "id",
|
|
4426
|
+
type: "uint256"
|
|
4427
|
+
},
|
|
4428
|
+
{
|
|
4429
|
+
indexed: false,
|
|
4430
|
+
internalType: "bytes",
|
|
4431
|
+
name: "data",
|
|
4432
|
+
type: "bytes"
|
|
4433
|
+
}
|
|
4434
|
+
],
|
|
4435
|
+
name: "TxToL1",
|
|
4436
|
+
type: "event"
|
|
4437
|
+
},
|
|
4438
|
+
{
|
|
4439
|
+
anonymous: false,
|
|
4440
|
+
inputs: [
|
|
4441
|
+
{
|
|
4442
|
+
indexed: false,
|
|
4443
|
+
internalType: "address",
|
|
4444
|
+
name: "l1Token",
|
|
4445
|
+
type: "address"
|
|
4446
|
+
},
|
|
4447
|
+
{
|
|
4448
|
+
indexed: true,
|
|
4449
|
+
internalType: "address",
|
|
4450
|
+
name: "from",
|
|
4451
|
+
type: "address"
|
|
4452
|
+
},
|
|
4453
|
+
{
|
|
4454
|
+
indexed: true,
|
|
4455
|
+
internalType: "address",
|
|
4456
|
+
name: "to",
|
|
4457
|
+
type: "address"
|
|
4458
|
+
},
|
|
4459
|
+
{
|
|
4460
|
+
indexed: true,
|
|
4461
|
+
internalType: "uint256",
|
|
4462
|
+
name: "l2ToL1Id",
|
|
4463
|
+
type: "uint256"
|
|
4464
|
+
},
|
|
4465
|
+
{
|
|
4466
|
+
indexed: false,
|
|
4467
|
+
internalType: "uint256",
|
|
4468
|
+
name: "exitNum",
|
|
4469
|
+
type: "uint256"
|
|
4470
|
+
},
|
|
4471
|
+
{
|
|
4472
|
+
indexed: false,
|
|
4473
|
+
internalType: "uint256",
|
|
4474
|
+
name: "amount",
|
|
4475
|
+
type: "uint256"
|
|
4476
|
+
}
|
|
4477
|
+
],
|
|
4478
|
+
name: "WithdrawalInitiated",
|
|
4479
|
+
type: "event"
|
|
4480
|
+
},
|
|
4481
|
+
{
|
|
4482
|
+
anonymous: false,
|
|
4483
|
+
inputs: [
|
|
4484
|
+
{
|
|
4485
|
+
indexed: false,
|
|
4486
|
+
internalType: "address",
|
|
4487
|
+
name: "l2sender",
|
|
4488
|
+
type: "address"
|
|
4489
|
+
},
|
|
4490
|
+
{
|
|
4491
|
+
indexed: false,
|
|
4492
|
+
internalType: "address",
|
|
4493
|
+
name: "to",
|
|
4494
|
+
type: "address"
|
|
4495
|
+
},
|
|
4496
|
+
{
|
|
4497
|
+
indexed: false,
|
|
4498
|
+
internalType: "uint256",
|
|
4499
|
+
name: "l2block",
|
|
4500
|
+
type: "uint256"
|
|
4501
|
+
},
|
|
4502
|
+
{
|
|
4503
|
+
indexed: false,
|
|
4504
|
+
internalType: "uint256",
|
|
4505
|
+
name: "l1block",
|
|
4506
|
+
type: "uint256"
|
|
4507
|
+
},
|
|
4508
|
+
{
|
|
4509
|
+
indexed: false,
|
|
4510
|
+
internalType: "uint256",
|
|
4511
|
+
name: "value",
|
|
4512
|
+
type: "uint256"
|
|
4513
|
+
},
|
|
4514
|
+
{
|
|
4515
|
+
indexed: false,
|
|
4516
|
+
internalType: "bytes",
|
|
4517
|
+
name: "data",
|
|
4518
|
+
type: "bytes"
|
|
4519
|
+
}
|
|
4520
|
+
],
|
|
4521
|
+
name: "Exit",
|
|
4522
|
+
type: "event"
|
|
3972
4523
|
}
|
|
3973
4524
|
];
|
|
3974
4525
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aave-dao/aave-helpers-js",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.12",
|
|
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
|
-
"@bgd-labs/toolbox": "^0.2.
|
|
31
|
+
"@aave-dao/aave-address-book": "^4.47.12",
|
|
32
|
+
"@bgd-labs/toolbox": "^0.2.23",
|
|
33
33
|
"commander": "^14.0.3",
|
|
34
34
|
"find-object-paths": "^1.1.0",
|
|
35
35
|
"viem": "^2.45.3",
|