@flarenetwork/flare-periphery-contract-artifacts 0.1.44-alpha.3 → 0.1.44-alpha.5

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 (129) hide show
  1. package/coston/artifacts/contracts/IAgentVaultsFacet.sol/IAgentVaultsFacet.json +129 -0
  2. package/coston/artifacts/contracts/IExecutorsFacet.sol/IExecutorsFacet.json +56 -0
  3. package/coston/artifacts/contracts/IFAssetRedeemComposer.sol/IFAssetRedeemComposer.json +711 -0
  4. package/coston/artifacts/contracts/IFAssetRedeemerAccount.sol/IFAssetRedeemerAccount.json +59 -0
  5. package/coston/artifacts/contracts/IInstructionFeesFacet.sol/IInstructionFeesFacet.json +106 -0
  6. package/coston/artifacts/contracts/IInstructionsFacet.sol/IInstructionsFacet.json +1176 -0
  7. package/coston/artifacts/contracts/IMasterAccountController.sol/IMasterAccountController.json +2585 -0
  8. package/coston/artifacts/contracts/IOwnableWithTimelock.sol/IOwnableWithTimelock.json +152 -0
  9. package/coston/artifacts/contracts/IPauseFacet.sol/IPauseFacet.json +220 -0
  10. package/coston/artifacts/contracts/IPaymentProofsFacet.sol/IPaymentProofsFacet.json +76 -0
  11. package/coston/artifacts/contracts/IPersonalAccount.sol/IPersonalAccount.json +387 -0
  12. package/coston/artifacts/contracts/IPersonalAccountReaderFacet.sol/IPersonalAccountReaderFacet.json +228 -0
  13. package/coston/artifacts/contracts/IPersonalAccountsFacet.sol/IPersonalAccountsFacet.json +82 -0
  14. package/coston/artifacts/contracts/ITimelockFacet.sol/ITimelockFacet.json +126 -0
  15. package/coston/artifacts/contracts/IVaultsFacet.sol/IVaultsFacet.json +121 -0
  16. package/coston/artifacts/contracts/IXrplProviderWalletsFacet.sol/IXrplProviderWalletsFacet.json +63 -0
  17. package/coston/artifacts/contracts/diamond/interfaces/IDiamond.sol/IDiamond.json +44 -0
  18. package/coston/artifacts/contracts/diamond/interfaces/IDiamondCut.sol/IDiamondCut.json +84 -0
  19. package/coston/artifacts/contracts/diamond/interfaces/IERC165.sol/IERC165.json +21 -0
  20. package/coston/artifacts/contracts/diamond/interfaces/IERC173.sol/IERC173.json +47 -0
  21. package/coston2/artifacts/contracts/IFAssetRedeemComposer.sol/IFAssetRedeemComposer.json +711 -0
  22. package/coston2/artifacts/contracts/IFAssetRedeemerAccount.sol/IFAssetRedeemerAccount.json +59 -0
  23. package/coston2/artifacts/contracts/IInstructionsFacet.sol/IInstructionsFacet.json +335 -32
  24. package/coston2/artifacts/contracts/IMasterAccountController.sol/IMasterAccountController.json +755 -403
  25. package/coston2/artifacts/contracts/IOwnableWithTimelock.sol/IOwnableWithTimelock.json +152 -0
  26. package/coston2/artifacts/contracts/IPauseFacet.sol/IPauseFacet.json +220 -0
  27. package/coston2/artifacts/contracts/IPersonalAccount.sol/IPersonalAccount.json +9 -82
  28. package/coston2/artifacts/contracts/IPersonalAccountReaderFacet.sol/IPersonalAccountReaderFacet.json +228 -0
  29. package/coston2/artifacts/contracts/IVaultsFacet.sol/IVaultsFacet.json +3 -28
  30. package/dist/coston/abis.d.ts.map +1 -1
  31. package/dist/coston/artifacts/contracts/IAgentVaultsFacet.sol/IAgentVaultsFacet.json +129 -0
  32. package/dist/coston/artifacts/contracts/IExecutorsFacet.sol/IExecutorsFacet.json +56 -0
  33. package/dist/coston/artifacts/contracts/IFAssetRedeemComposer.sol/IFAssetRedeemComposer.json +711 -0
  34. package/dist/coston/artifacts/contracts/IFAssetRedeemerAccount.sol/IFAssetRedeemerAccount.json +59 -0
  35. package/dist/coston/artifacts/contracts/IInstructionFeesFacet.sol/IInstructionFeesFacet.json +106 -0
  36. package/dist/coston/artifacts/contracts/IInstructionsFacet.sol/IInstructionsFacet.json +1176 -0
  37. package/dist/coston/artifacts/contracts/IMasterAccountController.sol/IMasterAccountController.json +2585 -0
  38. package/dist/coston/artifacts/contracts/IOwnableWithTimelock.sol/IOwnableWithTimelock.json +152 -0
  39. package/dist/coston/artifacts/contracts/IPauseFacet.sol/IPauseFacet.json +220 -0
  40. package/dist/coston/artifacts/contracts/IPaymentProofsFacet.sol/IPaymentProofsFacet.json +76 -0
  41. package/dist/coston/artifacts/contracts/IPersonalAccount.sol/IPersonalAccount.json +387 -0
  42. package/dist/coston/artifacts/contracts/IPersonalAccountReaderFacet.sol/IPersonalAccountReaderFacet.json +228 -0
  43. package/dist/coston/artifacts/contracts/IPersonalAccountsFacet.sol/IPersonalAccountsFacet.json +82 -0
  44. package/dist/coston/artifacts/contracts/ITimelockFacet.sol/ITimelockFacet.json +126 -0
  45. package/dist/coston/artifacts/contracts/IVaultsFacet.sol/IVaultsFacet.json +121 -0
  46. package/dist/coston/artifacts/contracts/IXrplProviderWalletsFacet.sol/IXrplProviderWalletsFacet.json +63 -0
  47. package/dist/coston/artifacts/contracts/diamond/interfaces/IDiamond.sol/IDiamond.json +44 -0
  48. package/dist/coston/artifacts/contracts/diamond/interfaces/IDiamondCut.sol/IDiamondCut.json +84 -0
  49. package/dist/coston/artifacts/contracts/diamond/interfaces/IERC165.sol/IERC165.json +21 -0
  50. package/dist/coston/artifacts/contracts/diamond/interfaces/IERC173.sol/IERC173.json +47 -0
  51. package/dist/coston2/abis.d.ts.map +1 -1
  52. package/dist/coston2/artifacts/contracts/IFAssetRedeemComposer.sol/IFAssetRedeemComposer.json +711 -0
  53. package/dist/coston2/artifacts/contracts/IFAssetRedeemerAccount.sol/IFAssetRedeemerAccount.json +59 -0
  54. package/dist/coston2/artifacts/contracts/IInstructionsFacet.sol/IInstructionsFacet.json +335 -32
  55. package/dist/coston2/artifacts/contracts/IMasterAccountController.sol/IMasterAccountController.json +755 -403
  56. package/dist/coston2/artifacts/contracts/IOwnableWithTimelock.sol/IOwnableWithTimelock.json +152 -0
  57. package/dist/coston2/artifacts/contracts/IPauseFacet.sol/IPauseFacet.json +220 -0
  58. package/dist/coston2/artifacts/contracts/IPersonalAccount.sol/IPersonalAccount.json +9 -82
  59. package/dist/coston2/artifacts/contracts/IPersonalAccountReaderFacet.sol/IPersonalAccountReaderFacet.json +228 -0
  60. package/dist/coston2/artifacts/contracts/IVaultsFacet.sol/IVaultsFacet.json +3 -28
  61. package/dist/flare/abis.d.ts.map +1 -1
  62. package/dist/flare/artifacts/contracts/IFAssetRedeemComposer.sol/IFAssetRedeemComposer.json +711 -0
  63. package/dist/flare/artifacts/contracts/IFAssetRedeemerAccount.sol/IFAssetRedeemerAccount.json +59 -0
  64. package/dist/flare/artifacts/contracts/IInstructionsFacet.sol/IInstructionsFacet.json +350 -0
  65. package/dist/flare/artifacts/contracts/IMasterAccountController.sol/IMasterAccountController.json +769 -161
  66. package/dist/flare/artifacts/contracts/IOwnableWithTimelock.sol/IOwnableWithTimelock.json +152 -0
  67. package/dist/flare/artifacts/contracts/IPauseFacet.sol/IPauseFacet.json +220 -0
  68. package/dist/flare/artifacts/contracts/IPersonalAccount.sol/IPersonalAccount.json +16 -31
  69. package/dist/flare/artifacts/contracts/IPersonalAccountReaderFacet.sol/IPersonalAccountReaderFacet.json +228 -0
  70. package/dist/flare/artifacts/contracts/IVaultsFacet.sol/IVaultsFacet.json +3 -3
  71. package/dist/index.js +160 -66
  72. package/dist/index.js.map +1 -1
  73. package/dist/songbird/abis.d.ts.map +1 -1
  74. package/dist/songbird/artifacts/contracts/IAgentVaultsFacet.sol/IAgentVaultsFacet.json +129 -0
  75. package/dist/songbird/artifacts/contracts/IExecutorsFacet.sol/IExecutorsFacet.json +56 -0
  76. package/dist/songbird/artifacts/contracts/IFAssetRedeemComposer.sol/IFAssetRedeemComposer.json +711 -0
  77. package/dist/songbird/artifacts/contracts/IFAssetRedeemerAccount.sol/IFAssetRedeemerAccount.json +59 -0
  78. package/dist/songbird/artifacts/contracts/IInstructionFeesFacet.sol/IInstructionFeesFacet.json +106 -0
  79. package/dist/songbird/artifacts/contracts/IInstructionsFacet.sol/IInstructionsFacet.json +1176 -0
  80. package/dist/songbird/artifacts/contracts/IMasterAccountController.sol/IMasterAccountController.json +2585 -0
  81. package/dist/songbird/artifacts/contracts/IOwnableWithTimelock.sol/IOwnableWithTimelock.json +152 -0
  82. package/dist/songbird/artifacts/contracts/IPauseFacet.sol/IPauseFacet.json +220 -0
  83. package/dist/songbird/artifacts/contracts/IPaymentProofsFacet.sol/IPaymentProofsFacet.json +76 -0
  84. package/dist/songbird/artifacts/contracts/IPersonalAccount.sol/IPersonalAccount.json +387 -0
  85. package/dist/songbird/artifacts/contracts/IPersonalAccountReaderFacet.sol/IPersonalAccountReaderFacet.json +228 -0
  86. package/dist/songbird/artifacts/contracts/IPersonalAccountsFacet.sol/IPersonalAccountsFacet.json +82 -0
  87. package/dist/songbird/artifacts/contracts/ITimelockFacet.sol/ITimelockFacet.json +126 -0
  88. package/dist/songbird/artifacts/contracts/IVaultsFacet.sol/IVaultsFacet.json +121 -0
  89. package/dist/songbird/artifacts/contracts/IXrplProviderWalletsFacet.sol/IXrplProviderWalletsFacet.json +63 -0
  90. package/dist/songbird/artifacts/contracts/diamond/interfaces/IDiamond.sol/IDiamond.json +44 -0
  91. package/dist/songbird/artifacts/contracts/diamond/interfaces/IDiamondCut.sol/IDiamondCut.json +84 -0
  92. package/dist/songbird/artifacts/contracts/diamond/interfaces/IERC165.sol/IERC165.json +21 -0
  93. package/dist/songbird/artifacts/contracts/diamond/interfaces/IERC173.sol/IERC173.json +47 -0
  94. package/flare/artifacts/contracts/IFAssetRedeemComposer.sol/IFAssetRedeemComposer.json +711 -0
  95. package/flare/artifacts/contracts/IFAssetRedeemerAccount.sol/IFAssetRedeemerAccount.json +59 -0
  96. package/flare/artifacts/contracts/IInstructionsFacet.sol/IInstructionsFacet.json +350 -0
  97. package/flare/artifacts/contracts/IMasterAccountController.sol/IMasterAccountController.json +769 -161
  98. package/flare/artifacts/contracts/IOwnableWithTimelock.sol/IOwnableWithTimelock.json +152 -0
  99. package/flare/artifacts/contracts/IPauseFacet.sol/IPauseFacet.json +220 -0
  100. package/flare/artifacts/contracts/IPersonalAccount.sol/IPersonalAccount.json +16 -31
  101. package/flare/artifacts/contracts/IPersonalAccountReaderFacet.sol/IPersonalAccountReaderFacet.json +228 -0
  102. package/flare/artifacts/contracts/IVaultsFacet.sol/IVaultsFacet.json +3 -3
  103. package/package.json +3 -2
  104. package/songbird/artifacts/contracts/IAgentVaultsFacet.sol/IAgentVaultsFacet.json +129 -0
  105. package/songbird/artifacts/contracts/IExecutorsFacet.sol/IExecutorsFacet.json +56 -0
  106. package/songbird/artifacts/contracts/IFAssetRedeemComposer.sol/IFAssetRedeemComposer.json +711 -0
  107. package/songbird/artifacts/contracts/IFAssetRedeemerAccount.sol/IFAssetRedeemerAccount.json +59 -0
  108. package/songbird/artifacts/contracts/IInstructionFeesFacet.sol/IInstructionFeesFacet.json +106 -0
  109. package/songbird/artifacts/contracts/IInstructionsFacet.sol/IInstructionsFacet.json +1176 -0
  110. package/songbird/artifacts/contracts/IMasterAccountController.sol/IMasterAccountController.json +2585 -0
  111. package/songbird/artifacts/contracts/IOwnableWithTimelock.sol/IOwnableWithTimelock.json +152 -0
  112. package/songbird/artifacts/contracts/IPauseFacet.sol/IPauseFacet.json +220 -0
  113. package/songbird/artifacts/contracts/IPaymentProofsFacet.sol/IPaymentProofsFacet.json +76 -0
  114. package/songbird/artifacts/contracts/IPersonalAccount.sol/IPersonalAccount.json +387 -0
  115. package/songbird/artifacts/contracts/IPersonalAccountReaderFacet.sol/IPersonalAccountReaderFacet.json +228 -0
  116. package/songbird/artifacts/contracts/IPersonalAccountsFacet.sol/IPersonalAccountsFacet.json +82 -0
  117. package/songbird/artifacts/contracts/ITimelockFacet.sol/ITimelockFacet.json +126 -0
  118. package/songbird/artifacts/contracts/IVaultsFacet.sol/IVaultsFacet.json +121 -0
  119. package/songbird/artifacts/contracts/IXrplProviderWalletsFacet.sol/IXrplProviderWalletsFacet.json +63 -0
  120. package/songbird/artifacts/contracts/diamond/interfaces/IDiamond.sol/IDiamond.json +44 -0
  121. package/songbird/artifacts/contracts/diamond/interfaces/IDiamondCut.sol/IDiamondCut.json +84 -0
  122. package/songbird/artifacts/contracts/diamond/interfaces/IERC165.sol/IERC165.json +21 -0
  123. package/songbird/artifacts/contracts/diamond/interfaces/IERC173.sol/IERC173.json +47 -0
  124. package/coston2/artifacts/contracts/ICustomInstructionsFacet.sol/ICustomInstructionsFacet.json +0 -186
  125. package/coston2/artifacts/contracts/ISwapFacet.sol/ISwapFacet.json +0 -188
  126. package/dist/coston2/artifacts/contracts/ICustomInstructionsFacet.sol/ICustomInstructionsFacet.json +0 -186
  127. package/dist/coston2/artifacts/contracts/ISwapFacet.sol/ISwapFacet.json +0 -188
  128. package/dist/flare/artifacts/contracts/ISwapFacet.sol/ISwapFacet.json +0 -188
  129. package/flare/artifacts/contracts/ISwapFacet.sol/ISwapFacet.json +0 -188
