@flarenetwork/flare-periphery-contract-artifacts 0.1.34 → 0.1.36

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 (31) hide show
  1. package/LICENSE +1 -1
  2. package/{README.root.md → README.md} +19 -16
  3. package/coston/README.md +7 -0
  4. package/coston/artifacts/contracts/IAgentOwnerRegistry.sol/IAgentOwnerRegistry.json +233 -0
  5. package/coston/artifacts/contracts/IAssetManager.sol/IAssetManager.json +62 -1023
  6. package/coston/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +19 -233
  7. package/{coston2/artifacts/contracts/ICoreVault.sol/ICoreVault.json → coston/artifacts/contracts/ICoreVaultClient.sol/ICoreVaultClient.json} +5 -24
  8. package/{coston2/artifacts/contracts/ICoreVaultSettings.sol/ICoreVaultSettings.json → coston/artifacts/contracts/ICoreVaultClientSettings.sol/ICoreVaultClientSettings.json} +0 -26
  9. package/coston/artifacts/contracts/IFdcVerification.sol/IFdcVerification.json +107 -107
  10. package/coston/artifacts/contracts/IWeb2JsonVerification.sol/IWeb2JsonVerification.json +1 -1
  11. package/coston2/README.md +7 -0
  12. package/coston2/artifacts/contracts/IAgentOwnerRegistry.sol/IAgentOwnerRegistry.json +233 -0
  13. package/coston2/artifacts/contracts/IAssetManager.sol/IAssetManager.json +62 -1023
  14. package/coston2/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +19 -233
  15. package/{coston/artifacts/contracts/ICoreVault.sol/ICoreVault.json → coston2/artifacts/contracts/ICoreVaultClient.sol/ICoreVaultClient.json} +5 -24
  16. package/{coston/artifacts/contracts/ICoreVaultSettings.sol/ICoreVaultSettings.json → coston2/artifacts/contracts/ICoreVaultClientSettings.sol/ICoreVaultClientSettings.json} +0 -26
  17. package/coston2/artifacts/contracts/IFdcVerification.sol/IFdcVerification.json +107 -107
  18. package/coston2/artifacts/contracts/IWeb2JsonVerification.sol/IWeb2JsonVerification.json +1 -1
  19. package/flare/README.md +7 -0
  20. package/flare/artifacts/contracts/IAgentOwnerRegistry.sol/IAgentOwnerRegistry.json +223 -0
  21. package/flare/artifacts/contracts/IFdcVerification.sol/IFdcVerification.json +107 -107
  22. package/flare/artifacts/contracts/IWeb2JsonVerification.sol/IWeb2JsonVerification.json +1 -1
  23. package/flare/artifacts/contracts/IWhitelist.sol/IWhitelist.json +47 -0
  24. package/package.json +22 -6
  25. package/songbird/README.md +7 -0
  26. package/songbird/artifacts/contracts/IAgentOwnerRegistry.sol/IAgentOwnerRegistry.json +223 -0
  27. package/songbird/artifacts/contracts/IFdcVerification.sol/IFdcVerification.json +107 -107
  28. package/songbird/artifacts/contracts/IWeb2JsonVerification.sol/IWeb2JsonVerification.json +1 -1
  29. package/songbird/artifacts/contracts/IWhitelist.sol/IWhitelist.json +47 -0
  30. package/coston/artifacts/contracts/ITransferFees.sol/ITransferFees.json +0 -394
  31. package/coston2/artifacts/contracts/ITransferFees.sol/ITransferFees.json +0 -394
@@ -93,25 +93,6 @@
93
93
  "name": "AgentDestroyed",
94
94
  "type": "event"
95
95
  },
