@flarenetwork/flare-periphery-contract-artifacts 0.1.41 → 0.1.42

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 (39) hide show
  1. package/dist/coston2/abis.d.ts.map +1 -1
  2. package/dist/flare/abis.d.ts.map +1 -1
  3. package/dist/flare/artifacts/contracts/IAgentVaultsFacet.sol/IAgentVaultsFacet.json +129 -0
  4. package/dist/flare/artifacts/contracts/ICustomInstructionsFacet.sol/ICustomInstructionsFacet.json +186 -0
  5. package/dist/flare/artifacts/contracts/IExecutorsFacet.sol/IExecutorsFacet.json +56 -0
  6. package/dist/flare/artifacts/contracts/IInstructionFeesFacet.sol/IInstructionFeesFacet.json +106 -0
  7. package/dist/flare/artifacts/contracts/IInstructionsFacet.sol/IInstructionsFacet.json +873 -0
  8. package/dist/flare/artifacts/contracts/IMasterAccountController.sol/IMasterAccountController.json +2233 -0
  9. package/dist/flare/artifacts/contracts/IPaymentProofsFacet.sol/IPaymentProofsFacet.json +76 -0
  10. package/dist/flare/artifacts/contracts/IPersonalAccount.sol/IPersonalAccount.json +460 -0
  11. package/dist/flare/artifacts/contracts/IPersonalAccountsFacet.sol/IPersonalAccountsFacet.json +82 -0
  12. package/dist/flare/artifacts/contracts/ISwapFacet.sol/ISwapFacet.json +188 -0
  13. package/dist/flare/artifacts/contracts/ITimelockFacet.sol/ITimelockFacet.json +126 -0
  14. package/dist/flare/artifacts/contracts/IVaultsFacet.sol/IVaultsFacet.json +146 -0
  15. package/dist/flare/artifacts/contracts/IXrplProviderWalletsFacet.sol/IXrplProviderWalletsFacet.json +63 -0
  16. package/dist/flare/artifacts/contracts/diamond/interfaces/IDiamond.sol/IDiamond.json +44 -0
  17. package/dist/flare/artifacts/contracts/diamond/interfaces/IDiamondCut.sol/IDiamondCut.json +84 -0
  18. package/dist/flare/artifacts/contracts/diamond/interfaces/IERC165.sol/IERC165.json +21 -0
  19. package/dist/flare/artifacts/contracts/diamond/interfaces/IERC173.sol/IERC173.json +47 -0
  20. package/dist/index.js +48 -0
  21. package/dist/index.js.map +1 -1
  22. package/flare/artifacts/contracts/IAgentVaultsFacet.sol/IAgentVaultsFacet.json +129 -0
  23. package/flare/artifacts/contracts/ICustomInstructionsFacet.sol/ICustomInstructionsFacet.json +186 -0
  24. package/flare/artifacts/contracts/IExecutorsFacet.sol/IExecutorsFacet.json +56 -0
  25. package/flare/artifacts/contracts/IInstructionFeesFacet.sol/IInstructionFeesFacet.json +106 -0
  26. package/flare/artifacts/contracts/IInstructionsFacet.sol/IInstructionsFacet.json +873 -0
  27. package/flare/artifacts/contracts/IMasterAccountController.sol/IMasterAccountController.json +2233 -0
  28. package/flare/artifacts/contracts/IPaymentProofsFacet.sol/IPaymentProofsFacet.json +76 -0
  29. package/flare/artifacts/contracts/IPersonalAccount.sol/IPersonalAccount.json +460 -0
  30. package/flare/artifacts/contracts/IPersonalAccountsFacet.sol/IPersonalAccountsFacet.json +82 -0
  31. package/flare/artifacts/contracts/ISwapFacet.sol/ISwapFacet.json +188 -0
  32. package/flare/artifacts/contracts/ITimelockFacet.sol/ITimelockFacet.json +126 -0
  33. package/flare/artifacts/contracts/IVaultsFacet.sol/IVaultsFacet.json +146 -0
  34. package/flare/artifacts/contracts/IXrplProviderWalletsFacet.sol/IXrplProviderWalletsFacet.json +63 -0
  35. package/flare/artifacts/contracts/diamond/interfaces/IDiamond.sol/IDiamond.json +44 -0
  36. package/flare/artifacts/contracts/diamond/interfaces/IDiamondCut.sol/IDiamondCut.json +84 -0
  37. package/flare/artifacts/contracts/diamond/interfaces/IERC165.sol/IERC165.json +21 -0
  38. package/flare/artifacts/contracts/diamond/interfaces/IERC173.sol/IERC173.json +47 -0
  39. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"abis.d.ts","sourceRoot":"","sources":["../../coston2/abis.ts"],"names":[],"mappings":"AAiLA,OAAO,EAAY,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAQ5C,eAAO,MAAM,aAAa,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAiL/C,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE;IACnB,CAAC,GAAG,EAAE,MAAM,GAAG;QACX,IAAI,EAAE,MAAM,CAAC;QACb,SAAS,EAAE,MAAM,CAAC;QAClB,QAAQ,EAAE,MAAM,CAAC;QACjB,GAAG,EAAE,GAAG,CAAC;QACT,UAAU,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;KACvD,CAAC;CA0RL,CAAC"}
