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

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 (51) hide show
  1. package/coston/artifacts/contracts/IAssetManager.sol/IAssetManager.json +20 -1
  2. package/coston/artifacts/contracts/IAssetManagerController.sol/IAssetManagerController.json +26 -0
  3. package/coston/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +19 -0
  4. package/coston/artifacts/contracts/IFAsset.sol/IFAsset.json +263 -0
  5. package/coston2/artifacts/contracts/IAssetManager.sol/IAssetManager.json +20 -1
  6. package/coston2/artifacts/contracts/IAssetManagerController.sol/IAssetManagerController.json +26 -0
  7. package/coston2/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +19 -0
  8. package/coston2/artifacts/contracts/ICustomInstructionsFacet.sol/ICustomInstructionsFacet.json +186 -0
  9. package/coston2/artifacts/contracts/IFAsset.sol/IFAsset.json +263 -0
  10. package/coston2/artifacts/contracts/IInstructionsFacet.sol/IInstructionsFacet.json +61 -2
  11. package/coston2/artifacts/contracts/IMasterAccountController.sol/IMasterAccountController.json +310 -15
  12. package/coston2/artifacts/contracts/IPersonalAccount.sol/IPersonalAccount.json +72 -2
  13. package/coston2/artifacts/contracts/ISwapFacet.sol/ISwapFacet.json +37 -10
  14. package/coston2/artifacts/contracts/IVaultsFacet.sol/IVaultsFacet.json +25 -0
  15. package/dist/coston/abis.d.ts.map +1 -1
  16. package/dist/coston/artifacts/contracts/IAssetManager.sol/IAssetManager.json +20 -1
  17. package/dist/coston/artifacts/contracts/IAssetManagerController.sol/IAssetManagerController.json +26 -0
  18. package/dist/coston/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +19 -0
  19. package/dist/coston/artifacts/contracts/IFAsset.sol/IFAsset.json +263 -0
  20. package/dist/coston2/abis.d.ts.map +1 -1
  21. package/dist/coston2/artifacts/contracts/IAssetManager.sol/IAssetManager.json +20 -1
  22. package/dist/coston2/artifacts/contracts/IAssetManagerController.sol/IAssetManagerController.json +26 -0
  23. package/dist/coston2/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +19 -0
  24. package/dist/coston2/artifacts/contracts/ICustomInstructionsFacet.sol/ICustomInstructionsFacet.json +186 -0
  25. package/dist/coston2/artifacts/contracts/IFAsset.sol/IFAsset.json +263 -0
  26. package/dist/coston2/artifacts/contracts/IInstructionsFacet.sol/IInstructionsFacet.json +61 -2
  27. package/dist/coston2/artifacts/contracts/IMasterAccountController.sol/IMasterAccountController.json +310 -15
  28. package/dist/coston2/artifacts/contracts/IPersonalAccount.sol/IPersonalAccount.json +72 -2
  29. package/dist/coston2/artifacts/contracts/ISwapFacet.sol/ISwapFacet.json +37 -10
  30. package/dist/coston2/artifacts/contracts/IVaultsFacet.sol/IVaultsFacet.json +25 -0
  31. package/dist/flare/abis.d.ts.map +1 -1
  32. package/dist/flare/artifacts/contracts/IAssetManager.sol/IAssetManager.json +20 -1
  33. package/dist/flare/artifacts/contracts/IAssetManagerController.sol/IAssetManagerController.json +26 -0
  34. package/dist/flare/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +19 -0
  35. package/dist/flare/artifacts/contracts/IFAsset.sol/IFAsset.json +263 -0
  36. package/dist/index.js +10 -0
  37. package/dist/index.js.map +1 -1
  38. package/dist/songbird/abis.d.ts.map +1 -1
  39. package/dist/songbird/artifacts/contracts/IAssetManager.sol/IAssetManager.json +20 -1
  40. package/dist/songbird/artifacts/contracts/IAssetManagerController.sol/IAssetManagerController.json +26 -0
  41. package/dist/songbird/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +19 -0
  42. package/dist/songbird/artifacts/contracts/IFAsset.sol/IFAsset.json +263 -0
  43. package/flare/artifacts/contracts/IAssetManager.sol/IAssetManager.json +20 -1
  44. package/flare/artifacts/contracts/IAssetManagerController.sol/IAssetManagerController.json +26 -0
  45. package/flare/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +19 -0
  46. package/flare/artifacts/contracts/IFAsset.sol/IFAsset.json +263 -0
  47. package/package.json +1 -1
  48. package/songbird/artifacts/contracts/IAssetManager.sol/IAssetManager.json +20 -1
  49. package/songbird/artifacts/contracts/IAssetManagerController.sol/IAssetManagerController.json +26 -0
  50. package/songbird/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +19 -0
  51. package/songbird/artifacts/contracts/IFAsset.sol/IFAsset.json +263 -0