96
- {
97
- "anonymous": false,
98
- "inputs": [
99
- {
100
- "indexed": true,
101
- "internalType": "address",
102
- "name": "agentVault",
103
- "type": "address"
104
- },
105
- {
106
- "indexed": false,
107
- "internalType": "uint256",
108
- "name": "timestamp",
109
- "type": "uint256"
110
- }
111
- ],
112
- "name": "AgentInCCB",
113
- "type": "event"
114
- },
115
96
  {
116
97
  "anonymous": false,
117
98
  "inputs": [
@@ -242,17 +223,7 @@
242
223
  },
243
224
  {
244
225
  "internalType": "uint256",
245
- "name": "poolTopupCollateralRatioBIPS",
246
- "type": "uint256"
247
- },
248
- {
249
- "internalType": "uint256",
250
- "name": "poolTopupTokenPriceFactorBIPS",
251
- "type": "uint256"
252
- },
253
- {
254
- "internalType": "uint256",
255
- "name": "handshakeType",
226
+ "name": "redemptionPoolFeeShareBIPS",
256
227
  "type": "uint256"
257
228
  }
258
229
  ],
@@ -318,12 +289,6 @@
318
289
  "name": "minCollateralRatioBIPS",
319
290
  "type": "uint256"
320
291
  },
321
- {
322
- "indexed": false,
323
- "internalType": "uint256",
324
- "name": "ccbMinCollateralRatioBIPS",
325
- "type": "uint256"
326
- },
327
292
  {
328
293
  "indexed": false,
329
294
  "internalType": "uint256",
@@ -334,31 +299,6 @@
334
299
  "name": "CollateralRatiosChanged",
335
300
  "type": "event"
336
301
  },