1
+ {"version":3,"file":"abis.d.ts","sourceRoot":"","sources":["../../coston2/abis.ts"],"names":[],"mappings":"AAiLA,OAAO,EAAY,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAQ5C,eAAO,MAAM,aAAa,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAiL/C,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE;IACnB,CAAC,GAAG,EAAE,MAAM,GAAG;QACX,IAAI,EAAE,MAAM,CAAC;QACb,SAAS,EAAE,MAAM,CAAC;QAClB,QAAQ,EAAE,MAAM,CAAC;QACjB,GAAG,EAAE,GAAG,CAAC;QACT,UAAU,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;KACvD,CAAC;CAiSL,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"abis.d.ts","sourceRoot":"","sources":["../../flare/abis.ts"],"names":[],"mappings":"AAgKA,OAAO,EAAY,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAQ5C,eAAO,MAAM,aAAa,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAgK/C,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE;IACnB,CAAC,GAAG,EAAE,MAAM,GAAG;QACX,IAAI,EAAE,MAAM,CAAC;QACb,SAAS,EAAE,MAAM,CAAC;QAClB,QAAQ,EAAE,MAAM,CAAC;QACjB,GAAG,EAAE,GAAG,CAAC;QACT,UAAU,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;KACvD,CAAC;CAmRL,CAAC"}
1
+ {"version":3,"file":"abis.d.ts","sourceRoot":"","sources":["../../flare/abis.ts"],"names":[],"mappings":"AAiLA,OAAO,EAAY,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAQ5C,eAAO,MAAM,aAAa,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAiL/C,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE;IACnB,CAAC,GAAG,EAAE,MAAM,GAAG;QACX,IAAI,EAAE,MAAM,CAAC;QACb,SAAS,EAAE,MAAM,CAAC;QAClB,QAAQ,EAAE,MAAM,CAAC;QACjB,GAAG,EAAE,GAAG,CAAC;QACT,UAAU,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;KACvD,CAAC;CA0RL,CAAC"}
@@ -0,0 +1,129 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "address",
6
+ "name": "agentVault",
7
+ "type": "address"
8
+ }
9
+ ],
10
+ "name": "AgentNotAvailable",
11
+ "type": "error"
12
+ },
13
+ {
14
+ "inputs": [
15
+ {
16
+ "internalType": "address",
17
+ "name": "agentVaultAddress",
18
+ "type": "address"
19
+ }
20
+ ],
21
+ "name": "AgentVaultAddressAlreadyAdded",
22
+ "type": "error"
23
+ },
24
+ {
25
+ "inputs": [
26
+ {
27
+ "internalType": "uint256",
28
+ "name": "index",
29
+ "type": "uint256"
30
+ }
31
+ ],
32
+ "name": "AgentVaultAddressZero",
33
+ "type": "error"
34
+ },
35
+ {
36
+ "inputs": [
37
+ {
38
+ "internalType": "uint256",
39
+ "name": "agentVaultId",
40
+ "type": "uint256"
41
+ }
42
+ ],
43
+ "name": "AgentVaultIdAlreadyAdded",
44
+ "type": "error"
45
+ },
46
+ {
47
+ "inputs": [
48
+ {
49
+ "internalType": "uint256",
50
+ "name": "index",
51
+ "type": "uint256"
52
+ }
53
+ ],
54
+ "name": "AgentVaultIdZero",
55
+ "type": "error"
56
+ },
57
+ {
58
+ "inputs": [],
59
+ "name": "AgentsVaultsLengthsMismatch",
60
+ "type": "error"
61
+ },
62
+ {
63
+ "inputs": [
64
+ {
65
+ "internalType": "uint256",
66
+ "name": "agentVaultId",
67
+ "type": "uint256"
68
+ }
69
+ ],
70
+ "name": "InvalidAgentVault",
71
+ "type": "error"
72
+ },
73
+ {
74
+ "anonymous": false,
75
+ "inputs": [
76
+ {
77
+ "indexed": true,
78
+ "internalType": "uint256",
79
+ "name": "agentVaultId",
80
+ "type": "uint256"
81
+ },
82
+ {
83
+ "indexed": true,
84
+ "internalType": "address",
85
+ "name": "agentVaultAddress",
86
+ "type": "address"
87
+ }
88
+ ],
89
+ "name": "AgentVaultAdded",
90
+ "type": "event"
91
+ },
92
+ {
93
+ "anonymous": false,
94
+ "inputs": [
95
+ {
96
+ "indexed": true,
97
+ "internalType": "uint256",
98
+ "name": "agentVaultId",
99
+ "type": "uint256"
100
+ },
101
+ {
102
+ "indexed": true,
103
+ "internalType": "address",
104
+ "name": "agentVaultAddress",
105
+ "type": "address"
106
+ }
107
+ ],
108
+ "name": "AgentVaultRemoved",
109
+ "type": "event"
110
+ },
111
+ {
112
+ "inputs": [],
113
+ "name": "getAgentVaults",
114
+ "outputs": [
115
+ {
116
+ "internalType": "uint256[]",
117
+ "name": "_agentVaultIds",
118
+ "type": "uint256[]"
119
+ },
120
+ {
121
+ "internalType": "address[]",
122
+ "name": "_agentVaultAddresses",
123
+ "type": "address[]"
124
+ }
125
+ ],
126
+ "stateMutability": "view",
127
+ "type": "function"
128
+ }
129
+ ]
@@ -0,0 +1,186 @@
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
+ ]
@@ -0,0 +1,56 @@
1
+ [
2
+ {
3
+ "inputs": [],
4
+ "name": "InvalidExecutor",
5
+ "type": "error"
6
+ },
7
+ {
8
+ "inputs": [],
9
+ "name": "InvalidExecutorFee",
10
+ "type": "error"
11
+ },
12
+ {
13
+ "anonymous": false,
14
+ "inputs": [
15
+ {
16
+ "indexed": false,
17
+ "internalType": "uint256",
18
+ "name": "executorFee",
19
+ "type": "uint256"
20
+ }
21
+ ],
22
+ "name": "ExecutorFeeSet",
23
+ "type": "event"
24
+ },
25
+ {
26
+ "anonymous": false,
27
+ "inputs": [
28
+ {
29
+ "indexed": false,
30
+ "internalType": "address",
31
+ "name": "executor",
32
+ "type": "address"
33
+ }
34
+ ],
35
+ "name": "ExecutorSet",
36
+ "type": "event"
37
+ },
38
+ {
39
+ "inputs": [],
40
+ "name": "getExecutorInfo",
41
+ "outputs": [
42
+ {
43
+ "internalType": "address payable",
44
+ "name": "_executor",
45
+ "type": "address"
46
+ },
47
+ {
48
+ "internalType": "uint256",
49
+ "name": "_executorFee",
50
+ "type": "uint256"
51
+ }
52
+ ],
53
+ "stateMutability": "view",
54
+ "type": "function"
55
+ }
56
+ ]
@@ -0,0 +1,106 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "uint256",
6
+ "name": "instructionId",
7
+ "type": "uint256"
8
+ }
9
+ ],
10
+ "name": "InstructionFeeNotSet",
11
+ "type": "error"
12
+ },
13
+ {
14
+ "inputs": [],
15
+ "name": "InstructionFeesLengthsMismatch",
16
+ "type": "error"
17
+ },
18
+ {
19
+ "inputs": [
20
+ {
21
+ "internalType": "uint256",
22
+ "name": "instructionId",
23
+ "type": "uint256"
24
+ }
25
+ ],
26
+ "name": "InvalidInstructionFee",
27
+ "type": "error"
28
+ },
29
+ {
30
+ "anonymous": false,
31
+ "inputs": [
32
+ {
33
+ "indexed": false,
34
+ "internalType": "uint256",
35
+ "name": "defaultInstructionFee",
36
+ "type": "uint256"
37
+ }
38
+ ],
39
+ "name": "DefaultInstructionFeeSet",
40
+ "type": "event"
41
+ },
42
+ {
43
+ "anonymous": false,
44
+ "inputs": [
45
+ {
46
+ "indexed": true,
47
+ "internalType": "uint256",
48
+ "name": "instructionId",
49
+ "type": "uint256"
50
+ }
51
+ ],
52
+ "name": "InstructionFeeRemoved",
53
+ "type": "event"
54
+ },
55
+ {
56
+ "anonymous": false,
57
+ "inputs": [
58
+ {
59
+ "indexed": true,
60
+ "internalType": "uint256",
61
+ "name": "instructionId",
62
+ "type": "uint256"
63
+ },
64
+ {
65
+ "indexed": false,
66
+ "internalType": "uint256",
67
+ "name": "instructionFee",
68
+ "type": "uint256"
69
+ }
70
+ ],
71
+ "name": "InstructionFeeSet",
72
+ "type": "event"
73
+ },
74
+ {
75
+ "inputs": [],
76
+ "name": "getDefaultInstructionFee",
77
+ "outputs": [
78
+ {
79
+ "internalType": "uint256",
80
+ "name": "",
81
+ "type": "uint256"
82
+ }
83
+ ],
84
+ "stateMutability": "view",
85
+ "type": "function"
86
+ },
87
+ {
88
+ "inputs": [
89
+ {
90
+ "internalType": "uint256",
91
+ "name": "_instructionId",
92
+ "type": "uint256"
93
+ }
94
+ ],
95
+ "name": "getInstructionFee",
96
+ "outputs": [
97
+ {
98
+ "internalType": "uint256",
99
+ "name": "",
100
+ "type": "uint256"
101
+ }
102
+ ],
103
+ "stateMutability": "view",
104
+ "type": "function"
105
+ }
106
+ ]