@eco-foundation/api-schemas 0.8.0 → 0.10.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 +152 -15
- package/dist/fixtures/index.js +10 -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.gateway-deposit.json +25 -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.gateway-deposit.json +206 -0
- 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 +348 -193
- package/dist/v1/endpoints/quotes.js +74 -62
- package/dist/v1/endpoints/quotes.js.map +1 -1
- package/dist/v1/endpoints/registry.d.ts +118 -76
- package/dist/v1/endpoints/routes.d.ts +2 -0
- 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 +14 -30
- package/dist/v1/enums.js +10 -15
- package/dist/v1/enums.js.map +1 -1
- package/dist/v1/types.d.ts +42 -42
- package/openapi/v1.json +1084 -676
- 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,13 +42,15 @@
|
|
|
42
42
|
"schema": {
|
|
43
43
|
"type": "object",
|
|
44
44
|
"properties": {
|
|
45
|
-
"
|
|
45
|
+
"type": {
|
|
46
46
|
"type": "string",
|
|
47
47
|
"enum": [
|
|
48
48
|
"exact-in",
|
|
49
49
|
"exact-out",
|
|
50
|
-
"custom"
|
|
51
|
-
|
|
50
|
+
"custom",
|
|
51
|
+
"gateway-deposit"
|
|
52
|
+
],
|
|
53
|
+
"description": "exact-in: fixed source.amount. exact-out: fixed destination.amount. custom: exact-in with user-authored destination.calls. gateway-deposit: prices the Circle Gateway fast-deposit route (CCTP burn on the source chain, GatewayWallet.depositFor on the destination) instead of a plain transfer; source.amount is required, destination.amount and destination.calls are rejected, destination.recipient is the final Gateway recipient on the destination chain. The destination must be an EVM chain for which the solvers hold a Circle Gateway wallet configuration (HyperCore destinations are refused) and source.token should be the source chain's USDC; any other token is priced only through the solvers' stitched swap ladder and may be refused. The response is either one cross-chain intent (direct) or a two-leg stitched chain: execution.intent is the same-chain leg the funder funds and steps[].intents[] carries the destination leg with role stitched-destination. On the stitched shape reward.deadline is earlier than route.deadline on both legs; the direct shape keeps the usual ordering."
|
|
52
54
|
},
|
|
53
55
|
"source": {
|
|
54
56
|
"type": "object",
|
|
@@ -87,11 +89,36 @@
|
|
|
87
89
|
"maxLength": 78,
|
|
88
90
|
"pattern": "^(0|[1-9]\\d*)$",
|
|
89
91
|
"description": "Base-10 unsigned integer string in smallest units; must be greater than 0"
|
|
92
|
+
},
|
|
93
|
+
"funder": {
|
|
94
|
+
"anyOf": [
|
|
95
|
+
{
|
|
96
|
+
"type": "string",
|
|
97
|
+
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"anyOf": [
|
|
101
|
+
{
|
|
102
|
+
"type": "string",
|
|
103
|
+
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"type": "string",
|
|
107
|
+
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
108
|
+
}
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"type": "string",
|
|
113
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
114
|
+
}
|
|
115
|
+
]
|
|
90
116
|
}
|
|
91
117
|
},
|
|
92
118
|
"required": [
|
|
93
119
|
"chainId",
|
|
94
|
-
"token"
|
|
120
|
+
"token",
|
|
121
|
+
"funder"
|
|
95
122
|
],
|
|
96
123
|
"additionalProperties": false
|
|
97
124
|
},
|
|
@@ -131,7 +158,7 @@
|
|
|
131
158
|
"type": "string",
|
|
132
159
|
"maxLength": 78,
|
|
133
160
|
"pattern": "^(0|[1-9]\\d*)$",
|
|
134
|
-
"description": "
|
|
161
|
+
"description": "Required for exact-out. Rejected for gateway-deposit (the engine derives it). Not read for exact-in or custom."
|
|
135
162
|
},
|
|
136
163
|
"recipient": {
|
|
137
164
|
"anyOf": [
|
|
@@ -241,30 +268,6 @@
|
|
|
241
268
|
],
|
|
242
269
|
"additionalProperties": false
|
|
243
270
|
},
|
|
244
|
-
"funder": {
|
|
245
|
-
"anyOf": [
|
|
246
|
-
{
|
|
247
|
-
"type": "string",
|
|
248
|
-
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
249
|
-
},
|
|
250
|
-
{
|
|
251
|
-
"anyOf": [
|
|
252
|
-
{
|
|
253
|
-
"type": "string",
|
|
254
|
-
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
255
|
-
},
|
|
256
|
-
{
|
|
257
|
-
"type": "string",
|
|
258
|
-
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
259
|
-
}
|
|
260
|
-
]
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
"type": "string",
|
|
264
|
-
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
265
|
-
}
|
|
266
|
-
]
|
|
267
|
-
},
|
|
268
271
|
"refundRecipient": {
|
|
269
272
|
"anyOf": [
|
|
270
273
|
{
|
|
@@ -308,13 +311,6 @@
|
|
|
308
311
|
"exclusiveMinimum": 0,
|
|
309
312
|
"maximum": 9007199254740991
|
|
310
313
|
},
|
|
311
|
-
"visibility": {
|
|
312
|
-
"type": "string",
|
|
313
|
-
"enum": [
|
|
314
|
-
"public",
|
|
315
|
-
"private"
|
|
316
|
-
]
|
|
317
|
-
},
|
|
318
314
|
"allQuotes": {
|
|
319
315
|
"type": "boolean"
|
|
320
316
|
}
|
|
@@ -323,10 +319,10 @@
|
|
|
323
319
|
}
|
|
324
320
|
},
|
|
325
321
|
"required": [
|
|
326
|
-
"
|
|
322
|
+
"type",
|
|
327
323
|
"source",
|
|
328
324
|
"destination",
|
|
329
|
-
"
|
|
325
|
+
"dappId"
|
|
330
326
|
],
|
|
331
327
|
"additionalProperties": false
|
|
332
328
|
}
|
|
@@ -345,26 +341,13 @@
|
|
|
345
341
|
"type": "string",
|
|
346
342
|
"pattern": "^quote:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
|
|
347
343
|
},
|
|
348
|
-
"
|
|
344
|
+
"type": {
|
|
349
345
|
"type": "string",
|
|
350
346
|
"enum": [
|
|
351
347
|
"exact-in",
|
|
352
348
|
"exact-out",
|
|
353
|
-
"custom"
|
|
354
|
-
|
|
355
|
-
},
|
|
356
|
-
"visibility": {
|
|
357
|
-
"type": "string",
|
|
358
|
-
"enum": [
|
|
359
|
-
"public",
|
|
360
|
-
"private"
|
|
361
|
-
]
|
|
362
|
-
},
|
|
363
|
-
"guarantee": {
|
|
364
|
-
"type": "string",
|
|
365
|
-
"enum": [
|
|
366
|
-
"atomic-or-refund",
|
|
367
|
-
"calls-execute-or-refund"
|
|
349
|
+
"custom",
|
|
350
|
+
"gateway-deposit"
|
|
368
351
|
]
|
|
369
352
|
},
|
|
370
353
|
"source": {
|
|
@@ -404,6 +387,30 @@
|
|
|
404
387
|
"maxLength": 78,
|
|
405
388
|
"pattern": "^(0|[1-9]\\d*)$"
|
|
406
389
|
},
|
|
390
|
+
"funder": {
|
|
391
|
+
"anyOf": [
|
|
392
|
+
{
|
|
393
|
+
"type": "string",
|
|
394
|
+
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
"anyOf": [
|
|
398
|
+
{
|
|
399
|
+
"type": "string",
|
|
400
|
+
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"type": "string",
|
|
404
|
+
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
405
|
+
}
|
|
406
|
+
]
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"type": "string",
|
|
410
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
411
|
+
}
|
|
412
|
+
]
|
|
413
|
+
},
|
|
407
414
|
"symbol": {
|
|
408
415
|
"anyOf": [
|
|
409
416
|
{
|
|
@@ -431,10 +438,10 @@
|
|
|
431
438
|
"chainId",
|
|
432
439
|
"token",
|
|
433
440
|
"amount",
|
|
441
|
+
"funder",
|
|
434
442
|
"symbol",
|
|
435
443
|
"decimals"
|
|
436
|
-
]
|
|
437
|
-
"additionalProperties": {}
|
|
444
|
+
]
|
|
438
445
|
},
|
|
439
446
|
"destination": {
|
|
440
447
|
"type": "object",
|
|
@@ -468,7 +475,7 @@
|
|
|
468
475
|
}
|
|
469
476
|
]
|
|
470
477
|
},
|
|
471
|
-
"
|
|
478
|
+
"amountOut": {
|
|
472
479
|
"type": "string",
|
|
473
480
|
"maxLength": 78,
|
|
474
481
|
"pattern": "^(0|[1-9]\\d*)$"
|
|
@@ -535,13 +542,12 @@
|
|
|
535
542
|
"required": [
|
|
536
543
|
"chainId",
|
|
537
544
|
"token",
|
|
538
|
-
"
|
|
545
|
+
"amountOut",
|
|
539
546
|
"minAmountOut",
|
|
540
547
|
"recipient",
|
|
541
548
|
"symbol",
|
|
542
549
|
"decimals"
|
|
543
|
-
]
|
|
544
|
-
"additionalProperties": {}
|
|
550
|
+
]
|
|
545
551
|
},
|
|
546
552
|
"slippage": {
|
|
547
553
|
"type": "number",
|
|
@@ -553,7 +559,7 @@
|
|
|
553
559
|
"items": {
|
|
554
560
|
"type": "object",
|
|
555
561
|
"properties": {
|
|
556
|
-
"
|
|
562
|
+
"type": {
|
|
557
563
|
"type": "string",
|
|
558
564
|
"enum": [
|
|
559
565
|
"gas",
|
|
@@ -627,20 +633,18 @@
|
|
|
627
633
|
"address",
|
|
628
634
|
"symbol",
|
|
629
635
|
"decimals"
|
|
630
|
-
]
|
|
631
|
-
"additionalProperties": {}
|
|
636
|
+
]
|
|
632
637
|
},
|
|
633
638
|
"estimate": {
|
|
634
639
|
"type": "boolean"
|
|
635
640
|
}
|
|
636
641
|
},
|
|
637
642
|
"required": [
|
|
638
|
-
"
|
|
643
|
+
"type",
|
|
639
644
|
"amount",
|
|
640
645
|
"token",
|
|
641
646
|
"estimate"
|
|
642
|
-
]
|
|
643
|
-
"additionalProperties": {}
|
|
647
|
+
]
|
|
644
648
|
}
|
|
645
649
|
},
|
|
646
650
|
"steps": {
|
|
@@ -648,7 +652,7 @@
|
|
|
648
652
|
"items": {
|
|
649
653
|
"type": "object",
|
|
650
654
|
"properties": {
|
|
651
|
-
"
|
|
655
|
+
"type": {
|
|
652
656
|
"type": "string",
|
|
653
657
|
"enum": [
|
|
654
658
|
"swap",
|
|
@@ -657,7 +661,7 @@
|
|
|
657
661
|
"transfer"
|
|
658
662
|
]
|
|
659
663
|
},
|
|
660
|
-
"
|
|
664
|
+
"provider": {
|
|
661
665
|
"type": "string",
|
|
662
666
|
"minLength": 1
|
|
663
667
|
},
|
|
@@ -707,8 +711,7 @@
|
|
|
707
711
|
"chainId",
|
|
708
712
|
"token",
|
|
709
713
|
"amount"
|
|
710
|
-
]
|
|
711
|
-
"additionalProperties": {}
|
|
714
|
+
]
|
|
712
715
|
},
|
|
713
716
|
"to": {
|
|
714
717
|
"type": "object",
|
|
@@ -752,15 +755,14 @@
|
|
|
752
755
|
"chainId",
|
|
753
756
|
"token",
|
|
754
757
|
"amount"
|
|
755
|
-
]
|
|
756
|
-
"additionalProperties": {}
|
|
758
|
+
]
|
|
757
759
|
},
|
|
758
760
|
"fees": {
|
|
759
761
|
"type": "array",
|
|
760
762
|
"items": {
|
|
761
763
|
"type": "object",
|
|
762
764
|
"properties": {
|
|
763
|
-
"
|
|
765
|
+
"type": {
|
|
764
766
|
"type": "string",
|
|
765
767
|
"enum": [
|
|
766
768
|
"gas",
|
|
@@ -834,211 +836,476 @@
|
|
|
834
836
|
"address",
|
|
835
837
|
"symbol",
|
|
836
838
|
"decimals"
|
|
837
|
-
]
|
|
838
|
-
"additionalProperties": {}
|
|
839
|
+
]
|
|
839
840
|
},
|
|
840
841
|
"estimate": {
|
|
841
842
|
"type": "boolean"
|
|
842
843
|
}
|
|
843
844
|
},
|
|
844
845
|
"required": [
|
|
845
|
-
"
|
|
846
|
+
"type",
|
|
846
847
|
"amount",
|
|
847
848
|
"token",
|
|
848
849
|
"estimate"
|
|
849
|
-
]
|
|
850
|
-
"additionalProperties": {}
|
|
850
|
+
]
|
|
851
851
|
}
|
|
852
852
|
},
|
|
853
853
|
"estimatedDurationSec": {
|
|
854
854
|
"type": "integer",
|
|
855
855
|
"minimum": 0,
|
|
856
856
|
"maximum": 9007199254740991
|
|
857
|
-
}
|
|
858
|
-
},
|
|
859
|
-
"required": [
|
|
860
|
-
"kind",
|
|
861
|
-
"tool",
|
|
862
|
-
"from",
|
|
863
|
-
"to",
|
|
864
|
-
"fees",
|
|
865
|
-
"estimatedDurationSec"
|
|
866
|
-
],
|
|
867
|
-
"additionalProperties": {}
|
|
868
|
-
}
|
|
869
|
-
},
|
|
870
|
-
"relatedIntents": {
|
|
871
|
-
"type": "array",
|
|
872
|
-
"items": {
|
|
873
|
-
"type": "object",
|
|
874
|
-
"properties": {
|
|
875
|
-
"role": {
|
|
876
|
-
"type": "string",
|
|
877
|
-
"enum": [
|
|
878
|
-
"local",
|
|
879
|
-
"bucket-candidate",
|
|
880
|
-
"stitched-destination"
|
|
881
|
-
]
|
|
882
|
-
},
|
|
883
|
-
"intentHash": {
|
|
884
|
-
"type": "string",
|
|
885
|
-
"pattern": "^0x[0-9a-fA-F]{64}$"
|
|
886
857
|
},
|
|
887
|
-
"
|
|
888
|
-
"type": "
|
|
889
|
-
"
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
"minimum": 0,
|
|
894
|
-
"maximum": 9007199254740991
|
|
895
|
-
}
|
|
896
|
-
},
|
|
897
|
-
"required": [
|
|
898
|
-
"role",
|
|
899
|
-
"intentHash"
|
|
900
|
-
],
|
|
901
|
-
"additionalProperties": {}
|
|
902
|
-
}
|
|
903
|
-
},
|
|
904
|
-
"solver": {
|
|
905
|
-
"type": "object",
|
|
906
|
-
"properties": {
|
|
907
|
-
"id": {
|
|
908
|
-
"anyOf": [
|
|
909
|
-
{
|
|
910
|
-
"type": "string",
|
|
911
|
-
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
912
|
-
},
|
|
913
|
-
{
|
|
914
|
-
"anyOf": [
|
|
915
|
-
{
|
|
858
|
+
"intents": {
|
|
859
|
+
"type": "array",
|
|
860
|
+
"items": {
|
|
861
|
+
"type": "object",
|
|
862
|
+
"properties": {
|
|
863
|
+
"role": {
|
|
916
864
|
"type": "string",
|
|
917
|
-
"
|
|
865
|
+
"enum": [
|
|
866
|
+
"local",
|
|
867
|
+
"bucket-candidate",
|
|
868
|
+
"stitched-destination"
|
|
869
|
+
]
|
|
918
870
|
},
|
|
919
|
-
{
|
|
871
|
+
"intentHash": {
|
|
920
872
|
"type": "string",
|
|
921
|
-
"pattern": "^
|
|
922
|
-
}
|
|
923
|
-
]
|
|
924
|
-
},
|
|
925
|
-
{
|
|
926
|
-
"type": "string",
|
|
927
|
-
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
928
|
-
}
|
|
929
|
-
]
|
|
930
|
-
},
|
|
931
|
-
"name": {
|
|
932
|
-
"type": "string",
|
|
933
|
-
"minLength": 1
|
|
934
|
-
}
|
|
935
|
-
},
|
|
936
|
-
"required": [
|
|
937
|
-
"id"
|
|
938
|
-
],
|
|
939
|
-
"additionalProperties": {}
|
|
940
|
-
},
|
|
941
|
-
"intentHash": {
|
|
942
|
-
"anyOf": [
|
|
943
|
-
{
|
|
944
|
-
"type": "string",
|
|
945
|
-
"pattern": "^0x[0-9a-fA-F]{64}$"
|
|
946
|
-
},
|
|
947
|
-
{
|
|
948
|
-
"type": "null"
|
|
949
|
-
}
|
|
950
|
-
]
|
|
951
|
-
},
|
|
952
|
-
"execution": {
|
|
953
|
-
"anyOf": [
|
|
954
|
-
{
|
|
955
|
-
"type": "object",
|
|
956
|
-
"properties": {
|
|
957
|
-
"transaction": {
|
|
958
|
-
"oneOf": [
|
|
959
|
-
{
|
|
960
|
-
"type": "object",
|
|
961
|
-
"properties": {
|
|
962
|
-
"kind": {
|
|
963
|
-
"type": "string",
|
|
964
|
-
"const": "evm"
|
|
965
|
-
},
|
|
966
|
-
"chainId": {
|
|
967
|
-
"type": "integer",
|
|
968
|
-
"exclusiveMinimum": 0,
|
|
969
|
-
"maximum": 9007199254740991
|
|
970
|
-
},
|
|
971
|
-
"to": {
|
|
972
|
-
"type": "string",
|
|
973
|
-
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
974
|
-
},
|
|
975
|
-
"data": {
|
|
976
|
-
"type": "string",
|
|
977
|
-
"pattern": "^0x(?:[0-9a-fA-F]{2})*$"
|
|
978
|
-
},
|
|
979
|
-
"value": {
|
|
980
|
-
"type": "string",
|
|
981
|
-
"maxLength": 78,
|
|
982
|
-
"pattern": "^(0|[1-9]\\d*)$"
|
|
983
|
-
}
|
|
984
|
-
},
|
|
985
|
-
"required": [
|
|
986
|
-
"kind",
|
|
987
|
-
"chainId",
|
|
988
|
-
"to",
|
|
989
|
-
"data",
|
|
990
|
-
"value"
|
|
991
|
-
],
|
|
992
|
-
"additionalProperties": {}
|
|
873
|
+
"pattern": "^0x[0-9a-fA-F]{64}$"
|
|
993
874
|
},
|
|
994
|
-
{
|
|
875
|
+
"routeHash": {
|
|
876
|
+
"type": "string",
|
|
877
|
+
"pattern": "^0x[0-9a-fA-F]{64}$"
|
|
878
|
+
},
|
|
879
|
+
"bucketIndex": {
|
|
880
|
+
"type": "integer",
|
|
881
|
+
"minimum": 0,
|
|
882
|
+
"maximum": 9007199254740991
|
|
883
|
+
},
|
|
884
|
+
"intent": {
|
|
995
885
|
"type": "object",
|
|
996
886
|
"properties": {
|
|
997
|
-
"
|
|
998
|
-
"type": "
|
|
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
|
-
|
|
887
|
+
"route": {
|
|
888
|
+
"type": "object",
|
|
889
|
+
"properties": {
|
|
890
|
+
"salt": {
|
|
891
|
+
"type": "string",
|
|
892
|
+
"pattern": "^0x[0-9a-fA-F]{64}$"
|
|
893
|
+
},
|
|
894
|
+
"deadline": {
|
|
895
|
+
"type": "integer",
|
|
896
|
+
"minimum": 0,
|
|
897
|
+
"maximum": 4102444800
|
|
898
|
+
},
|
|
899
|
+
"source": {
|
|
900
|
+
"type": "integer",
|
|
901
|
+
"exclusiveMinimum": 0,
|
|
902
|
+
"maximum": 9007199254740991
|
|
903
|
+
},
|
|
904
|
+
"destination": {
|
|
905
|
+
"type": "integer",
|
|
906
|
+
"exclusiveMinimum": 0,
|
|
907
|
+
"maximum": 9007199254740991
|
|
908
|
+
},
|
|
909
|
+
"portal": {
|
|
910
|
+
"anyOf": [
|
|
911
|
+
{
|
|
912
|
+
"type": "string",
|
|
913
|
+
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
914
|
+
},
|
|
915
|
+
{
|
|
916
|
+
"anyOf": [
|
|
917
|
+
{
|
|
918
|
+
"type": "string",
|
|
919
|
+
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
920
|
+
},
|
|
921
|
+
{
|
|
922
|
+
"type": "string",
|
|
923
|
+
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
924
|
+
}
|
|
925
|
+
]
|
|
926
|
+
},
|
|
927
|
+
{
|
|
928
|
+
"type": "string",
|
|
929
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
930
|
+
}
|
|
931
|
+
]
|
|
932
|
+
},
|
|
933
|
+
"nativeAmount": {
|
|
934
|
+
"type": "string",
|
|
935
|
+
"maxLength": 78,
|
|
936
|
+
"pattern": "^(0|[1-9]\\d*)$"
|
|
937
|
+
},
|
|
938
|
+
"tokens": {
|
|
939
|
+
"type": "array",
|
|
940
|
+
"items": {
|
|
941
|
+
"type": "object",
|
|
942
|
+
"properties": {
|
|
943
|
+
"token": {
|
|
944
|
+
"anyOf": [
|
|
945
|
+
{
|
|
946
|
+
"type": "string",
|
|
947
|
+
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
948
|
+
},
|
|
949
|
+
{
|
|
950
|
+
"anyOf": [
|
|
951
|
+
{
|
|
952
|
+
"type": "string",
|
|
953
|
+
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
954
|
+
},
|
|
955
|
+
{
|
|
956
|
+
"type": "string",
|
|
957
|
+
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
958
|
+
}
|
|
959
|
+
]
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
"type": "string",
|
|
963
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
964
|
+
}
|
|
965
|
+
]
|
|
966
|
+
},
|
|
967
|
+
"amount": {
|
|
968
|
+
"type": "string",
|
|
969
|
+
"maxLength": 78,
|
|
970
|
+
"pattern": "^(0|[1-9]\\d*)$"
|
|
971
|
+
}
|
|
972
|
+
},
|
|
973
|
+
"required": [
|
|
974
|
+
"token",
|
|
975
|
+
"amount"
|
|
976
|
+
]
|
|
977
|
+
}
|
|
978
|
+
},
|
|
979
|
+
"calls": {
|
|
980
|
+
"type": "array",
|
|
981
|
+
"items": {
|
|
982
|
+
"type": "object",
|
|
983
|
+
"properties": {
|
|
984
|
+
"target": {
|
|
985
|
+
"anyOf": [
|
|
986
|
+
{
|
|
987
|
+
"type": "string",
|
|
988
|
+
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
989
|
+
},
|
|
990
|
+
{
|
|
991
|
+
"anyOf": [
|
|
992
|
+
{
|
|
993
|
+
"type": "string",
|
|
994
|
+
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
995
|
+
},
|
|
996
|
+
{
|
|
997
|
+
"type": "string",
|
|
998
|
+
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
999
|
+
}
|
|
1000
|
+
]
|
|
1001
|
+
},
|
|
1002
|
+
{
|
|
1003
|
+
"type": "string",
|
|
1004
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
1005
|
+
}
|
|
1006
|
+
]
|
|
1007
|
+
},
|
|
1008
|
+
"data": {
|
|
1009
|
+
"type": "string",
|
|
1010
|
+
"pattern": "^0x(?:[0-9a-fA-F]{2})*$"
|
|
1011
|
+
},
|
|
1012
|
+
"value": {
|
|
1013
|
+
"type": "string",
|
|
1014
|
+
"maxLength": 78,
|
|
1015
|
+
"pattern": "^(0|[1-9]\\d*)$"
|
|
1016
|
+
}
|
|
1017
|
+
},
|
|
1018
|
+
"required": [
|
|
1019
|
+
"target",
|
|
1020
|
+
"data",
|
|
1021
|
+
"value"
|
|
1022
|
+
]
|
|
1023
|
+
}
|
|
1024
|
+
}
|
|
1025
|
+
},
|
|
1026
|
+
"required": [
|
|
1027
|
+
"salt",
|
|
1028
|
+
"deadline",
|
|
1029
|
+
"source",
|
|
1030
|
+
"destination",
|
|
1031
|
+
"portal",
|
|
1032
|
+
"nativeAmount",
|
|
1033
|
+
"tokens",
|
|
1034
|
+
"calls"
|
|
1035
|
+
]
|
|
1036
|
+
},
|
|
1037
|
+
"reward": {
|
|
1038
|
+
"type": "object",
|
|
1039
|
+
"properties": {
|
|
1040
|
+
"deadline": {
|
|
1041
|
+
"type": "integer",
|
|
1042
|
+
"minimum": 0,
|
|
1043
|
+
"maximum": 4102444800
|
|
1044
|
+
},
|
|
1045
|
+
"creator": {
|
|
1046
|
+
"anyOf": [
|
|
1047
|
+
{
|
|
1048
|
+
"type": "string",
|
|
1049
|
+
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
1050
|
+
},
|
|
1051
|
+
{
|
|
1052
|
+
"anyOf": [
|
|
1053
|
+
{
|
|
1054
|
+
"type": "string",
|
|
1055
|
+
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
1056
|
+
},
|
|
1057
|
+
{
|
|
1058
|
+
"type": "string",
|
|
1059
|
+
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
1060
|
+
}
|
|
1061
|
+
]
|
|
1062
|
+
},
|
|
1063
|
+
{
|
|
1064
|
+
"type": "string",
|
|
1065
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
1066
|
+
}
|
|
1067
|
+
]
|
|
1068
|
+
},
|
|
1069
|
+
"prover": {
|
|
1070
|
+
"anyOf": [
|
|
1071
|
+
{
|
|
1072
|
+
"type": "string",
|
|
1073
|
+
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
1074
|
+
},
|
|
1075
|
+
{
|
|
1076
|
+
"anyOf": [
|
|
1077
|
+
{
|
|
1078
|
+
"type": "string",
|
|
1079
|
+
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
1080
|
+
},
|
|
1081
|
+
{
|
|
1082
|
+
"type": "string",
|
|
1083
|
+
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
1084
|
+
}
|
|
1085
|
+
]
|
|
1086
|
+
},
|
|
1087
|
+
{
|
|
1088
|
+
"type": "string",
|
|
1089
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
1090
|
+
}
|
|
1091
|
+
]
|
|
1092
|
+
},
|
|
1093
|
+
"nativeAmount": {
|
|
1094
|
+
"type": "string",
|
|
1095
|
+
"maxLength": 78,
|
|
1096
|
+
"pattern": "^(0|[1-9]\\d*)$"
|
|
1097
|
+
},
|
|
1098
|
+
"tokens": {
|
|
1099
|
+
"type": "array",
|
|
1100
|
+
"items": {
|
|
1101
|
+
"type": "object",
|
|
1102
|
+
"properties": {
|
|
1103
|
+
"token": {
|
|
1104
|
+
"anyOf": [
|
|
1105
|
+
{
|
|
1106
|
+
"type": "string",
|
|
1107
|
+
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
1108
|
+
},
|
|
1109
|
+
{
|
|
1110
|
+
"anyOf": [
|
|
1111
|
+
{
|
|
1112
|
+
"type": "string",
|
|
1113
|
+
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
1114
|
+
},
|
|
1115
|
+
{
|
|
1116
|
+
"type": "string",
|
|
1117
|
+
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
1118
|
+
}
|
|
1119
|
+
]
|
|
1120
|
+
},
|
|
1121
|
+
{
|
|
1122
|
+
"type": "string",
|
|
1123
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
1124
|
+
}
|
|
1125
|
+
]
|
|
1126
|
+
},
|
|
1127
|
+
"amount": {
|
|
1128
|
+
"type": "string",
|
|
1129
|
+
"maxLength": 78,
|
|
1130
|
+
"pattern": "^(0|[1-9]\\d*)$"
|
|
1131
|
+
}
|
|
1132
|
+
},
|
|
1133
|
+
"required": [
|
|
1134
|
+
"token",
|
|
1135
|
+
"amount"
|
|
1136
|
+
]
|
|
1137
|
+
}
|
|
1138
|
+
}
|
|
1139
|
+
},
|
|
1140
|
+
"required": [
|
|
1141
|
+
"deadline",
|
|
1142
|
+
"creator",
|
|
1143
|
+
"prover",
|
|
1144
|
+
"nativeAmount",
|
|
1145
|
+
"tokens"
|
|
1146
|
+
]
|
|
1147
|
+
}
|
|
1148
|
+
},
|
|
1149
|
+
"required": [
|
|
1150
|
+
"route",
|
|
1151
|
+
"reward"
|
|
1152
|
+
]
|
|
1153
|
+
}
|
|
1154
|
+
},
|
|
1155
|
+
"required": [
|
|
1156
|
+
"role",
|
|
1157
|
+
"intentHash",
|
|
1158
|
+
"intent"
|
|
1159
|
+
]
|
|
1160
|
+
}
|
|
1161
|
+
}
|
|
1162
|
+
},
|
|
1163
|
+
"required": [
|
|
1164
|
+
"type",
|
|
1165
|
+
"provider",
|
|
1166
|
+
"from",
|
|
1167
|
+
"to",
|
|
1168
|
+
"fees",
|
|
1169
|
+
"estimatedDurationSec",
|
|
1170
|
+
"intents"
|
|
1171
|
+
]
|
|
1172
|
+
}
|
|
1173
|
+
},
|
|
1174
|
+
"solver": {
|
|
1175
|
+
"type": "object",
|
|
1176
|
+
"properties": {
|
|
1177
|
+
"id": {
|
|
1178
|
+
"anyOf": [
|
|
1179
|
+
{
|
|
1180
|
+
"type": "string",
|
|
1181
|
+
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
1182
|
+
},
|
|
1183
|
+
{
|
|
1184
|
+
"anyOf": [
|
|
1185
|
+
{
|
|
1186
|
+
"type": "string",
|
|
1187
|
+
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
1188
|
+
},
|
|
1189
|
+
{
|
|
1190
|
+
"type": "string",
|
|
1191
|
+
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
1192
|
+
}
|
|
1193
|
+
]
|
|
1194
|
+
},
|
|
1195
|
+
{
|
|
1196
|
+
"type": "string",
|
|
1197
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
1198
|
+
}
|
|
1199
|
+
]
|
|
1200
|
+
},
|
|
1201
|
+
"name": {
|
|
1202
|
+
"type": "string",
|
|
1203
|
+
"minLength": 1
|
|
1204
|
+
}
|
|
1205
|
+
},
|
|
1206
|
+
"required": [
|
|
1207
|
+
"id"
|
|
1208
|
+
]
|
|
1209
|
+
},
|
|
1210
|
+
"intentHash": {
|
|
1211
|
+
"anyOf": [
|
|
1212
|
+
{
|
|
1213
|
+
"type": "string",
|
|
1214
|
+
"pattern": "^0x[0-9a-fA-F]{64}$"
|
|
1215
|
+
},
|
|
1216
|
+
{
|
|
1217
|
+
"type": "null"
|
|
1218
|
+
}
|
|
1219
|
+
]
|
|
1220
|
+
},
|
|
1221
|
+
"execution": {
|
|
1222
|
+
"anyOf": [
|
|
1223
|
+
{
|
|
1224
|
+
"type": "object",
|
|
1225
|
+
"properties": {
|
|
1226
|
+
"transaction": {
|
|
1227
|
+
"oneOf": [
|
|
1228
|
+
{
|
|
1229
|
+
"type": "object",
|
|
1230
|
+
"properties": {
|
|
1231
|
+
"type": {
|
|
1232
|
+
"type": "string",
|
|
1233
|
+
"const": "evm"
|
|
1234
|
+
},
|
|
1235
|
+
"chainId": {
|
|
1236
|
+
"type": "integer",
|
|
1237
|
+
"exclusiveMinimum": 0,
|
|
1238
|
+
"maximum": 9007199254740991
|
|
1239
|
+
},
|
|
1240
|
+
"to": {
|
|
1241
|
+
"type": "string",
|
|
1242
|
+
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
1243
|
+
},
|
|
1244
|
+
"data": {
|
|
1245
|
+
"type": "string",
|
|
1246
|
+
"pattern": "^0x(?:[0-9a-fA-F]{2})*$"
|
|
1247
|
+
},
|
|
1248
|
+
"value": {
|
|
1249
|
+
"type": "string",
|
|
1250
|
+
"maxLength": 78,
|
|
1251
|
+
"pattern": "^(0|[1-9]\\d*)$"
|
|
1252
|
+
}
|
|
1253
|
+
},
|
|
1254
|
+
"required": [
|
|
1255
|
+
"type",
|
|
1256
|
+
"chainId",
|
|
1257
|
+
"to",
|
|
1258
|
+
"data",
|
|
1259
|
+
"value"
|
|
1260
|
+
]
|
|
1261
|
+
},
|
|
1262
|
+
{
|
|
1263
|
+
"type": "object",
|
|
1264
|
+
"properties": {
|
|
1265
|
+
"type": {
|
|
1266
|
+
"type": "string",
|
|
1267
|
+
"const": "svm"
|
|
1268
|
+
},
|
|
1269
|
+
"chainId": {
|
|
1270
|
+
"type": "integer",
|
|
1271
|
+
"exclusiveMinimum": 0,
|
|
1272
|
+
"maximum": 9007199254740991
|
|
1273
|
+
},
|
|
1274
|
+
"feePayer": {
|
|
1275
|
+
"type": "string",
|
|
1276
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
1277
|
+
},
|
|
1278
|
+
"instructions": {
|
|
1279
|
+
"minItems": 1,
|
|
1280
|
+
"type": "array",
|
|
1281
|
+
"items": {
|
|
1282
|
+
"type": "object",
|
|
1283
|
+
"properties": {
|
|
1284
|
+
"programId": {
|
|
1285
|
+
"type": "string",
|
|
1286
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
1287
|
+
},
|
|
1288
|
+
"accounts": {
|
|
1289
|
+
"type": "array",
|
|
1290
|
+
"items": {
|
|
1291
|
+
"type": "object",
|
|
1292
|
+
"properties": {
|
|
1293
|
+
"pubkey": {
|
|
1294
|
+
"type": "string",
|
|
1295
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
1296
|
+
},
|
|
1297
|
+
"isSigner": {
|
|
1298
|
+
"type": "boolean"
|
|
1299
|
+
},
|
|
1300
|
+
"isWritable": {
|
|
1301
|
+
"type": "boolean"
|
|
1302
|
+
}
|
|
1303
|
+
},
|
|
1036
1304
|
"required": [
|
|
1037
1305
|
"pubkey",
|
|
1038
1306
|
"isSigner",
|
|
1039
1307
|
"isWritable"
|
|
1040
|
-
]
|
|
1041
|
-
"additionalProperties": {}
|
|
1308
|
+
]
|
|
1042
1309
|
}
|
|
1043
1310
|
},
|
|
1044
1311
|
"data": {
|
|
@@ -1051,18 +1318,16 @@
|
|
|
1051
1318
|
"programId",
|
|
1052
1319
|
"accounts",
|
|
1053
1320
|
"data"
|
|
1054
|
-
]
|
|
1055
|
-
"additionalProperties": {}
|
|
1321
|
+
]
|
|
1056
1322
|
}
|
|
1057
1323
|
}
|
|
1058
1324
|
},
|
|
1059
1325
|
"required": [
|
|
1060
|
-
"
|
|
1326
|
+
"type",
|
|
1061
1327
|
"chainId",
|
|
1062
1328
|
"feePayer",
|
|
1063
1329
|
"instructions"
|
|
1064
|
-
]
|
|
1065
|
-
"additionalProperties": {}
|
|
1330
|
+
]
|
|
1066
1331
|
}
|
|
1067
1332
|
]
|
|
1068
1333
|
},
|
|
@@ -1158,63 +1423,54 @@
|
|
|
1158
1423
|
"required": [
|
|
1159
1424
|
"token",
|
|
1160
1425
|
"amount"
|
|
1161
|
-
]
|
|
1162
|
-
"additionalProperties": {}
|
|
1426
|
+
]
|
|
1163
1427
|
}
|
|
1164
1428
|
},
|
|
1165
1429
|
"calls": {
|
|
1166
|
-
"
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
"
|
|
1172
|
-
|
|
1430
|
+
"type": "array",
|
|
1431
|
+
"items": {
|
|
1432
|
+
"type": "object",
|
|
1433
|
+
"properties": {
|
|
1434
|
+
"target": {
|
|
1435
|
+
"anyOf": [
|
|
1436
|
+
{
|
|
1437
|
+
"type": "string",
|
|
1438
|
+
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
1439
|
+
},
|
|
1440
|
+
{
|
|
1173
1441
|
"anyOf": [
|
|
1174
1442
|
{
|
|
1175
1443
|
"type": "string",
|
|
1176
|
-
"pattern": "^
|
|
1177
|
-
},
|
|
1178
|
-
{
|
|
1179
|
-
"anyOf": [
|
|
1180
|
-
{
|
|
1181
|
-
"type": "string",
|
|
1182
|
-
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
1183
|
-
},
|
|
1184
|
-
{
|
|
1185
|
-
"type": "string",
|
|
1186
|
-
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
1187
|
-
}
|
|
1188
|
-
]
|
|
1444
|
+
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
1189
1445
|
},
|
|
1190
1446
|
{
|
|
1191
1447
|
"type": "string",
|
|
1192
|
-
"pattern": "^[
|
|
1448
|
+
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
1193
1449
|
}
|
|
1194
1450
|
]
|
|
1195
1451
|
},
|
|
1196
|
-
|
|
1197
|
-
"type": "string",
|
|
1198
|
-
"pattern": "^0x(?:[0-9a-fA-F]{2})*$"
|
|
1199
|
-
},
|
|
1200
|
-
"value": {
|
|
1452
|
+
{
|
|
1201
1453
|
"type": "string",
|
|
1202
|
-
"
|
|
1203
|
-
"pattern": "^(0|[1-9]\\d*)$"
|
|
1454
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
1204
1455
|
}
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1456
|
+
]
|
|
1457
|
+
},
|
|
1458
|
+
"data": {
|
|
1459
|
+
"type": "string",
|
|
1460
|
+
"pattern": "^0x(?:[0-9a-fA-F]{2})*$"
|
|
1461
|
+
},
|
|
1462
|
+
"value": {
|
|
1463
|
+
"type": "string",
|
|
1464
|
+
"maxLength": 78,
|
|
1465
|
+
"pattern": "^(0|[1-9]\\d*)$"
|
|
1212
1466
|
}
|
|
1213
1467
|
},
|
|
1214
|
-
|
|
1215
|
-
"
|
|
1216
|
-
|
|
1217
|
-
|
|
1468
|
+
"required": [
|
|
1469
|
+
"target",
|
|
1470
|
+
"data",
|
|
1471
|
+
"value"
|
|
1472
|
+
]
|
|
1473
|
+
}
|
|
1218
1474
|
}
|
|
1219
1475
|
},
|
|
1220
1476
|
"required": [
|
|
@@ -1226,8 +1482,7 @@
|
|
|
1226
1482
|
"nativeAmount",
|
|
1227
1483
|
"tokens",
|
|
1228
1484
|
"calls"
|
|
1229
|
-
]
|
|
1230
|
-
"additionalProperties": {}
|
|
1485
|
+
]
|
|
1231
1486
|
},
|
|
1232
1487
|
"reward": {
|
|
1233
1488
|
"type": "object",
|
|
@@ -1328,8 +1583,7 @@
|
|
|
1328
1583
|
"required": [
|
|
1329
1584
|
"token",
|
|
1330
1585
|
"amount"
|
|
1331
|
-
]
|
|
1332
|
-
"additionalProperties": {}
|
|
1586
|
+
]
|
|
1333
1587
|
}
|
|
1334
1588
|
}
|
|
1335
1589
|
},
|
|
@@ -1338,37 +1592,13 @@
|
|
|
1338
1592
|
"creator",
|
|
1339
1593
|
"prover",
|
|
1340
1594
|
"nativeAmount",
|
|
1341
|
-
"tokens"
|
|
1342
|
-
]
|
|
1343
|
-
"additionalProperties": {}
|
|
1344
|
-
}
|
|
1345
|
-
},
|
|
1346
|
-
"required": [
|
|
1347
|
-
"route",
|
|
1348
|
-
"reward"
|
|
1349
|
-
],
|
|
1350
|
-
"additionalProperties": {}
|
|
1351
|
-
},
|
|
1352
|
-
"encodedRoute": {
|
|
1353
|
-
"anyOf": [
|
|
1354
|
-
{
|
|
1355
|
-
"type": "string",
|
|
1356
|
-
"pattern": "^0x(?:[0-9a-fA-F]{2})*$"
|
|
1357
|
-
},
|
|
1358
|
-
{
|
|
1359
|
-
"type": "null"
|
|
1360
|
-
}
|
|
1361
|
-
]
|
|
1362
|
-
},
|
|
1363
|
-
"encodedReward": {
|
|
1364
|
-
"anyOf": [
|
|
1365
|
-
{
|
|
1366
|
-
"type": "string",
|
|
1367
|
-
"pattern": "^0x(?:[0-9a-fA-F]{2})*$"
|
|
1368
|
-
},
|
|
1369
|
-
{
|
|
1370
|
-
"type": "null"
|
|
1595
|
+
"tokens"
|
|
1596
|
+
]
|
|
1371
1597
|
}
|
|
1598
|
+
},
|
|
1599
|
+
"required": [
|
|
1600
|
+
"route",
|
|
1601
|
+
"reward"
|
|
1372
1602
|
]
|
|
1373
1603
|
},
|
|
1374
1604
|
"vault": {
|
|
@@ -1406,11 +1636,8 @@
|
|
|
1406
1636
|
},
|
|
1407
1637
|
"required": [
|
|
1408
1638
|
"transaction",
|
|
1409
|
-
"intent"
|
|
1410
|
-
|
|
1411
|
-
"encodedReward"
|
|
1412
|
-
],
|
|
1413
|
-
"additionalProperties": {}
|
|
1639
|
+
"intent"
|
|
1640
|
+
]
|
|
1414
1641
|
},
|
|
1415
1642
|
{
|
|
1416
1643
|
"type": "null"
|
|
@@ -1438,26 +1665,13 @@
|
|
|
1438
1665
|
"type": "string",
|
|
1439
1666
|
"pattern": "^quote:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
|
|
1440
1667
|
},
|
|
1441
|
-
"
|
|
1668
|
+
"type": {
|
|
1442
1669
|
"type": "string",
|
|
1443
1670
|
"enum": [
|
|
1444
1671
|
"exact-in",
|
|
1445
1672
|
"exact-out",
|
|
1446
|
-
"custom"
|
|
1447
|
-
|
|
1448
|
-
},
|
|
1449
|
-
"visibility": {
|
|
1450
|
-
"type": "string",
|
|
1451
|
-
"enum": [
|
|
1452
|
-
"public",
|
|
1453
|
-
"private"
|
|
1454
|
-
]
|
|
1455
|
-
},
|
|
1456
|
-
"guarantee": {
|
|
1457
|
-
"type": "string",
|
|
1458
|
-
"enum": [
|
|
1459
|
-
"atomic-or-refund",
|
|
1460
|
-
"calls-execute-or-refund"
|
|
1673
|
+
"custom",
|
|
1674
|
+
"gateway-deposit"
|
|
1461
1675
|
]
|
|
1462
1676
|
},
|
|
1463
1677
|
"source": {
|
|
@@ -1497,6 +1711,30 @@
|
|
|
1497
1711
|
"maxLength": 78,
|
|
1498
1712
|
"pattern": "^(0|[1-9]\\d*)$"
|
|
1499
1713
|
},
|
|
1714
|
+
"funder": {
|
|
1715
|
+
"anyOf": [
|
|
1716
|
+
{
|
|
1717
|
+
"type": "string",
|
|
1718
|
+
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
1719
|
+
},
|
|
1720
|
+
{
|
|
1721
|
+
"anyOf": [
|
|
1722
|
+
{
|
|
1723
|
+
"type": "string",
|
|
1724
|
+
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
1725
|
+
},
|
|
1726
|
+
{
|
|
1727
|
+
"type": "string",
|
|
1728
|
+
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
1729
|
+
}
|
|
1730
|
+
]
|
|
1731
|
+
},
|
|
1732
|
+
{
|
|
1733
|
+
"type": "string",
|
|
1734
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
1735
|
+
}
|
|
1736
|
+
]
|
|
1737
|
+
},
|
|
1500
1738
|
"symbol": {
|
|
1501
1739
|
"anyOf": [
|
|
1502
1740
|
{
|
|
@@ -1524,10 +1762,10 @@
|
|
|
1524
1762
|
"chainId",
|
|
1525
1763
|
"token",
|
|
1526
1764
|
"amount",
|
|
1765
|
+
"funder",
|
|
1527
1766
|
"symbol",
|
|
1528
1767
|
"decimals"
|
|
1529
|
-
]
|
|
1530
|
-
"additionalProperties": {}
|
|
1768
|
+
]
|
|
1531
1769
|
},
|
|
1532
1770
|
"destination": {
|
|
1533
1771
|
"type": "object",
|
|
@@ -1561,7 +1799,7 @@
|
|
|
1561
1799
|
}
|
|
1562
1800
|
]
|
|
1563
1801
|
},
|
|
1564
|
-
"
|
|
1802
|
+
"amountOut": {
|
|
1565
1803
|
"type": "string",
|
|
1566
1804
|
"maxLength": 78,
|
|
1567
1805
|
"pattern": "^(0|[1-9]\\d*)$"
|
|
@@ -1628,13 +1866,12 @@
|
|
|
1628
1866
|
"required": [
|
|
1629
1867
|
"chainId",
|
|
1630
1868
|
"token",
|
|
1631
|
-
"
|
|
1869
|
+
"amountOut",
|
|
1632
1870
|
"minAmountOut",
|
|
1633
1871
|
"recipient",
|
|
1634
1872
|
"symbol",
|
|
1635
1873
|
"decimals"
|
|
1636
|
-
]
|
|
1637
|
-
"additionalProperties": {}
|
|
1874
|
+
]
|
|
1638
1875
|
},
|
|
1639
1876
|
"slippage": {
|
|
1640
1877
|
"type": "number",
|
|
@@ -1646,7 +1883,7 @@
|
|
|
1646
1883
|
"items": {
|
|
1647
1884
|
"type": "object",
|
|
1648
1885
|
"properties": {
|
|
1649
|
-
"
|
|
1886
|
+
"type": {
|
|
1650
1887
|
"type": "string",
|
|
1651
1888
|
"enum": [
|
|
1652
1889
|
"gas",
|
|
@@ -1720,20 +1957,18 @@
|
|
|
1720
1957
|
"address",
|
|
1721
1958
|
"symbol",
|
|
1722
1959
|
"decimals"
|
|
1723
|
-
]
|
|
1724
|
-
"additionalProperties": {}
|
|
1960
|
+
]
|
|
1725
1961
|
},
|
|
1726
1962
|
"estimate": {
|
|
1727
1963
|
"type": "boolean"
|
|
1728
1964
|
}
|
|
1729
1965
|
},
|
|
1730
1966
|
"required": [
|
|
1731
|
-
"
|
|
1967
|
+
"type",
|
|
1732
1968
|
"amount",
|
|
1733
1969
|
"token",
|
|
1734
1970
|
"estimate"
|
|
1735
|
-
]
|
|
1736
|
-
"additionalProperties": {}
|
|
1971
|
+
]
|
|
1737
1972
|
}
|
|
1738
1973
|
},
|
|
1739
1974
|
"steps": {
|
|
@@ -1741,7 +1976,7 @@
|
|
|
1741
1976
|
"items": {
|
|
1742
1977
|
"type": "object",
|
|
1743
1978
|
"properties": {
|
|
1744
|
-
"
|
|
1979
|
+
"type": {
|
|
1745
1980
|
"type": "string",
|
|
1746
1981
|
"enum": [
|
|
1747
1982
|
"swap",
|
|
@@ -1750,7 +1985,7 @@
|
|
|
1750
1985
|
"transfer"
|
|
1751
1986
|
]
|
|
1752
1987
|
},
|
|
1753
|
-
"
|
|
1988
|
+
"provider": {
|
|
1754
1989
|
"type": "string",
|
|
1755
1990
|
"minLength": 1
|
|
1756
1991
|
},
|
|
@@ -1800,8 +2035,7 @@
|
|
|
1800
2035
|
"chainId",
|
|
1801
2036
|
"token",
|
|
1802
2037
|
"amount"
|
|
1803
|
-
]
|
|
1804
|
-
"additionalProperties": {}
|
|
2038
|
+
]
|
|
1805
2039
|
},
|
|
1806
2040
|
"to": {
|
|
1807
2041
|
"type": "object",
|
|
@@ -1845,15 +2079,14 @@
|
|
|
1845
2079
|
"chainId",
|
|
1846
2080
|
"token",
|
|
1847
2081
|
"amount"
|
|
1848
|
-
]
|
|
1849
|
-
"additionalProperties": {}
|
|
2082
|
+
]
|
|
1850
2083
|
},
|
|
1851
2084
|
"fees": {
|
|
1852
2085
|
"type": "array",
|
|
1853
2086
|
"items": {
|
|
1854
2087
|
"type": "object",
|
|
1855
2088
|
"properties": {
|
|
1856
|
-
"
|
|
2089
|
+
"type": {
|
|
1857
2090
|
"type": "string",
|
|
1858
2091
|
"enum": [
|
|
1859
2092
|
"gas",
|
|
@@ -1884,114 +2117,382 @@
|
|
|
1884
2117
|
{
|
|
1885
2118
|
"anyOf": [
|
|
1886
2119
|
{
|
|
1887
|
-
"type": "string",
|
|
1888
|
-
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
2120
|
+
"type": "string",
|
|
2121
|
+
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
2122
|
+
},
|
|
2123
|
+
{
|
|
2124
|
+
"type": "string",
|
|
2125
|
+
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
2126
|
+
}
|
|
2127
|
+
]
|
|
2128
|
+
},
|
|
2129
|
+
{
|
|
2130
|
+
"type": "string",
|
|
2131
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
2132
|
+
}
|
|
2133
|
+
]
|
|
2134
|
+
},
|
|
2135
|
+
"symbol": {
|
|
2136
|
+
"anyOf": [
|
|
2137
|
+
{
|
|
2138
|
+
"type": "string"
|
|
2139
|
+
},
|
|
2140
|
+
{
|
|
2141
|
+
"type": "null"
|
|
2142
|
+
}
|
|
2143
|
+
]
|
|
2144
|
+
},
|
|
2145
|
+
"decimals": {
|
|
2146
|
+
"anyOf": [
|
|
2147
|
+
{
|
|
2148
|
+
"type": "integer",
|
|
2149
|
+
"minimum": -9007199254740991,
|
|
2150
|
+
"maximum": 9007199254740991
|
|
2151
|
+
},
|
|
2152
|
+
{
|
|
2153
|
+
"type": "null"
|
|
2154
|
+
}
|
|
2155
|
+
]
|
|
2156
|
+
}
|
|
2157
|
+
},
|
|
2158
|
+
"required": [
|
|
2159
|
+
"chainId",
|
|
2160
|
+
"address",
|
|
2161
|
+
"symbol",
|
|
2162
|
+
"decimals"
|
|
2163
|
+
]
|
|
2164
|
+
},
|
|
2165
|
+
"estimate": {
|
|
2166
|
+
"type": "boolean"
|
|
2167
|
+
}
|
|
2168
|
+
},
|
|
2169
|
+
"required": [
|
|
2170
|
+
"type",
|
|
2171
|
+
"amount",
|
|
2172
|
+
"token",
|
|
2173
|
+
"estimate"
|
|
2174
|
+
]
|
|
2175
|
+
}
|
|
2176
|
+
},
|
|
2177
|
+
"estimatedDurationSec": {
|
|
2178
|
+
"type": "integer",
|
|
2179
|
+
"minimum": 0,
|
|
2180
|
+
"maximum": 9007199254740991
|
|
2181
|
+
},
|
|
2182
|
+
"intents": {
|
|
2183
|
+
"type": "array",
|
|
2184
|
+
"items": {
|
|
2185
|
+
"type": "object",
|
|
2186
|
+
"properties": {
|
|
2187
|
+
"role": {
|
|
2188
|
+
"type": "string",
|
|
2189
|
+
"enum": [
|
|
2190
|
+
"local",
|
|
2191
|
+
"bucket-candidate",
|
|
2192
|
+
"stitched-destination"
|
|
2193
|
+
]
|
|
2194
|
+
},
|
|
2195
|
+
"intentHash": {
|
|
2196
|
+
"type": "string",
|
|
2197
|
+
"pattern": "^0x[0-9a-fA-F]{64}$"
|
|
2198
|
+
},
|
|
2199
|
+
"routeHash": {
|
|
2200
|
+
"type": "string",
|
|
2201
|
+
"pattern": "^0x[0-9a-fA-F]{64}$"
|
|
2202
|
+
},
|
|
2203
|
+
"bucketIndex": {
|
|
2204
|
+
"type": "integer",
|
|
2205
|
+
"minimum": 0,
|
|
2206
|
+
"maximum": 9007199254740991
|
|
2207
|
+
},
|
|
2208
|
+
"intent": {
|
|
2209
|
+
"type": "object",
|
|
2210
|
+
"properties": {
|
|
2211
|
+
"route": {
|
|
2212
|
+
"type": "object",
|
|
2213
|
+
"properties": {
|
|
2214
|
+
"salt": {
|
|
2215
|
+
"type": "string",
|
|
2216
|
+
"pattern": "^0x[0-9a-fA-F]{64}$"
|
|
2217
|
+
},
|
|
2218
|
+
"deadline": {
|
|
2219
|
+
"type": "integer",
|
|
2220
|
+
"minimum": 0,
|
|
2221
|
+
"maximum": 4102444800
|
|
2222
|
+
},
|
|
2223
|
+
"source": {
|
|
2224
|
+
"type": "integer",
|
|
2225
|
+
"exclusiveMinimum": 0,
|
|
2226
|
+
"maximum": 9007199254740991
|
|
2227
|
+
},
|
|
2228
|
+
"destination": {
|
|
2229
|
+
"type": "integer",
|
|
2230
|
+
"exclusiveMinimum": 0,
|
|
2231
|
+
"maximum": 9007199254740991
|
|
2232
|
+
},
|
|
2233
|
+
"portal": {
|
|
2234
|
+
"anyOf": [
|
|
2235
|
+
{
|
|
2236
|
+
"type": "string",
|
|
2237
|
+
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
2238
|
+
},
|
|
2239
|
+
{
|
|
2240
|
+
"anyOf": [
|
|
2241
|
+
{
|
|
2242
|
+
"type": "string",
|
|
2243
|
+
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
2244
|
+
},
|
|
2245
|
+
{
|
|
2246
|
+
"type": "string",
|
|
2247
|
+
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
2248
|
+
}
|
|
2249
|
+
]
|
|
2250
|
+
},
|
|
2251
|
+
{
|
|
2252
|
+
"type": "string",
|
|
2253
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
2254
|
+
}
|
|
2255
|
+
]
|
|
2256
|
+
},
|
|
2257
|
+
"nativeAmount": {
|
|
2258
|
+
"type": "string",
|
|
2259
|
+
"maxLength": 78,
|
|
2260
|
+
"pattern": "^(0|[1-9]\\d*)$"
|
|
2261
|
+
},
|
|
2262
|
+
"tokens": {
|
|
2263
|
+
"type": "array",
|
|
2264
|
+
"items": {
|
|
2265
|
+
"type": "object",
|
|
2266
|
+
"properties": {
|
|
2267
|
+
"token": {
|
|
2268
|
+
"anyOf": [
|
|
2269
|
+
{
|
|
2270
|
+
"type": "string",
|
|
2271
|
+
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
2272
|
+
},
|
|
2273
|
+
{
|
|
2274
|
+
"anyOf": [
|
|
2275
|
+
{
|
|
2276
|
+
"type": "string",
|
|
2277
|
+
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
2278
|
+
},
|
|
2279
|
+
{
|
|
2280
|
+
"type": "string",
|
|
2281
|
+
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
2282
|
+
}
|
|
2283
|
+
]
|
|
2284
|
+
},
|
|
2285
|
+
{
|
|
2286
|
+
"type": "string",
|
|
2287
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
2288
|
+
}
|
|
2289
|
+
]
|
|
2290
|
+
},
|
|
2291
|
+
"amount": {
|
|
2292
|
+
"type": "string",
|
|
2293
|
+
"maxLength": 78,
|
|
2294
|
+
"pattern": "^(0|[1-9]\\d*)$"
|
|
2295
|
+
}
|
|
2296
|
+
},
|
|
2297
|
+
"required": [
|
|
2298
|
+
"token",
|
|
2299
|
+
"amount"
|
|
2300
|
+
]
|
|
2301
|
+
}
|
|
2302
|
+
},
|
|
2303
|
+
"calls": {
|
|
2304
|
+
"type": "array",
|
|
2305
|
+
"items": {
|
|
2306
|
+
"type": "object",
|
|
2307
|
+
"properties": {
|
|
2308
|
+
"target": {
|
|
2309
|
+
"anyOf": [
|
|
2310
|
+
{
|
|
2311
|
+
"type": "string",
|
|
2312
|
+
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
2313
|
+
},
|
|
2314
|
+
{
|
|
2315
|
+
"anyOf": [
|
|
2316
|
+
{
|
|
2317
|
+
"type": "string",
|
|
2318
|
+
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
2319
|
+
},
|
|
2320
|
+
{
|
|
2321
|
+
"type": "string",
|
|
2322
|
+
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
2323
|
+
}
|
|
2324
|
+
]
|
|
2325
|
+
},
|
|
2326
|
+
{
|
|
2327
|
+
"type": "string",
|
|
2328
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
2329
|
+
}
|
|
2330
|
+
]
|
|
2331
|
+
},
|
|
2332
|
+
"data": {
|
|
2333
|
+
"type": "string",
|
|
2334
|
+
"pattern": "^0x(?:[0-9a-fA-F]{2})*$"
|
|
2335
|
+
},
|
|
2336
|
+
"value": {
|
|
2337
|
+
"type": "string",
|
|
2338
|
+
"maxLength": 78,
|
|
2339
|
+
"pattern": "^(0|[1-9]\\d*)$"
|
|
2340
|
+
}
|
|
2341
|
+
},
|
|
2342
|
+
"required": [
|
|
2343
|
+
"target",
|
|
2344
|
+
"data",
|
|
2345
|
+
"value"
|
|
2346
|
+
]
|
|
2347
|
+
}
|
|
2348
|
+
}
|
|
2349
|
+
},
|
|
2350
|
+
"required": [
|
|
2351
|
+
"salt",
|
|
2352
|
+
"deadline",
|
|
2353
|
+
"source",
|
|
2354
|
+
"destination",
|
|
2355
|
+
"portal",
|
|
2356
|
+
"nativeAmount",
|
|
2357
|
+
"tokens",
|
|
2358
|
+
"calls"
|
|
2359
|
+
]
|
|
2360
|
+
},
|
|
2361
|
+
"reward": {
|
|
2362
|
+
"type": "object",
|
|
2363
|
+
"properties": {
|
|
2364
|
+
"deadline": {
|
|
2365
|
+
"type": "integer",
|
|
2366
|
+
"minimum": 0,
|
|
2367
|
+
"maximum": 4102444800
|
|
2368
|
+
},
|
|
2369
|
+
"creator": {
|
|
2370
|
+
"anyOf": [
|
|
2371
|
+
{
|
|
2372
|
+
"type": "string",
|
|
2373
|
+
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
2374
|
+
},
|
|
2375
|
+
{
|
|
2376
|
+
"anyOf": [
|
|
2377
|
+
{
|
|
2378
|
+
"type": "string",
|
|
2379
|
+
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
2380
|
+
},
|
|
2381
|
+
{
|
|
2382
|
+
"type": "string",
|
|
2383
|
+
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
2384
|
+
}
|
|
2385
|
+
]
|
|
2386
|
+
},
|
|
2387
|
+
{
|
|
2388
|
+
"type": "string",
|
|
2389
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
2390
|
+
}
|
|
2391
|
+
]
|
|
2392
|
+
},
|
|
2393
|
+
"prover": {
|
|
2394
|
+
"anyOf": [
|
|
2395
|
+
{
|
|
2396
|
+
"type": "string",
|
|
2397
|
+
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
2398
|
+
},
|
|
2399
|
+
{
|
|
2400
|
+
"anyOf": [
|
|
2401
|
+
{
|
|
2402
|
+
"type": "string",
|
|
2403
|
+
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
2404
|
+
},
|
|
2405
|
+
{
|
|
2406
|
+
"type": "string",
|
|
2407
|
+
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
2408
|
+
}
|
|
2409
|
+
]
|
|
1889
2410
|
},
|
|
1890
2411
|
{
|
|
1891
2412
|
"type": "string",
|
|
1892
|
-
"pattern": "^
|
|
2413
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
1893
2414
|
}
|
|
1894
2415
|
]
|
|
1895
2416
|
},
|
|
1896
|
-
{
|
|
2417
|
+
"nativeAmount": {
|
|
1897
2418
|
"type": "string",
|
|
1898
|
-
"
|
|
1899
|
-
|
|
1900
|
-
]
|
|
1901
|
-
},
|
|
1902
|
-
"symbol": {
|
|
1903
|
-
"anyOf": [
|
|
1904
|
-
{
|
|
1905
|
-
"type": "string"
|
|
2419
|
+
"maxLength": 78,
|
|
2420
|
+
"pattern": "^(0|[1-9]\\d*)$"
|
|
1906
2421
|
},
|
|
1907
|
-
{
|
|
1908
|
-
"type": "
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
2422
|
+
"tokens": {
|
|
2423
|
+
"type": "array",
|
|
2424
|
+
"items": {
|
|
2425
|
+
"type": "object",
|
|
2426
|
+
"properties": {
|
|
2427
|
+
"token": {
|
|
2428
|
+
"anyOf": [
|
|
2429
|
+
{
|
|
2430
|
+
"type": "string",
|
|
2431
|
+
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
2432
|
+
},
|
|
2433
|
+
{
|
|
2434
|
+
"anyOf": [
|
|
2435
|
+
{
|
|
2436
|
+
"type": "string",
|
|
2437
|
+
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
2438
|
+
},
|
|
2439
|
+
{
|
|
2440
|
+
"type": "string",
|
|
2441
|
+
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
2442
|
+
}
|
|
2443
|
+
]
|
|
2444
|
+
},
|
|
2445
|
+
{
|
|
2446
|
+
"type": "string",
|
|
2447
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
2448
|
+
}
|
|
2449
|
+
]
|
|
2450
|
+
},
|
|
2451
|
+
"amount": {
|
|
2452
|
+
"type": "string",
|
|
2453
|
+
"maxLength": 78,
|
|
2454
|
+
"pattern": "^(0|[1-9]\\d*)$"
|
|
2455
|
+
}
|
|
2456
|
+
},
|
|
2457
|
+
"required": [
|
|
2458
|
+
"token",
|
|
2459
|
+
"amount"
|
|
2460
|
+
]
|
|
2461
|
+
}
|
|
1921
2462
|
}
|
|
2463
|
+
},
|
|
2464
|
+
"required": [
|
|
2465
|
+
"deadline",
|
|
2466
|
+
"creator",
|
|
2467
|
+
"prover",
|
|
2468
|
+
"nativeAmount",
|
|
2469
|
+
"tokens"
|
|
1922
2470
|
]
|
|
1923
2471
|
}
|
|
1924
2472
|
},
|
|
1925
2473
|
"required": [
|
|
1926
|
-
"
|
|
1927
|
-
"
|
|
1928
|
-
|
|
1929
|
-
"decimals"
|
|
1930
|
-
],
|
|
1931
|
-
"additionalProperties": {}
|
|
1932
|
-
},
|
|
1933
|
-
"estimate": {
|
|
1934
|
-
"type": "boolean"
|
|
2474
|
+
"route",
|
|
2475
|
+
"reward"
|
|
2476
|
+
]
|
|
1935
2477
|
}
|
|
1936
2478
|
},
|
|
1937
2479
|
"required": [
|
|
1938
|
-
"
|
|
1939
|
-
"
|
|
1940
|
-
"
|
|
1941
|
-
|
|
1942
|
-
],
|
|
1943
|
-
"additionalProperties": {}
|
|
2480
|
+
"role",
|
|
2481
|
+
"intentHash",
|
|
2482
|
+
"intent"
|
|
2483
|
+
]
|
|
1944
2484
|
}
|
|
1945
|
-
},
|
|
1946
|
-
"estimatedDurationSec": {
|
|
1947
|
-
"type": "integer",
|
|
1948
|
-
"minimum": 0,
|
|
1949
|
-
"maximum": 9007199254740991
|
|
1950
2485
|
}
|
|
1951
2486
|
},
|
|
1952
2487
|
"required": [
|
|
1953
|
-
"
|
|
1954
|
-
"
|
|
2488
|
+
"type",
|
|
2489
|
+
"provider",
|
|
1955
2490
|
"from",
|
|
1956
2491
|
"to",
|
|
1957
2492
|
"fees",
|
|
1958
|
-
"estimatedDurationSec"
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
}
|
|
1962
|
-
},
|
|
1963
|
-
"relatedIntents": {
|
|
1964
|
-
"type": "array",
|
|
1965
|
-
"items": {
|
|
1966
|
-
"type": "object",
|
|
1967
|
-
"properties": {
|
|
1968
|
-
"role": {
|
|
1969
|
-
"type": "string",
|
|
1970
|
-
"enum": [
|
|
1971
|
-
"local",
|
|
1972
|
-
"bucket-candidate",
|
|
1973
|
-
"stitched-destination"
|
|
1974
|
-
]
|
|
1975
|
-
},
|
|
1976
|
-
"intentHash": {
|
|
1977
|
-
"type": "string",
|
|
1978
|
-
"pattern": "^0x[0-9a-fA-F]{64}$"
|
|
1979
|
-
},
|
|
1980
|
-
"routeHash": {
|
|
1981
|
-
"type": "string",
|
|
1982
|
-
"pattern": "^0x[0-9a-fA-F]{64}$"
|
|
1983
|
-
},
|
|
1984
|
-
"bucketIndex": {
|
|
1985
|
-
"type": "integer",
|
|
1986
|
-
"minimum": 0,
|
|
1987
|
-
"maximum": 9007199254740991
|
|
1988
|
-
}
|
|
1989
|
-
},
|
|
1990
|
-
"required": [
|
|
1991
|
-
"role",
|
|
1992
|
-
"intentHash"
|
|
1993
|
-
],
|
|
1994
|
-
"additionalProperties": {}
|
|
2493
|
+
"estimatedDurationSec",
|
|
2494
|
+
"intents"
|
|
2495
|
+
]
|
|
1995
2496
|
}
|
|
1996
2497
|
},
|
|
1997
2498
|
"solver": {
|
|
@@ -2028,8 +2529,7 @@
|
|
|
2028
2529
|
},
|
|
2029
2530
|
"required": [
|
|
2030
2531
|
"id"
|
|
2031
|
-
]
|
|
2032
|
-
"additionalProperties": {}
|
|
2532
|
+
]
|
|
2033
2533
|
},
|
|
2034
2534
|
"intentHash": {
|
|
2035
2535
|
"anyOf": [
|
|
@@ -2052,7 +2552,7 @@
|
|
|
2052
2552
|
{
|
|
2053
2553
|
"type": "object",
|
|
2054
2554
|
"properties": {
|
|
2055
|
-
"
|
|
2555
|
+
"type": {
|
|
2056
2556
|
"type": "string",
|
|
2057
2557
|
"const": "evm"
|
|
2058
2558
|
},
|
|
@@ -2076,18 +2576,17 @@
|
|
|
2076
2576
|
}
|
|
2077
2577
|
},
|
|
2078
2578
|
"required": [
|
|
2079
|
-
"
|
|
2579
|
+
"type",
|
|
2080
2580
|
"chainId",
|
|
2081
2581
|
"to",
|
|
2082
2582
|
"data",
|
|
2083
2583
|
"value"
|
|
2084
|
-
]
|
|
2085
|
-
"additionalProperties": {}
|
|
2584
|
+
]
|
|
2086
2585
|
},
|
|
2087
2586
|
{
|
|
2088
2587
|
"type": "object",
|
|
2089
2588
|
"properties": {
|
|
2090
|
-
"
|
|
2589
|
+
"type": {
|
|
2091
2590
|
"type": "string",
|
|
2092
2591
|
"const": "svm"
|
|
2093
2592
|
},
|
|
@@ -2130,8 +2629,7 @@
|
|
|
2130
2629
|
"pubkey",
|
|
2131
2630
|
"isSigner",
|
|
2132
2631
|
"isWritable"
|
|
2133
|
-
]
|
|
2134
|
-
"additionalProperties": {}
|
|
2632
|
+
]
|
|
2135
2633
|
}
|
|
2136
2634
|
},
|
|
2137
2635
|
"data": {
|
|
@@ -2144,18 +2642,16 @@
|
|
|
2144
2642
|
"programId",
|
|
2145
2643
|
"accounts",
|
|
2146
2644
|
"data"
|
|
2147
|
-
]
|
|
2148
|
-
"additionalProperties": {}
|
|
2645
|
+
]
|
|
2149
2646
|
}
|
|
2150
2647
|
}
|
|
2151
2648
|
},
|
|
2152
2649
|
"required": [
|
|
2153
|
-
"
|
|
2650
|
+
"type",
|
|
2154
2651
|
"chainId",
|
|
2155
2652
|
"feePayer",
|
|
2156
2653
|
"instructions"
|
|
2157
|
-
]
|
|
2158
|
-
"additionalProperties": {}
|
|
2654
|
+
]
|
|
2159
2655
|
}
|
|
2160
2656
|
]
|
|
2161
2657
|
},
|
|
@@ -2251,63 +2747,54 @@
|
|
|
2251
2747
|
"required": [
|
|
2252
2748
|
"token",
|
|
2253
2749
|
"amount"
|
|
2254
|
-
]
|
|
2255
|
-
"additionalProperties": {}
|
|
2750
|
+
]
|
|
2256
2751
|
}
|
|
2257
2752
|
},
|
|
2258
2753
|
"calls": {
|
|
2259
|
-
"
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
"
|
|
2265
|
-
|
|
2754
|
+
"type": "array",
|
|
2755
|
+
"items": {
|
|
2756
|
+
"type": "object",
|
|
2757
|
+
"properties": {
|
|
2758
|
+
"target": {
|
|
2759
|
+
"anyOf": [
|
|
2760
|
+
{
|
|
2761
|
+
"type": "string",
|
|
2762
|
+
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
2763
|
+
},
|
|
2764
|
+
{
|
|
2266
2765
|
"anyOf": [
|
|
2267
2766
|
{
|
|
2268
2767
|
"type": "string",
|
|
2269
|
-
"pattern": "^
|
|
2270
|
-
},
|
|
2271
|
-
{
|
|
2272
|
-
"anyOf": [
|
|
2273
|
-
{
|
|
2274
|
-
"type": "string",
|
|
2275
|
-
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
2276
|
-
},
|
|
2277
|
-
{
|
|
2278
|
-
"type": "string",
|
|
2279
|
-
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
2280
|
-
}
|
|
2281
|
-
]
|
|
2768
|
+
"pattern": "^T[1-9A-HJ-NP-Za-km-z]{33}$"
|
|
2282
2769
|
},
|
|
2283
2770
|
{
|
|
2284
2771
|
"type": "string",
|
|
2285
|
-
"pattern": "^[
|
|
2772
|
+
"pattern": "^0x41[0-9a-fA-F]{40}$"
|
|
2286
2773
|
}
|
|
2287
2774
|
]
|
|
2288
2775
|
},
|
|
2289
|
-
|
|
2290
|
-
"type": "string",
|
|
2291
|
-
"pattern": "^0x(?:[0-9a-fA-F]{2})*$"
|
|
2292
|
-
},
|
|
2293
|
-
"value": {
|
|
2776
|
+
{
|
|
2294
2777
|
"type": "string",
|
|
2295
|
-
"
|
|
2296
|
-
"pattern": "^(0|[1-9]\\d*)$"
|
|
2778
|
+
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
|
|
2297
2779
|
}
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2780
|
+
]
|
|
2781
|
+
},
|
|
2782
|
+
"data": {
|
|
2783
|
+
"type": "string",
|
|
2784
|
+
"pattern": "^0x(?:[0-9a-fA-F]{2})*$"
|
|
2785
|
+
},
|
|
2786
|
+
"value": {
|
|
2787
|
+
"type": "string",
|
|
2788
|
+
"maxLength": 78,
|
|
2789
|
+
"pattern": "^(0|[1-9]\\d*)$"
|
|
2305
2790
|
}
|
|
2306
2791
|
},
|
|
2307
|
-
|
|
2308
|
-
"
|
|
2309
|
-
|
|
2310
|
-
|
|
2792
|
+
"required": [
|
|
2793
|
+
"target",
|
|
2794
|
+
"data",
|
|
2795
|
+
"value"
|
|
2796
|
+
]
|
|
2797
|
+
}
|
|
2311
2798
|
}
|
|
2312
2799
|
},
|
|
2313
2800
|
"required": [
|
|
@@ -2319,8 +2806,7 @@
|
|
|
2319
2806
|
"nativeAmount",
|
|
2320
2807
|
"tokens",
|
|
2321
2808
|
"calls"
|
|
2322
|
-
]
|
|
2323
|
-
"additionalProperties": {}
|
|
2809
|
+
]
|
|
2324
2810
|
},
|
|
2325
2811
|
"reward": {
|
|
2326
2812
|
"type": "object",
|
|
@@ -2421,8 +2907,7 @@
|
|
|
2421
2907
|
"required": [
|
|
2422
2908
|
"token",
|
|
2423
2909
|
"amount"
|
|
2424
|
-
]
|
|
2425
|
-
"additionalProperties": {}
|
|
2910
|
+
]
|
|
2426
2911
|
}
|
|
2427
2912
|
}
|
|
2428
2913
|
},
|
|
@@ -2432,36 +2917,12 @@
|
|
|
2432
2917
|
"prover",
|
|
2433
2918
|
"nativeAmount",
|
|
2434
2919
|
"tokens"
|
|
2435
|
-
]
|
|
2436
|
-
"additionalProperties": {}
|
|
2920
|
+
]
|
|
2437
2921
|
}
|
|
2438
2922
|
},
|
|
2439
2923
|
"required": [
|
|
2440
2924
|
"route",
|
|
2441
2925
|
"reward"
|
|
2442
|
-
],
|
|
2443
|
-
"additionalProperties": {}
|
|
2444
|
-
},
|
|
2445
|
-
"encodedRoute": {
|
|
2446
|
-
"anyOf": [
|
|
2447
|
-
{
|
|
2448
|
-
"type": "string",
|
|
2449
|
-
"pattern": "^0x(?:[0-9a-fA-F]{2})*$"
|
|
2450
|
-
},
|
|
2451
|
-
{
|
|
2452
|
-
"type": "null"
|
|
2453
|
-
}
|
|
2454
|
-
]
|
|
2455
|
-
},
|
|
2456
|
-
"encodedReward": {
|
|
2457
|
-
"anyOf": [
|
|
2458
|
-
{
|
|
2459
|
-
"type": "string",
|
|
2460
|
-
"pattern": "^0x(?:[0-9a-fA-F]{2})*$"
|
|
2461
|
-
},
|
|
2462
|
-
{
|
|
2463
|
-
"type": "null"
|
|
2464
|
-
}
|
|
2465
2926
|
]
|
|
2466
2927
|
},
|
|
2467
2928
|
"vault": {
|
|
@@ -2499,11 +2960,8 @@
|
|
|
2499
2960
|
},
|
|
2500
2961
|
"required": [
|
|
2501
2962
|
"transaction",
|
|
2502
|
-
"intent"
|
|
2503
|
-
|
|
2504
|
-
"encodedReward"
|
|
2505
|
-
],
|
|
2506
|
-
"additionalProperties": {}
|
|
2963
|
+
"intent"
|
|
2964
|
+
]
|
|
2507
2965
|
},
|
|
2508
2966
|
{
|
|
2509
2967
|
"type": "null"
|
|
@@ -2522,22 +2980,18 @@
|
|
|
2522
2980
|
},
|
|
2523
2981
|
"required": [
|
|
2524
2982
|
"id",
|
|
2525
|
-
"
|
|
2526
|
-
"visibility",
|
|
2527
|
-
"guarantee",
|
|
2983
|
+
"type",
|
|
2528
2984
|
"source",
|
|
2529
2985
|
"destination",
|
|
2530
2986
|
"slippage",
|
|
2531
2987
|
"fees",
|
|
2532
2988
|
"steps",
|
|
2533
|
-
"relatedIntents",
|
|
2534
2989
|
"solver",
|
|
2535
2990
|
"intentHash",
|
|
2536
2991
|
"execution",
|
|
2537
2992
|
"expiresAt",
|
|
2538
2993
|
"signature"
|
|
2539
|
-
]
|
|
2540
|
-
"additionalProperties": {}
|
|
2994
|
+
]
|
|
2541
2995
|
}
|
|
2542
2996
|
},
|
|
2543
2997
|
{
|
|
@@ -2548,23 +3002,19 @@
|
|
|
2548
3002
|
},
|
|
2549
3003
|
"required": [
|
|
2550
3004
|
"id",
|
|
2551
|
-
"
|
|
2552
|
-
"visibility",
|
|
2553
|
-
"guarantee",
|
|
3005
|
+
"type",
|
|
2554
3006
|
"source",
|
|
2555
3007
|
"destination",
|
|
2556
3008
|
"slippage",
|
|
2557
3009
|
"fees",
|
|
2558
3010
|
"steps",
|
|
2559
|
-
"relatedIntents",
|
|
2560
3011
|
"solver",
|
|
2561
3012
|
"intentHash",
|
|
2562
3013
|
"execution",
|
|
2563
3014
|
"expiresAt",
|
|
2564
3015
|
"signature",
|
|
2565
3016
|
"quotes"
|
|
2566
|
-
]
|
|
2567
|
-
"additionalProperties": {}
|
|
3017
|
+
]
|
|
2568
3018
|
}
|
|
2569
3019
|
}
|
|
2570
3020
|
}
|
|
@@ -2749,8 +3199,7 @@
|
|
|
2749
3199
|
"txHash",
|
|
2750
3200
|
"intentHashes",
|
|
2751
3201
|
"state"
|
|
2752
|
-
]
|
|
2753
|
-
"additionalProperties": {}
|
|
3202
|
+
]
|
|
2754
3203
|
}
|
|
2755
3204
|
},
|
|
2756
3205
|
"createdAt": {
|
|
@@ -2771,8 +3220,7 @@
|
|
|
2771
3220
|
"subStatuses",
|
|
2772
3221
|
"createdAt",
|
|
2773
3222
|
"updatedAt"
|
|
2774
|
-
]
|
|
2775
|
-
"additionalProperties": {}
|
|
3223
|
+
]
|
|
2776
3224
|
}
|
|
2777
3225
|
}
|
|
2778
3226
|
}
|
|
@@ -2969,8 +3417,7 @@
|
|
|
2969
3417
|
"txHash",
|
|
2970
3418
|
"intentHashes",
|
|
2971
3419
|
"state"
|
|
2972
|
-
]
|
|
2973
|
-
"additionalProperties": {}
|
|
3420
|
+
]
|
|
2974
3421
|
}
|
|
2975
3422
|
},
|
|
2976
3423
|
"createdAt": {
|
|
@@ -2991,8 +3438,7 @@
|
|
|
2991
3438
|
"subStatuses",
|
|
2992
3439
|
"createdAt",
|
|
2993
3440
|
"updatedAt"
|
|
2994
|
-
]
|
|
2995
|
-
"additionalProperties": {}
|
|
3441
|
+
]
|
|
2996
3442
|
}
|
|
2997
3443
|
}
|
|
2998
3444
|
}
|
|
@@ -3215,8 +3661,7 @@
|
|
|
3215
3661
|
"txHash",
|
|
3216
3662
|
"intentHashes",
|
|
3217
3663
|
"state"
|
|
3218
|
-
]
|
|
3219
|
-
"additionalProperties": {}
|
|
3664
|
+
]
|
|
3220
3665
|
}
|
|
3221
3666
|
},
|
|
3222
3667
|
"createdAt": {
|
|
@@ -3237,8 +3682,7 @@
|
|
|
3237
3682
|
"subStatuses",
|
|
3238
3683
|
"createdAt",
|
|
3239
3684
|
"updatedAt"
|
|
3240
|
-
]
|
|
3241
|
-
"additionalProperties": {}
|
|
3685
|
+
]
|
|
3242
3686
|
}
|
|
3243
3687
|
}
|
|
3244
3688
|
}
|
|
@@ -3423,8 +3867,7 @@
|
|
|
3423
3867
|
"txHash",
|
|
3424
3868
|
"intentHashes",
|
|
3425
3869
|
"state"
|
|
3426
|
-
]
|
|
3427
|
-
"additionalProperties": {}
|
|
3870
|
+
]
|
|
3428
3871
|
}
|
|
3429
3872
|
},
|
|
3430
3873
|
"createdAt": {
|
|
@@ -3445,8 +3888,7 @@
|
|
|
3445
3888
|
"subStatuses",
|
|
3446
3889
|
"createdAt",
|
|
3447
3890
|
"updatedAt"
|
|
3448
|
-
]
|
|
3449
|
-
"additionalProperties": {}
|
|
3891
|
+
]
|
|
3450
3892
|
}
|
|
3451
3893
|
}
|
|
3452
3894
|
}
|
|
@@ -3626,8 +4068,7 @@
|
|
|
3626
4068
|
"txHash",
|
|
3627
4069
|
"intentHashes",
|
|
3628
4070
|
"state"
|
|
3629
|
-
]
|
|
3630
|
-
"additionalProperties": {}
|
|
4071
|
+
]
|
|
3631
4072
|
}
|
|
3632
4073
|
},
|
|
3633
4074
|
"createdAt": {
|
|
@@ -3648,8 +4089,7 @@
|
|
|
3648
4089
|
"subStatuses",
|
|
3649
4090
|
"createdAt",
|
|
3650
4091
|
"updatedAt"
|
|
3651
|
-
]
|
|
3652
|
-
"additionalProperties": {}
|
|
4092
|
+
]
|
|
3653
4093
|
}
|
|
3654
4094
|
}
|
|
3655
4095
|
}
|
|
@@ -3881,8 +4321,7 @@
|
|
|
3881
4321
|
"txHash",
|
|
3882
4322
|
"intentHashes",
|
|
3883
4323
|
"state"
|
|
3884
|
-
]
|
|
3885
|
-
"additionalProperties": {}
|
|
4324
|
+
]
|
|
3886
4325
|
}
|
|
3887
4326
|
},
|
|
3888
4327
|
"sourceTx": {
|
|
@@ -3912,8 +4351,7 @@
|
|
|
3912
4351
|
"txHash",
|
|
3913
4352
|
"token",
|
|
3914
4353
|
"amount"
|
|
3915
|
-
]
|
|
3916
|
-
"additionalProperties": {}
|
|
4354
|
+
]
|
|
3917
4355
|
},
|
|
3918
4356
|
"destinationTx": {
|
|
3919
4357
|
"type": "object",
|
|
@@ -3942,8 +4380,7 @@
|
|
|
3942
4380
|
"txHash",
|
|
3943
4381
|
"token",
|
|
3944
4382
|
"amount"
|
|
3945
|
-
]
|
|
3946
|
-
"additionalProperties": {}
|
|
4383
|
+
]
|
|
3947
4384
|
},
|
|
3948
4385
|
"steps": {
|
|
3949
4386
|
"type": "array",
|
|
@@ -3957,6 +4394,10 @@
|
|
|
3957
4394
|
"BRIDGE"
|
|
3958
4395
|
]
|
|
3959
4396
|
},
|
|
4397
|
+
"intentHash": {
|
|
4398
|
+
"type": "string",
|
|
4399
|
+
"pattern": "^0x[0-9a-fA-F]{64}$"
|
|
4400
|
+
},
|
|
3960
4401
|
"status": {
|
|
3961
4402
|
"type": "string",
|
|
3962
4403
|
"minLength": 1
|
|
@@ -3983,8 +4424,7 @@
|
|
|
3983
4424
|
"token",
|
|
3984
4425
|
"amount",
|
|
3985
4426
|
"chainId"
|
|
3986
|
-
]
|
|
3987
|
-
"additionalProperties": {}
|
|
4427
|
+
]
|
|
3988
4428
|
},
|
|
3989
4429
|
"to": {
|
|
3990
4430
|
"type": "object",
|
|
@@ -4008,8 +4448,7 @@
|
|
|
4008
4448
|
"token",
|
|
4009
4449
|
"amount",
|
|
4010
4450
|
"chainId"
|
|
4011
|
-
]
|
|
4012
|
-
"additionalProperties": {}
|
|
4451
|
+
]
|
|
4013
4452
|
},
|
|
4014
4453
|
"transactions": {
|
|
4015
4454
|
"type": "object",
|
|
@@ -4030,8 +4469,7 @@
|
|
|
4030
4469
|
"required": [
|
|
4031
4470
|
"chainId",
|
|
4032
4471
|
"txHash"
|
|
4033
|
-
]
|
|
4034
|
-
"additionalProperties": {}
|
|
4472
|
+
]
|
|
4035
4473
|
},
|
|
4036
4474
|
"fulfilled": {
|
|
4037
4475
|
"type": "object",
|
|
@@ -4049,8 +4487,7 @@
|
|
|
4049
4487
|
"required": [
|
|
4050
4488
|
"chainId",
|
|
4051
4489
|
"txHash"
|
|
4052
|
-
]
|
|
4053
|
-
"additionalProperties": {}
|
|
4490
|
+
]
|
|
4054
4491
|
},
|
|
4055
4492
|
"refunded": {
|
|
4056
4493
|
"type": "object",
|
|
@@ -4068,21 +4505,19 @@
|
|
|
4068
4505
|
"required": [
|
|
4069
4506
|
"chainId",
|
|
4070
4507
|
"txHash"
|
|
4071
|
-
]
|
|
4072
|
-
"additionalProperties": {}
|
|
4508
|
+
]
|
|
4073
4509
|
}
|
|
4074
|
-
}
|
|
4075
|
-
"additionalProperties": {}
|
|
4510
|
+
}
|
|
4076
4511
|
}
|
|
4077
4512
|
},
|
|
4078
4513
|
"required": [
|
|
4079
4514
|
"type",
|
|
4515
|
+
"intentHash",
|
|
4080
4516
|
"status",
|
|
4081
4517
|
"from",
|
|
4082
4518
|
"to",
|
|
4083
4519
|
"transactions"
|
|
4084
|
-
]
|
|
4085
|
-
"additionalProperties": {}
|
|
4520
|
+
]
|
|
4086
4521
|
}
|
|
4087
4522
|
}
|
|
4088
4523
|
},
|
|
@@ -4091,8 +4526,7 @@
|
|
|
4091
4526
|
"type",
|
|
4092
4527
|
"status",
|
|
4093
4528
|
"updatedAt"
|
|
4094
|
-
]
|
|
4095
|
-
"additionalProperties": {}
|
|
4529
|
+
]
|
|
4096
4530
|
}
|
|
4097
4531
|
},
|
|
4098
4532
|
"nextCursor": {
|
|
@@ -4110,8 +4544,7 @@
|
|
|
4110
4544
|
"required": [
|
|
4111
4545
|
"results",
|
|
4112
4546
|
"nextCursor"
|
|
4113
|
-
]
|
|
4114
|
-
"additionalProperties": {}
|
|
4547
|
+
]
|
|
4115
4548
|
}
|
|
4116
4549
|
}
|
|
4117
4550
|
}
|
|
@@ -4287,8 +4720,7 @@
|
|
|
4287
4720
|
"txHash",
|
|
4288
4721
|
"intentHashes",
|
|
4289
4722
|
"state"
|
|
4290
|
-
]
|
|
4291
|
-
"additionalProperties": {}
|
|
4723
|
+
]
|
|
4292
4724
|
}
|
|
4293
4725
|
},
|
|
4294
4726
|
"sourceTx": {
|
|
@@ -4318,8 +4750,7 @@
|
|
|
4318
4750
|
"txHash",
|
|
4319
4751
|
"token",
|
|
4320
4752
|
"amount"
|
|
4321
|
-
]
|
|
4322
|
-
"additionalProperties": {}
|
|
4753
|
+
]
|
|
4323
4754
|
},
|
|
4324
4755
|
"destinationTx": {
|
|
4325
4756
|
"type": "object",
|
|
@@ -4348,8 +4779,7 @@
|
|
|
4348
4779
|
"txHash",
|
|
4349
4780
|
"token",
|
|
4350
4781
|
"amount"
|
|
4351
|
-
]
|
|
4352
|
-
"additionalProperties": {}
|
|
4782
|
+
]
|
|
4353
4783
|
},
|
|
4354
4784
|
"steps": {
|
|
4355
4785
|
"type": "array",
|
|
@@ -4363,6 +4793,10 @@
|
|
|
4363
4793
|
"BRIDGE"
|
|
4364
4794
|
]
|
|
4365
4795
|
},
|
|
4796
|
+
"intentHash": {
|
|
4797
|
+
"type": "string",
|
|
4798
|
+
"pattern": "^0x[0-9a-fA-F]{64}$"
|
|
4799
|
+
},
|
|
4366
4800
|
"status": {
|
|
4367
4801
|
"type": "string",
|
|
4368
4802
|
"minLength": 1
|
|
@@ -4389,8 +4823,7 @@
|
|
|
4389
4823
|
"token",
|
|
4390
4824
|
"amount",
|
|
4391
4825
|
"chainId"
|
|
4392
|
-
]
|
|
4393
|
-
"additionalProperties": {}
|
|
4826
|
+
]
|
|
4394
4827
|
},
|
|
4395
4828
|
"to": {
|
|
4396
4829
|
"type": "object",
|
|
@@ -4414,8 +4847,7 @@
|
|
|
4414
4847
|
"token",
|
|
4415
4848
|
"amount",
|
|
4416
4849
|
"chainId"
|
|
4417
|
-
]
|
|
4418
|
-
"additionalProperties": {}
|
|
4850
|
+
]
|
|
4419
4851
|
},
|
|
4420
4852
|
"transactions": {
|
|
4421
4853
|
"type": "object",
|
|
@@ -4436,8 +4868,7 @@
|
|
|
4436
4868
|
"required": [
|
|
4437
4869
|
"chainId",
|
|
4438
4870
|
"txHash"
|
|
4439
|
-
]
|
|
4440
|
-
"additionalProperties": {}
|
|
4871
|
+
]
|
|
4441
4872
|
},
|
|
4442
4873
|
"fulfilled": {
|
|
4443
4874
|
"type": "object",
|
|
@@ -4455,8 +4886,7 @@
|
|
|
4455
4886
|
"required": [
|
|
4456
4887
|
"chainId",
|
|
4457
4888
|
"txHash"
|
|
4458
|
-
]
|
|
4459
|
-
"additionalProperties": {}
|
|
4889
|
+
]
|
|
4460
4890
|
},
|
|
4461
4891
|
"refunded": {
|
|
4462
4892
|
"type": "object",
|
|
@@ -4474,21 +4904,19 @@
|
|
|
4474
4904
|
"required": [
|
|
4475
4905
|
"chainId",
|
|
4476
4906
|
"txHash"
|
|
4477
|
-
]
|
|
4478
|
-
"additionalProperties": {}
|
|
4907
|
+
]
|
|
4479
4908
|
}
|
|
4480
|
-
}
|
|
4481
|
-
"additionalProperties": {}
|
|
4909
|
+
}
|
|
4482
4910
|
}
|
|
4483
4911
|
},
|
|
4484
4912
|
"required": [
|
|
4485
4913
|
"type",
|
|
4914
|
+
"intentHash",
|
|
4486
4915
|
"status",
|
|
4487
4916
|
"from",
|
|
4488
4917
|
"to",
|
|
4489
4918
|
"transactions"
|
|
4490
|
-
]
|
|
4491
|
-
"additionalProperties": {}
|
|
4919
|
+
]
|
|
4492
4920
|
}
|
|
4493
4921
|
}
|
|
4494
4922
|
},
|
|
@@ -4497,8 +4925,7 @@
|
|
|
4497
4925
|
"type",
|
|
4498
4926
|
"status",
|
|
4499
4927
|
"updatedAt"
|
|
4500
|
-
]
|
|
4501
|
-
"additionalProperties": {}
|
|
4928
|
+
]
|
|
4502
4929
|
}
|
|
4503
4930
|
},
|
|
4504
4931
|
"nextCursor": {
|
|
@@ -4516,8 +4943,7 @@
|
|
|
4516
4943
|
"required": [
|
|
4517
4944
|
"results",
|
|
4518
4945
|
"nextCursor"
|
|
4519
|
-
]
|
|
4520
|
-
"additionalProperties": {}
|
|
4946
|
+
]
|
|
4521
4947
|
}
|
|
4522
4948
|
}
|
|
4523
4949
|
}
|
|
@@ -4685,8 +5111,7 @@
|
|
|
4685
5111
|
"required": [
|
|
4686
5112
|
"portal",
|
|
4687
5113
|
"executor"
|
|
4688
|
-
]
|
|
4689
|
-
"additionalProperties": {}
|
|
5114
|
+
]
|
|
4690
5115
|
}
|
|
4691
5116
|
},
|
|
4692
5117
|
"required": [
|
|
@@ -4697,8 +5122,7 @@
|
|
|
4697
5122
|
"encoding",
|
|
4698
5123
|
"status",
|
|
4699
5124
|
"contracts"
|
|
4700
|
-
]
|
|
4701
|
-
"additionalProperties": {}
|
|
5125
|
+
]
|
|
4702
5126
|
}
|
|
4703
5127
|
},
|
|
4704
5128
|
"limits": {
|
|
@@ -4721,20 +5145,17 @@
|
|
|
4721
5145
|
"required": [
|
|
4722
5146
|
"maxLimit",
|
|
4723
5147
|
"defaultLimit"
|
|
4724
|
-
]
|
|
4725
|
-
"additionalProperties": {}
|
|
5148
|
+
]
|
|
4726
5149
|
}
|
|
4727
5150
|
},
|
|
4728
5151
|
"required": [
|
|
4729
5152
|
"paging"
|
|
4730
|
-
]
|
|
4731
|
-
"additionalProperties": {}
|
|
5153
|
+
]
|
|
4732
5154
|
}
|
|
4733
5155
|
},
|
|
4734
5156
|
"required": [
|
|
4735
5157
|
"chains"
|
|
4736
|
-
]
|
|
4737
|
-
"additionalProperties": {}
|
|
5158
|
+
]
|
|
4738
5159
|
}
|
|
4739
5160
|
}
|
|
4740
5161
|
}
|
|
@@ -4867,8 +5288,7 @@
|
|
|
4867
5288
|
"required": [
|
|
4868
5289
|
"quote",
|
|
4869
5290
|
"depositAddress"
|
|
4870
|
-
]
|
|
4871
|
-
"additionalProperties": {}
|
|
5291
|
+
]
|
|
4872
5292
|
}
|
|
4873
5293
|
},
|
|
4874
5294
|
"required": [
|
|
@@ -4877,8 +5297,7 @@
|
|
|
4877
5297
|
"symbol",
|
|
4878
5298
|
"decimals",
|
|
4879
5299
|
"supports"
|
|
4880
|
-
]
|
|
4881
|
-
"additionalProperties": {}
|
|
5300
|
+
]
|
|
4882
5301
|
}
|
|
4883
5302
|
},
|
|
4884
5303
|
"nextCursor": {
|
|
@@ -4895,8 +5314,7 @@
|
|
|
4895
5314
|
"required": [
|
|
4896
5315
|
"tokens",
|
|
4897
5316
|
"nextCursor"
|
|
4898
|
-
]
|
|
4899
|
-
"additionalProperties": {}
|
|
5317
|
+
]
|
|
4900
5318
|
}
|
|
4901
5319
|
}
|
|
4902
5320
|
}
|
|
@@ -4971,8 +5389,7 @@
|
|
|
4971
5389
|
"required": [
|
|
4972
5390
|
"chainId",
|
|
4973
5391
|
"token"
|
|
4974
|
-
]
|
|
4975
|
-
"additionalProperties": {}
|
|
5392
|
+
]
|
|
4976
5393
|
},
|
|
4977
5394
|
"destination": {
|
|
4978
5395
|
"type": "object",
|
|
@@ -5010,8 +5427,7 @@
|
|
|
5010
5427
|
"required": [
|
|
5011
5428
|
"chainId",
|
|
5012
5429
|
"token"
|
|
5013
|
-
]
|
|
5014
|
-
"additionalProperties": {}
|
|
5430
|
+
]
|
|
5015
5431
|
},
|
|
5016
5432
|
"swapTypes": {
|
|
5017
5433
|
"type": "array",
|
|
@@ -5020,7 +5436,8 @@
|
|
|
5020
5436
|
"enum": [
|
|
5021
5437
|
"exact-in",
|
|
5022
5438
|
"exact-out",
|
|
5023
|
-
"custom"
|
|
5439
|
+
"custom",
|
|
5440
|
+
"gateway-deposit"
|
|
5024
5441
|
]
|
|
5025
5442
|
}
|
|
5026
5443
|
}
|
|
@@ -5029,8 +5446,7 @@
|
|
|
5029
5446
|
"source",
|
|
5030
5447
|
"destination",
|
|
5031
5448
|
"swapTypes"
|
|
5032
|
-
]
|
|
5033
|
-
"additionalProperties": {}
|
|
5449
|
+
]
|
|
5034
5450
|
}
|
|
5035
5451
|
},
|
|
5036
5452
|
"nextCursor": {
|
|
@@ -5047,8 +5463,7 @@
|
|
|
5047
5463
|
"required": [
|
|
5048
5464
|
"routes",
|
|
5049
5465
|
"nextCursor"
|
|
5050
|
-
]
|
|
5051
|
-
"additionalProperties": {}
|
|
5466
|
+
]
|
|
5052
5467
|
}
|
|
5053
5468
|
}
|
|
5054
5469
|
}
|
|
@@ -5092,7 +5507,7 @@
|
|
|
5092
5507
|
"type": "string",
|
|
5093
5508
|
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
5094
5509
|
},
|
|
5095
|
-
"
|
|
5510
|
+
"type": {
|
|
5096
5511
|
"type": "string",
|
|
5097
5512
|
"const": "solana"
|
|
5098
5513
|
},
|
|
@@ -5104,7 +5519,7 @@
|
|
|
5104
5519
|
"required": [
|
|
5105
5520
|
"chainId",
|
|
5106
5521
|
"depositor",
|
|
5107
|
-
"
|
|
5522
|
+
"type",
|
|
5108
5523
|
"destinationAddress"
|
|
5109
5524
|
],
|
|
5110
5525
|
"additionalProperties": false
|
|
@@ -5121,7 +5536,7 @@
|
|
|
5121
5536
|
"type": "string",
|
|
5122
5537
|
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
5123
5538
|
},
|
|
5124
|
-
"
|
|
5539
|
+
"type": {
|
|
5125
5540
|
"type": "string",
|
|
5126
5541
|
"const": "gateway"
|
|
5127
5542
|
},
|
|
@@ -5133,7 +5548,7 @@
|
|
|
5133
5548
|
"required": [
|
|
5134
5549
|
"chainId",
|
|
5135
5550
|
"depositor",
|
|
5136
|
-
"
|
|
5551
|
+
"type",
|
|
5137
5552
|
"destinationAddress"
|
|
5138
5553
|
],
|
|
5139
5554
|
"additionalProperties": false
|
|
@@ -5150,7 +5565,7 @@
|
|
|
5150
5565
|
"type": "string",
|
|
5151
5566
|
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
5152
5567
|
},
|
|
5153
|
-
"
|
|
5568
|
+
"type": {
|
|
5154
5569
|
"type": "string",
|
|
5155
5570
|
"const": "gateway-erc20"
|
|
5156
5571
|
},
|
|
@@ -5167,7 +5582,7 @@
|
|
|
5167
5582
|
"required": [
|
|
5168
5583
|
"chainId",
|
|
5169
5584
|
"depositor",
|
|
5170
|
-
"
|
|
5585
|
+
"type",
|
|
5171
5586
|
"destinationAddress",
|
|
5172
5587
|
"destinationChainId"
|
|
5173
5588
|
],
|
|
@@ -5203,7 +5618,7 @@
|
|
|
5203
5618
|
"type": "string",
|
|
5204
5619
|
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
5205
5620
|
},
|
|
5206
|
-
"
|
|
5621
|
+
"type": {
|
|
5207
5622
|
"type": "string",
|
|
5208
5623
|
"enum": [
|
|
5209
5624
|
"solana",
|
|
@@ -5283,8 +5698,7 @@
|
|
|
5283
5698
|
"chainId",
|
|
5284
5699
|
"source",
|
|
5285
5700
|
"registration"
|
|
5286
|
-
]
|
|
5287
|
-
"additionalProperties": {}
|
|
5701
|
+
]
|
|
5288
5702
|
}
|
|
5289
5703
|
}
|
|
5290
5704
|
},
|
|
@@ -5293,13 +5707,12 @@
|
|
|
5293
5707
|
"depositAddress",
|
|
5294
5708
|
"chainId",
|
|
5295
5709
|
"depositor",
|
|
5296
|
-
"
|
|
5710
|
+
"type",
|
|
5297
5711
|
"destinationAddress",
|
|
5298
5712
|
"expiresAt",
|
|
5299
5713
|
"createdAt",
|
|
5300
5714
|
"chains"
|
|
5301
|
-
]
|
|
5302
|
-
"additionalProperties": {}
|
|
5715
|
+
]
|
|
5303
5716
|
}
|
|
5304
5717
|
}
|
|
5305
5718
|
}
|
|
@@ -5382,7 +5795,7 @@
|
|
|
5382
5795
|
}
|
|
5383
5796
|
},
|
|
5384
5797
|
{
|
|
5385
|
-
"name": "
|
|
5798
|
+
"name": "type",
|
|
5386
5799
|
"in": "query",
|
|
5387
5800
|
"required": false,
|
|
5388
5801
|
"schema": {
|
|
@@ -5445,7 +5858,7 @@
|
|
|
5445
5858
|
"type": "string",
|
|
5446
5859
|
"pattern": "^0x[0-9a-fA-F]{40}$"
|
|
5447
5860
|
},
|
|
5448
|
-
"
|
|
5861
|
+
"type": {
|
|
5449
5862
|
"type": "string",
|
|
5450
5863
|
"enum": [
|
|
5451
5864
|
"solana",
|
|
@@ -5505,19 +5918,17 @@
|
|
|
5505
5918
|
"depositAddress",
|
|
5506
5919
|
"chainId",
|
|
5507
5920
|
"depositor",
|
|
5508
|
-
"
|
|
5921
|
+
"type",
|
|
5509
5922
|
"destinationAddress",
|
|
5510
5923
|
"expiresAt",
|
|
5511
5924
|
"createdAt"
|
|
5512
|
-
]
|
|
5513
|
-
"additionalProperties": {}
|
|
5925
|
+
]
|
|
5514
5926
|
}
|
|
5515
5927
|
}
|
|
5516
5928
|
},
|
|
5517
5929
|
"required": [
|
|
5518
5930
|
"results"
|
|
5519
|
-
]
|
|
5520
|
-
"additionalProperties": {}
|
|
5931
|
+
]
|
|
5521
5932
|
}
|
|
5522
5933
|
}
|
|
5523
5934
|
}
|
|
@@ -5612,8 +6023,7 @@
|
|
|
5612
6023
|
"required": [
|
|
5613
6024
|
"solver",
|
|
5614
6025
|
"message"
|
|
5615
|
-
]
|
|
5616
|
-
"additionalProperties": {}
|
|
6026
|
+
]
|
|
5617
6027
|
}
|
|
5618
6028
|
},
|
|
5619
6029
|
"errors": {
|
|
@@ -5633,8 +6043,7 @@
|
|
|
5633
6043
|
"required": [
|
|
5634
6044
|
"field",
|
|
5635
6045
|
"detail"
|
|
5636
|
-
]
|
|
5637
|
-
"additionalProperties": {}
|
|
6046
|
+
]
|
|
5638
6047
|
}
|
|
5639
6048
|
}
|
|
5640
6049
|
},
|
|
@@ -5643,8 +6052,7 @@
|
|
|
5643
6052
|
"title",
|
|
5644
6053
|
"status",
|
|
5645
6054
|
"code"
|
|
5646
|
-
]
|
|
5647
|
-
"additionalProperties": {}
|
|
6055
|
+
]
|
|
5648
6056
|
}
|
|
5649
6057
|
}
|
|
5650
6058
|
},
|