337
- {
338
- "anonymous": false,
339
- "inputs": [
340
- {
341
- "indexed": true,
342
- "internalType": "address",
343
- "name": "agentVault",
344
- "type": "address"
345
- },
346
- {
347
- "indexed": true,
348
- "internalType": "address",
349
- "name": "minter",
350
- "type": "address"
351
- },
352
- {
353
- "indexed": true,
354
- "internalType": "uint256",
355
- "name": "collateralReservationId",
356
- "type": "uint256"
357
- }
358
- ],
359
- "name": "CollateralReservationCancelled",
360
- "type": "event"
361
- },
362
302
  {
363
303
  "anonymous": false,
364
304
  "inputs": [
@@ -390,31 +330,6 @@
390
330
  "name": "CollateralReservationDeleted",
391
331
  "type": "event"
392
332
  },
393
- {
394
- "anonymous": false,
395
- "inputs": [
396
- {
397
- "indexed": true,
398
- "internalType": "address",
399
- "name": "agentVault",
400
- "type": "address"
401
- },
402
- {
403
- "indexed": true,
404
- "internalType": "address",
405
- "name": "minter",
406
- "type": "address"
407
- },
408
- {
409
- "indexed": true,
410
- "internalType": "uint256",
411
- "name": "collateralReservationId",
412
- "type": "uint256"
413
- }
414
- ],
415
- "name": "CollateralReservationRejected",
416
- "type": "event"
417
- },
418
333
  {
419
334
  "anonymous": false,
420
335
  "inputs": [
@@ -539,12 +454,6 @@
539
454
  "name": "minCollateralRatioBIPS",
540
455
  "type": "uint256"
541
456
  },
542
- {
543
- "indexed": false,
544
- "internalType": "uint256",
545
- "name": "ccbMinCollateralRatioBIPS",
546
- "type": "uint256"
547
- },
548
457
  {
549
458
  "indexed": false,
550
459
  "internalType": "uint256",
@@ -725,49 +634,6 @@
725
634
  "name": "FullLiquidationStarted",
726
635
  "type": "event"
727
636
  },
728
- {
729
- "anonymous": false,
730
- "inputs": [
731
- {
732
- "indexed": true,
733
- "internalType": "address",
734
- "name": "agentVault",
735
- "type": "address"
736
- },
737
- {
738
- "indexed": true,
739
- "internalType": "address",
740
- "name": "minter",
741
- "type": "address"
742
- },
743
- {
744
- "indexed": true,
745
- "internalType": "uint256",
746
- "name": "collateralReservationId",
747
- "type": "uint256"
748
- },
749
- {
750
- "indexed": false,
751
- "internalType": "string[]",
752
- "name": "minterUnderlyingAddresses",
753
- "type": "string[]"
754
- },
755
- {
756
- "indexed": false,
757
- "internalType": "uint256",
758
- "name": "valueUBA",
759
- "type": "uint256"
760
- },
761
- {
762
- "indexed": false,
763
- "internalType": "uint256",
764
- "name": "feeUBA",
765
- "type": "uint256"
766
- }
767
- ],
768
- "name": "HandshakeRequired",
769
- "type": "event"
770
- },
771
637
  {
772
638
  "anonymous": false,
773
639
  "inputs": [
@@ -997,9 +863,9 @@
997
863
  },
998
864
  {
999
865
  "indexed": true,
1000
- "internalType": "uint64",
866
+ "internalType": "uint256",
1001
867
  "name": "requestId",
1002
- "type": "uint64"
868
+ "type": "uint256"
1003
869
  },
1004
870
  {
1005
871
  "indexed": false,
@@ -1040,9 +906,9 @@
1040
906
  },
1041
907
  {
1042
908
  "indexed": true,
1043
- "internalType": "uint64",
909
+ "internalType": "uint256",
1044
910
  "name": "requestId",
1045
- "type": "uint64"
911
+ "type": "uint256"
1046
912
  },
1047
913
  {
1048
914
  "indexed": false,
@@ -1083,9 +949,9 @@
1083
949
  },
1084
950
  {
1085
951
  "indexed": true,
1086
- "internalType": "uint64",
952
+ "internalType": "uint256",
1087
953
  "name": "requestId",
1088
- "type": "uint64"
954
+ "type": "uint256"
1089
955
  },
1090
956
  {
1091
957
  "indexed": false,
@@ -1126,9 +992,9 @@
1126
992
  },
1127
993
  {
1128
994
  "indexed": true,
1129
- "internalType": "uint64",
995
+ "internalType": "uint256",
1130
996
  "name": "requestId",
1131
- "type": "uint64"
997
+ "type": "uint256"
1132
998
  },
1133
999
  {
1134
1000
  "indexed": false,
@@ -1163,9 +1029,9 @@
1163
1029
  },
1164
1030
  {
1165
1031
  "indexed": true,
1166
- "internalType": "uint64",
1032
+ "internalType": "uint256",
1167
1033
  "name": "requestId",
1168
- "type": "uint64"
1034
+ "type": "uint256"
1169
1035
  },
1170
1036
  {
1171
1037
  "indexed": false,
@@ -1194,9 +1060,9 @@
1194
1060
  },
1195
1061
  {
1196
1062
  "indexed": true,
1197
- "internalType": "uint64",
1063
+ "internalType": "uint256",
1198
1064
  "name": "requestId",
1199
- "type": "uint64"
1065
+ "type": "uint256"
1200
1066
  },
1201
1067
  {
1202
1068
  "indexed": false,
@@ -1227,86 +1093,6 @@
1227
1093
  "name": "RedemptionRequestIncomplete",
1228
1094
  "type": "event"
1229
1095
  },
1230
- {
1231
- "anonymous": false,
1232
- "inputs": [
1233
- {
1234
- "indexed": true,
1235
- "internalType": "address",
1236
- "name": "agentVault",
1237
- "type": "address"
1238
- },
1239
- {
1240
- "indexed": true,
1241
- "internalType": "address",
1242
- "name": "redeemer",
1243
- "type": "address"
1244
- },
1245
- {
1246
- "indexed": true,
1247
- "internalType": "uint64",
1248
- "name": "requestId",
1249
- "type": "uint64"
1250
- },
1251
- {
1252
- "indexed": false,
1253
- "internalType": "string",
1254
- "name": "paymentAddress",
1255
- "type": "string"
1256
- },
1257
- {
1258
- "indexed": false,
1259
- "internalType": "uint256",
1260
- "name": "valueUBA",
1261
- "type": "uint256"
1262
- }
1263
- ],
1264
- "name": "RedemptionRequestRejected",
1265
- "type": "event"
1266
- },
1267
- {
1268
- "anonymous": false,
1269
- "inputs": [
1270
- {
1271
- "indexed": true,
1272
- "internalType": "address",
1273
- "name": "agentVault",
1274
- "type": "address"
1275
- },
1276
- {
1277
- "indexed": true,
1278
- "internalType": "address",
1279
- "name": "redeemer",
1280
- "type": "address"
1281
- },
1282
- {
1283
- "indexed": true,
1284
- "internalType": "uint64",
1285
- "name": "requestId",
1286
- "type": "uint64"
1287
- },
1288
- {
1289
- "indexed": false,
1290
- "internalType": "uint256",
1291
- "name": "valueTakenOverUBA",
1292
- "type": "uint256"
1293
- },
1294
- {
1295
- "indexed": false,
1296
- "internalType": "address",
1297
- "name": "newAgentVault",
1298
- "type": "address"
1299
- },
1300
- {
1301
- "indexed": false,
1302
- "internalType": "uint64",
1303
- "name": "newRequestId",
1304
- "type": "uint64"
1305
- }
1306
- ],
1307
- "name": "RedemptionRequestTakenOver",
1308
- "type": "event"
1309
- },
1310
1096
  {
1311
1097
  "anonymous": false,
1312
1098
  "inputs": [
@@ -1629,9 +1415,9 @@
1629
1415
  },
1630
1416
  {
1631
1417
  "indexed": true,
1632
- "internalType": "uint64",
1418
+ "internalType": "uint256",
1633
1419
  "name": "announcementId",
1634
- "type": "uint64"
1420
+ "type": "uint256"
1635
1421
  },
1636
1422
  {
1637
1423
  "indexed": false,
@@ -1654,9 +1440,9 @@
1654
1440
  },
1655
1441
  {
1656
1442
  "indexed": true,
1657
- "internalType": "uint64",
1443
+ "internalType": "uint256",
1658
1444
  "name": "announcementId",
1659
- "type": "uint64"
1445
+ "type": "uint256"
1660
1446
  }
1661
1447
  ],
1662
1448
  "name": "UnderlyingWithdrawalCancelled",
@@ -1673,9 +1459,9 @@
1673
1459
  },
1674
1460
  {
1675
1461
  "indexed": true,
1676
- "internalType": "uint64",
1462
+ "internalType": "uint256",
1677
1463
  "name": "announcementId",
1678
- "type": "uint64"
1464
+ "type": "uint256"
1679
1465
  },
1680
1466
  {
1681
1467
  "indexed": false,
@@ -396,9 +396,9 @@
396
396
  {
397
397
  "inputs": [
398
398
  {
399
- "internalType": "uint64",
399
+ "internalType": "uint256",
400
400
  "name": "_lots",
401
- "type": "uint64"
401
+ "type": "uint256"
402
402
  },
403
403
  {
404
404
  "internalType": "string",
@@ -419,9 +419,9 @@
419
419
  "type": "address"
420
420
  },
421
421
  {
422
- "internalType": "uint64",
422
+ "internalType": "uint256",
423
423
  "name": "_lots",
424
- "type": "uint64"
424
+ "type": "uint256"
425
425
  }
426
426
  ],
427
427
  "name": "requestReturnFromCoreVault",
@@ -444,26 +444,7 @@
444
444
  ],
445
445
  "name": "transferToCoreVault",
446
446
  "outputs": [],
447
- "stateMutability": "payable",
448
- "type": "function"
449
- },
450
- {
451
- "inputs": [
452
- {
453
- "internalType": "uint256",
454
- "name": "_amountUBA",
455
- "type": "uint256"
456
- }
457
- ],
458
- "name": "transferToCoreVaultFee",
459
- "outputs": [
460
- {
461
- "internalType": "uint256",
462
- "name": "_transferFeeNatWei",
463
- "type": "uint256"
464
- }
465
- ],
466
- "stateMutability": "view",
447
+ "stateMutability": "nonpayable",
467
448
  "type": "function"
468
449
  }
469
450
  ]
@@ -64,19 +64,6 @@
64
64
  "stateMutability": "view",
65
65
  "type": "function"
66
66
  },