@@ -676,6 +676,12 @@
676
676
  "name": "EmergencyPauseCanceled",
677
677
  "type": "event"
678
678
  },
679
+ {
680
+ "anonymous": false,
681
+ "inputs": [],
682
+ "name": "EmergencyPauseTotalDurationReset",
683
+ "type": "event"
684
+ },
679
685
  {
680
686
  "anonymous": false,
681
687
  "inputs": [
@@ -851,6 +857,19 @@
851
857
  "name": "MintingExecuted",
852
858
  "type": "event"
853
859
  },
860
+ {
861
+ "anonymous": false,
862
+ "inputs": [
863
+ {
864
+ "indexed": false,
865
+ "internalType": "bool",
866
+ "name": "paused",
867
+ "type": "bool"
868
+ }
869
+ ],
870
+ "name": "MintingPaused",
871
+ "type": "event"
872
+ },
854
873
  {
855
874
  "anonymous": false,
856
875
  "inputs": [
@@ -1909,7 +1928,7 @@
1909
1928
  },
1910
1929
  {
1911
1930
  "internalType": "uint256",
1912
- "name": "_valueNATWei",
1931
+ "name": "_valuePoolTokenWei",
1913
1932
  "type": "uint256"
1914
1933
  }
1915
1934
  ],
@@ -1,4 +1,30 @@
1
1
  [
2
+ {
3
+ "anonymous": false,
4
+ "inputs": [
5
+ {
6
+ "indexed": false,
7
+ "internalType": "address",
8
+ "name": "assetManager",
9
+ "type": "address"
10
+ }
11
+ ],
12
+ "name": "AssetManagerAdded",
13
+ "type": "event"
14
+ },
15
+ {
16
+ "anonymous": false,
17
+ "inputs": [
18
+ {
19
+ "indexed": false,
20
+ "internalType": "address",
21
+ "name": "assetManager",
22
+ "type": "address"
23
+ }
24
+ ],
25
+ "name": "AssetManagerRemoved",
26
+ "type": "event"
27
+ },
2
28
  {
3
29
  "inputs": [
4
30
  {
@@ -583,6 +583,12 @@
583
583
  "name": "EmergencyPauseCanceled",
584
584
  "type": "event"
585
585
  },
586
+ {
587
+ "anonymous": false,
588
+ "inputs": [],
589
+ "name": "EmergencyPauseTotalDurationReset",
590
+ "type": "event"
591
+ },
586
592
  {
587
593
  "anonymous": false,
588
594
  "inputs": [
@@ -758,6 +764,19 @@
758
764
  "name": "MintingExecuted",
759
765
  "type": "event"
760
766
  },
767
+ {
768
+ "anonymous": false,
769
+ "inputs": [
770
+ {
771
+ "indexed": false,
772
+ "internalType": "bool",
773
+ "name": "paused",
774
+ "type": "bool"
775
+ }
776
+ ],
777
+ "name": "MintingPaused",
778
+ "type": "event"
779
+ },
761
780
  {
762
781
  "anonymous": false,
763
782
  "inputs": [
@@ -0,0 +1,263 @@
1
+ [
2
+ {
3
+ "anonymous": false,
4
+ "inputs": [
5
+ {
6
+ "indexed": true,
7
+ "internalType": "address",
8
+ "name": "owner",
9
+ "type": "address"
10
+ },
11
+ {
12
+ "indexed": true,
13
+ "internalType": "address",
14
+ "name": "spender",
15
+ "type": "address"
16
+ },
17
+ {
18
+ "indexed": false,
19
+ "internalType": "uint256",
20
+ "name": "value",
21
+ "type": "uint256"
22
+ }
23
+ ],
24
+ "name": "Approval",
25
+ "type": "event"
26
+ },
27
+ {
28
+ "anonymous": false,
29
+ "inputs": [
30
+ {
31
+ "indexed": true,
32
+ "internalType": "address",
33
+ "name": "from",
34
+ "type": "address"
35
+ },
36
+ {
37
+ "indexed": true,
38
+ "internalType": "address",
39
+ "name": "to",
40
+ "type": "address"
41
+ },
42
+ {
43
+ "indexed": false,
44
+ "internalType": "uint256",
45
+ "name": "value",
46
+ "type": "uint256"
47
+ }
48
+ ],
49
+ "name": "Transfer",
50
+ "type": "event"
51
+ },
52
+ {
53
+ "inputs": [
54
+ {
55
+ "internalType": "address",
56
+ "name": "owner",
57
+ "type": "address"
58
+ },
59
+ {
60
+ "internalType": "address",
61
+ "name": "spender",
62
+ "type": "address"
63
+ }
64
+ ],
65
+ "name": "allowance",
66
+ "outputs": [
67
+ {
68
+ "internalType": "uint256",
69
+ "name": "",
70
+ "type": "uint256"
71
+ }
72
+ ],
73
+ "stateMutability": "view",
74
+ "type": "function"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "address",
80
+ "name": "spender",
81
+ "type": "address"
82
+ },
83
+ {
84
+ "internalType": "uint256",
85
+ "name": "amount",
86
+ "type": "uint256"
87
+ }
88
+ ],
89
+ "name": "approve",
90
+ "outputs": [
91
+ {
92
+ "internalType": "bool",
93
+ "name": "",
94
+ "type": "bool"
95
+ }
96
+ ],
97
+ "stateMutability": "nonpayable",
98
+ "type": "function"
99
+ },
100
+ {
101
+ "inputs": [],
102
+ "name": "assetManager",
103
+ "outputs": [
104
+ {
105
+ "internalType": "address",
106
+ "name": "",
107
+ "type": "address"
108
+ }
109
+ ],
110
+ "stateMutability": "view",
111
+ "type": "function"
112
+ },
113
+ {
114
+ "inputs": [],
115
+ "name": "assetName",
116
+ "outputs": [
117
+ {
118
+ "internalType": "string",
119
+ "name": "",
120
+ "type": "string"
121
+ }
122
+ ],
123
+ "stateMutability": "view",
124
+ "type": "function"
125
+ },
126
+ {
127
+ "inputs": [],
128
+ "name": "assetSymbol",
129
+ "outputs": [
130
+ {
131
+ "internalType": "string",
132
+ "name": "",
133
+ "type": "string"
134
+ }
135
+ ],
136
+ "stateMutability": "view",
137
+ "type": "function"
138
+ },
139
+ {
140
+ "inputs": [
141
+ {
142
+ "internalType": "address",
143
+ "name": "account",
144
+ "type": "address"
145
+ }
146
+ ],
147
+ "name": "balanceOf",
148
+ "outputs": [
149
+ {
150
+ "internalType": "uint256",
151
+ "name": "",
152
+ "type": "uint256"
153
+ }
154
+ ],
155
+ "stateMutability": "view",
156
+ "type": "function"
157
+ },
158
+ {
159
+ "inputs": [],
160
+ "name": "decimals",
161
+ "outputs": [
162
+ {
163
+ "internalType": "uint8",
164
+ "name": "",
165
+ "type": "uint8"
166
+ }
167
+ ],
168
+ "stateMutability": "view",
169
+ "type": "function"
170
+ },
171
+ {
172
+ "inputs": [],
173
+ "name": "name",
174
+ "outputs": [
175
+ {
176
+ "internalType": "string",
177
+ "name": "",
178
+ "type": "string"
179
+ }
180
+ ],
181
+ "stateMutability": "view",
182
+ "type": "function"
183
+ },
184
+ {
185
+ "inputs": [],
186
+ "name": "symbol",
187
+ "outputs": [
188
+ {
189
+ "internalType": "string",
190
+ "name": "",
191
+ "type": "string"
192
+ }
193
+ ],
194
+ "stateMutability": "view",
195
+ "type": "function"
196
+ },
197
+ {
198
+ "inputs": [],
199
+ "name": "totalSupply",
200
+ "outputs": [
201
+ {
202
+ "internalType": "uint256",
203
+ "name": "",
204
+ "type": "uint256"
205
+ }
206
+ ],
207
+ "stateMutability": "view",
208
+ "type": "function"
209
+ },
210
+ {
211
+ "inputs": [
212
+ {
213
+ "internalType": "address",
214
+ "name": "to",
215
+ "type": "address"
216
+ },
217
+ {
218
+ "internalType": "uint256",
219
+ "name": "amount",
220
+ "type": "uint256"
221
+ }
222
+ ],
223
+ "name": "transfer",
224
+ "outputs": [
225
+ {
226
+ "internalType": "bool",
227
+ "name": "",
228
+ "type": "bool"
229
+ }
230
+ ],
231
+ "stateMutability": "nonpayable",
232
+ "type": "function"
233
+ },
234
+ {
235
+ "inputs": [
236
+ {
237
+ "internalType": "address",
238
+ "name": "from",
239
+ "type": "address"
240
+ },
241
+ {
242
+ "internalType": "address",
243
+ "name": "to",
244
+ "type": "address"
245
+ },
246
+ {
247
+ "internalType": "uint256",
248
+ "name": "amount",
249
+ "type": "uint256"
250
+ }
251
+ ],
252
+ "name": "transferFrom",
253
+ "outputs": [
254
+ {
255
+ "internalType": "bool",
256
+ "name": "",
257
+ "type": "bool"
258
+ }
259
+ ],
260
+ "stateMutability": "nonpayable",
261
+ "type": "function"
262
+ }
263
+ ]
@@ -676,6 +676,12 @@
676
676
  "name": "EmergencyPauseCanceled",
677
677
  "type": "event"
678
678
  },
679
+ {
680
+ "anonymous": false,
681
+ "inputs": [],
682
+ "name": "EmergencyPauseTotalDurationReset",
683
+ "type": "event"
684
+ },
679
685
  {
680
686
  "anonymous": false,
681
687
  "inputs": [
@@ -851,6 +857,19 @@
851
857
  "name": "MintingExecuted",
852
858
  "type": "event"
853
859
  },
860
+ {
861
+ "anonymous": false,
862
+ "inputs": [
863
+ {
864
+ "indexed": false,
865
+ "internalType": "bool",
866
+ "name": "paused",
867
+ "type": "bool"
868
+ }
869
+ ],
870
+ "name": "MintingPaused",
871
+ "type": "event"
872
+ },
854
873
  {
855
874
  "anonymous": false,
856
875
  "inputs": [
@@ -1909,7 +1928,7 @@
1909
1928
  },
1910
1929
  {
1911
1930
  "internalType": "uint256",
1912
- "name": "_valueNATWei",
1931
+ "name": "_valuePoolTokenWei",
1913
1932
  "type": "uint256"
1914
1933
  }
1915
1934
  ],
@@ -1,4 +1,30 @@
1
1
  [
2
+ {
3
+ "anonymous": false,
4
+ "inputs": [
5
+ {
6
+ "indexed": false,
7
+ "internalType": "address",
8
+ "name": "assetManager",
9
+ "type": "address"
10
+ }
11
+ ],
12
+ "name": "AssetManagerAdded",
13
+ "type": "event"
14
+ },
15
+ {
16
+ "anonymous": false,
17
+ "inputs": [
18
+ {
19
+ "indexed": false,
20
+ "internalType": "address",
21
+ "name": "assetManager",
22
+ "type": "address"
23
+ }
24
+ ],
25
+ "name": "AssetManagerRemoved",
26
+ "type": "event"
27
+ },
2
28
  {
3
29
  "inputs": [
4
30
  {
@@ -583,6 +583,12 @@
583
583
  "name": "EmergencyPauseCanceled",
584
584
  "type": "event"
585
585
  },
586
+ {
587
+ "anonymous": false,
588
+ "inputs": [],
589
+ "name": "EmergencyPauseTotalDurationReset",
590
+ "type": "event"
591
+ },
586
592
  {
587
593
  "anonymous": false,
588
594
  "inputs": [
@@ -758,6 +764,19 @@
758
764
  "name": "MintingExecuted",
759
765
  "type": "event"
760
766
  },
767
+ {
768
+ "anonymous": false,
769
+ "inputs": [
770
+ {
771
+ "indexed": false,
772
+ "internalType": "bool",
773
+ "name": "paused",
774
+ "type": "bool"
775
+ }
776
+ ],
777
+ "name": "MintingPaused",
778
+ "type": "event"
779
+ },
761
780
  {
762
781
  "anonymous": false,
763
782
  "inputs": [
@@ -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
+ ]