@aave-dao/aave-helpers-js 1.0.11 → 1.0.13
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-DxfBiCSN.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-B6fP3E2n.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-DxfBiCSN.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-B6fP3E2n.mjs";
|
|
2
2
|
|
|
3
3
|
export { diff, diffSnapshots, eventDb, hasChanges, isChange };
|
|
@@ -4316,6 +4316,198 @@ const eventDb = [
|
|
|
4316
4316
|
}],
|
|
4317
4317
|
name: "WithdrawToCollector",
|
|
4318
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"
|
|
4495
|
+
},
|
|
4496
|
+
{
|
|
4497
|
+
anonymous: false,
|
|
4498
|
+
inputs: [{
|
|
4499
|
+
indexed: true,
|
|
4500
|
+
internalType: "address",
|
|
4501
|
+
name: "token",
|
|
4502
|
+
type: "address"
|
|
4503
|
+
}, {
|
|
4504
|
+
indexed: false,
|
|
4505
|
+
internalType: "uint256",
|
|
4506
|
+
name: "amount",
|
|
4507
|
+
type: "uint256"
|
|
4508
|
+
}],
|
|
4509
|
+
name: "Bridge",
|
|
4510
|
+
type: "event"
|
|
4319
4511
|
}
|
|
4320
4512
|
];
|
|
4321
4513
|
|
|
@@ -4344,6 +4344,198 @@ const eventDb = [
|
|
|
4344
4344
|
}],
|
|
4345
4345
|
name: "WithdrawToCollector",
|
|
4346
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"
|
|
4523
|
+
},
|
|
4524
|
+
{
|
|
4525
|
+
anonymous: false,
|
|
4526
|
+
inputs: [{
|
|
4527
|
+
indexed: true,
|
|
4528
|
+
internalType: "address",
|
|
4529
|
+
name: "token",
|
|
4530
|
+
type: "address"
|
|
4531
|
+
}, {
|
|
4532
|
+
indexed: false,
|
|
4533
|
+
internalType: "uint256",
|
|
4534
|
+
name: "amount",
|
|
4535
|
+
type: "uint256"
|
|
4536
|
+
}],
|
|
4537
|
+
name: "Bridge",
|
|
4538
|
+
type: "event"
|
|
4347
4539
|
}
|
|
4348
4540
|
];
|
|
4349
4541
|
|
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.13",
|
|
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.24",
|
|
33
33
|
"commander": "^14.0.3",
|
|
34
34
|
"find-object-paths": "^1.1.0",
|
|
35
35
|
"viem": "^2.45.3",
|