@defisaver/positions-sdk 0.0.62 → 0.0.63-dev1

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.
Files changed (61) hide show
  1. package/cjs/config/contracts.d.ts +20 -189
  2. package/cjs/config/contracts.js +15 -25
  3. package/cjs/llamaLend/index.js +30 -30
  4. package/cjs/markets/compound/index.js +3 -2
  5. package/cjs/markets/compound/marketsAssets.d.ts +2 -1
  6. package/cjs/markets/compound/marketsAssets.js +3 -2
  7. package/cjs/markets/llamaLend/contractAddresses.d.ts +9 -0
  8. package/cjs/markets/llamaLend/contractAddresses.js +88 -0
  9. package/cjs/markets/llamaLend/index.d.ts +12 -10
  10. package/cjs/markets/llamaLend/index.js +41 -57
  11. package/cjs/types/contracts/generated/{LlamaLendCRVCrvUSDController.d.ts → LlamaLendControllerAbi.d.ts} +3 -3
  12. package/cjs/types/contracts/generated/LlamaLendView.d.ts +5 -0
  13. package/cjs/types/contracts/generated/index.d.ts +1 -4
  14. package/cjs/types/llamaLend.d.ts +35 -9
  15. package/cjs/types/llamaLend.js +26 -8
  16. package/esm/config/contracts.d.ts +20 -189
  17. package/esm/config/contracts.js +15 -25
  18. package/esm/llamaLend/index.js +33 -33
  19. package/esm/markets/compound/index.js +3 -2
  20. package/esm/markets/compound/marketsAssets.d.ts +2 -1
  21. package/esm/markets/compound/marketsAssets.js +2 -1
  22. package/esm/markets/llamaLend/contractAddresses.d.ts +9 -0
  23. package/esm/markets/llamaLend/contractAddresses.js +84 -0
  24. package/esm/markets/llamaLend/index.d.ts +12 -10
  25. package/esm/markets/llamaLend/index.js +31 -55
  26. package/esm/types/contracts/generated/{LlamaLendCrvUSDCRVController.d.ts → LlamaLendControllerAbi.d.ts} +3 -3
  27. package/esm/types/contracts/generated/LlamaLendView.d.ts +5 -0
  28. package/esm/types/contracts/generated/index.d.ts +1 -4
  29. package/esm/types/llamaLend.d.ts +35 -9
  30. package/esm/types/llamaLend.js +25 -7
  31. package/package.json +2 -2
  32. package/src/config/contracts.js +15 -25
  33. package/src/contracts.ts +2 -1
  34. package/src/llamaLend/index.ts +21 -29
  35. package/src/markets/compound/index.ts +4 -3
  36. package/src/markets/compound/marketsAssets.ts +2 -1
  37. package/src/markets/llamaLend/contractAddresses.ts +95 -0
  38. package/src/markets/llamaLend/index.ts +123 -38
  39. package/src/types/common.ts +1 -1
  40. package/src/types/contracts/generated/{LlamaLendCRVCrvUSDController.ts → LlamaLendControllerAbi.ts} +3 -3
  41. package/src/types/contracts/generated/LlamaLendView.ts +9 -0
  42. package/src/types/contracts/generated/index.ts +1 -4
  43. package/src/types/llamaLend.ts +34 -10
  44. package/yarn-error.log +64 -0
  45. package/cjs/types/contracts/generated/LlamaLendCrvUSDCRVController.d.ts +0 -209
  46. package/cjs/types/contracts/generated/LlamaLendCrvUSDCRVController.js +0 -5
  47. package/cjs/types/contracts/generated/LlamaLendTBTCCrvUSDController.d.ts +0 -209
  48. package/cjs/types/contracts/generated/LlamaLendTBTCCrvUSDController.js +0 -5
  49. package/cjs/types/contracts/generated/LlamaLendWstETHCrvUSDController.d.ts +0 -209
  50. package/cjs/types/contracts/generated/LlamaLendWstETHCrvUSDController.js +0 -5
  51. package/esm/types/contracts/generated/LlamaLendCRVCrvUSDController.d.ts +0 -209
  52. package/esm/types/contracts/generated/LlamaLendCrvUSDCRVController.js +0 -4
  53. package/esm/types/contracts/generated/LlamaLendTBTCCrvUSDController.d.ts +0 -209
  54. package/esm/types/contracts/generated/LlamaLendTBTCCrvUSDController.js +0 -4
  55. package/esm/types/contracts/generated/LlamaLendWstETHCrvUSDController.d.ts +0 -209
  56. package/esm/types/contracts/generated/LlamaLendWstETHCrvUSDController.js +0 -4
  57. package/src/types/contracts/generated/LlamaLendCrvUSDCRVController.ts +0 -416
  58. package/src/types/contracts/generated/LlamaLendTBTCCrvUSDController.ts +0 -416
  59. package/src/types/contracts/generated/LlamaLendWstETHCrvUSDController.ts +0 -416
  60. /package/cjs/types/contracts/generated/{LlamaLendCRVCrvUSDController.js → LlamaLendControllerAbi.js} +0 -0
  61. /package/esm/types/contracts/generated/{LlamaLendCRVCrvUSDController.js → LlamaLendControllerAbi.js} +0 -0
