@metamask-previews/bridge-status-controller 64.4.1-preview-6a568504 → 64.4.1-preview-8a4f4ea3
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/dist/utils/transaction.d.cts +96 -0
- package/dist/utils/transaction.d.cts.map +1 -1
- package/dist/utils/transaction.d.mts +96 -0
- package/dist/utils/transaction.d.mts.map +1 -1
- package/dist/utils/validators.d.cts +96 -0
- package/dist/utils/validators.d.cts.map +1 -1
- package/dist/utils/validators.d.mts +96 -0
- package/dist/utils/validators.d.mts.map +1 -1
- package/package.json +1 -1
|
@@ -21,6 +21,18 @@ export declare const getStatusRequestParams: (quoteResponse: QuoteResponse) => {
|
|
|
21
21
|
decimals: number;
|
|
22
22
|
icon?: string | null | undefined;
|
|
23
23
|
iconUrl?: string | null | undefined;
|
|
24
|
+
rwaData?: {
|
|
25
|
+
instrumentType: string;
|
|
26
|
+
ticker: string;
|
|
27
|
+
market: {
|
|
28
|
+
nextOpen: string;
|
|
29
|
+
nextClose: string;
|
|
30
|
+
};
|
|
31
|
+
nextPause: {
|
|
32
|
+
start: string;
|
|
33
|
+
end: string;
|
|
34
|
+
};
|
|
35
|
+
} | undefined;
|
|
24
36
|
};
|
|
25
37
|
destAsset: {
|
|
26
38
|
symbol: string;
|
|
@@ -31,6 +43,18 @@ export declare const getStatusRequestParams: (quoteResponse: QuoteResponse) => {
|
|
|
31
43
|
decimals: number;
|
|
32
44
|
icon?: string | null | undefined;
|
|
33
45
|
iconUrl?: string | null | undefined;
|
|
46
|
+
rwaData?: {
|
|
47
|
+
instrumentType: string;
|
|
48
|
+
ticker: string;
|
|
49
|
+
market: {
|
|
50
|
+
nextOpen: string;
|
|
51
|
+
nextClose: string;
|
|
52
|
+
};
|
|
53
|
+
nextPause: {
|
|
54
|
+
start: string;
|
|
55
|
+
end: string;
|
|
56
|
+
};
|
|
57
|
+
} | undefined;
|
|
34
58
|
};
|
|
35
59
|
requestId: string;
|
|
36
60
|
srcTokenAmount: string;
|
|
@@ -48,6 +72,18 @@ export declare const getStatusRequestParams: (quoteResponse: QuoteResponse) => {
|
|
|
48
72
|
decimals: number;
|
|
49
73
|
icon?: string | null | undefined;
|
|
50
74
|
iconUrl?: string | null | undefined;
|
|
75
|
+
rwaData?: {
|
|
76
|
+
instrumentType: string;
|
|
77
|
+
ticker: string;
|
|
78
|
+
market: {
|
|
79
|
+
nextOpen: string;
|
|
80
|
+
nextClose: string;
|
|
81
|
+
};
|
|
82
|
+
nextPause: {
|
|
83
|
+
start: string;
|
|
84
|
+
end: string;
|
|
85
|
+
};
|
|
86
|
+
} | undefined;
|
|
51
87
|
};
|
|
52
88
|
};
|
|
53
89
|
txFee?: ({
|
|
@@ -61,6 +97,18 @@ export declare const getStatusRequestParams: (quoteResponse: QuoteResponse) => {
|
|
|
61
97
|
decimals: number;
|
|
62
98
|
icon?: string | null | undefined;
|
|
63
99
|
iconUrl?: string | null | undefined;
|
|
100
|
+
rwaData?: {
|
|
101
|
+
instrumentType: string;
|
|
102
|
+
ticker: string;
|
|
103
|
+
market: {
|
|
104
|
+
nextOpen: string;
|
|
105
|
+
nextClose: string;
|
|
106
|
+
};
|
|
107
|
+
nextPause: {
|
|
108
|
+
start: string;
|
|
109
|
+
end: string;
|
|
110
|
+
};
|
|
111
|
+
} | undefined;
|
|
64
112
|
};
|
|
65
113
|
} & {
|
|
66
114
|
maxFeePerGas: string;
|
|
@@ -81,6 +129,18 @@ export declare const getStatusRequestParams: (quoteResponse: QuoteResponse) => {
|
|
|
81
129
|
decimals: number;
|
|
82
130
|
icon?: string | null | undefined;
|
|
83
131
|
iconUrl?: string | null | undefined;
|
|
132
|
+
rwaData?: {
|
|
133
|
+
instrumentType: string;
|
|
134
|
+
ticker: string;
|
|
135
|
+
market: {
|
|
136
|
+
nextOpen: string;
|
|
137
|
+
nextClose: string;
|
|
138
|
+
};
|
|
139
|
+
nextPause: {
|
|
140
|
+
start: string;
|
|
141
|
+
end: string;
|
|
142
|
+
};
|
|
143
|
+
} | undefined;
|
|
84
144
|
};
|
|
85
145
|
destAsset: {
|
|
86
146
|
symbol: string;
|
|
@@ -91,6 +151,18 @@ export declare const getStatusRequestParams: (quoteResponse: QuoteResponse) => {
|
|
|
91
151
|
decimals: number;
|
|
92
152
|
icon?: string | null | undefined;
|
|
93
153
|
iconUrl?: string | null | undefined;
|
|
154
|
+
rwaData?: {
|
|
155
|
+
instrumentType: string;
|
|
156
|
+
ticker: string;
|
|
157
|
+
market: {
|
|
158
|
+
nextOpen: string;
|
|
159
|
+
nextClose: string;
|
|
160
|
+
};
|
|
161
|
+
nextPause: {
|
|
162
|
+
start: string;
|
|
163
|
+
end: string;
|
|
164
|
+
};
|
|
165
|
+
} | undefined;
|
|
94
166
|
};
|
|
95
167
|
srcAmount: string;
|
|
96
168
|
destAmount: string;
|
|
@@ -113,6 +185,18 @@ export declare const getStatusRequestParams: (quoteResponse: QuoteResponse) => {
|
|
|
113
185
|
decimals: number;
|
|
114
186
|
icon?: string | null | undefined;
|
|
115
187
|
iconUrl?: string | null | undefined;
|
|
188
|
+
rwaData?: {
|
|
189
|
+
instrumentType: string;
|
|
190
|
+
ticker: string;
|
|
191
|
+
market: {
|
|
192
|
+
nextOpen: string;
|
|
193
|
+
nextClose: string;
|
|
194
|
+
};
|
|
195
|
+
nextPause: {
|
|
196
|
+
start: string;
|
|
197
|
+
end: string;
|
|
198
|
+
};
|
|
199
|
+
} | undefined;
|
|
116
200
|
};
|
|
117
201
|
destAsset: {
|
|
118
202
|
symbol: string;
|
|
@@ -123,6 +207,18 @@ export declare const getStatusRequestParams: (quoteResponse: QuoteResponse) => {
|
|
|
123
207
|
decimals: number;
|
|
124
208
|
icon?: string | null | undefined;
|
|
125
209
|
iconUrl?: string | null | undefined;
|
|
210
|
+
rwaData?: {
|
|
211
|
+
instrumentType: string;
|
|
212
|
+
ticker: string;
|
|
213
|
+
market: {
|
|
214
|
+
nextOpen: string;
|
|
215
|
+
nextClose: string;
|
|
216
|
+
};
|
|
217
|
+
nextPause: {
|
|
218
|
+
start: string;
|
|
219
|
+
end: string;
|
|
220
|
+
};
|
|
221
|
+
} | undefined;
|
|
126
222
|
};
|
|
127
223
|
srcAmount: string;
|
|
128
224
|
destAmount: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transaction.d.cts","sourceRoot":"","sources":["../../src/utils/transaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,sCAAsC;AAS7E,OAAO,KAAK,EACV,aAAa,EACb,aAAa,EACb,KAAK,EACL,MAAM,EACP,oCAAoC;AAErC,OAAO,EAEL,eAAe,EAChB,yCAAyC;AAC1C,OAAO,KAAK,EACV,sBAAsB,EACtB,qBAAqB,EACrB,eAAe,EAChB,yCAAyC;AAQ1C,OAAO,KAAK,EACV,+BAA+B,EAC/B,qBAAqB,EACtB,qBAAiB;AAElB,eAAO,MAAM,gBAAgB,cAAgD,CAAC;AAE9E,eAAO,MAAM,sBAAsB,kBAAmB,aAAa
|
|
1
|
+
{"version":3,"file":"transaction.d.cts","sourceRoot":"","sources":["../../src/utils/transaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,sCAAsC;AAS7E,OAAO,KAAK,EACV,aAAa,EACb,aAAa,EACb,KAAK,EACL,MAAM,EACP,oCAAoC;AAErC,OAAO,EAEL,eAAe,EAChB,yCAAyC;AAC1C,OAAO,KAAK,EACV,sBAAsB,EACtB,qBAAqB,EACrB,eAAe,EAChB,yCAAyC;AAQ1C,OAAO,KAAK,EACV,+BAA+B,EAC/B,qBAAqB,EACtB,qBAAiB;AAElB,eAAO,MAAM,gBAAgB,cAAgD,CAAC;AAE9E,eAAO,MAAM,sBAAsB,kBAAmB,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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oB3B,OAAO;WACZ,MAAM;mBACE,KAAK,aAAa,EAAE,UAAU,GAAG,OAAO,CAAC,GACtD,QAAQ,aAAa,CAAC;sBACN,OAAO,sBAAsB,SAAS,CAAC,cAAc;;;;;;;;;;;;;;;;;;;;iFA0FxE,CAAC;AAEF,eAAO,MAAM,gCAAgC;;yBAOtB,OAAO,sBAAsB,SAAS,CAAC,iBAAiB;aACpE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgEhB,CAAC"}
|
|
@@ -21,6 +21,18 @@ export declare const getStatusRequestParams: (quoteResponse: QuoteResponse) => {
|
|
|
21
21
|
decimals: number;
|
|
22
22
|
icon?: string | null | undefined;
|
|
23
23
|
iconUrl?: string | null | undefined;
|
|
24
|
+
rwaData?: {
|
|
25
|
+
instrumentType: string;
|
|
26
|
+
ticker: string;
|
|
27
|
+
market: {
|
|
28
|
+
nextOpen: string;
|
|
29
|
+
nextClose: string;
|
|
30
|
+
};
|
|
31
|
+
nextPause: {
|
|
32
|
+
start: string;
|
|
33
|
+
end: string;
|
|
34
|
+
};
|
|
35
|
+
} | undefined;
|
|
24
36
|
};
|
|
25
37
|
destAsset: {
|
|
26
38
|
symbol: string;
|
|
@@ -31,6 +43,18 @@ export declare const getStatusRequestParams: (quoteResponse: QuoteResponse) => {
|
|
|
31
43
|
decimals: number;
|
|
32
44
|
icon?: string | null | undefined;
|
|
33
45
|
iconUrl?: string | null | undefined;
|
|
46
|
+
rwaData?: {
|
|
47
|
+
instrumentType: string;
|
|
48
|
+
ticker: string;
|
|
49
|
+
market: {
|
|
50
|
+
nextOpen: string;
|
|
51
|
+
nextClose: string;
|
|
52
|
+
};
|
|
53
|
+
nextPause: {
|
|
54
|
+
start: string;
|
|
55
|
+
end: string;
|
|
56
|
+
};
|
|
57
|
+
} | undefined;
|
|
34
58
|
};
|
|
35
59
|
requestId: string;
|
|
36
60
|
srcTokenAmount: string;
|
|
@@ -48,6 +72,18 @@ export declare const getStatusRequestParams: (quoteResponse: QuoteResponse) => {
|
|
|
48
72
|
decimals: number;
|
|
49
73
|
icon?: string | null | undefined;
|
|
50
74
|
iconUrl?: string | null | undefined;
|
|
75
|
+
rwaData?: {
|
|
76
|
+
instrumentType: string;
|
|
77
|
+
ticker: string;
|
|
78
|
+
market: {
|
|
79
|
+
nextOpen: string;
|
|
80
|
+
nextClose: string;
|
|
81
|
+
};
|
|
82
|
+
nextPause: {
|
|
83
|
+
start: string;
|
|
84
|
+
end: string;
|
|
85
|
+
};
|
|
86
|
+
} | undefined;
|
|
51
87
|
};
|
|
52
88
|
};
|
|
53
89
|
txFee?: ({
|
|
@@ -61,6 +97,18 @@ export declare const getStatusRequestParams: (quoteResponse: QuoteResponse) => {
|
|
|
61
97
|
decimals: number;
|
|
62
98
|
icon?: string | null | undefined;
|
|
63
99
|
iconUrl?: string | null | undefined;
|
|
100
|
+
rwaData?: {
|
|
101
|
+
instrumentType: string;
|
|
102
|
+
ticker: string;
|
|
103
|
+
market: {
|
|
104
|
+
nextOpen: string;
|
|
105
|
+
nextClose: string;
|
|
106
|
+
};
|
|
107
|
+
nextPause: {
|
|
108
|
+
start: string;
|
|
109
|
+
end: string;
|
|
110
|
+
};
|
|
111
|
+
} | undefined;
|
|
64
112
|
};
|
|
65
113
|
} & {
|
|
66
114
|
maxFeePerGas: string;
|
|
@@ -81,6 +129,18 @@ export declare const getStatusRequestParams: (quoteResponse: QuoteResponse) => {
|
|
|
81
129
|
decimals: number;
|
|
82
130
|
icon?: string | null | undefined;
|
|
83
131
|
iconUrl?: string | null | undefined;
|
|
132
|
+
rwaData?: {
|
|
133
|
+
instrumentType: string;
|
|
134
|
+
ticker: string;
|
|
135
|
+
market: {
|
|
136
|
+
nextOpen: string;
|
|
137
|
+
nextClose: string;
|
|
138
|
+
};
|
|
139
|
+
nextPause: {
|
|
140
|
+
start: string;
|
|
141
|
+
end: string;
|
|
142
|
+
};
|
|
143
|
+
} | undefined;
|
|
84
144
|
};
|
|
85
145
|
destAsset: {
|
|
86
146
|
symbol: string;
|
|
@@ -91,6 +151,18 @@ export declare const getStatusRequestParams: (quoteResponse: QuoteResponse) => {
|
|
|
91
151
|
decimals: number;
|
|
92
152
|
icon?: string | null | undefined;
|
|
93
153
|
iconUrl?: string | null | undefined;
|
|
154
|
+
rwaData?: {
|
|
155
|
+
instrumentType: string;
|
|
156
|
+
ticker: string;
|
|
157
|
+
market: {
|
|
158
|
+
nextOpen: string;
|
|
159
|
+
nextClose: string;
|
|
160
|
+
};
|
|
161
|
+
nextPause: {
|
|
162
|
+
start: string;
|
|
163
|
+
end: string;
|
|
164
|
+
};
|
|
165
|
+
} | undefined;
|
|
94
166
|
};
|
|
95
167
|
srcAmount: string;
|
|
96
168
|
destAmount: string;
|
|
@@ -113,6 +185,18 @@ export declare const getStatusRequestParams: (quoteResponse: QuoteResponse) => {
|
|
|
113
185
|
decimals: number;
|
|
114
186
|
icon?: string | null | undefined;
|
|
115
187
|
iconUrl?: string | null | undefined;
|
|
188
|
+
rwaData?: {
|
|
189
|
+
instrumentType: string;
|
|
190
|
+
ticker: string;
|
|
191
|
+
market: {
|
|
192
|
+
nextOpen: string;
|
|
193
|
+
nextClose: string;
|
|
194
|
+
};
|
|
195
|
+
nextPause: {
|
|
196
|
+
start: string;
|
|
197
|
+
end: string;
|
|
198
|
+
};
|
|
199
|
+
} | undefined;
|
|
116
200
|
};
|
|
117
201
|
destAsset: {
|
|
118
202
|
symbol: string;
|
|
@@ -123,6 +207,18 @@ export declare const getStatusRequestParams: (quoteResponse: QuoteResponse) => {
|
|
|
123
207
|
decimals: number;
|
|
124
208
|
icon?: string | null | undefined;
|
|
125
209
|
iconUrl?: string | null | undefined;
|
|
210
|
+
rwaData?: {
|
|
211
|
+
instrumentType: string;
|
|
212
|
+
ticker: string;
|
|
213
|
+
market: {
|
|
214
|
+
nextOpen: string;
|
|
215
|
+
nextClose: string;
|
|
216
|
+
};
|
|
217
|
+
nextPause: {
|
|
218
|
+
start: string;
|
|
219
|
+
end: string;
|
|
220
|
+
};
|
|
221
|
+
} | undefined;
|
|
126
222
|
};
|
|
127
223
|
srcAmount: string;
|
|
128
224
|
destAmount: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transaction.d.mts","sourceRoot":"","sources":["../../src/utils/transaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,sCAAsC;AAS7E,OAAO,KAAK,EACV,aAAa,EACb,aAAa,EACb,KAAK,EACL,MAAM,EACP,oCAAoC;AAErC,OAAO,EAEL,eAAe,EAChB,yCAAyC;AAC1C,OAAO,KAAK,EACV,sBAAsB,EACtB,qBAAqB,EACrB,eAAe,EAChB,yCAAyC;AAQ1C,OAAO,KAAK,EACV,+BAA+B,EAC/B,qBAAqB,EACtB,qBAAiB;AAElB,eAAO,MAAM,gBAAgB,cAAgD,CAAC;AAE9E,eAAO,MAAM,sBAAsB,kBAAmB,aAAa
|
|
1
|
+
{"version":3,"file":"transaction.d.mts","sourceRoot":"","sources":["../../src/utils/transaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,sCAAsC;AAS7E,OAAO,KAAK,EACV,aAAa,EACb,aAAa,EACb,KAAK,EACL,MAAM,EACP,oCAAoC;AAErC,OAAO,EAEL,eAAe,EAChB,yCAAyC;AAC1C,OAAO,KAAK,EACV,sBAAsB,EACtB,qBAAqB,EACrB,eAAe,EAChB,yCAAyC;AAQ1C,OAAO,KAAK,EACV,+BAA+B,EAC/B,qBAAqB,EACtB,qBAAiB;AAElB,eAAO,MAAM,gBAAgB,cAAgD,CAAC;AAE9E,eAAO,MAAM,sBAAsB,kBAAmB,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAG,OAAO,CAAC,GACtD,QAAQ,aAAa,CAAC;sBACN,OAAO,sBAAsB,SAAS,CAAC,cAAc;;;;;;;;;;;;;;;;;;;;iFA0FxE,CAAC;AAEF,eAAO,MAAM,gCAAgC;;yBAOtB,OAAO,sBAAsB,SAAS,CAAC,iBAAiB;aACpE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgEhB,CAAC"}
|
|
@@ -14,6 +14,18 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
|
|
|
14
14
|
decimals: number;
|
|
15
15
|
icon?: string | null | undefined;
|
|
16
16
|
iconUrl?: string | null | undefined;
|
|
17
|
+
rwaData?: {
|
|
18
|
+
instrumentType: string;
|
|
19
|
+
ticker: string;
|
|
20
|
+
market: {
|
|
21
|
+
nextOpen: string;
|
|
22
|
+
nextClose: string;
|
|
23
|
+
};
|
|
24
|
+
nextPause: {
|
|
25
|
+
start: string;
|
|
26
|
+
end: string;
|
|
27
|
+
};
|
|
28
|
+
} | undefined;
|
|
17
29
|
} | undefined;
|
|
18
30
|
};
|
|
19
31
|
destChain?: {
|
|
@@ -29,6 +41,18 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
|
|
|
29
41
|
decimals: number;
|
|
30
42
|
icon?: string | null | undefined;
|
|
31
43
|
iconUrl?: string | null | undefined;
|
|
44
|
+
rwaData?: {
|
|
45
|
+
instrumentType: string;
|
|
46
|
+
ticker: string;
|
|
47
|
+
market: {
|
|
48
|
+
nextOpen: string;
|
|
49
|
+
nextClose: string;
|
|
50
|
+
};
|
|
51
|
+
nextPause: {
|
|
52
|
+
start: string;
|
|
53
|
+
end: string;
|
|
54
|
+
};
|
|
55
|
+
} | undefined;
|
|
32
56
|
} | undefined;
|
|
33
57
|
} | undefined;
|
|
34
58
|
bridge?: string | undefined;
|
|
@@ -56,6 +80,18 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
|
|
|
56
80
|
decimals: number;
|
|
57
81
|
icon?: string | null | undefined;
|
|
58
82
|
iconUrl?: string | null | undefined;
|
|
83
|
+
rwaData?: {
|
|
84
|
+
instrumentType: string;
|
|
85
|
+
ticker: string;
|
|
86
|
+
market: {
|
|
87
|
+
nextOpen: string;
|
|
88
|
+
nextClose: string;
|
|
89
|
+
};
|
|
90
|
+
nextPause: {
|
|
91
|
+
start: string;
|
|
92
|
+
end: string;
|
|
93
|
+
};
|
|
94
|
+
} | undefined;
|
|
59
95
|
} | undefined;
|
|
60
96
|
}, {
|
|
61
97
|
chainId: import("@metamask/superstruct").Struct<number, null>;
|
|
@@ -77,6 +113,18 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
|
|
|
77
113
|
decimals: number;
|
|
78
114
|
icon?: string | null | undefined;
|
|
79
115
|
iconUrl?: string | null | undefined;
|
|
116
|
+
rwaData?: {
|
|
117
|
+
instrumentType: string;
|
|
118
|
+
ticker: string;
|
|
119
|
+
market: {
|
|
120
|
+
nextOpen: string;
|
|
121
|
+
nextClose: string;
|
|
122
|
+
};
|
|
123
|
+
nextPause: {
|
|
124
|
+
start: string;
|
|
125
|
+
end: string;
|
|
126
|
+
};
|
|
127
|
+
} | undefined;
|
|
80
128
|
} | undefined, null>;
|
|
81
129
|
}>;
|
|
82
130
|
destChain: import("@metamask/superstruct").Struct<{
|
|
@@ -92,6 +140,18 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
|
|
|
92
140
|
decimals: number;
|
|
93
141
|
icon?: string | null | undefined;
|
|
94
142
|
iconUrl?: string | null | undefined;
|
|
143
|
+
rwaData?: {
|
|
144
|
+
instrumentType: string;
|
|
145
|
+
ticker: string;
|
|
146
|
+
market: {
|
|
147
|
+
nextOpen: string;
|
|
148
|
+
nextClose: string;
|
|
149
|
+
};
|
|
150
|
+
nextPause: {
|
|
151
|
+
start: string;
|
|
152
|
+
end: string;
|
|
153
|
+
};
|
|
154
|
+
} | undefined;
|
|
95
155
|
} | undefined;
|
|
96
156
|
} | undefined, {
|
|
97
157
|
chainId: import("@metamask/superstruct").Struct<number, null>;
|
|
@@ -109,6 +169,18 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
|
|
|
109
169
|
decimals: number;
|
|
110
170
|
icon?: string | null | undefined;
|
|
111
171
|
iconUrl?: string | null | undefined;
|
|
172
|
+
rwaData?: {
|
|
173
|
+
instrumentType: string;
|
|
174
|
+
ticker: string;
|
|
175
|
+
market: {
|
|
176
|
+
nextOpen: string;
|
|
177
|
+
nextClose: string;
|
|
178
|
+
};
|
|
179
|
+
nextPause: {
|
|
180
|
+
start: string;
|
|
181
|
+
end: string;
|
|
182
|
+
};
|
|
183
|
+
} | undefined;
|
|
112
184
|
} | undefined, null>;
|
|
113
185
|
}>;
|
|
114
186
|
bridge: import("@metamask/superstruct").Struct<string | undefined, null>;
|
|
@@ -131,6 +203,18 @@ export declare const validateBridgeStatusResponse: (data: unknown) => data is {
|
|
|
131
203
|
decimals: number;
|
|
132
204
|
icon?: string | null | undefined;
|
|
133
205
|
iconUrl?: string | null | undefined;
|
|
206
|
+
rwaData?: {
|
|
207
|
+
instrumentType: string;
|
|
208
|
+
ticker: string;
|
|
209
|
+
market: {
|
|
210
|
+
nextOpen: string;
|
|
211
|
+
nextClose: string;
|
|
212
|
+
};
|
|
213
|
+
nextPause: {
|
|
214
|
+
start: string;
|
|
215
|
+
end: string;
|
|
216
|
+
};
|
|
217
|
+
} | undefined;
|
|
134
218
|
} | undefined;
|
|
135
219
|
};
|
|
136
220
|
destChain?: {
|
|
@@ -146,6 +230,18 @@ export declare const validateBridgeStatusResponse: (data: unknown) => data is {
|
|
|
146
230
|
decimals: number;
|
|
147
231
|
icon?: string | null | undefined;
|
|
148
232
|
iconUrl?: string | null | undefined;
|
|
233
|
+
rwaData?: {
|
|
234
|
+
instrumentType: string;
|
|
235
|
+
ticker: string;
|
|
236
|
+
market: {
|
|
237
|
+
nextOpen: string;
|
|
238
|
+
nextClose: string;
|
|
239
|
+
};
|
|
240
|
+
nextPause: {
|
|
241
|
+
start: string;
|
|
242
|
+
end: string;
|
|
243
|
+
};
|
|
244
|
+
} | undefined;
|
|
149
245
|
} | undefined;
|
|
150
246
|
} | undefined;
|
|
151
247
|
bridge?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validators.d.cts","sourceRoot":"","sources":["../../src/utils/validators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAqB,oCAAoC;AA6C7E,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"validators.d.cts","sourceRoot":"","sources":["../../src/utils/validators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAqB,oCAAoC;AA6C7E,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAxB/B;;;WAGG;;QAEH;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAQH;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAeH,CAAC;AAEH,eAAO,MAAM,4BAA4B,SACjC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAId,CAAC;AAEF,oBAAY,iBAAiB;IAC3B,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,MAAM,WAAW;IACjB,SAAS,cAAc;IACvB,OAAO,YAAY;CACpB;AAED,MAAM,MAAM,WAAW,GAAG;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,iBAAiB,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE;QACR,QAAQ,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;KAC9B,CAAC;CACH,CAAC;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;EAOpC,CAAC;AAEH,eAAO,MAAM,2BAA2B,SAChC,OAAO;;;;;;;CAGd,CAAC"}
|
|
@@ -14,6 +14,18 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
|
|
|
14
14
|
decimals: number;
|
|
15
15
|
icon?: string | null | undefined;
|
|
16
16
|
iconUrl?: string | null | undefined;
|
|
17
|
+
rwaData?: {
|
|
18
|
+
instrumentType: string;
|
|
19
|
+
ticker: string;
|
|
20
|
+
market: {
|
|
21
|
+
nextOpen: string;
|
|
22
|
+
nextClose: string;
|
|
23
|
+
};
|
|
24
|
+
nextPause: {
|
|
25
|
+
start: string;
|
|
26
|
+
end: string;
|
|
27
|
+
};
|
|
28
|
+
} | undefined;
|
|
17
29
|
} | undefined;
|
|
18
30
|
};
|
|
19
31
|
destChain?: {
|
|
@@ -29,6 +41,18 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
|
|
|
29
41
|
decimals: number;
|
|
30
42
|
icon?: string | null | undefined;
|
|
31
43
|
iconUrl?: string | null | undefined;
|
|
44
|
+
rwaData?: {
|
|
45
|
+
instrumentType: string;
|
|
46
|
+
ticker: string;
|
|
47
|
+
market: {
|
|
48
|
+
nextOpen: string;
|
|
49
|
+
nextClose: string;
|
|
50
|
+
};
|
|
51
|
+
nextPause: {
|
|
52
|
+
start: string;
|
|
53
|
+
end: string;
|
|
54
|
+
};
|
|
55
|
+
} | undefined;
|
|
32
56
|
} | undefined;
|
|
33
57
|
} | undefined;
|
|
34
58
|
bridge?: string | undefined;
|
|
@@ -56,6 +80,18 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
|
|
|
56
80
|
decimals: number;
|
|
57
81
|
icon?: string | null | undefined;
|
|
58
82
|
iconUrl?: string | null | undefined;
|
|
83
|
+
rwaData?: {
|
|
84
|
+
instrumentType: string;
|
|
85
|
+
ticker: string;
|
|
86
|
+
market: {
|
|
87
|
+
nextOpen: string;
|
|
88
|
+
nextClose: string;
|
|
89
|
+
};
|
|
90
|
+
nextPause: {
|
|
91
|
+
start: string;
|
|
92
|
+
end: string;
|
|
93
|
+
};
|
|
94
|
+
} | undefined;
|
|
59
95
|
} | undefined;
|
|
60
96
|
}, {
|
|
61
97
|
chainId: import("@metamask/superstruct").Struct<number, null>;
|
|
@@ -77,6 +113,18 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
|
|
|
77
113
|
decimals: number;
|
|
78
114
|
icon?: string | null | undefined;
|
|
79
115
|
iconUrl?: string | null | undefined;
|
|
116
|
+
rwaData?: {
|
|
117
|
+
instrumentType: string;
|
|
118
|
+
ticker: string;
|
|
119
|
+
market: {
|
|
120
|
+
nextOpen: string;
|
|
121
|
+
nextClose: string;
|
|
122
|
+
};
|
|
123
|
+
nextPause: {
|
|
124
|
+
start: string;
|
|
125
|
+
end: string;
|
|
126
|
+
};
|
|
127
|
+
} | undefined;
|
|
80
128
|
} | undefined, null>;
|
|
81
129
|
}>;
|
|
82
130
|
destChain: import("@metamask/superstruct").Struct<{
|
|
@@ -92,6 +140,18 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
|
|
|
92
140
|
decimals: number;
|
|
93
141
|
icon?: string | null | undefined;
|
|
94
142
|
iconUrl?: string | null | undefined;
|
|
143
|
+
rwaData?: {
|
|
144
|
+
instrumentType: string;
|
|
145
|
+
ticker: string;
|
|
146
|
+
market: {
|
|
147
|
+
nextOpen: string;
|
|
148
|
+
nextClose: string;
|
|
149
|
+
};
|
|
150
|
+
nextPause: {
|
|
151
|
+
start: string;
|
|
152
|
+
end: string;
|
|
153
|
+
};
|
|
154
|
+
} | undefined;
|
|
95
155
|
} | undefined;
|
|
96
156
|
} | undefined, {
|
|
97
157
|
chainId: import("@metamask/superstruct").Struct<number, null>;
|
|
@@ -109,6 +169,18 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
|
|
|
109
169
|
decimals: number;
|
|
110
170
|
icon?: string | null | undefined;
|
|
111
171
|
iconUrl?: string | null | undefined;
|
|
172
|
+
rwaData?: {
|
|
173
|
+
instrumentType: string;
|
|
174
|
+
ticker: string;
|
|
175
|
+
market: {
|
|
176
|
+
nextOpen: string;
|
|
177
|
+
nextClose: string;
|
|
178
|
+
};
|
|
179
|
+
nextPause: {
|
|
180
|
+
start: string;
|
|
181
|
+
end: string;
|
|
182
|
+
};
|
|
183
|
+
} | undefined;
|
|
112
184
|
} | undefined, null>;
|
|
113
185
|
}>;
|
|
114
186
|
bridge: import("@metamask/superstruct").Struct<string | undefined, null>;
|
|
@@ -131,6 +203,18 @@ export declare const validateBridgeStatusResponse: (data: unknown) => data is {
|
|
|
131
203
|
decimals: number;
|
|
132
204
|
icon?: string | null | undefined;
|
|
133
205
|
iconUrl?: string | null | undefined;
|
|
206
|
+
rwaData?: {
|
|
207
|
+
instrumentType: string;
|
|
208
|
+
ticker: string;
|
|
209
|
+
market: {
|
|
210
|
+
nextOpen: string;
|
|
211
|
+
nextClose: string;
|
|
212
|
+
};
|
|
213
|
+
nextPause: {
|
|
214
|
+
start: string;
|
|
215
|
+
end: string;
|
|
216
|
+
};
|
|
217
|
+
} | undefined;
|
|
134
218
|
} | undefined;
|
|
135
219
|
};
|
|
136
220
|
destChain?: {
|
|
@@ -146,6 +230,18 @@ export declare const validateBridgeStatusResponse: (data: unknown) => data is {
|
|
|
146
230
|
decimals: number;
|
|
147
231
|
icon?: string | null | undefined;
|
|
148
232
|
iconUrl?: string | null | undefined;
|
|
233
|
+
rwaData?: {
|
|
234
|
+
instrumentType: string;
|
|
235
|
+
ticker: string;
|
|
236
|
+
market: {
|
|
237
|
+
nextOpen: string;
|
|
238
|
+
nextClose: string;
|
|
239
|
+
};
|
|
240
|
+
nextPause: {
|
|
241
|
+
start: string;
|
|
242
|
+
end: string;
|
|
243
|
+
};
|
|
244
|
+
} | undefined;
|
|
149
245
|
} | undefined;
|
|
150
246
|
} | undefined;
|
|
151
247
|
bridge?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validators.d.mts","sourceRoot":"","sources":["../../src/utils/validators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAqB,oCAAoC;AA6C7E,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"validators.d.mts","sourceRoot":"","sources":["../../src/utils/validators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAqB,oCAAoC;AA6C7E,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAxB/B;;;WAGG;;QAEH;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAQH;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAeH,CAAC;AAEH,eAAO,MAAM,4BAA4B,SACjC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAId,CAAC;AAEF,oBAAY,iBAAiB;IAC3B,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,MAAM,WAAW;IACjB,SAAS,cAAc;IACvB,OAAO,YAAY;CACpB;AAED,MAAM,MAAM,WAAW,GAAG;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,iBAAiB,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE;QACR,QAAQ,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;KAC9B,CAAC;CACH,CAAC;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;EAOpC,CAAC;AAEH,eAAO,MAAM,2BAA2B,SAChC,OAAO;;;;;;;CAGd,CAAC"}
|
package/package.json
CHANGED