@aave-dao/aave-helpers-js 1.0.12 → 1.0.14
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-D-8nafmy.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-WamwVjzl.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-D-8nafmy.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-WamwVjzl.mjs";
|
|
2
2
|
|
|
3
3
|
export { diff, diffSnapshots, eventDb, hasChanges, isChange };
|
|
@@ -4520,6 +4520,241 @@ const eventDb = [
|
|
|
4520
4520
|
],
|
|
4521
4521
|
name: "Exit",
|
|
4522
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"
|
|
4539
|
+
},
|
|
4540
|
+
{
|
|
4541
|
+
anonymous: false,
|
|
4542
|
+
inputs: [
|
|
4543
|
+
{
|
|
4544
|
+
indexed: true,
|
|
4545
|
+
internalType: "uint256",
|
|
4546
|
+
name: "id",
|
|
4547
|
+
type: "uint256"
|
|
4548
|
+
},
|
|
4549
|
+
{
|
|
4550
|
+
indexed: true,
|
|
4551
|
+
internalType: "address",
|
|
4552
|
+
name: "upkeep",
|
|
4553
|
+
type: "address"
|
|
4554
|
+
},
|
|
4555
|
+
{
|
|
4556
|
+
indexed: true,
|
|
4557
|
+
internalType: "uint32",
|
|
4558
|
+
name: "gasLimit",
|
|
4559
|
+
type: "uint32"
|
|
4560
|
+
}
|
|
4561
|
+
],
|
|
4562
|
+
name: "GasLimitSet",
|
|
4563
|
+
type: "event"
|
|
4564
|
+
},
|
|
4565
|
+
{
|
|
4566
|
+
anonymous: false,
|
|
4567
|
+
inputs: [
|
|
4568
|
+
{
|
|
4569
|
+
indexed: false,
|
|
4570
|
+
internalType: "address",
|
|
4571
|
+
name: "keeperRegistry",
|
|
4572
|
+
type: "address"
|
|
4573
|
+
},
|
|
4574
|
+
{
|
|
4575
|
+
indexed: false,
|
|
4576
|
+
internalType: "address",
|
|
4577
|
+
name: "keeperRegistrar",
|
|
4578
|
+
type: "address"
|
|
4579
|
+
},
|
|
4580
|
+
{
|
|
4581
|
+
indexed: false,
|
|
4582
|
+
internalType: "address",
|
|
4583
|
+
name: "linkWithdrawAddress",
|
|
4584
|
+
type: "address"
|
|
4585
|
+
},
|
|
4586
|
+
{
|
|
4587
|
+
indexed: false,
|
|
4588
|
+
internalType: "address",
|
|
4589
|
+
name: "operatorOwner",
|
|
4590
|
+
type: "address"
|
|
4591
|
+
},
|
|
4592
|
+
{
|
|
4593
|
+
indexed: false,
|
|
4594
|
+
internalType: "address",
|
|
4595
|
+
name: "operatorGuardian",
|
|
4596
|
+
type: "address"
|
|
4597
|
+
}
|
|
4598
|
+
],
|
|
4599
|
+
name: "Initialized",
|
|
4600
|
+
type: "event"
|
|
4601
|
+
},
|
|
4602
|
+
{
|
|
4603
|
+
anonymous: false,
|
|
4604
|
+
inputs: [{
|
|
4605
|
+
indexed: true,
|
|
4606
|
+
internalType: "uint256",
|
|
4607
|
+
name: "id",
|
|
4608
|
+
type: "uint256"
|
|
4609
|
+
}, {
|
|
4610
|
+
indexed: true,
|
|
4611
|
+
internalType: "address",
|
|
4612
|
+
name: "upkeep",
|
|
4613
|
+
type: "address"
|
|
4614
|
+
}],
|
|
4615
|
+
name: "KeeperCancelled",
|
|
4616
|
+
type: "event"
|
|
4617
|
+
},
|
|
4618
|
+
{
|
|
4619
|
+
anonymous: false,
|
|
4620
|
+
inputs: [{
|
|
4621
|
+
indexed: true,
|
|
4622
|
+
internalType: "uint256",
|
|
4623
|
+
name: "id",
|
|
4624
|
+
type: "uint256"
|
|
4625
|
+
}],
|
|
4626
|
+
name: "KeeperPaused",
|
|
4627
|
+
type: "event"
|
|
4628
|
+
},
|
|
4629
|
+
{
|
|
4630
|
+
anonymous: false,
|
|
4631
|
+
inputs: [
|
|
4632
|
+
{
|
|
4633
|
+
indexed: true,
|
|
4634
|
+
internalType: "uint256",
|
|
4635
|
+
name: "id",
|
|
4636
|
+
type: "uint256"
|
|
4637
|
+
},
|
|
4638
|
+
{
|
|
4639
|
+
indexed: true,
|
|
4640
|
+
internalType: "address",
|
|
4641
|
+
name: "from",
|
|
4642
|
+
type: "address"
|
|
4643
|
+
},
|
|
4644
|
+
{
|
|
4645
|
+
indexed: true,
|
|
4646
|
+
internalType: "uint96",
|
|
4647
|
+
name: "amount",
|
|
4648
|
+
type: "uint96"
|
|
4649
|
+
}
|
|
4650
|
+
],
|
|
4651
|
+
name: "KeeperRefilled",
|
|
4652
|
+
type: "event"
|
|
4653
|
+
},
|
|
4654
|
+
{
|
|
4655
|
+
anonymous: false,
|
|
4656
|
+
inputs: [{
|
|
4657
|
+
indexed: true,
|
|
4658
|
+
internalType: "address",
|
|
4659
|
+
name: "newKeeperRegistrar",
|
|
4660
|
+
type: "address"
|
|
4661
|
+
}],
|
|
4662
|
+
name: "KeeperRegistrarSet",
|
|
4663
|
+
type: "event"
|
|
4664
|
+
},
|
|
4665
|
+
{
|
|
4666
|
+
anonymous: false,
|
|
4667
|
+
inputs: [{
|
|
4668
|
+
indexed: true,
|
|
4669
|
+
internalType: "address",
|
|
4670
|
+
name: "newKeeperRegistry",
|
|
4671
|
+
type: "address"
|
|
4672
|
+
}],
|
|
4673
|
+
name: "KeeperRegistrySet",
|
|
4674
|
+
type: "event"
|
|
4675
|
+
},
|
|
4676
|
+
{
|
|
4677
|
+
anonymous: false,
|
|
4678
|
+
inputs: [{
|
|
4679
|
+
indexed: true,
|
|
4680
|
+
internalType: "uint256",
|
|
4681
|
+
name: "id",
|
|
4682
|
+
type: "uint256"
|
|
4683
|
+
}],
|
|
4684
|
+
name: "KeeperUnpaused",
|
|
4685
|
+
type: "event"
|
|
4686
|
+
},
|
|
4687
|
+
{
|
|
4688
|
+
anonymous: false,
|
|
4689
|
+
inputs: [
|
|
4690
|
+
{
|
|
4691
|
+
indexed: true,
|
|
4692
|
+
internalType: "uint256[]",
|
|
4693
|
+
name: "ids",
|
|
4694
|
+
type: "uint256[]"
|
|
4695
|
+
},
|
|
4696
|
+
{
|
|
4697
|
+
indexed: true,
|
|
4698
|
+
internalType: "address",
|
|
4699
|
+
name: "newKeeperRegistry",
|
|
4700
|
+
type: "address"
|
|
4701
|
+
},
|
|
4702
|
+
{
|
|
4703
|
+
indexed: true,
|
|
4704
|
+
internalType: "address",
|
|
4705
|
+
name: "newKeeperRegistrar",
|
|
4706
|
+
type: "address"
|
|
4707
|
+
}
|
|
4708
|
+
],
|
|
4709
|
+
name: "KeepersMigrated",
|
|
4710
|
+
type: "event"
|
|
4711
|
+
},
|
|
4712
|
+
{
|
|
4713
|
+
anonymous: false,
|
|
4714
|
+
inputs: [
|
|
4715
|
+
{
|
|
4716
|
+
indexed: true,
|
|
4717
|
+
internalType: "uint256",
|
|
4718
|
+
name: "id",
|
|
4719
|
+
type: "uint256"
|
|
4720
|
+
},
|
|
4721
|
+
{
|
|
4722
|
+
indexed: true,
|
|
4723
|
+
internalType: "address",
|
|
4724
|
+
name: "upkeep",
|
|
4725
|
+
type: "address"
|
|
4726
|
+
},
|
|
4727
|
+
{
|
|
4728
|
+
indexed: true,
|
|
4729
|
+
internalType: "address",
|
|
4730
|
+
name: "to",
|
|
4731
|
+
type: "address"
|
|
4732
|
+
}
|
|
4733
|
+
],
|
|
4734
|
+
name: "LinkWithdrawn",
|
|
4735
|
+
type: "event"
|
|
4736
|
+
},
|
|
4737
|
+
{
|
|
4738
|
+
anonymous: false,
|
|
4739
|
+
inputs: [{
|
|
4740
|
+
indexed: true,
|
|
4741
|
+
internalType: "uint256",
|
|
4742
|
+
name: "id",
|
|
4743
|
+
type: "uint256"
|
|
4744
|
+
}],
|
|
4745
|
+
name: "TriggerConfigSet",
|
|
4746
|
+
type: "event"
|
|
4747
|
+
},
|
|
4748
|
+
{
|
|
4749
|
+
anonymous: false,
|
|
4750
|
+
inputs: [{
|
|
4751
|
+
indexed: true,
|
|
4752
|
+
internalType: "address",
|
|
4753
|
+
name: "newWithdrawAddress",
|
|
4754
|
+
type: "address"
|
|
4755
|
+
}],
|
|
4756
|
+
name: "WithdrawAddressSet",
|
|
4757
|
+
type: "event"
|
|
4523
4758
|
}
|
|
4524
4759
|
];
|
|
4525
4760
|
|
|
@@ -4492,6 +4492,241 @@ const eventDb = [
|
|
|
4492
4492
|
],
|
|
4493
4493
|
name: "Exit",
|
|
4494
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"
|
|
4511
|
+
},
|
|
4512
|
+
{
|
|
4513
|
+
anonymous: false,
|
|
4514
|
+
inputs: [
|
|
4515
|
+
{
|
|
4516
|
+
indexed: true,
|
|
4517
|
+
internalType: "uint256",
|
|
4518
|
+
name: "id",
|
|
4519
|
+
type: "uint256"
|
|
4520
|
+
},
|
|
4521
|
+
{
|
|
4522
|
+
indexed: true,
|
|
4523
|
+
internalType: "address",
|
|
4524
|
+
name: "upkeep",
|
|
4525
|
+
type: "address"
|
|
4526
|
+
},
|
|
4527
|
+
{
|
|
4528
|
+
indexed: true,
|
|
4529
|
+
internalType: "uint32",
|
|
4530
|
+
name: "gasLimit",
|
|
4531
|
+
type: "uint32"
|
|
4532
|
+
}
|
|
4533
|
+
],
|
|
4534
|
+
name: "GasLimitSet",
|
|
4535
|
+
type: "event"
|
|
4536
|
+
},
|
|
4537
|
+
{
|
|
4538
|
+
anonymous: false,
|
|
4539
|
+
inputs: [
|
|
4540
|
+
{
|
|
4541
|
+
indexed: false,
|
|
4542
|
+
internalType: "address",
|
|
4543
|
+
name: "keeperRegistry",
|
|
4544
|
+
type: "address"
|
|
4545
|
+
},
|
|
4546
|
+
{
|
|
4547
|
+
indexed: false,
|
|
4548
|
+
internalType: "address",
|
|
4549
|
+
name: "keeperRegistrar",
|
|
4550
|
+
type: "address"
|
|
4551
|
+
},
|
|
4552
|
+
{
|
|
4553
|
+
indexed: false,
|
|
4554
|
+
internalType: "address",
|
|
4555
|
+
name: "linkWithdrawAddress",
|
|
4556
|
+
type: "address"
|
|
4557
|
+
},
|
|
4558
|
+
{
|
|
4559
|
+
indexed: false,
|
|
4560
|
+
internalType: "address",
|
|
4561
|
+
name: "operatorOwner",
|
|
4562
|
+
type: "address"
|
|
4563
|
+
},
|
|
4564
|
+
{
|
|
4565
|
+
indexed: false,
|
|
4566
|
+
internalType: "address",
|
|
4567
|
+
name: "operatorGuardian",
|
|
4568
|
+
type: "address"
|
|
4569
|
+
}
|
|
4570
|
+
],
|
|
4571
|
+
name: "Initialized",
|
|
4572
|
+
type: "event"
|
|
4573
|
+
},
|
|
4574
|
+
{
|
|
4575
|
+
anonymous: false,
|
|
4576
|
+
inputs: [{
|
|
4577
|
+
indexed: true,
|
|
4578
|
+
internalType: "uint256",
|
|
4579
|
+
name: "id",
|
|
4580
|
+
type: "uint256"
|
|
4581
|
+
}, {
|
|
4582
|
+
indexed: true,
|
|
4583
|
+
internalType: "address",
|
|
4584
|
+
name: "upkeep",
|
|
4585
|
+
type: "address"
|
|
4586
|
+
}],
|
|
4587
|
+
name: "KeeperCancelled",
|
|
4588
|
+
type: "event"
|
|
4589
|
+
},
|
|
4590
|
+
{
|
|
4591
|
+
anonymous: false,
|
|
4592
|
+
inputs: [{
|
|
4593
|
+
indexed: true,
|
|
4594
|
+
internalType: "uint256",
|
|
4595
|
+
name: "id",
|
|
4596
|
+
type: "uint256"
|
|
4597
|
+
}],
|
|
4598
|
+
name: "KeeperPaused",
|
|
4599
|
+
type: "event"
|
|
4600
|
+
},
|
|
4601
|
+
{
|
|
4602
|
+
anonymous: false,
|
|
4603
|
+
inputs: [
|
|
4604
|
+
{
|
|
4605
|
+
indexed: true,
|
|
4606
|
+
internalType: "uint256",
|
|
4607
|
+
name: "id",
|
|
4608
|
+
type: "uint256"
|
|
4609
|
+
},
|
|
4610
|
+
{
|
|
4611
|
+
indexed: true,
|
|
4612
|
+
internalType: "address",
|
|
4613
|
+
name: "from",
|
|
4614
|
+
type: "address"
|
|
4615
|
+
},
|
|
4616
|
+
{
|
|
4617
|
+
indexed: true,
|
|
4618
|
+
internalType: "uint96",
|
|
4619
|
+
name: "amount",
|
|
4620
|
+
type: "uint96"
|
|
4621
|
+
}
|
|
4622
|
+
],
|
|
4623
|
+
name: "KeeperRefilled",
|
|
4624
|
+
type: "event"
|
|
4625
|
+
},
|
|
4626
|
+
{
|
|
4627
|
+
anonymous: false,
|
|
4628
|
+
inputs: [{
|
|
4629
|
+
indexed: true,
|
|
4630
|
+
internalType: "address",
|
|
4631
|
+
name: "newKeeperRegistrar",
|
|
4632
|
+
type: "address"
|
|
4633
|
+
}],
|
|
4634
|
+
name: "KeeperRegistrarSet",
|
|
4635
|
+
type: "event"
|
|
4636
|
+
},
|
|
4637
|
+
{
|
|
4638
|
+
anonymous: false,
|
|
4639
|
+
inputs: [{
|
|
4640
|
+
indexed: true,
|
|
4641
|
+
internalType: "address",
|
|
4642
|
+
name: "newKeeperRegistry",
|
|
4643
|
+
type: "address"
|
|
4644
|
+
}],
|
|
4645
|
+
name: "KeeperRegistrySet",
|
|
4646
|
+
type: "event"
|
|
4647
|
+
},
|
|
4648
|
+
{
|
|
4649
|
+
anonymous: false,
|
|
4650
|
+
inputs: [{
|
|
4651
|
+
indexed: true,
|
|
4652
|
+
internalType: "uint256",
|
|
4653
|
+
name: "id",
|
|
4654
|
+
type: "uint256"
|
|
4655
|
+
}],
|
|
4656
|
+
name: "KeeperUnpaused",
|
|
4657
|
+
type: "event"
|
|
4658
|
+
},
|
|
4659
|
+
{
|
|
4660
|
+
anonymous: false,
|
|
4661
|
+
inputs: [
|
|
4662
|
+
{
|
|
4663
|
+
indexed: true,
|
|
4664
|
+
internalType: "uint256[]",
|
|
4665
|
+
name: "ids",
|
|
4666
|
+
type: "uint256[]"
|
|
4667
|
+
},
|
|
4668
|
+
{
|
|
4669
|
+
indexed: true,
|
|
4670
|
+
internalType: "address",
|
|
4671
|
+
name: "newKeeperRegistry",
|
|
4672
|
+
type: "address"
|
|
4673
|
+
},
|
|
4674
|
+
{
|
|
4675
|
+
indexed: true,
|
|
4676
|
+
internalType: "address",
|
|
4677
|
+
name: "newKeeperRegistrar",
|
|
4678
|
+
type: "address"
|
|
4679
|
+
}
|
|
4680
|
+
],
|
|
4681
|
+
name: "KeepersMigrated",
|
|
4682
|
+
type: "event"
|
|
4683
|
+
},
|
|
4684
|
+
{
|
|
4685
|
+
anonymous: false,
|
|
4686
|
+
inputs: [
|
|
4687
|
+
{
|
|
4688
|
+
indexed: true,
|
|
4689
|
+
internalType: "uint256",
|
|
4690
|
+
name: "id",
|
|
4691
|
+
type: "uint256"
|
|
4692
|
+
},
|
|
4693
|
+
{
|
|
4694
|
+
indexed: true,
|
|
4695
|
+
internalType: "address",
|
|
4696
|
+
name: "upkeep",
|
|
4697
|
+
type: "address"
|
|
4698
|
+
},
|
|
4699
|
+
{
|
|
4700
|
+
indexed: true,
|
|
4701
|
+
internalType: "address",
|
|
4702
|
+
name: "to",
|
|
4703
|
+
type: "address"
|
|
4704
|
+
}
|
|
4705
|
+
],
|
|
4706
|
+
name: "LinkWithdrawn",
|
|
4707
|
+
type: "event"
|
|
4708
|
+
},
|
|
4709
|
+
{
|
|
4710
|
+
anonymous: false,
|
|
4711
|
+
inputs: [{
|
|
4712
|
+
indexed: true,
|
|
4713
|
+
internalType: "uint256",
|
|
4714
|
+
name: "id",
|
|
4715
|
+
type: "uint256"
|
|
4716
|
+
}],
|
|
4717
|
+
name: "TriggerConfigSet",
|
|
4718
|
+
type: "event"
|
|
4719
|
+
},
|
|
4720
|
+
{
|
|
4721
|
+
anonymous: false,
|
|
4722
|
+
inputs: [{
|
|
4723
|
+
indexed: true,
|
|
4724
|
+
internalType: "address",
|
|
4725
|
+
name: "newWithdrawAddress",
|
|
4726
|
+
type: "address"
|
|
4727
|
+
}],
|
|
4728
|
+
name: "WithdrawAddressSet",
|
|
4729
|
+
type: "event"
|
|
4495
4730
|
}
|
|
4496
4731
|
];
|
|
4497
4732
|
|
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.14",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@aave-dao/aave-address-book": "^4.47.12",
|
|
32
|
-
"@bgd-labs/toolbox": "^0.2.
|
|
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",
|