@flarenetwork/flare-wagmi-periphery-package 2.5.0 → 2.6.0

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 (49) hide show
  1. package/dist/contracts/coston2/IInstructionsFacet.d.ts +0 -185
  2. package/dist/contracts/coston2/IInstructionsFacet.d.ts.map +1 -1
  3. package/dist/contracts/coston2/IInstructionsFacet.js +0 -21
  4. package/dist/contracts/coston2/IInstructionsFacet.js.map +1 -1
  5. package/dist/contracts/coston2/IMasterAccountController.d.ts +10 -990
  6. package/dist/contracts/coston2/IMasterAccountController.d.ts.map +1 -1
  7. package/dist/contracts/coston2/IMasterAccountController.js +0 -117
  8. package/dist/contracts/coston2/IMasterAccountController.js.map +1 -1
  9. package/dist/contracts/coston2/IPersonalAccount.d.ts +0 -132
  10. package/dist/contracts/coston2/IPersonalAccount.d.ts.map +1 -1
  11. package/dist/contracts/coston2/IPersonalAccount.js +0 -34
  12. package/dist/contracts/coston2/IPersonalAccount.js.map +1 -1
  13. package/dist/contracts/coston2/IVaultsFacet.d.ts +0 -60
  14. package/dist/contracts/coston2/IVaultsFacet.d.ts.map +1 -1
  15. package/dist/contracts/coston2/IVaultsFacet.js +0 -10
  16. package/dist/contracts/coston2/IVaultsFacet.js.map +1 -1
  17. package/dist/contracts/coston2/index.d.ts +0 -1
  18. package/dist/contracts/coston2/index.d.ts.map +1 -1
  19. package/dist/contracts/coston2/index.js +0 -1
  20. package/dist/contracts/coston2/index.js.map +1 -1
  21. package/dist/contracts/flare/IInstructionsFacet.d.ts +0 -185
  22. package/dist/contracts/flare/IInstructionsFacet.d.ts.map +1 -1
  23. package/dist/contracts/flare/IInstructionsFacet.js +0 -21
  24. package/dist/contracts/flare/IInstructionsFacet.js.map +1 -1
  25. package/dist/contracts/flare/IMasterAccountController.d.ts +10 -990
  26. package/dist/contracts/flare/IMasterAccountController.d.ts.map +1 -1
  27. package/dist/contracts/flare/IMasterAccountController.js +0 -117
  28. package/dist/contracts/flare/IMasterAccountController.js.map +1 -1
  29. package/dist/contracts/flare/IPersonalAccount.d.ts +0 -132
  30. package/dist/contracts/flare/IPersonalAccount.d.ts.map +1 -1
  31. package/dist/contracts/flare/IPersonalAccount.js +0 -34
  32. package/dist/contracts/flare/IPersonalAccount.js.map +1 -1
  33. package/dist/contracts/flare/IVaultsFacet.d.ts +0 -60
  34. package/dist/contracts/flare/IVaultsFacet.d.ts.map +1 -1
  35. package/dist/contracts/flare/IVaultsFacet.js +0 -10
  36. package/dist/contracts/flare/IVaultsFacet.js.map +1 -1
  37. package/dist/contracts/flare/index.d.ts +0 -1
  38. package/dist/contracts/flare/index.d.ts.map +1 -1
  39. package/dist/contracts/flare/index.js +0 -1
  40. package/dist/contracts/flare/index.js.map +1 -1
  41. package/package.json +1 -1
  42. package/dist/contracts/coston2/ICustomInstructionsFacet.d.ts +0 -713
  43. package/dist/contracts/coston2/ICustomInstructionsFacet.d.ts.map +0 -1
  44. package/dist/contracts/coston2/ICustomInstructionsFacet.js +0 -123
  45. package/dist/contracts/coston2/ICustomInstructionsFacet.js.map +0 -1
  46. package/dist/contracts/flare/ICustomInstructionsFacet.d.ts +0 -713
  47. package/dist/contracts/flare/ICustomInstructionsFacet.d.ts.map +0 -1
  48. package/dist/contracts/flare/ICustomInstructionsFacet.js +0 -123
  49. package/dist/contracts/flare/ICustomInstructionsFacet.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"ICustomInstructionsFacet.d.ts","sourceRoot":"","sources":["../../../contracts/flare/ICustomInstructionsFacet.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuF9B,CAAC;AAMX;;GAEG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAE1C,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAE3C,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAE9C,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAEhD,CAAC"}