67
- {
68
- "inputs": [],
69
- "name": "getCoreVaultTransferFeeBIPS",
70
- "outputs": [
71
- {
72
- "internalType": "uint256",
73
- "name": "",
74
- "type": "uint256"
75
- }
76
- ],
77
- "stateMutability": "view",
78
- "type": "function"
79
- },
80
67
  {
81
68
  "inputs": [],
82
69
  "name": "getCoreVaultTransferTimeExtensionSeconds",
@@ -155,19 +142,6 @@
155
142
  "stateMutability": "nonpayable",
156
143
  "type": "function"
157
144
  },
158
- {
159
- "inputs": [
160
- {
161
- "internalType": "uint256",
162
- "name": "_transferFeeBIPS",
163
- "type": "uint256"
164
- }
165
- ],
166
- "name": "setCoreVaultTransferFeeBIPS",
167
- "outputs": [],
168
- "stateMutability": "nonpayable",
169
- "type": "function"
170
- },
171
145
  {
172
146
  "inputs": [
173
147
  {
@@ -475,113 +475,6 @@
475
475
  "stateMutability": "view",
476
476
  "type": "function"
477
477
  },
478
- {
479
- "inputs": [
480
- {
481
- "components": [
482
- {
483
- "internalType": "bytes32[]",
484
- "name": "merkleProof",
485
- "type": "bytes32[]"
486
- },
487
- {
488
- "components": [
489
- {
490
- "internalType": "bytes32",
491
- "name": "attestationType",
492
- "type": "bytes32"
493
- },
494
- {
495
- "internalType": "bytes32",
496
- "name": "sourceId",
497
- "type": "bytes32"
498
- },
499
- {
500
- "internalType": "uint64",
501
- "name": "votingRound",
502
- "type": "uint64"
503
- },
504
- {
505
- "internalType": "uint64",
506
- "name": "lowestUsedTimestamp",
507
- "type": "uint64"
508
- },
509
- {
510
- "components": [
511
- {
512
- "internalType": "string",
513
- "name": "url",
514
- "type": "string"
515
- },
516
- {
517
- "internalType": "string",
518
- "name": "httpMethod",
519
- "type": "string"
520
- },
521
- {
522
- "internalType": "string",
523
- "name": "headers",
524
- "type": "string"
525
- },
526
- {
527
- "internalType": "string",
528
- "name": "queryParams",
529
- "type": "string"
530
- },
531
- {
532
- "internalType": "string",
533
- "name": "body",
534
- "type": "string"
535
- },
536
- {
537
- "internalType": "string",
538
- "name": "postProcessJq",
539
- "type": "string"
540
- },
541
- {
542
- "internalType": "string",
543
- "name": "abiSignature",
544
- "type": "string"
545
- }
546
- ],
547
- "internalType": "struct IWeb2Json.RequestBody",
548
- "name": "requestBody",
549
- "type": "tuple"
550
- },
551
- {
552
- "components": [
553
- {
554
- "internalType": "bytes",
555
- "name": "abiEncodedData",
556
- "type": "bytes"
557
- }
558
- ],
559
- "internalType": "struct IWeb2Json.ResponseBody",
560
- "name": "responseBody",
561
- "type": "tuple"
562
- }
563
- ],
564
- "internalType": "struct IWeb2Json.Response",
565
- "name": "data",
566
- "type": "tuple"
567
- }
568
- ],
569
- "internalType": "struct IWeb2Json.Proof",
570
- "name": "_proof",
571
- "type": "tuple"
572
- }
573
- ],
574
- "name": "verifyJsonApi",
575
- "outputs": [
576
- {
577
- "internalType": "bool",
578
- "name": "_proved",
579
- "type": "bool"
580
- }
581
- ],
582
- "stateMutability": "view",
583
- "type": "function"
584
- },
585
478
  {
586
479
  "inputs": [
587
480
  {
@@ -850,5 +743,112 @@
850
743
  ],
851
744
  "stateMutability": "view",
852
745
  "type": "function"
746
+ },
747
+ {
748
+ "inputs": [
749
+ {
750
+ "components": [
751
+ {
752
+ "internalType": "bytes32[]",
753
+ "name": "merkleProof",
754
+ "type": "bytes32[]"
755
+ },
756
+ {
757
+ "components": [
758
+ {
759
+ "internalType": "bytes32",
760
+ "name": "attestationType",
761
+ "type": "bytes32"
762
+ },
763
+ {
764
+ "internalType": "bytes32",
765
+ "name": "sourceId",
766
+ "type": "bytes32"
767
+ },
768
+ {
769
+ "internalType": "uint64",
770
+ "name": "votingRound",
771
+ "type": "uint64"
772
+ },
773
+ {
774
+ "internalType": "uint64",
775
+ "name": "lowestUsedTimestamp",
776
+ "type": "uint64"
777
+ },
778
+ {
779
+ "components": [
780
+ {
781
+ "internalType": "string",
782
+ "name": "url",
783
+ "type": "string"
784
+ },
785
+ {
786
+ "internalType": "string",
787
+ "name": "httpMethod",
788
+ "type": "string"
789
+ },
790
+ {
791
+ "internalType": "string",
792
+ "name": "headers",
793
+ "type": "string"
794
+ },
795
+ {
796
+ "internalType": "string",
797
+ "name": "queryParams",
798
+ "type": "string"
799
+ },
800
+ {
801
+ "internalType": "string",
802
+ "name": "body",
803
+ "type": "string"
804
+ },
805
+ {
806
+ "internalType": "string",
807
+ "name": "postProcessJq",
808
+ "type": "string"
809
+ },
810
+ {
811
+ "internalType": "string",
812
+ "name": "abiSignature",
813
+ "type": "string"
814
+ }
815
+ ],
816
+ "internalType": "struct IWeb2Json.RequestBody",
817
+ "name": "requestBody",
818
+ "type": "tuple"
819
+ },
820
+ {
821
+ "components": [
822
+ {
823
+ "internalType": "bytes",
824
+ "name": "abiEncodedData",
825
+ "type": "bytes"
826
+ }
827
+ ],
828
+ "internalType": "struct IWeb2Json.ResponseBody",
829
+ "name": "responseBody",
830
+ "type": "tuple"
831
+ }
832
+ ],
833
+ "internalType": "struct IWeb2Json.Response",
834
+ "name": "data",
835
+ "type": "tuple"
836
+ }
837
+ ],
838
+ "internalType": "struct IWeb2Json.Proof",
839
+ "name": "_proof",
840
+ "type": "tuple"
841
+ }
842
+ ],
843
+ "name": "verifyWeb2Json",
844
+ "outputs": [
845
+ {
846
+ "internalType": "bool",
847
+ "name": "_proved",
848
+ "type": "bool"
849
+ }
850
+ ],
851
+ "stateMutability": "view",
852
+ "type": "function"
853
853
  }
854
854
  ]
@@ -95,7 +95,7 @@
95
95
  "type": "tuple"
96
96
  }
97
97
  ],
98
- "name": "verifyJsonApi",
98
+ "name": "verifyWeb2Json",
99
99
  "outputs": [
100
100
  {
101
101
  "internalType": "bool",