@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
@@ -0,0 +1,188 @@
1
+ [
2
+ {
3
+ "inputs": [],
4
+ "name": "InvalidFeedId",
5
+ "type": "error"
6
+ },
7
+ {
8
+ "inputs": [],
9
+ "name": "InvalidMaxSlippagePPM",
10
+ "type": "error"
11
+ },
12
+ {
13
+ "inputs": [],
14
+ "name": "InvalidPoolFeeTierPPM",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [],
19
+ "name": "InvalidStableCoin",
20
+ "type": "error"
21
+ },
22
+ {
23
+ "inputs": [],
24
+ "name": "InvalidUniswapV3Router",
25
+ "type": "error"
26
+ },
27
+ {
28
+ "anonymous": false,
29
+ "inputs": [
30
+ {
31
+ "indexed": true,
32
+ "internalType": "address",
33
+ "name": "personalAccount",
34
+ "type": "address"
35
+ },
36
+ {
37
+ "indexed": true,
38
+ "internalType": "address",
39
+ "name": "tokenIn",
40
+ "type": "address"
41
+ },
42
+ {
43
+ "indexed": true,
44
+ "internalType": "address",
45
+ "name": "tokenOut",
46
+ "type": "address"
47
+ },
48
+ {
49
+ "indexed": false,
50
+ "internalType": "string",
51
+ "name": "xrplOwner",
52
+ "type": "string"
53
+ },
54
+ {
55
+ "indexed": false,
56
+ "internalType": "uint256",
57
+ "name": "amountIn",
58
+ "type": "uint256"
59
+ },
60
+ {
61
+ "indexed": false,
62
+ "internalType": "uint256",
63
+ "name": "amountOut",
64
+ "type": "uint256"
65
+ }
66
+ ],
67
+ "name": "SwapExecuted",
68
+ "type": "event"
69
+ },
70
+ {
71
+ "anonymous": false,
72
+ "inputs": [
73
+ {
74
+ "indexed": false,
75
+ "internalType": "address",
76
+ "name": "uniswapV3Router",
77
+ "type": "address"
78
+ },
79
+ {
80
+ "indexed": false,
81
+ "internalType": "address",
82
+ "name": "stableCoin",
83
+ "type": "address"
84
+ },
85
+ {
86
+ "indexed": false,
87
+ "internalType": "uint24",
88
+ "name": "wNatStableCoinPoolFeeTierPPM",
89
+ "type": "uint24"
90
+ },
91
+ {
92
+ "indexed": false,
93
+ "internalType": "uint24",
94
+ "name": "stableCoinFXrpPoolFeeTierPPM",
95
+ "type": "uint24"
96
+ },
97
+ {
98
+ "indexed": false,
99
+ "internalType": "uint24",
100
+ "name": "maxSlippagePPM",
101
+ "type": "uint24"
102
+ },
103
+ {
104
+ "indexed": false,
105
+ "internalType": "bytes21",
106
+ "name": "stableCoinUsdFeedId",
107
+ "type": "bytes21"
108
+ },
109
+ {
110
+ "indexed": false,
111
+ "internalType": "bytes21",
112
+ "name": "wNatUsdFeedId",
113
+ "type": "bytes21"
114
+ }
115
+ ],
116
+ "name": "SwapParamsSet",
117
+ "type": "event"
118
+ },
119
+ {
120
+ "inputs": [],
121
+ "name": "getSwapParams",
122
+ "outputs": [
123
+ {
124
+ "internalType": "address",
125
+ "name": "_uniswapV3Router",
126
+ "type": "address"
127
+ },
128
+ {
129
+ "internalType": "address",
130
+ "name": "_stableCoin",
131
+ "type": "address"
132
+ },
133
+ {
134
+ "internalType": "uint24",
135
+ "name": "_wNatStableCoinPoolFeeTierPPM",
136
+ "type": "uint24"
137
+ },
138
+ {
139
+ "internalType": "uint24",
140
+ "name": "_stableCoinFXrpPoolFeeTierPPM",
141
+ "type": "uint24"
142
+ },
143
+ {
144
+ "internalType": "uint24",
145
+ "name": "_maxSlippagePPM",
146
+ "type": "uint24"
147
+ },
148
+ {
149
+ "internalType": "bytes21",
150
+ "name": "_stableCoinUsdFeedId",
151
+ "type": "bytes21"
152
+ },
153
+ {
154
+ "internalType": "bytes21",
155
+ "name": "_wNatUsdFeedId",
156
+ "type": "bytes21"
157
+ }
158
+ ],
159
+ "stateMutability": "view",
160
+ "type": "function"
161
+ },
162
+ {
163
+ "inputs": [
164
+ {
165
+ "internalType": "string",
166
+ "name": "_xrplAddress",
167
+ "type": "string"
168
+ }
169
+ ],
170
+ "name": "swapStableCoinForFAsset",
171
+ "outputs": [],
172
+ "stateMutability": "nonpayable",
173
+ "type": "function"
174
+ },
175
+ {
176
+ "inputs": [
177
+ {
178
+ "internalType": "string",
179
+ "name": "_xrplAddress",
180
+ "type": "string"
181
+ }
182
+ ],
183
+ "name": "swapWNatForStableCoin",
184
+ "outputs": [],
185
+ "stateMutability": "nonpayable",
186
+ "type": "function"
187
+ }
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,146 @@
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": "uint8",
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": "uint8",
91
+ "name": "vaultType",
92
+ "type": "uint8"
93
+ }
94
+ ],
95
+ "name": "VaultAdded",
96
+ "type": "event"
97
+ },
98
+ {
99
+ "anonymous": false,
100
+ "inputs": [
101
+ {
102
+ "indexed": true,
103
+ "internalType": "uint256",
104
+ "name": "vaultId",
105
+ "type": "uint256"
106
+ },
107
+ {
108
+ "indexed": true,
109
+ "internalType": "address",
110
+ "name": "vaultAddress",
111
+ "type": "address"
112
+ },
113
+ {
114
+ "indexed": true,
115
+ "internalType": "uint8",
116
+ "name": "vaultType",
117
+ "type": "uint8"
118
+ }
119
+ ],
120
+ "name": "VaultRemoved",
121
+ "type": "event"
122
+ },
123
+ {
124
+ "inputs": [],
125
+ "name": "getVaults",
126
+ "outputs": [
127
+ {
128
+ "internalType": "uint256[]",
129
+ "name": "_vaultIds",
130
+ "type": "uint256[]"
131
+ },
132
+ {
133
+ "internalType": "address[]",
134
+ "name": "_vaultAddresses",
135
+ "type": "address[]"
136
+ },
137
+ {
138
+ "internalType": "uint8[]",
139
+ "name": "_vaultTypes",
140
+ "type": "uint8[]"
141
+ }
142
+ ],
143
+ "stateMutability": "view",
144
+ "type": "function"
145
+ }
146
+ ]
@@ -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
+ ]