@@ -1126,6 +1126,9 @@ export namespace cUSDCv3 {
1126
1126
  "1": {
1127
1127
  address: string;
1128
1128
  };
1129
+ "10": {
1130
+ address: string;
1131
+ };
1129
1132
  "8453": {
1130
1133
  address: string;
1131
1134
  };
@@ -1495,6 +1498,9 @@ export namespace CompV3View {
1495
1498
  };
1496
1499
  };
1497
1500
  };
1501
+ "10": {
1502
+ address: string;
1503
+ };
1498
1504
  "8453": {
1499
1505
  address: string;
1500
1506
  };
@@ -1688,6 +1694,9 @@ export namespace CompV3BulkerL2 {
1688
1694
  })[];
1689
1695
  export { abi_20 as abi };
1690
1696
  let networks_20: {
1697
+ "10": {
1698
+ address: string;
1699
+ };
1691
1700
  "8453": {
1692
1701
  address: string;
1693
1702
  };
@@ -4562,6 +4571,12 @@ export namespace FeedRegistry {
4562
4571
  }
4563
4572
  export namespace LlamaLendView {
4564
4573
  let abi_68: ({
4574
+ inputs: never[];
4575
+ name: string;
4576
+ type: string;
4577
+ outputs?: undefined;
4578
+ stateMutability?: undefined;
4579
+ } | {
4565
4580
  inputs: {
4566
4581
  internalType: string;
4567
4582
  name: string;
@@ -4610,10 +4625,13 @@ export namespace LlamaLendView {
4610
4625
  "1": {
4611
4626
  address: string;
4612
4627
  };
4628
+ "42161": {
4629
+ address: string;
4630
+ };
4613
4631
  };
4614
4632
  export { networks_68 as networks };
4615
4633
  }
4616
- export namespace LlamaLendWstETHCrvUSDController {
4634
+ export namespace LlamaLendControllerAbi {
4617
4635
  let abi_69: ({
4618
4636
  name: string;
4619
4637
  inputs: {
@@ -4667,193 +4685,6 @@ export namespace LlamaLendWstETHCrvUSDController {
4667
4685
  anonymous?: undefined;
4668
4686
  })[];
4669
4687
  export { abi_69 as abi };
4670
- let networks_69: {
4671
- "1": {
4672
- address: string;
4673
- };
4674
- };
4688
+ let networks_69: {};
4675
4689
  export { networks_69 as networks };
4676
4690
  }
4677
- export namespace LlamaLendCRVCrvUSDController {
4678
- let abi_70: ({
4679
- name: string;
4680
- inputs: {
4681
- name: string;
4682
- type: string;
4683
- indexed: boolean;
4684
- }[];
4685
- anonymous: boolean;
4686
- type: string;
4687
- stateMutability?: undefined;
4688
- outputs?: undefined;
4689
- } | {
4690
- stateMutability: string;
4691
- type: string;
4692
- inputs: {
4693
- name: string;
4694
- type: string;
4695
- }[];
4696
- outputs: never[];
4697
- name?: undefined;
4698
- anonymous?: undefined;
4699
- } | {
4700
- stateMutability: string;
4701
- type: string;
4702
- name: string;
4703
- inputs: {
4704
- name: string;
4705
- type: string;
4706
- }[];
4707
- outputs: {
4708
- name: string;
4709
- type: string;
4710
- }[];
4711
- anonymous?: undefined;
4712
- } | {
4713
- stateMutability: string;
4714
- type: string;
4715
- name: string;
4716
- inputs: {
4717
- name: string;
4718
- type: string;
4719
- }[];
4720
- outputs: {
4721
- name: string;
4722
- type: string;
4723
- components: {
4724
- name: string;
4725
- type: string;
4726
- }[];
4727
- }[];
4728
- anonymous?: undefined;
4729
- })[];
4730
- export { abi_70 as abi };
4731
- let networks_70: {
4732
- "1": {
4733
- address: string;
4734
- };
4735
- };
4736
- export { networks_70 as networks };
4737
- }
4738
- export namespace LlamaLendCrvUSDCRVController {
4739
- let abi_71: ({
4740
- name: string;
4741
- inputs: {
4742
- name: string;
4743
- type: string;
4744
- indexed: boolean;
4745
- }[];
4746
- anonymous: boolean;
4747
- type: string;
4748
- stateMutability?: undefined;
4749
- outputs?: undefined;
4750
- } | {
4751
- stateMutability: string;
4752
- type: string;
4753
- inputs: {
4754
- name: string;
4755
- type: string;
4756
- }[];
4757
- outputs: never[];
4758
- name?: undefined;
4759
- anonymous?: undefined;
4760
- } | {
4761
- stateMutability: string;
4762
- type: string;
4763
- name: string;
4764
- inputs: {
4765
- name: string;
4766
- type: string;
4767
- }[];
4768
- outputs: {
4769
- name: string;
4770
- type: string;
4771
- }[];
4772
- anonymous?: undefined;
4773
- } | {
4774
- stateMutability: string;
4775
- type: string;
4776
- name: string;
4777
- inputs: {
4778
- name: string;
4779
- type: string;
4780
- }[];
4781
- outputs: {
4782
- name: string;
4783
- type: string;
4784
- components: {
4785
- name: string;
4786
- type: string;
4787
- }[];
4788
- }[];
4789
- anonymous?: undefined;
4790
- })[];
4791
- export { abi_71 as abi };
4792
- let networks_71: {
4793
- "1": {
4794
- address: string;
4795
- };
4796
- };
4797
- export { networks_71 as networks };
4798
- }
4799
- export namespace LlamaLendTBTCCrvUSDController {
4800
- let abi_72: ({
4801
- name: string;
4802
- inputs: {
4803
- name: string;
4804
- type: string;
4805
- indexed: boolean;
4806
- }[];
4807
- anonymous: boolean;
4808
- type: string;
4809
- stateMutability?: undefined;
4810
- outputs?: undefined;
4811
- } | {
4812
- stateMutability: string;
4813
- type: string;
4814
- inputs: {
4815
- name: string;
4816
- type: string;
4817
- }[];
4818
- outputs: never[];
4819
- name?: undefined;
4820
- anonymous?: undefined;
4821
- } | {
4822
- stateMutability: string;
4823
- type: string;
4824
- name: string;
4825
- inputs: {
4826
- name: string;
4827
- type: string;
4828
- }[];
4829
- outputs: {
4830
- name: string;
4831
- type: string;
4832
- }[];
4833
- anonymous?: undefined;
4834
- } | {
4835
- stateMutability: string;
4836
- type: string;
4837
- name: string;
4838
- inputs: {
4839
- name: string;
4840
- type: string;
4841
- }[];
4842
- outputs: {
4843
- name: string;
4844
- type: string;
4845
- components: {
4846
- name: string;
4847
- type: string;
4848
- }[];
4849
- }[];
4850
- anonymous?: undefined;
4851
- })[];
4852
- export { abi_72 as abi };
4853
- let networks_72: {
4854
- "1": {
4855
- address: string;
4856
- };
4857
- };
4858
- export { networks_72 as networks };
4859
- }