@@ -1,123 +0,0 @@
1
- import { createUseReadContract, createUseSimulateContract, createUseWatchContractEvent, createUseWriteContract } from 'wagmi/codegen';
2
-
3
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
4
- // ICustomInstructionsFacet
5
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
6
- const iCustomInstructionsFacetAbi = [
7
- { type: "error", inputs: [], name: "EmptyCustomInstruction" },
8
- { type: "error", inputs: [], name: "TargetAddressZero" },
9
- {
10
- type: "error",
11
- inputs: [{ name: "target", internalType: "address", type: "address" }],
12
- name: "TargetNotAContract",
13
- },
14
- {
15
- type: "event",
16
- anonymous: false,
17
- inputs: [{ name: "customInstructionHash", internalType: "bytes32", type: "bytes32", indexed: true }],
18
- name: "CustomInstructionAlreadyRegistered",
19
- },
20
- {
21
- type: "event",
22
- anonymous: false,
23
- inputs: [{ name: "customInstructionHash", internalType: "bytes32", type: "bytes32", indexed: true }],
24
- name: "CustomInstructionRegistered",
25
- },
26
- {
27
- type: "function",
28
- inputs: [
29
- {
30
- name: "_customInstruction",
31
- internalType: "struct ICustomInstructionsFacet.CustomCall[]",
32
- type: "tuple[]",
33
- components: [
34
- { name: "targetContract", internalType: "address", type: "address" },
35
- { name: "value", internalType: "uint256", type: "uint256" },
36
- { name: "data", internalType: "bytes", type: "bytes" },
37
- ],
38
- },
39
- ],
40
- name: "encodeCustomInstruction",
41
- outputs: [{ name: "_customInstructionHash", internalType: "bytes32", type: "bytes32" }],
42
- stateMutability: "pure",
43
- },
44
- {
45
- type: "function",
46
- inputs: [{ name: "_customInstructionHash", internalType: "bytes32", type: "bytes32" }],
47
- name: "getCustomInstruction",
48
- outputs: [
49
- {
50
- name: "_customInstruction",
51
- internalType: "struct ICustomInstructionsFacet.CustomCall[]",
52
- type: "tuple[]",
53
- components: [
54
- { name: "targetContract", internalType: "address", type: "address" },
55
- { name: "value", internalType: "uint256", type: "uint256" },
56
- { name: "data", internalType: "bytes", type: "bytes" },
57
- ],
58
- },
59
- ],
60
- stateMutability: "view",
61
- },
62
- {
63
- type: "function",
64
- inputs: [
65
- { name: "_start", internalType: "uint256", type: "uint256" },
66
- { name: "_end", internalType: "uint256", type: "uint256" },
67
- ],
68
- name: "getCustomInstructionHashes",
69
- outputs: [
70
- { name: "_customInstructionHashes", internalType: "bytes32[]", type: "bytes32[]" },
71
- { name: "_totalLength", internalType: "uint256", type: "uint256" },
72
- ],
73
- stateMutability: "view",
74
- },
75
- {
76
- type: "function",
77
- inputs: [
78
- {
79
- name: "_customInstruction",
80
- internalType: "struct ICustomInstructionsFacet.CustomCall[]",
81
- type: "tuple[]",
82
- components: [
83
- { name: "targetContract", internalType: "address", type: "address" },
84
- { name: "value", internalType: "uint256", type: "uint256" },
85
- { name: "data", internalType: "bytes", type: "bytes" },
86
- ],
87
- },
88
- ],
89
- name: "registerCustomInstruction",
90
- outputs: [{ name: "_customInstructionHash", internalType: "bytes32", type: "bytes32" }],
91
- stateMutability: "nonpayable",
92
- },
93
- ];
94
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
95
- // React
96
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
97
- /**
98
- * Wraps __{@link useReadContract}__ with `abi` set to __{@link iCustomInstructionsFacetAbi}__
99
- */
100
- const useReadICustomInstructionsFacet = /*#__PURE__*/ createUseReadContract({
101
- abi: iCustomInstructionsFacetAbi,
102
- });
103
- /**
104
- * Wraps __{@link useWriteContract}__ with `abi` set to __{@link iCustomInstructionsFacetAbi}__
105
- */
106
- const useWriteICustomInstructionsFacet = /*#__PURE__*/ createUseWriteContract({
107
- abi: iCustomInstructionsFacetAbi,
108
- });
109
- /**
110
- * Wraps __{@link useSimulateContract}__ with `abi` set to __{@link iCustomInstructionsFacetAbi}__
111
- */
112
- const useSimulateICustomInstructionsFacet = /*#__PURE__*/ createUseSimulateContract({
113
- abi: iCustomInstructionsFacetAbi,
114
- });
115
- /**
116
- * Wraps __{@link useWatchContractEvent}__ with `abi` set to __{@link iCustomInstructionsFacetAbi}__
117
- */
118
- const useWatchICustomInstructionsFacetEvent = /*#__PURE__*/ createUseWatchContractEvent({
119
- abi: iCustomInstructionsFacetAbi,
120
- });
121
-
122
- export { iCustomInstructionsFacetAbi, useReadICustomInstructionsFacet, useSimulateICustomInstructionsFacet, useWatchICustomInstructionsFacetEvent, useWriteICustomInstructionsFacet };
123
- //# sourceMappingURL=ICustomInstructionsFacet.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ICustomInstructionsFacet.js","sources":["../../../../../contracts/flare/ICustomInstructions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