@@ -0,0 +1,126 @@
1
+ [
2
+ {
3
+ "inputs": [],
4
+ "name": "TimelockDurationTooLong",
5
+ "type": "error"
6
+ },
7
+ {
8
+ "inputs": [],
9
+ "name": "TimelockInvalidSelector",
10
+ "type": "error"
11
+ },
12
+ {
13
+ "inputs": [],
14
+ "name": "TimelockNotAllowedYet",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "anonymous": false,
19
+ "inputs": [
20
+ {
21
+ "indexed": false,
22
+ "internalType": "bytes",
23
+ "name": "encodedCall",
24
+ "type": "bytes"
25
+ },
26
+ {
27
+ "indexed": false,
28
+ "internalType": "bytes32",
29
+ "name": "encodedCallHash",
30
+ "type": "bytes32"
31
+ },
32
+ {
33
+ "indexed": false,
34
+ "internalType": "uint256",
35
+ "name": "allowedAfterTimestamp",
36
+ "type": "uint256"
37
+ }
38
+ ],
39
+ "name": "CallTimelocked",
40
+ "type": "event"
41
+ },
42
+ {
43
+ "anonymous": false,
44
+ "inputs": [
45
+ {
46
+ "indexed": false,
47
+ "internalType": "uint256",
48
+ "name": "timelockDurationSeconds",
49
+ "type": "uint256"
50
+ }
51
+ ],
52
+ "name": "TimelockDurationSet",
53
+ "type": "event"
54
+ },
55
+ {
56
+ "anonymous": false,
57
+ "inputs": [
58
+ {
59
+ "indexed": false,
60
+ "internalType": "bytes32",
61
+ "name": "encodedCallHash",
62
+ "type": "bytes32"
63
+ }
64
+ ],
65
+ "name": "TimelockedCallCanceled",
66
+ "type": "event"
67
+ },
68
+ {
69
+ "anonymous": false,
70
+ "inputs": [
71
+ {
72
+ "indexed": false,
73
+ "internalType": "bytes32",
74
+ "name": "encodedCallHash",
75
+ "type": "bytes32"
76
+ }
77
+ ],
78
+ "name": "TimelockedCallExecuted",
79
+ "type": "event"
80
+ },
81
+ {
82
+ "inputs": [
83
+ {
84
+ "internalType": "bytes",
85
+ "name": "_encodedCall",
86
+ "type": "bytes"
87
+ }
88
+ ],
89
+ "name": "executeTimelockedCall",
90
+ "outputs": [],
91
+ "stateMutability": "nonpayable",
92
+ "type": "function"
93
+ },
94
+ {
95
+ "inputs": [
96
+ {
97
+ "internalType": "bytes",
98
+ "name": "_encodedCall",
99
+ "type": "bytes"
100
+ }
101
+ ],
102
+ "name": "getExecuteTimelockedCallTimestamp",
103
+ "outputs": [
104
+ {
105
+ "internalType": "uint256",
106
+ "name": "_allowedAfterTimestamp",
107
+ "type": "uint256"
108
+ }
109
+ ],
110
+ "stateMutability": "view",
111
+ "type": "function"
112
+ },
113
+ {
114
+ "inputs": [],
115
+ "name": "getTimelockDurationSeconds",
116
+ "outputs": [
117
+ {
118
+ "internalType": "uint256",
119
+ "name": "_timelockDurationSeconds",
120
+ "type": "uint256"
121
+ }
122
+ ],
123
+ "stateMutability": "view",
124
+ "type": "function"
125
+ }
126
+ ]
@@ -0,0 +1,121 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "uint256",
6
+ "name": "vaultId",
7
+ "type": "uint256"
8
+ }
9
+ ],
10
+ "name": "InvalidVaultId",
11
+ "type": "error"
12
+ },
13
+ {
14
+ "inputs": [
15
+ {
16
+ "internalType": "enum IVaultsFacet.VaultType",
17
+ "name": "vaultType",
18
+ "type": "uint8"
19
+ }
20
+ ],
21
+ "name": "InvalidVaultType",
22
+ "type": "error"
23
+ },
24
+ {
25
+ "inputs": [
26
+ {
27
+ "internalType": "address",
28
+ "name": "vaultAddress",
29
+ "type": "address"
30
+ }
31
+ ],
32
+ "name": "VaultAddressAlreadyAdded",
33
+ "type": "error"
34
+ },
35
+ {
36
+ "inputs": [
37
+ {
38
+ "internalType": "uint256",
39
+ "name": "index",
40
+ "type": "uint256"
41
+ }
42
+ ],
43
+ "name": "VaultAddressZero",
44
+ "type": "error"
45
+ },
46
+ {
47
+ "inputs": [
48
+ {
49
+ "internalType": "uint256",
50
+ "name": "vaultId",
51
+ "type": "uint256"
52
+ }
53
+ ],
54
+ "name": "VaultIdAlreadyAdded",
55
+ "type": "error"
56
+ },
57
+ {
58
+ "inputs": [
59
+ {
60
+ "internalType": "uint256",
61
+ "name": "index",
62
+ "type": "uint256"
63
+ }
64
+ ],
65
+ "name": "VaultIdZero",
66
+ "type": "error"
67
+ },
68
+ {
69
+ "inputs": [],
70
+ "name": "VaultsLengthsMismatch",
71
+ "type": "error"
72
+ },
73
+ {
74
+ "anonymous": false,
75
+ "inputs": [
76
+ {
77
+ "indexed": true,
78
+ "internalType": "uint256",
79
+ "name": "vaultId",
80
+ "type": "uint256"
81
+ },
82
+ {
83
+ "indexed": true,
84
+ "internalType": "address",
85
+ "name": "vaultAddress",
86
+ "type": "address"
87
+ },
88
+ {
89
+ "indexed": true,
90
+ "internalType": "enum IVaultsFacet.VaultType",
91
+ "name": "vaultType",
92
+ "type": "uint8"
93
+ }
94
+ ],
95
+ "name": "VaultAdded",
96
+ "type": "event"
97
+ },
98
+ {
99
+ "inputs": [],
100
+ "name": "getVaults",
101
+ "outputs": [
102
+ {
103
+ "internalType": "uint256[]",
104
+ "name": "_vaultIds",
105
+ "type": "uint256[]"
106
+ },
107
+ {
108
+ "internalType": "address[]",
109
+ "name": "_vaultAddresses",
110
+ "type": "address[]"
111
+ },
112
+ {
113
+ "internalType": "enum IVaultsFacet.VaultType[]",
114
+ "name": "_vaultTypes",
115
+ "type": "uint8[]"
116
+ }
117
+ ],
118
+ "stateMutability": "view",
119
+ "type": "function"
120
+ }
121
+ ]
@@ -0,0 +1,63 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "string",
6
+ "name": "xrplProviderWallet",
7
+ "type": "string"
8
+ }
9
+ ],
10
+ "name": "InvalidXrplProviderWallet",
11
+ "type": "error"
12
+ },
13
+ {
14
+ "inputs": [
15
+ {
16
+ "internalType": "string",
17
+ "name": "xrplProviderWallet",
18
+ "type": "string"
19
+ }
20
+ ],
21
+ "name": "XrplProviderWalletAlreadyExists",
22
+ "type": "error"
23
+ },
24
+ {
25
+ "anonymous": false,
26
+ "inputs": [
27
+ {
28
+ "indexed": false,
29
+ "internalType": "string",
30
+ "name": "xrplProviderWallet",
31
+ "type": "string"
32
+ }
33
+ ],
34
+ "name": "XrplProviderWalletAdded",
35
+ "type": "event"
36
+ },
37
+ {
38
+ "anonymous": false,
39
+ "inputs": [
40
+ {
41
+ "indexed": false,
42
+ "internalType": "string",
43
+ "name": "xrplProviderWallet",
44
+ "type": "string"
45
+ }
46
+ ],
47
+ "name": "XrplProviderWalletRemoved",
48
+ "type": "event"
49
+ },
50
+ {
51
+ "inputs": [],
52
+ "name": "getXrplProviderWallets",
53
+ "outputs": [
54
+ {
55
+ "internalType": "string[]",
56
+ "name": "",
57
+ "type": "string[]"
58
+ }
59
+ ],
60
+ "stateMutability": "view",
61
+ "type": "function"
62
+ }
63
+ ]
@@ -0,0 +1,44 @@
1
+ [
2
+ {
3
+ "anonymous": false,
4
+ "inputs": [
5
+ {
6
+ "components": [
7
+ {
8
+ "internalType": "address",
9
+ "name": "facetAddress",
10
+ "type": "address"
11
+ },
12
+ {
13
+ "internalType": "enum IDiamond.FacetCutAction",
14
+ "name": "action",
15
+ "type": "uint8"
16
+ },
17
+ {
18
+ "internalType": "bytes4[]",
19
+ "name": "functionSelectors",
20
+ "type": "bytes4[]"
21
+ }
22
+ ],
23
+ "indexed": false,
24
+ "internalType": "struct IDiamond.FacetCut[]",
25
+ "name": "_diamondCut",
26
+ "type": "tuple[]"
27
+ },
28
+ {
29
+ "indexed": false,
30
+ "internalType": "address",
31
+ "name": "_init",
32
+ "type": "address"
33
+ },
34
+ {
35
+ "indexed": false,
36
+ "internalType": "bytes",
37
+ "name": "_calldata",
38
+ "type": "bytes"
39
+ }
40
+ ],
41
+ "name": "DiamondCut",
42
+ "type": "event"
43
+ }
44
+ ]
@@ -0,0 +1,84 @@
1
+ [
2
+ {
3
+ "anonymous": false,
4
+ "inputs": [
5
+ {
6
+ "components": [
7
+ {
8
+ "internalType": "address",
9
+ "name": "facetAddress",
10
+ "type": "address"
11
+ },
12
+ {
13
+ "internalType": "enum IDiamond.FacetCutAction",
14
+ "name": "action",
15
+ "type": "uint8"
16
+ },
17
+ {
18
+ "internalType": "bytes4[]",
19
+ "name": "functionSelectors",
20
+ "type": "bytes4[]"
21
+ }
22
+ ],
23
+ "indexed": false,
24
+ "internalType": "struct IDiamond.FacetCut[]",
25
+ "name": "_diamondCut",
26
+ "type": "tuple[]"
27
+ },
28
+ {
29
+ "indexed": false,
30
+ "internalType": "address",
31
+ "name": "_init",
32
+ "type": "address"
33
+ },
34
+ {
35
+ "indexed": false,
36
+ "internalType": "bytes",
37
+ "name": "_calldata",
38
+ "type": "bytes"
39
+ }
40
+ ],
41
+ "name": "DiamondCut",
42
+ "type": "event"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "components": [
48
+ {
49
+ "internalType": "address",
50
+ "name": "facetAddress",
51
+ "type": "address"
52
+ },
53
+ {
54
+ "internalType": "enum IDiamond.FacetCutAction",
55
+ "name": "action",
56
+ "type": "uint8"
57
+ },
58
+ {
59
+ "internalType": "bytes4[]",
60
+ "name": "functionSelectors",
61
+ "type": "bytes4[]"
62
+ }
63
+ ],
64
+ "internalType": "struct IDiamond.FacetCut[]",
65
+ "name": "_diamondCut",
66
+ "type": "tuple[]"
67
+ },
68
+ {
69
+ "internalType": "address",
70
+ "name": "_init",
71
+ "type": "address"
72
+ },
73
+ {
74
+ "internalType": "bytes",
75
+ "name": "_calldata",
76
+ "type": "bytes"
77
+ }
78
+ ],
79
+ "name": "diamondCut",
80
+ "outputs": [],
81
+ "stateMutability": "nonpayable",
82
+ "type": "function"
83
+ }
84
+ ]
@@ -0,0 +1,21 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "bytes4",
6
+ "name": "interfaceId",
7
+ "type": "bytes4"
8
+ }
9
+ ],
10
+ "name": "supportsInterface",
11
+ "outputs": [
12
+ {
13
+ "internalType": "bool",
14
+ "name": "",
15
+ "type": "bool"
16
+ }
17
+ ],
18
+ "stateMutability": "view",
19
+ "type": "function"
20
+ }
21
+ ]
@@ -0,0 +1,47 @@
1
+ [
2
+ {
3
+ "anonymous": false,
4
+ "inputs": [
5
+ {
6
+ "indexed": true,
7
+ "internalType": "address",
8
+ "name": "previousOwner",
9
+ "type": "address"
10
+ },
11
+ {
12
+ "indexed": true,
13
+ "internalType": "address",
14
+ "name": "newOwner",
15
+ "type": "address"
16
+ }
17
+ ],
18
+ "name": "OwnershipTransferred",
19
+ "type": "event"
20
+ },
21
+ {
22
+ "inputs": [],
23
+ "name": "owner",
24
+ "outputs": [
25
+ {
26
+ "internalType": "address",
27
+ "name": "owner_",
28
+ "type": "address"
29
+ }
30
+ ],
31
+ "stateMutability": "view",
32
+ "type": "function"
33
+ },
34
+ {
35
+ "inputs": [
36
+ {
37
+ "internalType": "address",
38
+ "name": "_newOwner",
39
+ "type": "address"
40
+ }
41
+ ],
42
+ "name": "transferOwnership",
43
+ "outputs": [],
44
+ "stateMutability": "nonpayable",
45
+ "type": "function"
46
+ }
47
+ ]
@@ -1,186 +0,0 @@
1
- [
2
- {
3
- "inputs": [],
4
- "name": "EmptyCustomInstruction",
5
- "type": "error"
6
- },
7
- {
8
- "inputs": [],
9
- "name": "TargetAddressZero",
10
- "type": "error"
11
- },
12
- {
13
- "inputs": [
14
- {
15
- "internalType": "address",
16
- "name": "target",
17
- "type": "address"
18
- }
19
- ],
20
- "name": "TargetNotAContract",
21
- "type": "error"
22
- },
23
- {
24
- "anonymous": false,
25
- "inputs": [
26
- {
27
- "indexed": true,
28
- "internalType": "bytes32",
29
- "name": "customInstructionHash",
30
- "type": "bytes32"
31
- }
32
- ],
33
- "name": "CustomInstructionAlreadyRegistered",
34
- "type": "event"
35
- },
36
- {
37
- "anonymous": false,
38
- "inputs": [
39
- {
40
- "indexed": true,
41
- "internalType": "bytes32",
42
- "name": "customInstructionHash",
43
- "type": "bytes32"
44
- }
45
- ],
46
- "name": "CustomInstructionRegistered",
47
- "type": "event"
48
- },
49
- {
50
- "inputs": [
51
- {
52
- "components": [
53
- {
54
- "internalType": "address",
55
- "name": "targetContract",
56
- "type": "address"
57
- },
58
- {
59
- "internalType": "uint256",
60
- "name": "value",
61
- "type": "uint256"
62
- },
63
- {
64
- "internalType": "bytes",
65
- "name": "data",
66
- "type": "bytes"
67
- }
68
- ],
69
- "internalType": "struct ICustomInstructionsFacet.CustomCall[]",
70
- "name": "_customInstruction",
71
- "type": "tuple[]"
72
- }
73
- ],
74
- "name": "encodeCustomInstruction",
75
- "outputs": [
76
- {
77
- "internalType": "bytes32",
78
- "name": "_customInstructionHash",
79
- "type": "bytes32"
80
- }
81
- ],
82
- "stateMutability": "pure",
83
- "type": "function"
84
- },
85
- {
86
- "inputs": [
87
- {
88
- "internalType": "bytes32",
89
- "name": "_customInstructionHash",
90
- "type": "bytes32"
91
- }
92
- ],
93
- "name": "getCustomInstruction",
94
- "outputs": [
95
- {
96
- "components": [
97
- {
98
- "internalType": "address",
99
- "name": "targetContract",
100
- "type": "address"
101
- },
102
- {
103
- "internalType": "uint256",
104
- "name": "value",
105
- "type": "uint256"
106
- },
107
- {
108
- "internalType": "bytes",
109
- "name": "data",
110
- "type": "bytes"
111
- }
112
- ],
113
- "internalType": "struct ICustomInstructionsFacet.CustomCall[]",
114
- "name": "_customInstruction",
115
- "type": "tuple[]"
116
- }
117
- ],
118
- "stateMutability": "view",
119
- "type": "function"
120
- },
121
- {
122
- "inputs": [
123
- {
124
- "internalType": "uint256",
125
- "name": "_start",
126
- "type": "uint256"
127
- },
128
- {
129
- "internalType": "uint256",
130
- "name": "_end",
131
- "type": "uint256"
132
- }
133
- ],
134
- "name": "getCustomInstructionHashes",
135
- "outputs": [
136
- {
137
- "internalType": "bytes32[]",
138
- "name": "_customInstructionHashes",
139
- "type": "bytes32[]"
140
- },
141
- {
142
- "internalType": "uint256",
143
- "name": "_totalLength",
144
- "type": "uint256"
145
- }
146
- ],
147
- "stateMutability": "view",
148
- "type": "function"
149
- },
150
- {
151
- "inputs": [
152
- {
153
- "components": [
154
- {
155
- "internalType": "address",
156
- "name": "targetContract",
157
- "type": "address"
158
- },
159
- {
160
- "internalType": "uint256",
161
- "name": "value",
162
- "type": "uint256"
163
- },
164
- {
165
- "internalType": "bytes",
166
- "name": "data",
167
- "type": "bytes"
168
- }
169
- ],
170
- "internalType": "struct ICustomInstructionsFacet.CustomCall[]",
171
- "name": "_customInstruction",
172
- "type": "tuple[]"
173
- }
174
- ],
175
- "name": "registerCustomInstruction",
176
- "outputs": [
177
- {
178
- "internalType": "bytes32",
179
- "name": "_customInstructionHash",
180
- "type": "bytes32"
181
- }
182
- ],
183
- "stateMutability": "nonpayable",
184
- "type": "function"
185
- }
186
- ]