@eco-foundation/api-schemas 0.7.0 → 0.9.0
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.
- package/README.md +104 -13
- package/dist/fixtures/index.js +6 -6
- package/dist/fixtures/index.js.map +1 -1
- package/dist/fixtures/v1/deposit-addresses-create.request.gateway-erc20.json +1 -1
- package/dist/fixtures/v1/deposit-addresses-create.response.gateway-erc20.json +1 -1
- package/dist/fixtures/v1/deposit-addresses-lookup.response.default.json +1 -1
- package/dist/fixtures/v1/intents-status.response.quote-filled-detail.json +60 -0
- package/dist/fixtures/v1/{quotes-create.request.public-swap.json → quotes-create.request.swap.json} +4 -4
- package/dist/fixtures/v1/quotes-create.response.all-quotes.json +288 -81
- package/dist/fixtures/v1/quotes-create.response.swap.json +228 -0
- package/dist/generated/build-digest.json +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/openapi.js +18 -0
- package/dist/openapi.js.map +1 -1
- package/dist/v1/endpoints/deposit-addresses.d.ts +12 -12
- package/dist/v1/endpoints/deposit-addresses.js +9 -9
- package/dist/v1/endpoints/quotes.d.ts +344 -194
- package/dist/v1/endpoints/quotes.js +51 -61
- package/dist/v1/endpoints/quotes.js.map +1 -1
- package/dist/v1/endpoints/registry.d.ts +115 -77
- package/dist/v1/endpoints/routes.js +1 -1
- package/dist/v1/endpoints/routes.js.map +1 -1
- package/dist/v1/endpoints/status.d.ts +4 -0
- package/dist/v1/endpoints/status.js +1 -0
- package/dist/v1/endpoints/status.js.map +1 -1
- package/dist/v1/enums.d.ts +12 -30
- package/dist/v1/enums.js +10 -15
- package/dist/v1/enums.js.map +1 -1
- package/dist/v1/types.d.ts +43 -43
- package/openapi/v1.json +1079 -675
- package/package.json +1 -1
- package/dist/fixtures/v1/quotes-create.response.private-swap.json +0 -153
- package/dist/fixtures/v1/quotes-create.response.public-swap.json +0 -159
package/openapi/v1.json
CHANGED
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"schema": {
|
|
43
43
|
"type": "object",
|
|
44
44
|
"properties": {
|
|
45
|
-
"
|
|
45
|
+
"type": {
|
|
46
46
|
"type": "string",
|
|
47
47
|
"enum": [
|
|
48
48
|
"exact-in",
|
|
@@ -87,11 +87,36 @@
|
|
|
87
87
|
"maxLength": 78,
|
|
88
88
|
"pattern": "^(0|[1-9]\\d*)$",
|
|
89
89
|
"description": "Base-10 unsigned integer string in smallest units; must be greater than 0"
|
|
90
|
+
},
|
|
91
|
+
"funder": {
|
|
92
|
+
"anyOf": [
|
|
93
|
+
{
|
|
94
|
+
"type": "string",
|
|
95
|
+
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"anyOf": [
|
|
99
|
+
{
|
|
100
|
+
"type": "string",
|
|
101
|
+
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"type": "string",
|
|
105
|
+
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
106
|
+
}
|
|
107
|
+
]
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"type": "string",
|
|
111
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
112
|
+
}
|
|
113
|
+
]
|
|
90
114
|
}
|
|
91
115
|
},
|
|
92
116
|
"required": [
|
|
93
117
|
"chainId",
|
|
94
|
-
"token"
|
|
118
|
+
"token",
|
|
119
|
+
"funder"
|
|
95
120
|
],
|
|
96
121
|
"additionalProperties": false
|
|
97
122
|
},
|
|
@@ -236,34 +261,11 @@
|
|
|
236
261
|
},
|
|
237
262
|
"required": [
|
|
238
263
|
"chainId",
|
|
239
|
-
"token"
|
|
264
|
+
"token",
|
|
265
|
+
"recipient"
|
|
240
266
|
],
|
|
241
267
|
"additionalProperties": false
|
|
242
268
|
},
|
|
243
|
-
"funder": {
|
|
244
|
-
"anyOf": [
|
|
245
|
-
{
|
|
246
|
-
"type": "string",
|
|
247
|
-
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
248
|
-
},
|
|
249
|
-
{
|
|
250
|
-
"anyOf": [
|
|
251
|
-
{
|
|
252
|
-
"type": "string",
|
|
253
|
-
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
254
|
-
},
|
|
255
|
-
{
|
|
256
|
-
"type": "string",
|
|
257
|
-
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
258
|
-
}
|
|
259
|
-
]
|
|
260
|
-
},
|
|
261
|
-
{
|
|
262
|
-
"type": "string",
|
|
263
|
-
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
264
|
-
}
|
|
265
|
-
]
|
|
266
|
-
},
|
|
267
269
|
"refundRecipient": {
|
|
268
270
|
"anyOf": [
|
|
269
271
|
{
|
|
@@ -307,13 +309,6 @@
|
|
|
307
309
|
"exclusiveMinimum": 0,
|
|
308
310
|
"maximum": 9007199254740991
|
|
309
311
|
},
|
|
310
|
-
"visibility": {
|
|
311
|
-
"type": "string",
|
|
312
|
-
"enum": [
|
|
313
|
-
"public",
|
|
314
|
-
"private"
|
|
315
|
-
]
|
|
316
|
-
},
|
|
317
312
|
"allQuotes": {
|
|
318
313
|
"type": "boolean"
|
|
319
314
|
}
|
|
@@ -322,10 +317,10 @@
|
|
|
322
317
|
}
|
|
323
318
|
},
|
|
324
319
|
"required": [
|
|
325
|
-
"
|
|
320
|
+
"type",
|
|
326
321
|
"source",
|
|
327
322
|
"destination",
|
|
328
|
-
"
|
|
323
|
+
"dappId"
|
|
329
324
|
],
|
|
330
325
|
"additionalProperties": false
|
|
331
326
|
}
|
|
@@ -344,7 +339,7 @@
|
|
|
344
339
|
"type": "string",
|
|
345
340
|
"pattern": "^quote:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
|
|
346
341
|
},
|
|
347
|
-
"
|
|
342
|
+
"type": {
|
|
348
343
|
"type": "string",
|
|
349
344
|
"enum": [
|
|
350
345
|
"exact-in",
|
|
@@ -352,20 +347,6 @@
|
|
|
352
347
|
"custom"
|
|
353
348
|
]
|
|
354
349
|
},
|
|
355
|
-
"visibility": {
|
|
356
|
-
"type": "string",
|
|
357
|
-
"enum": [
|
|
358
|
-
"public",
|
|
359
|
-
"private"
|
|
360
|
-
]
|
|
361
|
-
},
|
|
362
|
-
"guarantee": {
|
|
363
|
-
"type": "string",
|
|
364
|
-
"enum": [
|
|
365
|
-
"atomic-or-refund",
|
|
366
|
-
"calls-execute-or-refund"
|
|
367
|
-
]
|
|
368
|
-
},
|
|
369
350
|
"source": {
|
|
370
351
|
"type": "object",
|
|
371
352
|
"properties": {
|
|
@@ -403,6 +384,30 @@
|
|
|
403
384
|
"maxLength": 78,
|
|
404
385
|
"pattern": "^(0|[1-9]\\d*)$"
|
|
405
386
|
},
|
|
387
|
+
"funder": {
|
|
388
|
+
"anyOf": [
|
|
389
|
+
{
|
|
390
|
+
"type": "string",
|
|
391
|
+
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"anyOf": [
|
|
395
|
+
{
|
|
396
|
+
"type": "string",
|
|
397
|
+
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"type": "string",
|
|
401
|
+
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
402
|
+
}
|
|
403
|
+
]
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
"type": "string",
|
|
407
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
408
|
+
}
|
|
409
|
+
]
|
|
410
|
+
},
|
|
406
411
|
"symbol": {
|
|
407
412
|
"anyOf": [
|
|
408
413
|
{
|
|
@@ -430,10 +435,10 @@
|
|
|
430
435
|
"chainId",
|
|
431
436
|
"token",
|
|
432
437
|
"amount",
|
|
438
|
+
"funder",
|
|
433
439
|
"symbol",
|
|
434
440
|
"decimals"
|
|
435
|
-
]
|
|
436
|
-
"additionalProperties": {}
|
|
441
|
+
]
|
|
437
442
|
},
|
|
438
443
|
"destination": {
|
|
439
444
|
"type": "object",
|
|
@@ -467,7 +472,7 @@
|
|
|
467
472
|
}
|
|
468
473
|
]
|
|
469
474
|
},
|
|
470
|
-
"
|
|
475
|
+
"amountOut": {
|
|
471
476
|
"type": "string",
|
|
472
477
|
"maxLength": 78,
|
|
473
478
|
"pattern": "^(0|[1-9]\\d*)$"
|
|
@@ -534,13 +539,12 @@
|
|
|
534
539
|
"required": [
|
|
535
540
|
"chainId",
|
|
536
541
|
"token",
|
|
537
|
-
"
|
|
542
|
+
"amountOut",
|
|
538
543
|
"minAmountOut",
|
|
539
544
|
"recipient",
|
|
540
545
|
"symbol",
|
|
541
546
|
"decimals"
|
|
542
|
-
]
|
|
543
|
-
"additionalProperties": {}
|
|
547
|
+
]
|
|
544
548
|
},
|
|
545
549
|
"slippage": {
|
|
546
550
|
"type": "number",
|
|
@@ -552,7 +556,7 @@
|
|
|
552
556
|
"items": {
|
|
553
557
|
"type": "object",
|
|
554
558
|
"properties": {
|
|
555
|
-
"
|
|
559
|
+
"type": {
|
|
556
560
|
"type": "string",
|
|
557
561
|
"enum": [
|
|
558
562
|
"gas",
|
|
@@ -626,20 +630,18 @@
|
|
|
626
630
|
"address",
|
|
627
631
|
"symbol",
|
|
628
632
|
"decimals"
|
|
629
|
-
]
|
|
630
|
-
"additionalProperties": {}
|
|
633
|
+
]
|
|
631
634
|
},
|
|
632
635
|
"estimate": {
|
|
633
636
|
"type": "boolean"
|
|
634
637
|
}
|
|
635
638
|
},
|
|
636
639
|
"required": [
|
|
637
|
-
"
|
|
640
|
+
"type",
|
|
638
641
|
"amount",
|
|
639
642
|
"token",
|
|
640
643
|
"estimate"
|
|
641
|
-
]
|
|
642
|
-
"additionalProperties": {}
|
|
644
|
+
]
|
|
643
645
|
}
|
|
644
646
|
},
|
|
645
647
|
"steps": {
|
|
@@ -647,7 +649,7 @@
|
|
|
647
649
|
"items": {
|
|
648
650
|
"type": "object",
|
|
649
651
|
"properties": {
|
|
650
|
-
"
|
|
652
|
+
"type": {
|
|
651
653
|
"type": "string",
|
|
652
654
|
"enum": [
|
|
653
655
|
"swap",
|
|
@@ -656,7 +658,7 @@
|
|
|
656
658
|
"transfer"
|
|
657
659
|
]
|
|
658
660
|
},
|
|
659
|
-
"
|
|
661
|
+
"provider": {
|
|
660
662
|
"type": "string",
|
|
661
663
|
"minLength": 1
|
|
662
664
|
},
|
|
@@ -706,8 +708,7 @@
|
|
|
706
708
|
"chainId",
|
|
707
709
|
"token",
|
|
708
710
|
"amount"
|
|
709
|
-
]
|
|
710
|
-
"additionalProperties": {}
|
|
711
|
+
]
|
|
711
712
|
},
|
|
712
713
|
"to": {
|
|
713
714
|
"type": "object",
|
|
@@ -751,15 +752,14 @@
|
|
|
751
752
|
"chainId",
|
|
752
753
|
"token",
|
|
753
754
|
"amount"
|
|
754
|
-
]
|
|
755
|
-
"additionalProperties": {}
|
|
755
|
+
]
|
|
756
756
|
},
|
|
757
757
|
"fees": {
|
|
758
758
|
"type": "array",
|
|
759
759
|
"items": {
|
|
760
760
|
"type": "object",
|
|
761
761
|
"properties": {
|
|
762
|
-
"
|
|
762
|
+
"type": {
|
|
763
763
|
"type": "string",
|
|
764
764
|
"enum": [
|
|
765
765
|
"gas",
|
|
@@ -833,211 +833,476 @@
|
|
|
833
833
|
"address",
|
|
834
834
|
"symbol",
|
|
835
835
|
"decimals"
|
|
836
|
-
]
|
|
837
|
-
"additionalProperties": {}
|
|
836
|
+
]
|
|
838
837
|
},
|
|
839
838
|
"estimate": {
|
|
840
839
|
"type": "boolean"
|
|
841
840
|
}
|
|
842
841
|
},
|
|
843
842
|
"required": [
|
|
844
|
-
"
|
|
843
|
+
"type",
|
|
845
844
|
"amount",
|
|
846
845
|
"token",
|
|
847
846
|
"estimate"
|
|
848
|
-
]
|
|
849
|
-
"additionalProperties": {}
|
|
847
|
+
]
|
|
850
848
|
}
|
|
851
849
|
},
|
|
852
850
|
"estimatedDurationSec": {
|
|
853
851
|
"type": "integer",
|
|
854
852
|
"minimum": 0,
|
|
855
853
|
"maximum": 9007199254740991
|
|
856
|
-
}
|
|
857
|
-
},
|
|
858
|
-
"required": [
|
|
859
|
-
"kind",
|
|
860
|
-
"tool",
|
|
861
|
-
"from",
|
|
862
|
-
"to",
|
|
863
|
-
"fees",
|
|
864
|
-
"estimatedDurationSec"
|
|
865
|
-
],
|
|
866
|
-
"additionalProperties": {}
|
|
867
|
-
}
|
|
868
|
-
},
|
|
869
|
-
"relatedIntents": {
|
|
870
|
-
"type": "array",
|
|
871
|
-
"items": {
|
|
872
|
-
"type": "object",
|
|
873
|
-
"properties": {
|
|
874
|
-
"role": {
|
|
875
|
-
"type": "string",
|
|
876
|
-
"enum": [
|
|
877
|
-
"local",
|
|
878
|
-
"bucket-candidate",
|
|
879
|
-
"stitched-destination"
|
|
880
|
-
]
|
|
881
|
-
},
|
|
882
|
-
"intentHash": {
|
|
883
|
-
"type": "string",
|
|
884
|
-
"pattern": "^0x[0-9a-fA-F]{64}$"
|
|
885
854
|
},
|
|
886
|
-
"
|
|
887
|
-
"type": "
|
|
888
|
-
"
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
"minimum": 0,
|
|
893
|
-
"maximum": 9007199254740991
|
|
894
|
-
}
|
|
895
|
-
},
|
|
896
|
-
"required": [
|
|
897
|
-
"role",
|
|
898
|
-
"intentHash"
|
|
899
|
-
],
|
|
900
|
-
"additionalProperties": {}
|
|
901
|
-
}
|
|
902
|
-
},
|
|
903
|
-
"solver": {
|
|
904
|
-
"type": "object",
|
|
905
|
-
"properties": {
|
|
906
|
-
"id": {
|
|
907
|
-
"anyOf": [
|
|
908
|
-
{
|
|
909
|
-
"type": "string",
|
|
910
|
-
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
911
|
-
},
|
|
912
|
-
{
|
|
913
|
-
"anyOf": [
|
|
914
|
-
{
|
|
855
|
+
"intents": {
|
|
856
|
+
"type": "array",
|
|
857
|
+
"items": {
|
|
858
|
+
"type": "object",
|
|
859
|
+
"properties": {
|
|
860
|
+
"role": {
|
|
915
861
|
"type": "string",
|
|
916
|
-
"
|
|
862
|
+
"enum": [
|
|
863
|
+
"local",
|
|
864
|
+
"bucket-candidate",
|
|
865
|
+
"stitched-destination"
|
|
866
|
+
]
|
|
917
867
|
},
|
|
918
|
-
{
|
|
868
|
+
"intentHash": {
|
|
919
869
|
"type": "string",
|
|
920
|
-
"pattern": "^
|
|
921
|
-
}
|
|
922
|
-
]
|
|
923
|
-
},
|
|
924
|
-
{
|
|
925
|
-
"type": "string",
|
|
926
|
-
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
927
|
-
}
|
|
928
|
-
]
|
|
929
|
-
},
|
|
930
|
-
"name": {
|
|
931
|
-
"type": "string",
|
|
932
|
-
"minLength": 1
|
|
933
|
-
}
|
|
934
|
-
},
|
|
935
|
-
"required": [
|
|
936
|
-
"id"
|
|
937
|
-
],
|
|
938
|
-
"additionalProperties": {}
|
|
939
|
-
},
|
|
940
|
-
"intentHash": {
|
|
941
|
-
"anyOf": [
|
|
942
|
-
{
|
|
943
|
-
"type": "string",
|
|
944
|
-
"pattern": "^0x[0-9a-fA-F]{64}$"
|
|
945
|
-
},
|
|
946
|
-
{
|
|
947
|
-
"type": "null"
|
|
948
|
-
}
|
|
949
|
-
]
|
|
950
|
-
},
|
|
951
|
-
"execution": {
|
|
952
|
-
"anyOf": [
|
|
953
|
-
{
|
|
954
|
-
"type": "object",
|
|
955
|
-
"properties": {
|
|
956
|
-
"transaction": {
|
|
957
|
-
"oneOf": [
|
|
958
|
-
{
|
|
959
|
-
"type": "object",
|
|
960
|
-
"properties": {
|
|
961
|
-
"kind": {
|
|
962
|
-
"type": "string",
|
|
963
|
-
"const": "evm"
|
|
964
|
-
},
|
|
965
|
-
"chainId": {
|
|
966
|
-
"type": "integer",
|
|
967
|
-
"exclusiveMinimum": 0,
|
|
968
|
-
"maximum": 9007199254740991
|
|
969
|
-
},
|
|
970
|
-
"to": {
|
|
971
|
-
"type": "string",
|
|
972
|
-
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
973
|
-
},
|
|
974
|
-
"data": {
|
|
975
|
-
"type": "string",
|
|
976
|
-
"pattern": "^0x(?:[0-9a-fA-F]{2})*$"
|
|
977
|
-
},
|
|
978
|
-
"value": {
|
|
979
|
-
"type": "string",
|
|
980
|
-
"maxLength": 78,
|
|
981
|
-
"pattern": "^(0|[1-9]\\d*)$"
|
|
982
|
-
}
|
|
983
|
-
},
|
|
984
|
-
"required": [
|
|
985
|
-
"kind",
|
|
986
|
-
"chainId",
|
|
987
|
-
"to",
|
|
988
|
-
"data",
|
|
989
|
-
"value"
|
|
990
|
-
],
|
|
991
|
-
"additionalProperties": {}
|
|
870
|
+
"pattern": "^0x[0-9a-fA-F]{64}$"
|
|
992
871
|
},
|
|
993
|
-
{
|
|
872
|
+
"routeHash": {
|
|
873
|
+
"type": "string",
|
|
874
|
+
"pattern": "^0x[0-9a-fA-F]{64}$"
|
|
875
|
+
},
|
|
876
|
+
"bucketIndex": {
|
|
877
|
+
"type": "integer",
|
|
878
|
+
"minimum": 0,
|
|
879
|
+
"maximum": 9007199254740991
|
|
880
|
+
},
|
|
881
|
+
"intent": {
|
|
994
882
|
"type": "object",
|
|
995
883
|
"properties": {
|
|
996
|
-
"
|
|
997
|
-
"type": "
|
|
998
|
-
"
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
"
|
|
1014
|
-
|
|
1015
|
-
"
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
"
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
"
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
"
|
|
1033
|
-
}
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
884
|
+
"route": {
|
|
885
|
+
"type": "object",
|
|
886
|
+
"properties": {
|
|
887
|
+
"salt": {
|
|
888
|
+
"type": "string",
|
|
889
|
+
"pattern": "^0x[0-9a-fA-F]{64}$"
|
|
890
|
+
},
|
|
891
|
+
"deadline": {
|
|
892
|
+
"type": "integer",
|
|
893
|
+
"minimum": 0,
|
|
894
|
+
"maximum": 4102444800
|
|
895
|
+
},
|
|
896
|
+
"source": {
|
|
897
|
+
"type": "integer",
|
|
898
|
+
"exclusiveMinimum": 0,
|
|
899
|
+
"maximum": 9007199254740991
|
|
900
|
+
},
|
|
901
|
+
"destination": {
|
|
902
|
+
"type": "integer",
|
|
903
|
+
"exclusiveMinimum": 0,
|
|
904
|
+
"maximum": 9007199254740991
|
|
905
|
+
},
|
|
906
|
+
"portal": {
|
|
907
|
+
"anyOf": [
|
|
908
|
+
{
|
|
909
|
+
"type": "string",
|
|
910
|
+
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
"anyOf": [
|
|
914
|
+
{
|
|
915
|
+
"type": "string",
|
|
916
|
+
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
917
|
+
},
|
|
918
|
+
{
|
|
919
|
+
"type": "string",
|
|
920
|
+
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
921
|
+
}
|
|
922
|
+
]
|
|
923
|
+
},
|
|
924
|
+
{
|
|
925
|
+
"type": "string",
|
|
926
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
927
|
+
}
|
|
928
|
+
]
|
|
929
|
+
},
|
|
930
|
+
"nativeAmount": {
|
|
931
|
+
"type": "string",
|
|
932
|
+
"maxLength": 78,
|
|
933
|
+
"pattern": "^(0|[1-9]\\d*)$"
|
|
934
|
+
},
|
|
935
|
+
"tokens": {
|
|
936
|
+
"type": "array",
|
|
937
|
+
"items": {
|
|
938
|
+
"type": "object",
|
|
939
|
+
"properties": {
|
|
940
|
+
"token": {
|
|
941
|
+
"anyOf": [
|
|
942
|
+
{
|
|
943
|
+
"type": "string",
|
|
944
|
+
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
945
|
+
},
|
|
946
|
+
{
|
|
947
|
+
"anyOf": [
|
|
948
|
+
{
|
|
949
|
+
"type": "string",
|
|
950
|
+
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
951
|
+
},
|
|
952
|
+
{
|
|
953
|
+
"type": "string",
|
|
954
|
+
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
955
|
+
}
|
|
956
|
+
]
|
|
957
|
+
},
|
|
958
|
+
{
|
|
959
|
+
"type": "string",
|
|
960
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
961
|
+
}
|
|
962
|
+
]
|
|
963
|
+
},
|
|
964
|
+
"amount": {
|
|
965
|
+
"type": "string",
|
|
966
|
+
"maxLength": 78,
|
|
967
|
+
"pattern": "^(0|[1-9]\\d*)$"
|
|
968
|
+
}
|
|
969
|
+
},
|
|
970
|
+
"required": [
|
|
971
|
+
"token",
|
|
972
|
+
"amount"
|
|
973
|
+
]
|
|
974
|
+
}
|
|
975
|
+
},
|
|
976
|
+
"calls": {
|
|
977
|
+
"type": "array",
|
|
978
|
+
"items": {
|
|
979
|
+
"type": "object",
|
|
980
|
+
"properties": {
|
|
981
|
+
"target": {
|
|
982
|
+
"anyOf": [
|
|
983
|
+
{
|
|
984
|
+
"type": "string",
|
|
985
|
+
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
986
|
+
},
|
|
987
|
+
{
|
|
988
|
+
"anyOf": [
|
|
989
|
+
{
|
|
990
|
+
"type": "string",
|
|
991
|
+
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
992
|
+
},
|
|
993
|
+
{
|
|
994
|
+
"type": "string",
|
|
995
|
+
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
996
|
+
}
|
|
997
|
+
]
|
|
998
|
+
},
|
|
999
|
+
{
|
|
1000
|
+
"type": "string",
|
|
1001
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
1002
|
+
}
|
|
1003
|
+
]
|
|
1004
|
+
},
|
|
1005
|
+
"data": {
|
|
1006
|
+
"type": "string",
|
|
1007
|
+
"pattern": "^0x(?:[0-9a-fA-F]{2})*$"
|
|
1008
|
+
},
|
|
1009
|
+
"value": {
|
|
1010
|
+
"type": "string",
|
|
1011
|
+
"maxLength": 78,
|
|
1012
|
+
"pattern": "^(0|[1-9]\\d*)$"
|
|
1013
|
+
}
|
|
1014
|
+
},
|
|
1015
|
+
"required": [
|
|
1016
|
+
"target",
|
|
1017
|
+
"data",
|
|
1018
|
+
"value"
|
|
1019
|
+
]
|
|
1020
|
+
}
|
|
1021
|
+
}
|
|
1022
|
+
},
|
|
1023
|
+
"required": [
|
|
1024
|
+
"salt",
|
|
1025
|
+
"deadline",
|
|
1026
|
+
"source",
|
|
1027
|
+
"destination",
|
|
1028
|
+
"portal",
|
|
1029
|
+
"nativeAmount",
|
|
1030
|
+
"tokens",
|
|
1031
|
+
"calls"
|
|
1032
|
+
]
|
|
1033
|
+
},
|
|
1034
|
+
"reward": {
|
|
1035
|
+
"type": "object",
|
|
1036
|
+
"properties": {
|
|
1037
|
+
"deadline": {
|
|
1038
|
+
"type": "integer",
|
|
1039
|
+
"minimum": 0,
|
|
1040
|
+
"maximum": 4102444800
|
|
1041
|
+
},
|
|
1042
|
+
"creator": {
|
|
1043
|
+
"anyOf": [
|
|
1044
|
+
{
|
|
1045
|
+
"type": "string",
|
|
1046
|
+
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
"anyOf": [
|
|
1050
|
+
{
|
|
1051
|
+
"type": "string",
|
|
1052
|
+
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
1053
|
+
},
|
|
1054
|
+
{
|
|
1055
|
+
"type": "string",
|
|
1056
|
+
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
1057
|
+
}
|
|
1058
|
+
]
|
|
1059
|
+
},
|
|
1060
|
+
{
|
|
1061
|
+
"type": "string",
|
|
1062
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
1063
|
+
}
|
|
1064
|
+
]
|
|
1065
|
+
},
|
|
1066
|
+
"prover": {
|
|
1067
|
+
"anyOf": [
|
|
1068
|
+
{
|
|
1069
|
+
"type": "string",
|
|
1070
|
+
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
"anyOf": [
|
|
1074
|
+
{
|
|
1075
|
+
"type": "string",
|
|
1076
|
+
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
1077
|
+
},
|
|
1078
|
+
{
|
|
1079
|
+
"type": "string",
|
|
1080
|
+
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
1081
|
+
}
|
|
1082
|
+
]
|
|
1083
|
+
},
|
|
1084
|
+
{
|
|
1085
|
+
"type": "string",
|
|
1086
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
1087
|
+
}
|
|
1088
|
+
]
|
|
1089
|
+
},
|
|
1090
|
+
"nativeAmount": {
|
|
1091
|
+
"type": "string",
|
|
1092
|
+
"maxLength": 78,
|
|
1093
|
+
"pattern": "^(0|[1-9]\\d*)$"
|
|
1094
|
+
},
|
|
1095
|
+
"tokens": {
|
|
1096
|
+
"type": "array",
|
|
1097
|
+
"items": {
|
|
1098
|
+
"type": "object",
|
|
1099
|
+
"properties": {
|
|
1100
|
+
"token": {
|
|
1101
|
+
"anyOf": [
|
|
1102
|
+
{
|
|
1103
|
+
"type": "string",
|
|
1104
|
+
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
1105
|
+
},
|
|
1106
|
+
{
|
|
1107
|
+
"anyOf": [
|
|
1108
|
+
{
|
|
1109
|
+
"type": "string",
|
|
1110
|
+
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
1111
|
+
},
|
|
1112
|
+
{
|
|
1113
|
+
"type": "string",
|
|
1114
|
+
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
1115
|
+
}
|
|
1116
|
+
]
|
|
1117
|
+
},
|
|
1118
|
+
{
|
|
1119
|
+
"type": "string",
|
|
1120
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
1121
|
+
}
|
|
1122
|
+
]
|
|
1123
|
+
},
|
|
1124
|
+
"amount": {
|
|
1125
|
+
"type": "string",
|
|
1126
|
+
"maxLength": 78,
|
|
1127
|
+
"pattern": "^(0|[1-9]\\d*)$"
|
|
1128
|
+
}
|
|
1129
|
+
},
|
|
1130
|
+
"required": [
|
|
1131
|
+
"token",
|
|
1132
|
+
"amount"
|
|
1133
|
+
]
|
|
1134
|
+
}
|
|
1135
|
+
}
|
|
1136
|
+
},
|
|
1137
|
+
"required": [
|
|
1138
|
+
"deadline",
|
|
1139
|
+
"creator",
|
|
1140
|
+
"prover",
|
|
1141
|
+
"nativeAmount",
|
|
1142
|
+
"tokens"
|
|
1143
|
+
]
|
|
1144
|
+
}
|
|
1145
|
+
},
|
|
1146
|
+
"required": [
|
|
1147
|
+
"route",
|
|
1148
|
+
"reward"
|
|
1149
|
+
]
|
|
1150
|
+
}
|
|
1151
|
+
},
|
|
1152
|
+
"required": [
|
|
1153
|
+
"role",
|
|
1154
|
+
"intentHash",
|
|
1155
|
+
"intent"
|
|
1156
|
+
]
|
|
1157
|
+
}
|
|
1158
|
+
}
|
|
1159
|
+
},
|
|
1160
|
+
"required": [
|
|
1161
|
+
"type",
|
|
1162
|
+
"provider",
|
|
1163
|
+
"from",
|
|
1164
|
+
"to",
|
|
1165
|
+
"fees",
|
|
1166
|
+
"estimatedDurationSec",
|
|
1167
|
+
"intents"
|
|
1168
|
+
]
|
|
1169
|
+
}
|
|
1170
|
+
},
|
|
1171
|
+
"solver": {
|
|
1172
|
+
"type": "object",
|
|
1173
|
+
"properties": {
|
|
1174
|
+
"id": {
|
|
1175
|
+
"anyOf": [
|
|
1176
|
+
{
|
|
1177
|
+
"type": "string",
|
|
1178
|
+
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
"anyOf": [
|
|
1182
|
+
{
|
|
1183
|
+
"type": "string",
|
|
1184
|
+
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
1185
|
+
},
|
|
1186
|
+
{
|
|
1187
|
+
"type": "string",
|
|
1188
|
+
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
1189
|
+
}
|
|
1190
|
+
]
|
|
1191
|
+
},
|
|
1192
|
+
{
|
|
1193
|
+
"type": "string",
|
|
1194
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
1195
|
+
}
|
|
1196
|
+
]
|
|
1197
|
+
},
|
|
1198
|
+
"name": {
|
|
1199
|
+
"type": "string",
|
|
1200
|
+
"minLength": 1
|
|
1201
|
+
}
|
|
1202
|
+
},
|
|
1203
|
+
"required": [
|
|
1204
|
+
"id"
|
|
1205
|
+
]
|
|
1206
|
+
},
|
|
1207
|
+
"intentHash": {
|
|
1208
|
+
"anyOf": [
|
|
1209
|
+
{
|
|
1210
|
+
"type": "string",
|
|
1211
|
+
"pattern": "^0x[0-9a-fA-F]{64}$"
|
|
1212
|
+
},
|
|
1213
|
+
{
|
|
1214
|
+
"type": "null"
|
|
1215
|
+
}
|
|
1216
|
+
]
|
|
1217
|
+
},
|
|
1218
|
+
"execution": {
|
|
1219
|
+
"anyOf": [
|
|
1220
|
+
{
|
|
1221
|
+
"type": "object",
|
|
1222
|
+
"properties": {
|
|
1223
|
+
"transaction": {
|
|
1224
|
+
"oneOf": [
|
|
1225
|
+
{
|
|
1226
|
+
"type": "object",
|
|
1227
|
+
"properties": {
|
|
1228
|
+
"type": {
|
|
1229
|
+
"type": "string",
|
|
1230
|
+
"const": "evm"
|
|
1231
|
+
},
|
|
1232
|
+
"chainId": {
|
|
1233
|
+
"type": "integer",
|
|
1234
|
+
"exclusiveMinimum": 0,
|
|
1235
|
+
"maximum": 9007199254740991
|
|
1236
|
+
},
|
|
1237
|
+
"to": {
|
|
1238
|
+
"type": "string",
|
|
1239
|
+
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
1240
|
+
},
|
|
1241
|
+
"data": {
|
|
1242
|
+
"type": "string",
|
|
1243
|
+
"pattern": "^0x(?:[0-9a-fA-F]{2})*$"
|
|
1244
|
+
},
|
|
1245
|
+
"value": {
|
|
1246
|
+
"type": "string",
|
|
1247
|
+
"maxLength": 78,
|
|
1248
|
+
"pattern": "^(0|[1-9]\\d*)$"
|
|
1249
|
+
}
|
|
1250
|
+
},
|
|
1251
|
+
"required": [
|
|
1252
|
+
"type",
|
|
1253
|
+
"chainId",
|
|
1254
|
+
"to",
|
|
1255
|
+
"data",
|
|
1256
|
+
"value"
|
|
1257
|
+
]
|
|
1258
|
+
},
|
|
1259
|
+
{
|
|
1260
|
+
"type": "object",
|
|
1261
|
+
"properties": {
|
|
1262
|
+
"type": {
|
|
1263
|
+
"type": "string",
|
|
1264
|
+
"const": "svm"
|
|
1265
|
+
},
|
|
1266
|
+
"chainId": {
|
|
1267
|
+
"type": "integer",
|
|
1268
|
+
"exclusiveMinimum": 0,
|
|
1269
|
+
"maximum": 9007199254740991
|
|
1270
|
+
},
|
|
1271
|
+
"feePayer": {
|
|
1272
|
+
"type": "string",
|
|
1273
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
1274
|
+
},
|
|
1275
|
+
"instructions": {
|
|
1276
|
+
"minItems": 1,
|
|
1277
|
+
"type": "array",
|
|
1278
|
+
"items": {
|
|
1279
|
+
"type": "object",
|
|
1280
|
+
"properties": {
|
|
1281
|
+
"programId": {
|
|
1282
|
+
"type": "string",
|
|
1283
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
1284
|
+
},
|
|
1285
|
+
"accounts": {
|
|
1286
|
+
"type": "array",
|
|
1287
|
+
"items": {
|
|
1288
|
+
"type": "object",
|
|
1289
|
+
"properties": {
|
|
1290
|
+
"pubkey": {
|
|
1291
|
+
"type": "string",
|
|
1292
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
1293
|
+
},
|
|
1294
|
+
"isSigner": {
|
|
1295
|
+
"type": "boolean"
|
|
1296
|
+
},
|
|
1297
|
+
"isWritable": {
|
|
1298
|
+
"type": "boolean"
|
|
1299
|
+
}
|
|
1300
|
+
},
|
|
1301
|
+
"required": [
|
|
1302
|
+
"pubkey",
|
|
1303
|
+
"isSigner",
|
|
1304
|
+
"isWritable"
|
|
1305
|
+
]
|
|
1041
1306
|
}
|
|
1042
1307
|
},
|
|
1043
1308
|
"data": {
|
|
@@ -1050,18 +1315,16 @@
|
|
|
1050
1315
|
"programId",
|
|
1051
1316
|
"accounts",
|
|
1052
1317
|
"data"
|
|
1053
|
-
]
|
|
1054
|
-
"additionalProperties": {}
|
|
1318
|
+
]
|
|
1055
1319
|
}
|
|
1056
1320
|
}
|
|
1057
1321
|
},
|
|
1058
1322
|
"required": [
|
|
1059
|
-
"
|
|
1323
|
+
"type",
|
|
1060
1324
|
"chainId",
|
|
1061
1325
|
"feePayer",
|
|
1062
1326
|
"instructions"
|
|
1063
|
-
]
|
|
1064
|
-
"additionalProperties": {}
|
|
1327
|
+
]
|
|
1065
1328
|
}
|
|
1066
1329
|
]
|
|
1067
1330
|
},
|
|
@@ -1157,63 +1420,54 @@
|
|
|
1157
1420
|
"required": [
|
|
1158
1421
|
"token",
|
|
1159
1422
|
"amount"
|
|
1160
|
-
]
|
|
1161
|
-
"additionalProperties": {}
|
|
1423
|
+
]
|
|
1162
1424
|
}
|
|
1163
1425
|
},
|
|
1164
1426
|
"calls": {
|
|
1165
|
-
"
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
"
|
|
1171
|
-
|
|
1427
|
+
"type": "array",
|
|
1428
|
+
"items": {
|
|
1429
|
+
"type": "object",
|
|
1430
|
+
"properties": {
|
|
1431
|
+
"target": {
|
|
1432
|
+
"anyOf": [
|
|
1433
|
+
{
|
|
1434
|
+
"type": "string",
|
|
1435
|
+
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
1436
|
+
},
|
|
1437
|
+
{
|
|
1172
1438
|
"anyOf": [
|
|
1173
1439
|
{
|
|
1174
1440
|
"type": "string",
|
|
1175
|
-
"pattern": "^
|
|
1176
|
-
},
|
|
1177
|
-
{
|
|
1178
|
-
"anyOf": [
|
|
1179
|
-
{
|
|
1180
|
-
"type": "string",
|
|
1181
|
-
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
1182
|
-
},
|
|
1183
|
-
{
|
|
1184
|
-
"type": "string",
|
|
1185
|
-
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
1186
|
-
}
|
|
1187
|
-
]
|
|
1441
|
+
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
1188
1442
|
},
|
|
1189
1443
|
{
|
|
1190
1444
|
"type": "string",
|
|
1191
|
-
"pattern": "^[
|
|
1445
|
+
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
1192
1446
|
}
|
|
1193
1447
|
]
|
|
1194
1448
|
},
|
|
1195
|
-
|
|
1196
|
-
"type": "string",
|
|
1197
|
-
"pattern": "^0x(?:[0-9a-fA-F]{2})*$"
|
|
1198
|
-
},
|
|
1199
|
-
"value": {
|
|
1449
|
+
{
|
|
1200
1450
|
"type": "string",
|
|
1201
|
-
"
|
|
1202
|
-
"pattern": "^(0|[1-9]\\d*)$"
|
|
1451
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
1203
1452
|
}
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1453
|
+
]
|
|
1454
|
+
},
|
|
1455
|
+
"data": {
|
|
1456
|
+
"type": "string",
|
|
1457
|
+
"pattern": "^0x(?:[0-9a-fA-F]{2})*$"
|
|
1458
|
+
},
|
|
1459
|
+
"value": {
|
|
1460
|
+
"type": "string",
|
|
1461
|
+
"maxLength": 78,
|
|
1462
|
+
"pattern": "^(0|[1-9]\\d*)$"
|
|
1211
1463
|
}
|
|
1212
1464
|
},
|
|
1213
|
-
|
|
1214
|
-
"
|
|
1215
|
-
|
|
1216
|
-
|
|
1465
|
+
"required": [
|
|
1466
|
+
"target",
|
|
1467
|
+
"data",
|
|
1468
|
+
"value"
|
|
1469
|
+
]
|
|
1470
|
+
}
|
|
1217
1471
|
}
|
|
1218
1472
|
},
|
|
1219
1473
|
"required": [
|
|
@@ -1225,8 +1479,7 @@
|
|
|
1225
1479
|
"nativeAmount",
|
|
1226
1480
|
"tokens",
|
|
1227
1481
|
"calls"
|
|
1228
|
-
]
|
|
1229
|
-
"additionalProperties": {}
|
|
1482
|
+
]
|
|
1230
1483
|
},
|
|
1231
1484
|
"reward": {
|
|
1232
1485
|
"type": "object",
|
|
@@ -1327,8 +1580,7 @@
|
|
|
1327
1580
|
"required": [
|
|
1328
1581
|
"token",
|
|
1329
1582
|
"amount"
|
|
1330
|
-
]
|
|
1331
|
-
"additionalProperties": {}
|
|
1583
|
+
]
|
|
1332
1584
|
}
|
|
1333
1585
|
}
|
|
1334
1586
|
},
|
|
@@ -1337,37 +1589,13 @@
|
|
|
1337
1589
|
"creator",
|
|
1338
1590
|
"prover",
|
|
1339
1591
|
"nativeAmount",
|
|
1340
|
-
"tokens"
|
|
1341
|
-
]
|
|
1342
|
-
"additionalProperties": {}
|
|
1343
|
-
}
|
|
1344
|
-
},
|
|
1345
|
-
"required": [
|
|
1346
|
-
"route",
|
|
1347
|
-
"reward"
|
|
1348
|
-
],
|
|
1349
|
-
"additionalProperties": {}
|
|
1350
|
-
},
|
|
1351
|
-
"encodedRoute": {
|
|
1352
|
-
"anyOf": [
|
|
1353
|
-
{
|
|
1354
|
-
"type": "string",
|
|
1355
|
-
"pattern": "^0x(?:[0-9a-fA-F]{2})*$"
|
|
1356
|
-
},
|
|
1357
|
-
{
|
|
1358
|
-
"type": "null"
|
|
1359
|
-
}
|
|
1360
|
-
]
|
|
1361
|
-
},
|
|
1362
|
-
"encodedReward": {
|
|
1363
|
-
"anyOf": [
|
|
1364
|
-
{
|
|
1365
|
-
"type": "string",
|
|
1366
|
-
"pattern": "^0x(?:[0-9a-fA-F]{2})*$"
|
|
1367
|
-
},
|
|
1368
|
-
{
|
|
1369
|
-
"type": "null"
|
|
1592
|
+
"tokens"
|
|
1593
|
+
]
|
|
1370
1594
|
}
|
|
1595
|
+
},
|
|
1596
|
+
"required": [
|
|
1597
|
+
"route",
|
|
1598
|
+
"reward"
|
|
1371
1599
|
]
|
|
1372
1600
|
},
|
|
1373
1601
|
"vault": {
|
|
@@ -1405,11 +1633,8 @@
|
|
|
1405
1633
|
},
|
|
1406
1634
|
"required": [
|
|
1407
1635
|
"transaction",
|
|
1408
|
-
"intent"
|
|
1409
|
-
|
|
1410
|
-
"encodedReward"
|
|
1411
|
-
],
|
|
1412
|
-
"additionalProperties": {}
|
|
1636
|
+
"intent"
|
|
1637
|
+
]
|
|
1413
1638
|
},
|
|
1414
1639
|
{
|
|
1415
1640
|
"type": "null"
|
|
@@ -1437,7 +1662,7 @@
|
|
|
1437
1662
|
"type": "string",
|
|
1438
1663
|
"pattern": "^quote:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
|
|
1439
1664
|
},
|
|
1440
|
-
"
|
|
1665
|
+
"type": {
|
|
1441
1666
|
"type": "string",
|
|
1442
1667
|
"enum": [
|
|
1443
1668
|
"exact-in",
|
|
@@ -1445,20 +1670,6 @@
|
|
|
1445
1670
|
"custom"
|
|
1446
1671
|
]
|
|
1447
1672
|
},
|
|
1448
|
-
"visibility": {
|
|
1449
|
-
"type": "string",
|
|
1450
|
-
"enum": [
|
|
1451
|
-
"public",
|
|
1452
|
-
"private"
|
|
1453
|
-
]
|
|
1454
|
-
},
|
|
1455
|
-
"guarantee": {
|
|
1456
|
-
"type": "string",
|
|
1457
|
-
"enum": [
|
|
1458
|
-
"atomic-or-refund",
|
|
1459
|
-
"calls-execute-or-refund"
|
|
1460
|
-
]
|
|
1461
|
-
},
|
|
1462
1673
|
"source": {
|
|
1463
1674
|
"type": "object",
|
|
1464
1675
|
"properties": {
|
|
@@ -1496,6 +1707,30 @@
|
|
|
1496
1707
|
"maxLength": 78,
|
|
1497
1708
|
"pattern": "^(0|[1-9]\\d*)$"
|
|
1498
1709
|
},
|
|
1710
|
+
"funder": {
|
|
1711
|
+
"anyOf": [
|
|
1712
|
+
{
|
|
1713
|
+
"type": "string",
|
|
1714
|
+
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
1715
|
+
},
|
|
1716
|
+
{
|
|
1717
|
+
"anyOf": [
|
|
1718
|
+
{
|
|
1719
|
+
"type": "string",
|
|
1720
|
+
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
1721
|
+
},
|
|
1722
|
+
{
|
|
1723
|
+
"type": "string",
|
|
1724
|
+
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
1725
|
+
}
|
|
1726
|
+
]
|
|
1727
|
+
},
|
|
1728
|
+
{
|
|
1729
|
+
"type": "string",
|
|
1730
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
1731
|
+
}
|
|
1732
|
+
]
|
|
1733
|
+
},
|
|
1499
1734
|
"symbol": {
|
|
1500
1735
|
"anyOf": [
|
|
1501
1736
|
{
|
|
@@ -1523,10 +1758,10 @@
|
|
|
1523
1758
|
"chainId",
|
|
1524
1759
|
"token",
|
|
1525
1760
|
"amount",
|
|
1761
|
+
"funder",
|
|
1526
1762
|
"symbol",
|
|
1527
1763
|
"decimals"
|
|
1528
|
-
]
|
|
1529
|
-
"additionalProperties": {}
|
|
1764
|
+
]
|
|
1530
1765
|
},
|
|
1531
1766
|
"destination": {
|
|
1532
1767
|
"type": "object",
|
|
@@ -1560,7 +1795,7 @@
|
|
|
1560
1795
|
}
|
|
1561
1796
|
]
|
|
1562
1797
|
},
|
|
1563
|
-
"
|
|
1798
|
+
"amountOut": {
|
|
1564
1799
|
"type": "string",
|
|
1565
1800
|
"maxLength": 78,
|
|
1566
1801
|
"pattern": "^(0|[1-9]\\d*)$"
|
|
@@ -1627,13 +1862,12 @@
|
|
|
1627
1862
|
"required": [
|
|
1628
1863
|
"chainId",
|
|
1629
1864
|
"token",
|
|
1630
|
-
"
|
|
1865
|
+
"amountOut",
|
|
1631
1866
|
"minAmountOut",
|
|
1632
1867
|
"recipient",
|
|
1633
1868
|
"symbol",
|
|
1634
1869
|
"decimals"
|
|
1635
|
-
]
|
|
1636
|
-
"additionalProperties": {}
|
|
1870
|
+
]
|
|
1637
1871
|
},
|
|
1638
1872
|
"slippage": {
|
|
1639
1873
|
"type": "number",
|
|
@@ -1645,7 +1879,7 @@
|
|
|
1645
1879
|
"items": {
|
|
1646
1880
|
"type": "object",
|
|
1647
1881
|
"properties": {
|
|
1648
|
-
"
|
|
1882
|
+
"type": {
|
|
1649
1883
|
"type": "string",
|
|
1650
1884
|
"enum": [
|
|
1651
1885
|
"gas",
|
|
@@ -1719,20 +1953,18 @@
|
|
|
1719
1953
|
"address",
|
|
1720
1954
|
"symbol",
|
|
1721
1955
|
"decimals"
|
|
1722
|
-
]
|
|
1723
|
-
"additionalProperties": {}
|
|
1956
|
+
]
|
|
1724
1957
|
},
|
|
1725
1958
|
"estimate": {
|
|
1726
1959
|
"type": "boolean"
|
|
1727
1960
|
}
|
|
1728
1961
|
},
|
|
1729
1962
|
"required": [
|
|
1730
|
-
"
|
|
1963
|
+
"type",
|
|
1731
1964
|
"amount",
|
|
1732
1965
|
"token",
|
|
1733
1966
|
"estimate"
|
|
1734
|
-
]
|
|
1735
|
-
"additionalProperties": {}
|
|
1967
|
+
]
|
|
1736
1968
|
}
|
|
1737
1969
|
},
|
|
1738
1970
|
"steps": {
|
|
@@ -1740,7 +1972,7 @@
|
|
|
1740
1972
|
"items": {
|
|
1741
1973
|
"type": "object",
|
|
1742
1974
|
"properties": {
|
|
1743
|
-
"
|
|
1975
|
+
"type": {
|
|
1744
1976
|
"type": "string",
|
|
1745
1977
|
"enum": [
|
|
1746
1978
|
"swap",
|
|
@@ -1749,7 +1981,7 @@
|
|
|
1749
1981
|
"transfer"
|
|
1750
1982
|
]
|
|
1751
1983
|
},
|
|
1752
|
-
"
|
|
1984
|
+
"provider": {
|
|
1753
1985
|
"type": "string",
|
|
1754
1986
|
"minLength": 1
|
|
1755
1987
|
},
|
|
@@ -1799,8 +2031,7 @@
|
|
|
1799
2031
|
"chainId",
|
|
1800
2032
|
"token",
|
|
1801
2033
|
"amount"
|
|
1802
|
-
]
|
|
1803
|
-
"additionalProperties": {}
|
|
2034
|
+
]
|
|
1804
2035
|
},
|
|
1805
2036
|
"to": {
|
|
1806
2037
|
"type": "object",
|
|
@@ -1844,15 +2075,14 @@
|
|
|
1844
2075
|
"chainId",
|
|
1845
2076
|
"token",
|
|
1846
2077
|
"amount"
|
|
1847
|
-
]
|
|
1848
|
-
"additionalProperties": {}
|
|
2078
|
+
]
|
|
1849
2079
|
},
|
|
1850
2080
|
"fees": {
|
|
1851
2081
|
"type": "array",
|
|
1852
2082
|
"items": {
|
|
1853
2083
|
"type": "object",
|
|
1854
2084
|
"properties": {
|
|
1855
|
-
"
|
|
2085
|
+
"type": {
|
|
1856
2086
|
"type": "string",
|
|
1857
2087
|
"enum": [
|
|
1858
2088
|
"gas",
|
|
@@ -1883,114 +2113,382 @@
|
|
|
1883
2113
|
{
|
|
1884
2114
|
"anyOf": [
|
|
1885
2115
|
{
|
|
1886
|
-
"type": "string",
|
|
1887
|
-
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
2116
|
+
"type": "string",
|
|
2117
|
+
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
2118
|
+
},
|
|
2119
|
+
{
|
|
2120
|
+
"type": "string",
|
|
2121
|
+
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
2122
|
+
}
|
|
2123
|
+
]
|
|
2124
|
+
},
|
|
2125
|
+
{
|
|
2126
|
+
"type": "string",
|
|
2127
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
2128
|
+
}
|
|
2129
|
+
]
|
|
2130
|
+
},
|
|
2131
|
+
"symbol": {
|
|
2132
|
+
"anyOf": [
|
|
2133
|
+
{
|
|
2134
|
+
"type": "string"
|
|
2135
|
+
},
|
|
2136
|
+
{
|
|
2137
|
+
"type": "null"
|
|
2138
|
+
}
|
|
2139
|
+
]
|
|
2140
|
+
},
|
|
2141
|
+
"decimals": {
|
|
2142
|
+
"anyOf": [
|
|
2143
|
+
{
|
|
2144
|
+
"type": "integer",
|
|
2145
|
+
"minimum": -9007199254740991,
|
|
2146
|
+
"maximum": 9007199254740991
|
|
2147
|
+
},
|
|
2148
|
+
{
|
|
2149
|
+
"type": "null"
|
|
2150
|
+
}
|
|
2151
|
+
]
|
|
2152
|
+
}
|
|
2153
|
+
},
|
|
2154
|
+
"required": [
|
|
2155
|
+
"chainId",
|
|
2156
|
+
"address",
|
|
2157
|
+
"symbol",
|
|
2158
|
+
"decimals"
|
|
2159
|
+
]
|
|
2160
|
+
},
|
|
2161
|
+
"estimate": {
|
|
2162
|
+
"type": "boolean"
|
|
2163
|
+
}
|
|
2164
|
+
},
|
|
2165
|
+
"required": [
|
|
2166
|
+
"type",
|
|
2167
|
+
"amount",
|
|
2168
|
+
"token",
|
|
2169
|
+
"estimate"
|
|
2170
|
+
]
|
|
2171
|
+
}
|
|
2172
|
+
},
|
|
2173
|
+
"estimatedDurationSec": {
|
|
2174
|
+
"type": "integer",
|
|
2175
|
+
"minimum": 0,
|
|
2176
|
+
"maximum": 9007199254740991
|
|
2177
|
+
},
|
|
2178
|
+
"intents": {
|
|
2179
|
+
"type": "array",
|
|
2180
|
+
"items": {
|
|
2181
|
+
"type": "object",
|
|
2182
|
+
"properties": {
|
|
2183
|
+
"role": {
|
|
2184
|
+
"type": "string",
|
|
2185
|
+
"enum": [
|
|
2186
|
+
"local",
|
|
2187
|
+
"bucket-candidate",
|
|
2188
|
+
"stitched-destination"
|
|
2189
|
+
]
|
|
2190
|
+
},
|
|
2191
|
+
"intentHash": {
|
|
2192
|
+
"type": "string",
|
|
2193
|
+
"pattern": "^0x[0-9a-fA-F]{64}$"
|
|
2194
|
+
},
|
|
2195
|
+
"routeHash": {
|
|
2196
|
+
"type": "string",
|
|
2197
|
+
"pattern": "^0x[0-9a-fA-F]{64}$"
|
|
2198
|
+
},
|
|
2199
|
+
"bucketIndex": {
|
|
2200
|
+
"type": "integer",
|
|
2201
|
+
"minimum": 0,
|
|
2202
|
+
"maximum": 9007199254740991
|
|
2203
|
+
},
|
|
2204
|
+
"intent": {
|
|
2205
|
+
"type": "object",
|
|
2206
|
+
"properties": {
|
|
2207
|
+
"route": {
|
|
2208
|
+
"type": "object",
|
|
2209
|
+
"properties": {
|
|
2210
|
+
"salt": {
|
|
2211
|
+
"type": "string",
|
|
2212
|
+
"pattern": "^0x[0-9a-fA-F]{64}$"
|
|
2213
|
+
},
|
|
2214
|
+
"deadline": {
|
|
2215
|
+
"type": "integer",
|
|
2216
|
+
"minimum": 0,
|
|
2217
|
+
"maximum": 4102444800
|
|
2218
|
+
},
|
|
2219
|
+
"source": {
|
|
2220
|
+
"type": "integer",
|
|
2221
|
+
"exclusiveMinimum": 0,
|
|
2222
|
+
"maximum": 9007199254740991
|
|
2223
|
+
},
|
|
2224
|
+
"destination": {
|
|
2225
|
+
"type": "integer",
|
|
2226
|
+
"exclusiveMinimum": 0,
|
|
2227
|
+
"maximum": 9007199254740991
|
|
2228
|
+
},
|
|
2229
|
+
"portal": {
|
|
2230
|
+
"anyOf": [
|
|
2231
|
+
{
|
|
2232
|
+
"type": "string",
|
|
2233
|
+
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
2234
|
+
},
|
|
2235
|
+
{
|
|
2236
|
+
"anyOf": [
|
|
2237
|
+
{
|
|
2238
|
+
"type": "string",
|
|
2239
|
+
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
2240
|
+
},
|
|
2241
|
+
{
|
|
2242
|
+
"type": "string",
|
|
2243
|
+
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
2244
|
+
}
|
|
2245
|
+
]
|
|
2246
|
+
},
|
|
2247
|
+
{
|
|
2248
|
+
"type": "string",
|
|
2249
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
2250
|
+
}
|
|
2251
|
+
]
|
|
2252
|
+
},
|
|
2253
|
+
"nativeAmount": {
|
|
2254
|
+
"type": "string",
|
|
2255
|
+
"maxLength": 78,
|
|
2256
|
+
"pattern": "^(0|[1-9]\\d*)$"
|
|
2257
|
+
},
|
|
2258
|
+
"tokens": {
|
|
2259
|
+
"type": "array",
|
|
2260
|
+
"items": {
|
|
2261
|
+
"type": "object",
|
|
2262
|
+
"properties": {
|
|
2263
|
+
"token": {
|
|
2264
|
+
"anyOf": [
|
|
2265
|
+
{
|
|
2266
|
+
"type": "string",
|
|
2267
|
+
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
2268
|
+
},
|
|
2269
|
+
{
|
|
2270
|
+
"anyOf": [
|
|
2271
|
+
{
|
|
2272
|
+
"type": "string",
|
|
2273
|
+
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
2274
|
+
},
|
|
2275
|
+
{
|
|
2276
|
+
"type": "string",
|
|
2277
|
+
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
2278
|
+
}
|
|
2279
|
+
]
|
|
2280
|
+
},
|
|
2281
|
+
{
|
|
2282
|
+
"type": "string",
|
|
2283
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
2284
|
+
}
|
|
2285
|
+
]
|
|
2286
|
+
},
|
|
2287
|
+
"amount": {
|
|
2288
|
+
"type": "string",
|
|
2289
|
+
"maxLength": 78,
|
|
2290
|
+
"pattern": "^(0|[1-9]\\d*)$"
|
|
2291
|
+
}
|
|
2292
|
+
},
|
|
2293
|
+
"required": [
|
|
2294
|
+
"token",
|
|
2295
|
+
"amount"
|
|
2296
|
+
]
|
|
2297
|
+
}
|
|
2298
|
+
},
|
|
2299
|
+
"calls": {
|
|
2300
|
+
"type": "array",
|
|
2301
|
+
"items": {
|
|
2302
|
+
"type": "object",
|
|
2303
|
+
"properties": {
|
|
2304
|
+
"target": {
|
|
2305
|
+
"anyOf": [
|
|
2306
|
+
{
|
|
2307
|
+
"type": "string",
|
|
2308
|
+
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
2309
|
+
},
|
|
2310
|
+
{
|
|
2311
|
+
"anyOf": [
|
|
2312
|
+
{
|
|
2313
|
+
"type": "string",
|
|
2314
|
+
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
2315
|
+
},
|
|
2316
|
+
{
|
|
2317
|
+
"type": "string",
|
|
2318
|
+
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
2319
|
+
}
|
|
2320
|
+
]
|
|
2321
|
+
},
|
|
2322
|
+
{
|
|
2323
|
+
"type": "string",
|
|
2324
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
2325
|
+
}
|
|
2326
|
+
]
|
|
2327
|
+
},
|
|
2328
|
+
"data": {
|
|
2329
|
+
"type": "string",
|
|
2330
|
+
"pattern": "^0x(?:[0-9a-fA-F]{2})*$"
|
|
2331
|
+
},
|
|
2332
|
+
"value": {
|
|
2333
|
+
"type": "string",
|
|
2334
|
+
"maxLength": 78,
|
|
2335
|
+
"pattern": "^(0|[1-9]\\d*)$"
|
|
2336
|
+
}
|
|
2337
|
+
},
|
|
2338
|
+
"required": [
|
|
2339
|
+
"target",
|
|
2340
|
+
"data",
|
|
2341
|
+
"value"
|
|
2342
|
+
]
|
|
2343
|
+
}
|
|
2344
|
+
}
|
|
2345
|
+
},
|
|
2346
|
+
"required": [
|
|
2347
|
+
"salt",
|
|
2348
|
+
"deadline",
|
|
2349
|
+
"source",
|
|
2350
|
+
"destination",
|
|
2351
|
+
"portal",
|
|
2352
|
+
"nativeAmount",
|
|
2353
|
+
"tokens",
|
|
2354
|
+
"calls"
|
|
2355
|
+
]
|
|
2356
|
+
},
|
|
2357
|
+
"reward": {
|
|
2358
|
+
"type": "object",
|
|
2359
|
+
"properties": {
|
|
2360
|
+
"deadline": {
|
|
2361
|
+
"type": "integer",
|
|
2362
|
+
"minimum": 0,
|
|
2363
|
+
"maximum": 4102444800
|
|
2364
|
+
},
|
|
2365
|
+
"creator": {
|
|
2366
|
+
"anyOf": [
|
|
2367
|
+
{
|
|
2368
|
+
"type": "string",
|
|
2369
|
+
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
2370
|
+
},
|
|
2371
|
+
{
|
|
2372
|
+
"anyOf": [
|
|
2373
|
+
{
|
|
2374
|
+
"type": "string",
|
|
2375
|
+
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
2376
|
+
},
|
|
2377
|
+
{
|
|
2378
|
+
"type": "string",
|
|
2379
|
+
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
2380
|
+
}
|
|
2381
|
+
]
|
|
2382
|
+
},
|
|
2383
|
+
{
|
|
2384
|
+
"type": "string",
|
|
2385
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
2386
|
+
}
|
|
2387
|
+
]
|
|
2388
|
+
},
|
|
2389
|
+
"prover": {
|
|
2390
|
+
"anyOf": [
|
|
2391
|
+
{
|
|
2392
|
+
"type": "string",
|
|
2393
|
+
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
2394
|
+
},
|
|
2395
|
+
{
|
|
2396
|
+
"anyOf": [
|
|
2397
|
+
{
|
|
2398
|
+
"type": "string",
|
|
2399
|
+
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
2400
|
+
},
|
|
2401
|
+
{
|
|
2402
|
+
"type": "string",
|
|
2403
|
+
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
2404
|
+
}
|
|
2405
|
+
]
|
|
1888
2406
|
},
|
|
1889
2407
|
{
|
|
1890
2408
|
"type": "string",
|
|
1891
|
-
"pattern": "^
|
|
2409
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
1892
2410
|
}
|
|
1893
2411
|
]
|
|
1894
2412
|
},
|
|
1895
|
-
{
|
|
2413
|
+
"nativeAmount": {
|
|
1896
2414
|
"type": "string",
|
|
1897
|
-
"
|
|
1898
|
-
|
|
1899
|
-
]
|
|
1900
|
-
},
|
|
1901
|
-
"symbol": {
|
|
1902
|
-
"anyOf": [
|
|
1903
|
-
{
|
|
1904
|
-
"type": "string"
|
|
2415
|
+
"maxLength": 78,
|
|
2416
|
+
"pattern": "^(0|[1-9]\\d*)$"
|
|
1905
2417
|
},
|
|
1906
|
-
{
|
|
1907
|
-
"type": "
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
2418
|
+
"tokens": {
|
|
2419
|
+
"type": "array",
|
|
2420
|
+
"items": {
|
|
2421
|
+
"type": "object",
|
|
2422
|
+
"properties": {
|
|
2423
|
+
"token": {
|
|
2424
|
+
"anyOf": [
|
|
2425
|
+
{
|
|
2426
|
+
"type": "string",
|
|
2427
|
+
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
2428
|
+
},
|
|
2429
|
+
{
|
|
2430
|
+
"anyOf": [
|
|
2431
|
+
{
|
|
2432
|
+
"type": "string",
|
|
2433
|
+
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
2434
|
+
},
|
|
2435
|
+
{
|
|
2436
|
+
"type": "string",
|
|
2437
|
+
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
2438
|
+
}
|
|
2439
|
+
]
|
|
2440
|
+
},
|
|
2441
|
+
{
|
|
2442
|
+
"type": "string",
|
|
2443
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
2444
|
+
}
|
|
2445
|
+
]
|
|
2446
|
+
},
|
|
2447
|
+
"amount": {
|
|
2448
|
+
"type": "string",
|
|
2449
|
+
"maxLength": 78,
|
|
2450
|
+
"pattern": "^(0|[1-9]\\d*)$"
|
|
2451
|
+
}
|
|
2452
|
+
},
|
|
2453
|
+
"required": [
|
|
2454
|
+
"token",
|
|
2455
|
+
"amount"
|
|
2456
|
+
]
|
|
2457
|
+
}
|
|
1920
2458
|
}
|
|
2459
|
+
},
|
|
2460
|
+
"required": [
|
|
2461
|
+
"deadline",
|
|
2462
|
+
"creator",
|
|
2463
|
+
"prover",
|
|
2464
|
+
"nativeAmount",
|
|
2465
|
+
"tokens"
|
|
1921
2466
|
]
|
|
1922
2467
|
}
|
|
1923
2468
|
},
|
|
1924
2469
|
"required": [
|
|
1925
|
-
"
|
|
1926
|
-
"
|
|
1927
|
-
|
|
1928
|
-
"decimals"
|
|
1929
|
-
],
|
|
1930
|
-
"additionalProperties": {}
|
|
1931
|
-
},
|
|
1932
|
-
"estimate": {
|
|
1933
|
-
"type": "boolean"
|
|
2470
|
+
"route",
|
|
2471
|
+
"reward"
|
|
2472
|
+
]
|
|
1934
2473
|
}
|
|
1935
2474
|
},
|
|
1936
2475
|
"required": [
|
|
1937
|
-
"
|
|
1938
|
-
"
|
|
1939
|
-
"
|
|
1940
|
-
|
|
1941
|
-
],
|
|
1942
|
-
"additionalProperties": {}
|
|
2476
|
+
"role",
|
|
2477
|
+
"intentHash",
|
|
2478
|
+
"intent"
|
|
2479
|
+
]
|
|
1943
2480
|
}
|
|
1944
|
-
},
|
|
1945
|
-
"estimatedDurationSec": {
|
|
1946
|
-
"type": "integer",
|
|
1947
|
-
"minimum": 0,
|
|
1948
|
-
"maximum": 9007199254740991
|
|
1949
2481
|
}
|
|
1950
2482
|
},
|
|
1951
2483
|
"required": [
|
|
1952
|
-
"
|
|
1953
|
-
"
|
|
2484
|
+
"type",
|
|
2485
|
+
"provider",
|
|
1954
2486
|
"from",
|
|
1955
2487
|
"to",
|
|
1956
2488
|
"fees",
|
|
1957
|
-
"estimatedDurationSec"
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
}
|
|
1961
|
-
},
|
|
1962
|
-
"relatedIntents": {
|
|
1963
|
-
"type": "array",
|
|
1964
|
-
"items": {
|
|
1965
|
-
"type": "object",
|
|
1966
|
-
"properties": {
|
|
1967
|
-
"role": {
|
|
1968
|
-
"type": "string",
|
|
1969
|
-
"enum": [
|
|
1970
|
-
"local",
|
|
1971
|
-
"bucket-candidate",
|
|
1972
|
-
"stitched-destination"
|
|
1973
|
-
]
|
|
1974
|
-
},
|
|
1975
|
-
"intentHash": {
|
|
1976
|
-
"type": "string",
|
|
1977
|
-
"pattern": "^0x[0-9a-fA-F]{64}$"
|
|
1978
|
-
},
|
|
1979
|
-
"routeHash": {
|
|
1980
|
-
"type": "string",
|
|
1981
|
-
"pattern": "^0x[0-9a-fA-F]{64}$"
|
|
1982
|
-
},
|
|
1983
|
-
"bucketIndex": {
|
|
1984
|
-
"type": "integer",
|
|
1985
|
-
"minimum": 0,
|
|
1986
|
-
"maximum": 9007199254740991
|
|
1987
|
-
}
|
|
1988
|
-
},
|
|
1989
|
-
"required": [
|
|
1990
|
-
"role",
|
|
1991
|
-
"intentHash"
|
|
1992
|
-
],
|
|
1993
|
-
"additionalProperties": {}
|
|
2489
|
+
"estimatedDurationSec",
|
|
2490
|
+
"intents"
|
|
2491
|
+
]
|
|
1994
2492
|
}
|
|
1995
2493
|
},
|
|
1996
2494
|
"solver": {
|
|
@@ -2027,8 +2525,7 @@
|
|
|
2027
2525
|
},
|
|
2028
2526
|
"required": [
|
|
2029
2527
|
"id"
|
|
2030
|
-
]
|
|
2031
|
-
"additionalProperties": {}
|
|
2528
|
+
]
|
|
2032
2529
|
},
|
|
2033
2530
|
"intentHash": {
|
|
2034
2531
|
"anyOf": [
|
|
@@ -2051,7 +2548,7 @@
|
|
|
2051
2548
|
{
|
|
2052
2549
|
"type": "object",
|
|
2053
2550
|
"properties": {
|
|
2054
|
-
"
|
|
2551
|
+
"type": {
|
|
2055
2552
|
"type": "string",
|
|
2056
2553
|
"const": "evm"
|
|
2057
2554
|
},
|
|
@@ -2075,18 +2572,17 @@
|
|
|
2075
2572
|
}
|
|
2076
2573
|
},
|
|
2077
2574
|
"required": [
|
|
2078
|
-
"
|
|
2575
|
+
"type",
|
|
2079
2576
|
"chainId",
|
|
2080
2577
|
"to",
|
|
2081
2578
|
"data",
|
|
2082
2579
|
"value"
|
|
2083
|
-
]
|
|
2084
|
-
"additionalProperties": {}
|
|
2580
|
+
]
|
|
2085
2581
|
},
|
|
2086
2582
|
{
|
|
2087
2583
|
"type": "object",
|
|
2088
2584
|
"properties": {
|
|
2089
|
-
"
|
|
2585
|
+
"type": {
|
|
2090
2586
|
"type": "string",
|
|
2091
2587
|
"const": "svm"
|
|
2092
2588
|
},
|
|
@@ -2129,8 +2625,7 @@
|
|
|
2129
2625
|
"pubkey",
|
|
2130
2626
|
"isSigner",
|
|
2131
2627
|
"isWritable"
|
|
2132
|
-
]
|
|
2133
|
-
"additionalProperties": {}
|
|
2628
|
+
]
|
|
2134
2629
|
}
|
|
2135
2630
|
},
|
|
2136
2631
|
"data": {
|
|
@@ -2143,18 +2638,16 @@
|
|
|
2143
2638
|
"programId",
|
|
2144
2639
|
"accounts",
|
|
2145
2640
|
"data"
|
|
2146
|
-
]
|
|
2147
|
-
"additionalProperties": {}
|
|
2641
|
+
]
|
|
2148
2642
|
}
|
|
2149
2643
|
}
|
|
2150
2644
|
},
|
|
2151
2645
|
"required": [
|
|
2152
|
-
"
|
|
2646
|
+
"type",
|
|
2153
2647
|
"chainId",
|
|
2154
2648
|
"feePayer",
|
|
2155
2649
|
"instructions"
|
|
2156
|
-
]
|
|
2157
|
-
"additionalProperties": {}
|
|
2650
|
+
]
|
|
2158
2651
|
}
|
|
2159
2652
|
]
|
|
2160
2653
|
},
|
|
@@ -2250,63 +2743,54 @@
|
|
|
2250
2743
|
"required": [
|
|
2251
2744
|
"token",
|
|
2252
2745
|
"amount"
|
|
2253
|
-
]
|
|
2254
|
-
"additionalProperties": {}
|
|
2746
|
+
]
|
|
2255
2747
|
}
|
|
2256
2748
|
},
|
|
2257
2749
|
"calls": {
|
|
2258
|
-
"
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
"
|
|
2264
|
-
|
|
2750
|
+
"type": "array",
|
|
2751
|
+
"items": {
|
|
2752
|
+
"type": "object",
|
|
2753
|
+
"properties": {
|
|
2754
|
+
"target": {
|
|
2755
|
+
"anyOf": [
|
|
2756
|
+
{
|
|
2757
|
+
"type": "string",
|
|
2758
|
+
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
2759
|
+
},
|
|
2760
|
+
{
|
|
2265
2761
|
"anyOf": [
|
|
2266
2762
|
{
|
|
2267
2763
|
"type": "string",
|
|
2268
|
-
"pattern": "^
|
|
2269
|
-
},
|
|
2270
|
-
{
|
|
2271
|
-
"anyOf": [
|
|
2272
|
-
{
|
|
2273
|
-
"type": "string",
|
|
2274
|
-
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
2275
|
-
},
|
|
2276
|
-
{
|
|
2277
|
-
"type": "string",
|
|
2278
|
-
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
2279
|
-
}
|
|
2280
|
-
]
|
|
2764
|
+
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
2281
2765
|
},
|
|
2282
2766
|
{
|
|
2283
2767
|
"type": "string",
|
|
2284
|
-
"pattern": "^[
|
|
2768
|
+
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
2285
2769
|
}
|
|
2286
2770
|
]
|
|
2287
2771
|
},
|
|
2288
|
-
|
|
2289
|
-
"type": "string",
|
|
2290
|
-
"pattern": "^0x(?:[0-9a-fA-F]{2})*$"
|
|
2291
|
-
},
|
|
2292
|
-
"value": {
|
|
2772
|
+
{
|
|
2293
2773
|
"type": "string",
|
|
2294
|
-
"
|
|
2295
|
-
"pattern": "^(0|[1-9]\\d*)$"
|
|
2774
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
2296
2775
|
}
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2776
|
+
]
|
|
2777
|
+
},
|
|
2778
|
+
"data": {
|
|
2779
|
+
"type": "string",
|
|
2780
|
+
"pattern": "^0x(?:[0-9a-fA-F]{2})*$"
|
|
2781
|
+
},
|
|
2782
|
+
"value": {
|
|
2783
|
+
"type": "string",
|
|
2784
|
+
"maxLength": 78,
|
|
2785
|
+
"pattern": "^(0|[1-9]\\d*)$"
|
|
2304
2786
|
}
|
|
2305
2787
|
},
|
|
2306
|
-
|
|
2307
|
-
"
|
|
2308
|
-
|
|
2309
|
-
|
|
2788
|
+
"required": [
|
|
2789
|
+
"target",
|
|
2790
|
+
"data",
|
|
2791
|
+
"value"
|
|
2792
|
+
]
|
|
2793
|
+
}
|
|
2310
2794
|
}
|
|
2311
2795
|
},
|
|
2312
2796
|
"required": [
|
|
@@ -2318,8 +2802,7 @@
|
|
|
2318
2802
|
"nativeAmount",
|
|
2319
2803
|
"tokens",
|
|
2320
2804
|
"calls"
|
|
2321
|
-
]
|
|
2322
|
-
"additionalProperties": {}
|
|
2805
|
+
]
|
|
2323
2806
|
},
|
|
2324
2807
|
"reward": {
|
|
2325
2808
|
"type": "object",
|
|
@@ -2420,8 +2903,7 @@
|
|
|
2420
2903
|
"required": [
|
|
2421
2904
|
"token",
|
|
2422
2905
|
"amount"
|
|
2423
|
-
]
|
|
2424
|
-
"additionalProperties": {}
|
|
2906
|
+
]
|
|
2425
2907
|
}
|
|
2426
2908
|
}
|
|
2427
2909
|
},
|
|
@@ -2431,36 +2913,12 @@
|
|
|
2431
2913
|
"prover",
|
|
2432
2914
|
"nativeAmount",
|
|
2433
2915
|
"tokens"
|
|
2434
|
-
]
|
|
2435
|
-
"additionalProperties": {}
|
|
2916
|
+
]
|
|
2436
2917
|
}
|
|
2437
2918
|
},
|
|
2438
2919
|
"required": [
|
|
2439
2920
|
"route",
|
|
2440
2921
|
"reward"
|
|
2441
|
-
],
|
|
2442
|
-
"additionalProperties": {}
|
|
2443
|
-
},
|
|
2444
|
-
"encodedRoute": {
|
|
2445
|
-
"anyOf": [
|
|
2446
|
-
{
|
|
2447
|
-
"type": "string",
|
|
2448
|
-
"pattern": "^0x(?:[0-9a-fA-F]{2})*$"
|
|
2449
|
-
},
|
|
2450
|
-
{
|
|
2451
|
-
"type": "null"
|
|
2452
|
-
}
|
|
2453
|
-
]
|
|
2454
|
-
},
|
|
2455
|
-
"encodedReward": {
|
|
2456
|
-
"anyOf": [
|
|
2457
|
-
{
|
|
2458
|
-
"type": "string",
|
|
2459
|
-
"pattern": "^0x(?:[0-9a-fA-F]{2})*$"
|
|
2460
|
-
},
|
|
2461
|
-
{
|
|
2462
|
-
"type": "null"
|
|
2463
|
-
}
|
|
2464
2922
|
]
|
|
2465
2923
|
},
|
|
2466
2924
|
"vault": {
|
|
@@ -2498,11 +2956,8 @@
|
|
|
2498
2956
|
},
|
|
2499
2957
|
"required": [
|
|
2500
2958
|
"transaction",
|
|
2501
|
-
"intent"
|
|
2502
|
-
|
|
2503
|
-
"encodedReward"
|
|
2504
|
-
],
|
|
2505
|
-
"additionalProperties": {}
|
|
2959
|
+
"intent"
|
|
2960
|
+
]
|
|
2506
2961
|
},
|
|
2507
2962
|
{
|
|
2508
2963
|
"type": "null"
|
|
@@ -2521,22 +2976,18 @@
|
|
|
2521
2976
|
},
|
|
2522
2977
|
"required": [
|
|
2523
2978
|
"id",
|
|
2524
|
-
"
|
|
2525
|
-
"visibility",
|
|
2526
|
-
"guarantee",
|
|
2979
|
+
"type",
|
|
2527
2980
|
"source",
|
|
2528
2981
|
"destination",
|
|
2529
2982
|
"slippage",
|
|
2530
2983
|
"fees",
|
|
2531
2984
|
"steps",
|
|
2532
|
-
"relatedIntents",
|
|
2533
2985
|
"solver",
|
|
2534
2986
|
"intentHash",
|
|
2535
2987
|
"execution",
|
|
2536
2988
|
"expiresAt",
|
|
2537
2989
|
"signature"
|
|
2538
|
-
]
|
|
2539
|
-
"additionalProperties": {}
|
|
2990
|
+
]
|
|
2540
2991
|
}
|
|
2541
2992
|
},
|
|
2542
2993
|
{
|
|
@@ -2547,23 +2998,19 @@
|
|
|
2547
2998
|
},
|
|
2548
2999
|
"required": [
|
|
2549
3000
|
"id",
|
|
2550
|
-
"
|
|
2551
|
-
"visibility",
|
|
2552
|
-
"guarantee",
|
|
3001
|
+
"type",
|
|
2553
3002
|
"source",
|
|
2554
3003
|
"destination",
|
|
2555
3004
|
"slippage",
|
|
2556
3005
|
"fees",
|
|
2557
3006
|
"steps",
|
|
2558
|
-
"relatedIntents",
|
|
2559
3007
|
"solver",
|
|
2560
3008
|
"intentHash",
|
|
2561
3009
|
"execution",
|
|
2562
3010
|
"expiresAt",
|
|
2563
3011
|
"signature",
|
|
2564
3012
|
"quotes"
|
|
2565
|
-
]
|
|
2566
|
-
"additionalProperties": {}
|
|
3013
|
+
]
|
|
2567
3014
|
}
|
|
2568
3015
|
}
|
|
2569
3016
|
}
|
|
@@ -2748,8 +3195,7 @@
|
|
|
2748
3195
|
"txHash",
|
|
2749
3196
|
"intentHashes",
|
|
2750
3197
|
"state"
|
|
2751
|
-
]
|
|
2752
|
-
"additionalProperties": {}
|
|
3198
|
+
]
|
|
2753
3199
|
}
|
|
2754
3200
|
},
|
|
2755
3201
|
"createdAt": {
|
|
@@ -2770,8 +3216,7 @@
|
|
|
2770
3216
|
"subStatuses",
|
|
2771
3217
|
"createdAt",
|
|
2772
3218
|
"updatedAt"
|
|
2773
|
-
]
|
|
2774
|
-
"additionalProperties": {}
|
|
3219
|
+
]
|
|
2775
3220
|
}
|
|
2776
3221
|
}
|
|
2777
3222
|
}
|
|
@@ -2968,8 +3413,7 @@
|
|
|
2968
3413
|
"txHash",
|
|
2969
3414
|
"intentHashes",
|
|
2970
3415
|
"state"
|
|
2971
|
-
]
|
|
2972
|
-
"additionalProperties": {}
|
|
3416
|
+
]
|
|
2973
3417
|
}
|
|
2974
3418
|
},
|
|
2975
3419
|
"createdAt": {
|
|
@@ -2990,8 +3434,7 @@
|
|
|
2990
3434
|
"subStatuses",
|
|
2991
3435
|
"createdAt",
|
|
2992
3436
|
"updatedAt"
|
|
2993
|
-
]
|
|
2994
|
-
"additionalProperties": {}
|
|
3437
|
+
]
|
|
2995
3438
|
}
|
|
2996
3439
|
}
|
|
2997
3440
|
}
|
|
@@ -3214,8 +3657,7 @@
|
|
|
3214
3657
|
"txHash",
|
|
3215
3658
|
"intentHashes",
|
|
3216
3659
|
"state"
|
|
3217
|
-
]
|
|
3218
|
-
"additionalProperties": {}
|
|
3660
|
+
]
|
|
3219
3661
|
}
|
|
3220
3662
|
},
|
|
3221
3663
|
"createdAt": {
|
|
@@ -3236,8 +3678,7 @@
|
|
|
3236
3678
|
"subStatuses",
|
|
3237
3679
|
"createdAt",
|
|
3238
3680
|
"updatedAt"
|
|
3239
|
-
]
|
|
3240
|
-
"additionalProperties": {}
|
|
3681
|
+
]
|
|
3241
3682
|
}
|
|
3242
3683
|
}
|
|
3243
3684
|
}
|
|
@@ -3422,8 +3863,7 @@
|
|
|
3422
3863
|
"txHash",
|
|
3423
3864
|
"intentHashes",
|
|
3424
3865
|
"state"
|
|
3425
|
-
]
|
|
3426
|
-
"additionalProperties": {}
|
|
3866
|
+
]
|
|
3427
3867
|
}
|
|
3428
3868
|
},
|
|
3429
3869
|
"createdAt": {
|
|
@@ -3444,8 +3884,7 @@
|
|
|
3444
3884
|
"subStatuses",
|
|
3445
3885
|
"createdAt",
|
|
3446
3886
|
"updatedAt"
|
|
3447
|
-
]
|
|
3448
|
-
"additionalProperties": {}
|
|
3887
|
+
]
|
|
3449
3888
|
}
|
|
3450
3889
|
}
|
|
3451
3890
|
}
|
|
@@ -3625,8 +4064,7 @@
|
|
|
3625
4064
|
"txHash",
|
|
3626
4065
|
"intentHashes",
|
|
3627
4066
|
"state"
|
|
3628
|
-
]
|
|
3629
|
-
"additionalProperties": {}
|
|
4067
|
+
]
|
|
3630
4068
|
}
|
|
3631
4069
|
},
|
|
3632
4070
|
"createdAt": {
|
|
@@ -3647,8 +4085,7 @@
|
|
|
3647
4085
|
"subStatuses",
|
|
3648
4086
|
"createdAt",
|
|
3649
4087
|
"updatedAt"
|
|
3650
|
-
]
|
|
3651
|
-
"additionalProperties": {}
|
|
4088
|
+
]
|
|
3652
4089
|
}
|
|
3653
4090
|
}
|
|
3654
4091
|
}
|
|
@@ -3880,8 +4317,7 @@
|
|
|
3880
4317
|
"txHash",
|
|
3881
4318
|
"intentHashes",
|
|
3882
4319
|
"state"
|
|
3883
|
-
]
|
|
3884
|
-
"additionalProperties": {}
|
|
4320
|
+
]
|
|
3885
4321
|
}
|
|
3886
4322
|
},
|
|
3887
4323
|
"sourceTx": {
|
|
@@ -3911,8 +4347,7 @@
|
|
|
3911
4347
|
"txHash",
|
|
3912
4348
|
"token",
|
|
3913
4349
|
"amount"
|
|
3914
|
-
]
|
|
3915
|
-
"additionalProperties": {}
|
|
4350
|
+
]
|
|
3916
4351
|
},
|
|
3917
4352
|
"destinationTx": {
|
|
3918
4353
|
"type": "object",
|
|
@@ -3941,8 +4376,7 @@
|
|
|
3941
4376
|
"txHash",
|
|
3942
4377
|
"token",
|
|
3943
4378
|
"amount"
|
|
3944
|
-
]
|
|
3945
|
-
"additionalProperties": {}
|
|
4379
|
+
]
|
|
3946
4380
|
},
|
|
3947
4381
|
"steps": {
|
|
3948
4382
|
"type": "array",
|
|
@@ -3956,6 +4390,10 @@
|
|
|
3956
4390
|
"BRIDGE"
|
|
3957
4391
|
]
|
|
3958
4392
|
},
|
|
4393
|
+
"intentHash": {
|
|
4394
|
+
"type": "string",
|
|
4395
|
+
"pattern": "^0x[0-9a-fA-F]{64}$"
|
|
4396
|
+
},
|
|
3959
4397
|
"status": {
|
|
3960
4398
|
"type": "string",
|
|
3961
4399
|
"minLength": 1
|
|
@@ -3982,8 +4420,7 @@
|
|
|
3982
4420
|
"token",
|
|
3983
4421
|
"amount",
|
|
3984
4422
|
"chainId"
|
|
3985
|
-
]
|
|
3986
|
-
"additionalProperties": {}
|
|
4423
|
+
]
|
|
3987
4424
|
},
|
|
3988
4425
|
"to": {
|
|
3989
4426
|
"type": "object",
|
|
@@ -4007,8 +4444,7 @@
|
|
|
4007
4444
|
"token",
|
|
4008
4445
|
"amount",
|
|
4009
4446
|
"chainId"
|
|
4010
|
-
]
|
|
4011
|
-
"additionalProperties": {}
|
|
4447
|
+
]
|
|
4012
4448
|
},
|
|
4013
4449
|
"transactions": {
|
|
4014
4450
|
"type": "object",
|
|
@@ -4029,8 +4465,7 @@
|
|
|
4029
4465
|
"required": [
|
|
4030
4466
|
"chainId",
|
|
4031
4467
|
"txHash"
|
|
4032
|
-
]
|
|
4033
|
-
"additionalProperties": {}
|
|
4468
|
+
]
|
|
4034
4469
|
},
|
|
4035
4470
|
"fulfilled": {
|
|
4036
4471
|
"type": "object",
|
|
@@ -4048,8 +4483,7 @@
|
|
|
4048
4483
|
"required": [
|
|
4049
4484
|
"chainId",
|
|
4050
4485
|
"txHash"
|
|
4051
|
-
]
|
|
4052
|
-
"additionalProperties": {}
|
|
4486
|
+
]
|
|
4053
4487
|
},
|
|
4054
4488
|
"refunded": {
|
|
4055
4489
|
"type": "object",
|
|
@@ -4067,21 +4501,19 @@
|
|
|
4067
4501
|
"required": [
|
|
4068
4502
|
"chainId",
|
|
4069
4503
|
"txHash"
|
|
4070
|
-
]
|
|
4071
|
-
"additionalProperties": {}
|
|
4504
|
+
]
|
|
4072
4505
|
}
|
|
4073
|
-
}
|
|
4074
|
-
"additionalProperties": {}
|
|
4506
|
+
}
|
|
4075
4507
|
}
|
|
4076
4508
|
},
|
|
4077
4509
|
"required": [
|
|
4078
4510
|
"type",
|
|
4511
|
+
"intentHash",
|
|
4079
4512
|
"status",
|
|
4080
4513
|
"from",
|
|
4081
4514
|
"to",
|
|
4082
4515
|
"transactions"
|
|
4083
|
-
]
|
|
4084
|
-
"additionalProperties": {}
|
|
4516
|
+
]
|
|
4085
4517
|
}
|
|
4086
4518
|
}
|
|
4087
4519
|
},
|
|
@@ -4090,8 +4522,7 @@
|
|
|
4090
4522
|
"type",
|
|
4091
4523
|
"status",
|
|
4092
4524
|
"updatedAt"
|
|
4093
|
-
]
|
|
4094
|
-
"additionalProperties": {}
|
|
4525
|
+
]
|
|
4095
4526
|
}
|
|
4096
4527
|
},
|
|
4097
4528
|
"nextCursor": {
|
|
@@ -4109,8 +4540,7 @@
|
|
|
4109
4540
|
"required": [
|
|
4110
4541
|
"results",
|
|
4111
4542
|
"nextCursor"
|
|
4112
|
-
]
|
|
4113
|
-
"additionalProperties": {}
|
|
4543
|
+
]
|
|
4114
4544
|
}
|
|
4115
4545
|
}
|
|
4116
4546
|
}
|
|
@@ -4286,8 +4716,7 @@
|
|
|
4286
4716
|
"txHash",
|
|
4287
4717
|
"intentHashes",
|
|
4288
4718
|
"state"
|
|
4289
|
-
]
|
|
4290
|
-
"additionalProperties": {}
|
|
4719
|
+
]
|
|
4291
4720
|
}
|
|
4292
4721
|
},
|
|
4293
4722
|
"sourceTx": {
|
|
@@ -4317,8 +4746,7 @@
|
|
|
4317
4746
|
"txHash",
|
|
4318
4747
|
"token",
|
|
4319
4748
|
"amount"
|
|
4320
|
-
]
|
|
4321
|
-
"additionalProperties": {}
|
|
4749
|
+
]
|
|
4322
4750
|
},
|
|
4323
4751
|
"destinationTx": {
|
|
4324
4752
|
"type": "object",
|
|
@@ -4347,8 +4775,7 @@
|
|
|
4347
4775
|
"txHash",
|
|
4348
4776
|
"token",
|
|
4349
4777
|
"amount"
|
|
4350
|
-
]
|
|
4351
|
-
"additionalProperties": {}
|
|
4778
|
+
]
|
|
4352
4779
|
},
|
|
4353
4780
|
"steps": {
|
|
4354
4781
|
"type": "array",
|
|
@@ -4362,6 +4789,10 @@
|
|
|
4362
4789
|
"BRIDGE"
|
|
4363
4790
|
]
|
|
4364
4791
|
},
|
|
4792
|
+
"intentHash": {
|
|
4793
|
+
"type": "string",
|
|
4794
|
+
"pattern": "^0x[0-9a-fA-F]{64}$"
|
|
4795
|
+
},
|
|
4365
4796
|
"status": {
|
|
4366
4797
|
"type": "string",
|
|
4367
4798
|
"minLength": 1
|
|
@@ -4388,8 +4819,7 @@
|
|
|
4388
4819
|
"token",
|
|
4389
4820
|
"amount",
|
|
4390
4821
|
"chainId"
|
|
4391
|
-
]
|
|
4392
|
-
"additionalProperties": {}
|
|
4822
|
+
]
|
|
4393
4823
|
},
|
|
4394
4824
|
"to": {
|
|
4395
4825
|
"type": "object",
|
|
@@ -4413,8 +4843,7 @@
|
|
|
4413
4843
|
"token",
|
|
4414
4844
|
"amount",
|
|
4415
4845
|
"chainId"
|
|
4416
|
-
]
|
|
4417
|
-
"additionalProperties": {}
|
|
4846
|
+
]
|
|
4418
4847
|
},
|
|
4419
4848
|
"transactions": {
|
|
4420
4849
|
"type": "object",
|
|
@@ -4435,8 +4864,7 @@
|
|
|
4435
4864
|
"required": [
|
|
4436
4865
|
"chainId",
|
|
4437
4866
|
"txHash"
|
|
4438
|
-
]
|
|
4439
|
-
"additionalProperties": {}
|
|
4867
|
+
]
|
|
4440
4868
|
},
|
|
4441
4869
|
"fulfilled": {
|
|
4442
4870
|
"type": "object",
|
|
@@ -4454,8 +4882,7 @@
|
|
|
4454
4882
|
"required": [
|
|
4455
4883
|
"chainId",
|
|
4456
4884
|
"txHash"
|
|
4457
|
-
]
|
|
4458
|
-
"additionalProperties": {}
|
|
4885
|
+
]
|
|
4459
4886
|
},
|
|
4460
4887
|
"refunded": {
|
|
4461
4888
|
"type": "object",
|
|
@@ -4473,21 +4900,19 @@
|
|
|
4473
4900
|
"required": [
|
|
4474
4901
|
"chainId",
|
|
4475
4902
|
"txHash"
|
|
4476
|
-
]
|
|
4477
|
-
"additionalProperties": {}
|
|
4903
|
+
]
|
|
4478
4904
|
}
|
|
4479
|
-
}
|
|
4480
|
-
"additionalProperties": {}
|
|
4905
|
+
}
|
|
4481
4906
|
}
|
|
4482
4907
|
},
|
|
4483
4908
|
"required": [
|
|
4484
4909
|
"type",
|
|
4910
|
+
"intentHash",
|
|
4485
4911
|
"status",
|
|
4486
4912
|
"from",
|
|
4487
4913
|
"to",
|
|
4488
4914
|
"transactions"
|
|
4489
|
-
]
|
|
4490
|
-
"additionalProperties": {}
|
|
4915
|
+
]
|
|
4491
4916
|
}
|
|
4492
4917
|
}
|
|
4493
4918
|
},
|
|
@@ -4496,8 +4921,7 @@
|
|
|
4496
4921
|
"type",
|
|
4497
4922
|
"status",
|
|
4498
4923
|
"updatedAt"
|
|
4499
|
-
]
|
|
4500
|
-
"additionalProperties": {}
|
|
4924
|
+
]
|
|
4501
4925
|
}
|
|
4502
4926
|
},
|
|
4503
4927
|
"nextCursor": {
|
|
@@ -4515,8 +4939,7 @@
|
|
|
4515
4939
|
"required": [
|
|
4516
4940
|
"results",
|
|
4517
4941
|
"nextCursor"
|
|
4518
|
-
]
|
|
4519
|
-
"additionalProperties": {}
|
|
4942
|
+
]
|
|
4520
4943
|
}
|
|
4521
4944
|
}
|
|
4522
4945
|
}
|
|
@@ -4684,8 +5107,7 @@
|
|
|
4684
5107
|
"required": [
|
|
4685
5108
|
"portal",
|
|
4686
5109
|
"executor"
|
|
4687
|
-
]
|
|
4688
|
-
"additionalProperties": {}
|
|
5110
|
+
]
|
|
4689
5111
|
}
|
|
4690
5112
|
},
|
|
4691
5113
|
"required": [
|
|
@@ -4696,8 +5118,7 @@
|
|
|
4696
5118
|
"encoding",
|
|
4697
5119
|
"status",
|
|
4698
5120
|
"contracts"
|
|
4699
|
-
]
|
|
4700
|
-
"additionalProperties": {}
|
|
5121
|
+
]
|
|
4701
5122
|
}
|
|
4702
5123
|
},
|
|
4703
5124
|
"limits": {
|
|
@@ -4720,20 +5141,17 @@
|
|
|
4720
5141
|
"required": [
|
|
4721
5142
|
"maxLimit",
|
|
4722
5143
|
"defaultLimit"
|
|
4723
|
-
]
|
|
4724
|
-
"additionalProperties": {}
|
|
5144
|
+
]
|
|
4725
5145
|
}
|
|
4726
5146
|
},
|
|
4727
5147
|
"required": [
|
|
4728
5148
|
"paging"
|
|
4729
|
-
]
|
|
4730
|
-
"additionalProperties": {}
|
|
5149
|
+
]
|
|
4731
5150
|
}
|
|
4732
5151
|
},
|
|
4733
5152
|
"required": [
|
|
4734
5153
|
"chains"
|
|
4735
|
-
]
|
|
4736
|
-
"additionalProperties": {}
|
|
5154
|
+
]
|
|
4737
5155
|
}
|
|
4738
5156
|
}
|
|
4739
5157
|
}
|
|
@@ -4866,8 +5284,7 @@
|
|
|
4866
5284
|
"required": [
|
|
4867
5285
|
"quote",
|
|
4868
5286
|
"depositAddress"
|
|
4869
|
-
]
|
|
4870
|
-
"additionalProperties": {}
|
|
5287
|
+
]
|
|
4871
5288
|
}
|
|
4872
5289
|
},
|
|
4873
5290
|
"required": [
|
|
@@ -4876,8 +5293,7 @@
|
|
|
4876
5293
|
"symbol",
|
|
4877
5294
|
"decimals",
|
|
4878
5295
|
"supports"
|
|
4879
|
-
]
|
|
4880
|
-
"additionalProperties": {}
|
|
5296
|
+
]
|
|
4881
5297
|
}
|
|
4882
5298
|
},
|
|
4883
5299
|
"nextCursor": {
|
|
@@ -4894,8 +5310,7 @@
|
|
|
4894
5310
|
"required": [
|
|
4895
5311
|
"tokens",
|
|
4896
5312
|
"nextCursor"
|
|
4897
|
-
]
|
|
4898
|
-
"additionalProperties": {}
|
|
5313
|
+
]
|
|
4899
5314
|
}
|
|
4900
5315
|
}
|
|
4901
5316
|
}
|
|
@@ -4970,8 +5385,7 @@
|
|
|
4970
5385
|
"required": [
|
|
4971
5386
|
"chainId",
|
|
4972
5387
|
"token"
|
|
4973
|
-
]
|
|
4974
|
-
"additionalProperties": {}
|
|
5388
|
+
]
|
|
4975
5389
|
},
|
|
4976
5390
|
"destination": {
|
|
4977
5391
|
"type": "object",
|
|
@@ -5009,8 +5423,7 @@
|
|
|
5009
5423
|
"required": [
|
|
5010
5424
|
"chainId",
|
|
5011
5425
|
"token"
|
|
5012
|
-
]
|
|
5013
|
-
"additionalProperties": {}
|
|
5426
|
+
]
|
|
5014
5427
|
},
|
|
5015
5428
|
"swapTypes": {
|
|
5016
5429
|
"type": "array",
|
|
@@ -5028,8 +5441,7 @@
|
|
|
5028
5441
|
"source",
|
|
5029
5442
|
"destination",
|
|
5030
5443
|
"swapTypes"
|
|
5031
|
-
]
|
|
5032
|
-
"additionalProperties": {}
|
|
5444
|
+
]
|
|
5033
5445
|
}
|
|
5034
5446
|
},
|
|
5035
5447
|
"nextCursor": {
|
|
@@ -5046,8 +5458,7 @@
|
|
|
5046
5458
|
"required": [
|
|
5047
5459
|
"routes",
|
|
5048
5460
|
"nextCursor"
|
|
5049
|
-
]
|
|
5050
|
-
"additionalProperties": {}
|
|
5461
|
+
]
|
|
5051
5462
|
}
|
|
5052
5463
|
}
|
|
5053
5464
|
}
|
|
@@ -5091,7 +5502,7 @@
|
|
|
5091
5502
|
"type": "string",
|
|
5092
5503
|
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
5093
5504
|
},
|
|
5094
|
-
"
|
|
5505
|
+
"type": {
|
|
5095
5506
|
"type": "string",
|
|
5096
5507
|
"const": "solana"
|
|
5097
5508
|
},
|
|
@@ -5103,7 +5514,7 @@
|
|
|
5103
5514
|
"required": [
|
|
5104
5515
|
"chainId",
|
|
5105
5516
|
"depositor",
|
|
5106
|
-
"
|
|
5517
|
+
"type",
|
|
5107
5518
|
"destinationAddress"
|
|
5108
5519
|
],
|
|
5109
5520
|
"additionalProperties": false
|
|
@@ -5120,7 +5531,7 @@
|
|
|
5120
5531
|
"type": "string",
|
|
5121
5532
|
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
5122
5533
|
},
|
|
5123
|
-
"
|
|
5534
|
+
"type": {
|
|
5124
5535
|
"type": "string",
|
|
5125
5536
|
"const": "gateway"
|
|
5126
5537
|
},
|
|
@@ -5132,7 +5543,7 @@
|
|
|
5132
5543
|
"required": [
|
|
5133
5544
|
"chainId",
|
|
5134
5545
|
"depositor",
|
|
5135
|
-
"
|
|
5546
|
+
"type",
|
|
5136
5547
|
"destinationAddress"
|
|
5137
5548
|
],
|
|
5138
5549
|
"additionalProperties": false
|
|
@@ -5149,7 +5560,7 @@
|
|
|
5149
5560
|
"type": "string",
|
|
5150
5561
|
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
5151
5562
|
},
|
|
5152
|
-
"
|
|
5563
|
+
"type": {
|
|
5153
5564
|
"type": "string",
|
|
5154
5565
|
"const": "gateway-erc20"
|
|
5155
5566
|
},
|
|
@@ -5166,7 +5577,7 @@
|
|
|
5166
5577
|
"required": [
|
|
5167
5578
|
"chainId",
|
|
5168
5579
|
"depositor",
|
|
5169
|
-
"
|
|
5580
|
+
"type",
|
|
5170
5581
|
"destinationAddress",
|
|
5171
5582
|
"destinationChainId"
|
|
5172
5583
|
],
|
|
@@ -5202,7 +5613,7 @@
|
|
|
5202
5613
|
"type": "string",
|
|
5203
5614
|
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
5204
5615
|
},
|
|
5205
|
-
"
|
|
5616
|
+
"type": {
|
|
5206
5617
|
"type": "string",
|
|
5207
5618
|
"enum": [
|
|
5208
5619
|
"solana",
|
|
@@ -5282,8 +5693,7 @@
|
|
|
5282
5693
|
"chainId",
|
|
5283
5694
|
"source",
|
|
5284
5695
|
"registration"
|
|
5285
|
-
]
|
|
5286
|
-
"additionalProperties": {}
|
|
5696
|
+
]
|
|
5287
5697
|
}
|
|
5288
5698
|
}
|
|
5289
5699
|
},
|
|
@@ -5292,13 +5702,12 @@
|
|
|
5292
5702
|
"depositAddress",
|
|
5293
5703
|
"chainId",
|
|
5294
5704
|
"depositor",
|
|
5295
|
-
"
|
|
5705
|
+
"type",
|
|
5296
5706
|
"destinationAddress",
|
|
5297
5707
|
"expiresAt",
|
|
5298
5708
|
"createdAt",
|
|
5299
5709
|
"chains"
|
|
5300
|
-
]
|
|
5301
|
-
"additionalProperties": {}
|
|
5710
|
+
]
|
|
5302
5711
|
}
|
|
5303
5712
|
}
|
|
5304
5713
|
}
|
|
@@ -5381,7 +5790,7 @@
|
|
|
5381
5790
|
}
|
|
5382
5791
|
},
|
|
5383
5792
|
{
|
|
5384
|
-
"name": "
|
|
5793
|
+
"name": "type",
|
|
5385
5794
|
"in": "query",
|
|
5386
5795
|
"required": false,
|
|
5387
5796
|
"schema": {
|
|
@@ -5444,7 +5853,7 @@
|
|
|
5444
5853
|
"type": "string",
|
|
5445
5854
|
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
5446
5855
|
},
|
|
5447
|
-
"
|
|
5856
|
+
"type": {
|
|
5448
5857
|
"type": "string",
|
|
5449
5858
|
"enum": [
|
|
5450
5859
|
"solana",
|
|
@@ -5504,19 +5913,17 @@
|
|
|
5504
5913
|
"depositAddress",
|
|
5505
5914
|
"chainId",
|
|
5506
5915
|
"depositor",
|
|
5507
|
-
"
|
|
5916
|
+
"type",
|
|
5508
5917
|
"destinationAddress",
|
|
5509
5918
|
"expiresAt",
|
|
5510
5919
|
"createdAt"
|
|
5511
|
-
]
|
|
5512
|
-
"additionalProperties": {}
|
|
5920
|
+
]
|
|
5513
5921
|
}
|
|
5514
5922
|
}
|
|
5515
5923
|
},
|
|
5516
5924
|
"required": [
|
|
5517
5925
|
"results"
|
|
5518
|
-
]
|
|
5519
|
-
"additionalProperties": {}
|
|
5926
|
+
]
|
|
5520
5927
|
}
|
|
5521
5928
|
}
|
|
5522
5929
|
}
|
|
@@ -5611,8 +6018,7 @@
|
|
|
5611
6018
|
"required": [
|
|
5612
6019
|
"solver",
|
|
5613
6020
|
"message"
|
|
5614
|
-
]
|
|
5615
|
-
"additionalProperties": {}
|
|
6021
|
+
]
|
|
5616
6022
|
}
|
|
5617
6023
|
},
|
|
5618
6024
|
"errors": {
|
|
@@ -5632,8 +6038,7 @@
|
|
|
5632
6038
|
"required": [
|
|
5633
6039
|
"field",
|
|
5634
6040
|
"detail"
|
|
5635
|
-
]
|
|
5636
|
-
"additionalProperties": {}
|
|
6041
|
+
]
|
|
5637
6042
|
}
|
|
5638
6043
|
}
|
|
5639
6044
|
},
|
|
@@ -5642,8 +6047,7 @@
|
|
|
5642
6047
|
"title",
|
|
5643
6048
|
"status",
|
|
5644
6049
|
"code"
|
|
5645
|
-
]
|
|
5646
|
-
"additionalProperties": {}
|
|
6050
|
+
]
|
|
5647
6051
|
}
|
|
5648
6052
|
}
|
|
5649
6053
|
},
|