@tokenlon/v6-sdk 1.0.3 → 1.0.4-canary.14e9384
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/cjs/constants/RFQAbi.js +723 -0
- package/dist/cjs/constants/RFQAbi.js.map +1 -0
- package/dist/cjs/constants/abis.js +526 -40
- package/dist/cjs/constants/abis.js.map +1 -1
- package/dist/cjs/constants/addresses.js +52 -5
- package/dist/cjs/constants/addresses.js.map +1 -1
- package/dist/cjs/constants/chains.js +22 -2
- package/dist/cjs/constants/chains.js.map +1 -1
- package/dist/cjs/constants/common.js +5 -0
- package/dist/cjs/constants/common.js.map +1 -0
- package/dist/cjs/constants/index.js +1 -0
- package/dist/cjs/constants/index.js.map +1 -1
- package/dist/cjs/constants/unit.js +3 -1
- package/dist/cjs/constants/unit.js.map +1 -1
- package/dist/cjs/errors/base.js +1 -1
- package/dist/cjs/permit/index.js +20 -4
- package/dist/cjs/permit/index.js.map +1 -1
- package/dist/cjs/sdk.js +7 -5
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/cjs/serviceHost.js +67 -1
- package/dist/cjs/serviceHost.js.map +1 -1
- package/dist/cjs/swap/index.js +739 -92
- package/dist/cjs/swap/index.js.map +1 -1
- package/dist/cjs/swap/type.js +6 -1
- package/dist/cjs/swap/type.js.map +1 -1
- package/dist/cjs/types/token.js +3 -0
- package/dist/cjs/types/token.js.map +1 -0
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/version.js.map +1 -1
- package/dist/esm/constants/RFQAbi.js +721 -0
- package/dist/esm/constants/RFQAbi.js.map +1 -0
- package/dist/esm/constants/abis.js +525 -39
- package/dist/esm/constants/abis.js.map +1 -1
- package/dist/esm/constants/addresses.js +51 -4
- package/dist/esm/constants/addresses.js.map +1 -1
- package/dist/esm/constants/chains.js +23 -3
- package/dist/esm/constants/chains.js.map +1 -1
- package/dist/esm/constants/common.js +2 -0
- package/dist/esm/constants/common.js.map +1 -0
- package/dist/esm/constants/index.js +1 -0
- package/dist/esm/constants/index.js.map +1 -1
- package/dist/esm/constants/unit.js +2 -0
- package/dist/esm/constants/unit.js.map +1 -1
- package/dist/esm/errors/base.js +1 -1
- package/dist/esm/permit/index.js +21 -5
- package/dist/esm/permit/index.js.map +1 -1
- package/dist/esm/sdk.js +7 -5
- package/dist/esm/sdk.js.map +1 -1
- package/dist/esm/serviceHost.js +67 -1
- package/dist/esm/serviceHost.js.map +1 -1
- package/dist/esm/swap/index.js +740 -94
- package/dist/esm/swap/index.js.map +1 -1
- package/dist/esm/swap/type.js +5 -1
- package/dist/esm/swap/type.js.map +1 -1
- package/dist/esm/types/token.js +2 -0
- package/dist/esm/types/token.js.map +1 -0
- package/dist/esm/version.js +1 -1
- package/dist/esm/version.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/constants/RFQAbi.d.ts +82 -0
- package/dist/types/constants/RFQAbi.d.ts.map +1 -0
- package/dist/types/constants/abis.d.ts +381 -14
- package/dist/types/constants/abis.d.ts.map +1 -1
- package/dist/types/constants/addresses.d.ts +2 -0
- package/dist/types/constants/addresses.d.ts.map +1 -1
- package/dist/types/constants/chains.d.ts +1 -1
- package/dist/types/constants/chains.d.ts.map +1 -1
- package/dist/types/constants/common.d.ts +2 -0
- package/dist/types/constants/common.d.ts.map +1 -0
- package/dist/types/constants/index.d.ts +1 -0
- package/dist/types/constants/index.d.ts.map +1 -1
- package/dist/types/constants/unit.d.ts +2 -0
- package/dist/types/constants/unit.d.ts.map +1 -1
- package/dist/types/errors/base.d.ts +1 -1
- package/dist/types/errors/base.d.ts.map +1 -1
- package/dist/types/permit/index.d.ts.map +1 -1
- package/dist/types/sdk.d.ts +1 -0
- package/dist/types/sdk.d.ts.map +1 -1
- package/dist/types/serviceHost.d.ts +1 -0
- package/dist/types/serviceHost.d.ts.map +1 -1
- package/dist/types/swap/index.d.ts +127 -29
- package/dist/types/swap/index.d.ts.map +1 -1
- package/dist/types/swap/type.d.ts +106 -23
- package/dist/types/swap/type.d.ts.map +1 -1
- package/dist/types/types/token.d.ts +11 -0
- package/dist/types/types/token.d.ts.map +1 -0
- package/dist/types/version.d.ts +1 -1
- package/dist/types/version.d.ts.map +1 -1
- package/package.json +27 -21
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
declare const _default: ({
|
|
2
|
+
inputs: {
|
|
3
|
+
internalType: string;
|
|
4
|
+
name: string;
|
|
5
|
+
type: string;
|
|
6
|
+
}[];
|
|
7
|
+
stateMutability: string;
|
|
8
|
+
type: string;
|
|
9
|
+
name?: never;
|
|
10
|
+
anonymous?: never;
|
|
11
|
+
outputs?: never;
|
|
12
|
+
} | {
|
|
13
|
+
inputs: never[];
|
|
14
|
+
name: string;
|
|
15
|
+
type: string;
|
|
16
|
+
stateMutability?: never;
|
|
17
|
+
anonymous?: never;
|
|
18
|
+
outputs?: never;
|
|
19
|
+
} | {
|
|
20
|
+
anonymous: boolean;
|
|
21
|
+
inputs: {
|
|
22
|
+
indexed: boolean;
|
|
23
|
+
internalType: string;
|
|
24
|
+
name: string;
|
|
25
|
+
type: string;
|
|
26
|
+
}[];
|
|
27
|
+
name: string;
|
|
28
|
+
type: string;
|
|
29
|
+
stateMutability?: never;
|
|
30
|
+
outputs?: never;
|
|
31
|
+
} | {
|
|
32
|
+
inputs: never[];
|
|
33
|
+
name: string;
|
|
34
|
+
outputs: {
|
|
35
|
+
internalType: string;
|
|
36
|
+
name: string;
|
|
37
|
+
type: string;
|
|
38
|
+
}[];
|
|
39
|
+
stateMutability: string;
|
|
40
|
+
type: string;
|
|
41
|
+
anonymous?: never;
|
|
42
|
+
} | {
|
|
43
|
+
inputs: ({
|
|
44
|
+
components: ({
|
|
45
|
+
components: {
|
|
46
|
+
internalType: string;
|
|
47
|
+
name: string;
|
|
48
|
+
type: string;
|
|
49
|
+
}[];
|
|
50
|
+
internalType: string;
|
|
51
|
+
name: string;
|
|
52
|
+
type: string;
|
|
53
|
+
} | {
|
|
54
|
+
internalType: string;
|
|
55
|
+
name: string;
|
|
56
|
+
type: string;
|
|
57
|
+
components?: never;
|
|
58
|
+
})[];
|
|
59
|
+
internalType: string;
|
|
60
|
+
name: string;
|
|
61
|
+
type: string;
|
|
62
|
+
} | {
|
|
63
|
+
internalType: string;
|
|
64
|
+
name: string;
|
|
65
|
+
type: string;
|
|
66
|
+
components?: never;
|
|
67
|
+
})[];
|
|
68
|
+
name: string;
|
|
69
|
+
outputs: never[];
|
|
70
|
+
stateMutability: string;
|
|
71
|
+
type: string;
|
|
72
|
+
anonymous?: never;
|
|
73
|
+
} | {
|
|
74
|
+
stateMutability: string;
|
|
75
|
+
type: string;
|
|
76
|
+
inputs?: never;
|
|
77
|
+
name?: never;
|
|
78
|
+
anonymous?: never;
|
|
79
|
+
outputs?: never;
|
|
80
|
+
})[];
|
|
81
|
+
export default _default;
|
|
82
|
+
//# sourceMappingURL=RFQAbi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RFQAbi.d.ts","sourceRoot":"","sources":["../../../src/constants/RFQAbi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA+sBC"}
|
|
@@ -1,3 +1,216 @@
|
|
|
1
|
+
export declare const WETH_ABI: readonly [{
|
|
2
|
+
readonly constant: true;
|
|
3
|
+
readonly inputs: readonly [];
|
|
4
|
+
readonly name: "name";
|
|
5
|
+
readonly outputs: readonly [{
|
|
6
|
+
readonly name: "";
|
|
7
|
+
readonly type: "string";
|
|
8
|
+
}];
|
|
9
|
+
readonly payable: false;
|
|
10
|
+
readonly stateMutability: "view";
|
|
11
|
+
readonly type: "function";
|
|
12
|
+
}, {
|
|
13
|
+
readonly constant: false;
|
|
14
|
+
readonly inputs: readonly [{
|
|
15
|
+
readonly name: "guy";
|
|
16
|
+
readonly type: "address";
|
|
17
|
+
}, {
|
|
18
|
+
readonly name: "wad";
|
|
19
|
+
readonly type: "uint256";
|
|
20
|
+
}];
|
|
21
|
+
readonly name: "approve";
|
|
22
|
+
readonly outputs: readonly [{
|
|
23
|
+
readonly name: "";
|
|
24
|
+
readonly type: "bool";
|
|
25
|
+
}];
|
|
26
|
+
readonly payable: false;
|
|
27
|
+
readonly stateMutability: "nonpayable";
|
|
28
|
+
readonly type: "function";
|
|
29
|
+
}, {
|
|
30
|
+
readonly constant: true;
|
|
31
|
+
readonly inputs: readonly [];
|
|
32
|
+
readonly name: "totalSupply";
|
|
33
|
+
readonly outputs: readonly [{
|
|
34
|
+
readonly name: "";
|
|
35
|
+
readonly type: "uint256";
|
|
36
|
+
}];
|
|
37
|
+
readonly payable: false;
|
|
38
|
+
readonly stateMutability: "view";
|
|
39
|
+
readonly type: "function";
|
|
40
|
+
}, {
|
|
41
|
+
readonly constant: false;
|
|
42
|
+
readonly inputs: readonly [{
|
|
43
|
+
readonly name: "src";
|
|
44
|
+
readonly type: "address";
|
|
45
|
+
}, {
|
|
46
|
+
readonly name: "dst";
|
|
47
|
+
readonly type: "address";
|
|
48
|
+
}, {
|
|
49
|
+
readonly name: "wad";
|
|
50
|
+
readonly type: "uint256";
|
|
51
|
+
}];
|
|
52
|
+
readonly name: "transferFrom";
|
|
53
|
+
readonly outputs: readonly [{
|
|
54
|
+
readonly name: "";
|
|
55
|
+
readonly type: "bool";
|
|
56
|
+
}];
|
|
57
|
+
readonly payable: false;
|
|
58
|
+
readonly stateMutability: "nonpayable";
|
|
59
|
+
readonly type: "function";
|
|
60
|
+
}, {
|
|
61
|
+
readonly constant: false;
|
|
62
|
+
readonly inputs: readonly [{
|
|
63
|
+
readonly name: "wad";
|
|
64
|
+
readonly type: "uint256";
|
|
65
|
+
}];
|
|
66
|
+
readonly name: "withdraw";
|
|
67
|
+
readonly outputs: readonly [];
|
|
68
|
+
readonly payable: false;
|
|
69
|
+
readonly stateMutability: "nonpayable";
|
|
70
|
+
readonly type: "function";
|
|
71
|
+
}, {
|
|
72
|
+
readonly constant: true;
|
|
73
|
+
readonly inputs: readonly [];
|
|
74
|
+
readonly name: "decimals";
|
|
75
|
+
readonly outputs: readonly [{
|
|
76
|
+
readonly name: "";
|
|
77
|
+
readonly type: "uint8";
|
|
78
|
+
}];
|
|
79
|
+
readonly payable: false;
|
|
80
|
+
readonly stateMutability: "view";
|
|
81
|
+
readonly type: "function";
|
|
82
|
+
}, {
|
|
83
|
+
readonly constant: true;
|
|
84
|
+
readonly inputs: readonly [{
|
|
85
|
+
readonly name: "";
|
|
86
|
+
readonly type: "address";
|
|
87
|
+
}];
|
|
88
|
+
readonly name: "balanceOf";
|
|
89
|
+
readonly outputs: readonly [{
|
|
90
|
+
readonly name: "";
|
|
91
|
+
readonly type: "uint256";
|
|
92
|
+
}];
|
|
93
|
+
readonly payable: false;
|
|
94
|
+
readonly stateMutability: "view";
|
|
95
|
+
readonly type: "function";
|
|
96
|
+
}, {
|
|
97
|
+
readonly constant: true;
|
|
98
|
+
readonly inputs: readonly [];
|
|
99
|
+
readonly name: "symbol";
|
|
100
|
+
readonly outputs: readonly [{
|
|
101
|
+
readonly name: "";
|
|
102
|
+
readonly type: "string";
|
|
103
|
+
}];
|
|
104
|
+
readonly payable: false;
|
|
105
|
+
readonly stateMutability: "view";
|
|
106
|
+
readonly type: "function";
|
|
107
|
+
}, {
|
|
108
|
+
readonly constant: false;
|
|
109
|
+
readonly inputs: readonly [{
|
|
110
|
+
readonly name: "dst";
|
|
111
|
+
readonly type: "address";
|
|
112
|
+
}, {
|
|
113
|
+
readonly name: "wad";
|
|
114
|
+
readonly type: "uint256";
|
|
115
|
+
}];
|
|
116
|
+
readonly name: "transfer";
|
|
117
|
+
readonly outputs: readonly [{
|
|
118
|
+
readonly name: "";
|
|
119
|
+
readonly type: "bool";
|
|
120
|
+
}];
|
|
121
|
+
readonly payable: false;
|
|
122
|
+
readonly stateMutability: "nonpayable";
|
|
123
|
+
readonly type: "function";
|
|
124
|
+
}, {
|
|
125
|
+
readonly constant: false;
|
|
126
|
+
readonly inputs: readonly [];
|
|
127
|
+
readonly name: "deposit";
|
|
128
|
+
readonly outputs: readonly [];
|
|
129
|
+
readonly payable: true;
|
|
130
|
+
readonly stateMutability: "payable";
|
|
131
|
+
readonly type: "function";
|
|
132
|
+
}, {
|
|
133
|
+
readonly constant: true;
|
|
134
|
+
readonly inputs: readonly [{
|
|
135
|
+
readonly name: "";
|
|
136
|
+
readonly type: "address";
|
|
137
|
+
}, {
|
|
138
|
+
readonly name: "";
|
|
139
|
+
readonly type: "address";
|
|
140
|
+
}];
|
|
141
|
+
readonly name: "allowance";
|
|
142
|
+
readonly outputs: readonly [{
|
|
143
|
+
readonly name: "";
|
|
144
|
+
readonly type: "uint256";
|
|
145
|
+
}];
|
|
146
|
+
readonly payable: false;
|
|
147
|
+
readonly stateMutability: "view";
|
|
148
|
+
readonly type: "function";
|
|
149
|
+
}, {
|
|
150
|
+
readonly payable: true;
|
|
151
|
+
readonly stateMutability: "payable";
|
|
152
|
+
readonly type: "fallback";
|
|
153
|
+
}, {
|
|
154
|
+
readonly anonymous: false;
|
|
155
|
+
readonly inputs: readonly [{
|
|
156
|
+
readonly indexed: true;
|
|
157
|
+
readonly name: "src";
|
|
158
|
+
readonly type: "address";
|
|
159
|
+
}, {
|
|
160
|
+
readonly indexed: true;
|
|
161
|
+
readonly name: "guy";
|
|
162
|
+
readonly type: "address";
|
|
163
|
+
}, {
|
|
164
|
+
readonly indexed: false;
|
|
165
|
+
readonly name: "wad";
|
|
166
|
+
readonly type: "uint256";
|
|
167
|
+
}];
|
|
168
|
+
readonly name: "Approval";
|
|
169
|
+
readonly type: "event";
|
|
170
|
+
}, {
|
|
171
|
+
readonly anonymous: false;
|
|
172
|
+
readonly inputs: readonly [{
|
|
173
|
+
readonly indexed: true;
|
|
174
|
+
readonly name: "src";
|
|
175
|
+
readonly type: "address";
|
|
176
|
+
}, {
|
|
177
|
+
readonly indexed: true;
|
|
178
|
+
readonly name: "dst";
|
|
179
|
+
readonly type: "address";
|
|
180
|
+
}, {
|
|
181
|
+
readonly indexed: false;
|
|
182
|
+
readonly name: "wad";
|
|
183
|
+
readonly type: "uint256";
|
|
184
|
+
}];
|
|
185
|
+
readonly name: "Transfer";
|
|
186
|
+
readonly type: "event";
|
|
187
|
+
}, {
|
|
188
|
+
readonly anonymous: false;
|
|
189
|
+
readonly inputs: readonly [{
|
|
190
|
+
readonly indexed: true;
|
|
191
|
+
readonly name: "dst";
|
|
192
|
+
readonly type: "address";
|
|
193
|
+
}, {
|
|
194
|
+
readonly indexed: false;
|
|
195
|
+
readonly name: "wad";
|
|
196
|
+
readonly type: "uint256";
|
|
197
|
+
}];
|
|
198
|
+
readonly name: "Deposit";
|
|
199
|
+
readonly type: "event";
|
|
200
|
+
}, {
|
|
201
|
+
readonly anonymous: false;
|
|
202
|
+
readonly inputs: readonly [{
|
|
203
|
+
readonly indexed: true;
|
|
204
|
+
readonly name: "src";
|
|
205
|
+
readonly type: "address";
|
|
206
|
+
}, {
|
|
207
|
+
readonly indexed: false;
|
|
208
|
+
readonly name: "wad";
|
|
209
|
+
readonly type: "uint256";
|
|
210
|
+
}];
|
|
211
|
+
readonly name: "Withdrawal";
|
|
212
|
+
readonly type: "event";
|
|
213
|
+
}];
|
|
1
214
|
export declare const GENERIC_SWAP_ABI: readonly [{
|
|
2
215
|
readonly inputs: readonly [{
|
|
3
216
|
readonly internalType: "address";
|
|
@@ -14,6 +227,14 @@ export declare const GENERIC_SWAP_ABI: readonly [{
|
|
|
14
227
|
readonly inputs: readonly [];
|
|
15
228
|
readonly name: "AlreadyFilled";
|
|
16
229
|
readonly type: "error";
|
|
230
|
+
}, {
|
|
231
|
+
readonly inputs: readonly [];
|
|
232
|
+
readonly name: "ExpiredOrder";
|
|
233
|
+
readonly type: "error";
|
|
234
|
+
}, {
|
|
235
|
+
readonly inputs: readonly [];
|
|
236
|
+
readonly name: "InsufficientBalance";
|
|
237
|
+
readonly type: "error";
|
|
17
238
|
}, {
|
|
18
239
|
readonly inputs: readonly [];
|
|
19
240
|
readonly name: "InsufficientOutput";
|
|
@@ -26,6 +247,14 @@ export declare const GENERIC_SWAP_ABI: readonly [{
|
|
|
26
247
|
readonly inputs: readonly [];
|
|
27
248
|
readonly name: "InvalidSignature";
|
|
28
249
|
readonly type: "error";
|
|
250
|
+
}, {
|
|
251
|
+
readonly inputs: readonly [];
|
|
252
|
+
readonly name: "Permit2DataEmpty";
|
|
253
|
+
readonly type: "error";
|
|
254
|
+
}, {
|
|
255
|
+
readonly inputs: readonly [];
|
|
256
|
+
readonly name: "ZeroAddress";
|
|
257
|
+
readonly type: "error";
|
|
29
258
|
}, {
|
|
30
259
|
readonly anonymous: false;
|
|
31
260
|
readonly inputs: readonly [{
|
|
@@ -68,6 +297,11 @@ export declare const GENERIC_SWAP_ABI: readonly [{
|
|
|
68
297
|
readonly internalType: "uint256";
|
|
69
298
|
readonly name: "outputAmount";
|
|
70
299
|
readonly type: "uint256";
|
|
300
|
+
}, {
|
|
301
|
+
readonly indexed: false;
|
|
302
|
+
readonly internalType: "uint256";
|
|
303
|
+
readonly name: "salt";
|
|
304
|
+
readonly type: "uint256";
|
|
71
305
|
}];
|
|
72
306
|
readonly name: "Swap";
|
|
73
307
|
readonly type: "event";
|
|
@@ -83,7 +317,17 @@ export declare const GENERIC_SWAP_ABI: readonly [{
|
|
|
83
317
|
readonly type: "function";
|
|
84
318
|
}, {
|
|
85
319
|
readonly inputs: readonly [];
|
|
86
|
-
readonly name: "
|
|
320
|
+
readonly name: "EIP712_DOMAIN_SEPARATOR";
|
|
321
|
+
readonly outputs: readonly [{
|
|
322
|
+
readonly internalType: "bytes32";
|
|
323
|
+
readonly name: "";
|
|
324
|
+
readonly type: "bytes32";
|
|
325
|
+
}];
|
|
326
|
+
readonly stateMutability: "view";
|
|
327
|
+
readonly type: "function";
|
|
328
|
+
}, {
|
|
329
|
+
readonly inputs: readonly [];
|
|
330
|
+
readonly name: "EIP712_NAME";
|
|
87
331
|
readonly outputs: readonly [{
|
|
88
332
|
readonly internalType: "string";
|
|
89
333
|
readonly name: "";
|
|
@@ -93,7 +337,7 @@ export declare const GENERIC_SWAP_ABI: readonly [{
|
|
|
93
337
|
readonly type: "function";
|
|
94
338
|
}, {
|
|
95
339
|
readonly inputs: readonly [];
|
|
96
|
-
readonly name: "
|
|
340
|
+
readonly name: "EIP712_TYPE_HASH";
|
|
97
341
|
readonly outputs: readonly [{
|
|
98
342
|
readonly internalType: "bytes32";
|
|
99
343
|
readonly name: "";
|
|
@@ -103,7 +347,7 @@ export declare const GENERIC_SWAP_ABI: readonly [{
|
|
|
103
347
|
readonly type: "function";
|
|
104
348
|
}, {
|
|
105
349
|
readonly inputs: readonly [];
|
|
106
|
-
readonly name: "
|
|
350
|
+
readonly name: "EIP712_VERSION";
|
|
107
351
|
readonly outputs: readonly [{
|
|
108
352
|
readonly internalType: "string";
|
|
109
353
|
readonly name: "";
|
|
@@ -121,16 +365,6 @@ export declare const GENERIC_SWAP_ABI: readonly [{
|
|
|
121
365
|
}];
|
|
122
366
|
readonly stateMutability: "view";
|
|
123
367
|
readonly type: "function";
|
|
124
|
-
}, {
|
|
125
|
-
readonly inputs: readonly [];
|
|
126
|
-
readonly name: "originalChainId";
|
|
127
|
-
readonly outputs: readonly [{
|
|
128
|
-
readonly internalType: "uint256";
|
|
129
|
-
readonly name: "";
|
|
130
|
-
readonly type: "uint256";
|
|
131
|
-
}];
|
|
132
|
-
readonly stateMutability: "view";
|
|
133
|
-
readonly type: "function";
|
|
134
368
|
}, {
|
|
135
369
|
readonly inputs: readonly [{
|
|
136
370
|
readonly components: readonly [{
|
|
@@ -249,7 +483,7 @@ export declare const GENERIC_SWAP_ABI: readonly [{
|
|
|
249
483
|
readonly name: "takerSig";
|
|
250
484
|
readonly type: "bytes";
|
|
251
485
|
}];
|
|
252
|
-
readonly name: "
|
|
486
|
+
readonly name: "executeSwapWithSig";
|
|
253
487
|
readonly outputs: readonly [{
|
|
254
488
|
readonly internalType: "uint256";
|
|
255
489
|
readonly name: "returnAmount";
|
|
@@ -257,6 +491,16 @@ export declare const GENERIC_SWAP_ABI: readonly [{
|
|
|
257
491
|
}];
|
|
258
492
|
readonly stateMutability: "payable";
|
|
259
493
|
readonly type: "function";
|
|
494
|
+
}, {
|
|
495
|
+
readonly inputs: readonly [];
|
|
496
|
+
readonly name: "originalChainId";
|
|
497
|
+
readonly outputs: readonly [{
|
|
498
|
+
readonly internalType: "uint256";
|
|
499
|
+
readonly name: "";
|
|
500
|
+
readonly type: "uint256";
|
|
501
|
+
}];
|
|
502
|
+
readonly stateMutability: "view";
|
|
503
|
+
readonly type: "function";
|
|
260
504
|
}, {
|
|
261
505
|
readonly inputs: readonly [];
|
|
262
506
|
readonly name: "originalEIP712DomainSeparator";
|
|
@@ -523,6 +767,49 @@ export declare const GS_EIP712_TYPES: {
|
|
|
523
767
|
type: string;
|
|
524
768
|
}[];
|
|
525
769
|
};
|
|
770
|
+
export declare const RFQ_EIP712_TYPES: {
|
|
771
|
+
readonly RFQOffer: readonly [{
|
|
772
|
+
readonly name: "taker";
|
|
773
|
+
readonly type: "address";
|
|
774
|
+
}, {
|
|
775
|
+
readonly name: "maker";
|
|
776
|
+
readonly type: "address";
|
|
777
|
+
}, {
|
|
778
|
+
readonly name: "takerToken";
|
|
779
|
+
readonly type: "address";
|
|
780
|
+
}, {
|
|
781
|
+
readonly name: "takerTokenAmount";
|
|
782
|
+
readonly type: "uint256";
|
|
783
|
+
}, {
|
|
784
|
+
readonly name: "makerToken";
|
|
785
|
+
readonly type: "address";
|
|
786
|
+
}, {
|
|
787
|
+
readonly name: "makerTokenAmount";
|
|
788
|
+
readonly type: "uint256";
|
|
789
|
+
}, {
|
|
790
|
+
readonly name: "feeFactor";
|
|
791
|
+
readonly type: "uint256";
|
|
792
|
+
}, {
|
|
793
|
+
readonly name: "flags";
|
|
794
|
+
readonly type: "uint256";
|
|
795
|
+
}, {
|
|
796
|
+
readonly name: "expiry";
|
|
797
|
+
readonly type: "uint256";
|
|
798
|
+
}, {
|
|
799
|
+
readonly name: "salt";
|
|
800
|
+
readonly type: "uint256";
|
|
801
|
+
}];
|
|
802
|
+
readonly RFQTx: readonly [{
|
|
803
|
+
readonly name: "rfqOffer";
|
|
804
|
+
readonly type: "RFQOffer";
|
|
805
|
+
}, {
|
|
806
|
+
readonly name: "recipient";
|
|
807
|
+
readonly type: "address";
|
|
808
|
+
}, {
|
|
809
|
+
readonly name: "takerRequestAmount";
|
|
810
|
+
readonly type: "uint256";
|
|
811
|
+
}];
|
|
812
|
+
};
|
|
526
813
|
export declare const PERMIT2_ABI: readonly [{
|
|
527
814
|
readonly inputs: readonly [{
|
|
528
815
|
readonly internalType: "uint256";
|
|
@@ -1238,4 +1525,84 @@ export declare const ALLOWANCE_ABI: readonly [{
|
|
|
1238
1525
|
readonly type: "uint256";
|
|
1239
1526
|
}];
|
|
1240
1527
|
}];
|
|
1528
|
+
export declare const RFQ_ABI: ({
|
|
1529
|
+
inputs: {
|
|
1530
|
+
internalType: string;
|
|
1531
|
+
name: string;
|
|
1532
|
+
type: string;
|
|
1533
|
+
}[];
|
|
1534
|
+
stateMutability: string;
|
|
1535
|
+
type: string;
|
|
1536
|
+
name?: never;
|
|
1537
|
+
anonymous?: never;
|
|
1538
|
+
outputs?: never;
|
|
1539
|
+
} | {
|
|
1540
|
+
inputs: never[];
|
|
1541
|
+
name: string;
|
|
1542
|
+
type: string;
|
|
1543
|
+
stateMutability?: never;
|
|
1544
|
+
anonymous?: never;
|
|
1545
|
+
outputs?: never;
|
|
1546
|
+
} | {
|
|
1547
|
+
anonymous: boolean;
|
|
1548
|
+
inputs: {
|
|
1549
|
+
indexed: boolean;
|
|
1550
|
+
internalType: string;
|
|
1551
|
+
name: string;
|
|
1552
|
+
type: string;
|
|
1553
|
+
}[];
|
|
1554
|
+
name: string;
|
|
1555
|
+
type: string;
|
|
1556
|
+
stateMutability?: never;
|
|
1557
|
+
outputs?: never;
|
|
1558
|
+
} | {
|
|
1559
|
+
inputs: never[];
|
|
1560
|
+
name: string;
|
|
1561
|
+
outputs: {
|
|
1562
|
+
internalType: string;
|
|
1563
|
+
name: string;
|
|
1564
|
+
type: string;
|
|
1565
|
+
}[];
|
|
1566
|
+
stateMutability: string;
|
|
1567
|
+
type: string;
|
|
1568
|
+
anonymous?: never;
|
|
1569
|
+
} | {
|
|
1570
|
+
inputs: ({
|
|
1571
|
+
components: ({
|
|
1572
|
+
components: {
|
|
1573
|
+
internalType: string;
|
|
1574
|
+
name: string;
|
|
1575
|
+
type: string;
|
|
1576
|
+
}[];
|
|
1577
|
+
internalType: string;
|
|
1578
|
+
name: string;
|
|
1579
|
+
type: string;
|
|
1580
|
+
} | {
|
|
1581
|
+
internalType: string;
|
|
1582
|
+
name: string;
|
|
1583
|
+
type: string;
|
|
1584
|
+
components?: never;
|
|
1585
|
+
})[];
|
|
1586
|
+
internalType: string;
|
|
1587
|
+
name: string;
|
|
1588
|
+
type: string;
|
|
1589
|
+
} | {
|
|
1590
|
+
internalType: string;
|
|
1591
|
+
name: string;
|
|
1592
|
+
type: string;
|
|
1593
|
+
components?: never;
|
|
1594
|
+
})[];
|
|
1595
|
+
name: string;
|
|
1596
|
+
outputs: never[];
|
|
1597
|
+
stateMutability: string;
|
|
1598
|
+
type: string;
|
|
1599
|
+
anonymous?: never;
|
|
1600
|
+
} | {
|
|
1601
|
+
stateMutability: string;
|
|
1602
|
+
type: string;
|
|
1603
|
+
inputs?: never;
|
|
1604
|
+
name?: never;
|
|
1605
|
+
anonymous?: never;
|
|
1606
|
+
outputs?: never;
|
|
1607
|
+
})[];
|
|
1241
1608
|
//# sourceMappingURL=abis.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"abis.d.ts","sourceRoot":"","sources":["../../../src/constants/abis.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"abis.d.ts","sourceRoot":"","sources":["../../../src/constants/abis.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqgBd,CAAA;AAEV,eAAO,MAAM,aAAa;;;;;;;;;;;;;;EAiBhB,CAAA;AAEV,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAS,CAAA"}
|
|
@@ -2,6 +2,7 @@ import type { Address } from 'viem';
|
|
|
2
2
|
export declare const nullAddress: "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE";
|
|
3
3
|
export declare const wethAddress: Record<number, Address>;
|
|
4
4
|
export declare const usdtAddress: Record<number, Address>;
|
|
5
|
+
export declare const wrapperTokenAddress: Record<number, Address>;
|
|
5
6
|
export declare const allowanceTargetAddress: Record<number, Address>;
|
|
6
7
|
export declare const uniAgentAddress: Record<number, Address>;
|
|
7
8
|
export declare const swapRouter02: Record<number, Address>;
|
|
@@ -9,4 +10,5 @@ export declare const genericSwapAddress: Record<number, Address>;
|
|
|
9
10
|
export declare const permit2Address: Record<number, Address>;
|
|
10
11
|
export declare const strategyAddress: Record<number, Address>;
|
|
11
12
|
export declare const feeReceiptAddress: Record<number, Address>;
|
|
13
|
+
export declare const rfqAddress: Record<number, Address>;
|
|
12
14
|
//# sourceMappingURL=addresses.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addresses.d.ts","sourceRoot":"","sources":["../../../src/constants/addresses.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AAEnC,eAAO,MAAM,WAAW,8CAAwD,CAAA;AAChF,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"addresses.d.ts","sourceRoot":"","sources":["../../../src/constants/addresses.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AAEnC,eAAO,MAAM,WAAW,8CAAwD,CAAA;AAChF,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAI/C,CAAA;AACD,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAI/C,CAAA;AACD,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CASvD,CAAA;AAED,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAU1D,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAInD,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAIhD,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAUtD,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAIlD,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAUnD,CAAA;AAGD,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAUrD,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAG9C,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type Chain } from 'viem/chains';
|
|
2
|
-
export declare const SupportedChains: readonly [1, 5];
|
|
2
|
+
export declare const SupportedChains: readonly [1, 5, 11155111, 42161, 137, 8453, 56, 10, 324];
|
|
3
3
|
export declare const ALL_SUPPORTED_CHAINS: Chain[];
|
|
4
4
|
//# sourceMappingURL=chains.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chains.d.ts","sourceRoot":"","sources":["../../../src/constants/chains.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"chains.d.ts","sourceRoot":"","sources":["../../../src/constants/chains.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,KAAK,EAUX,MAAM,aAAa,CAAA;AAEpB,eAAO,MAAM,eAAe,0DAUlB,CAAA;AACV,eAAO,MAAM,oBAAoB,SAUrB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/constants/common.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,SAAS,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,WAAW,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unit.d.ts","sourceRoot":"","sources":["../../../src/constants/unit.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM,SAAS,CAAA;AAE5B,eAAO,MAAM,WAAW,QAAkB,CAAA;AAC1C,eAAO,MAAM,WAAW,QAAkB,CAAA"}
|
|
1
|
+
{"version":3,"file":"unit.d.ts","sourceRoot":"","sources":["../../../src/constants/unit.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM,SAAS,CAAA;AAE5B,eAAO,MAAM,WAAW,QAAkB,CAAA;AAC1C,eAAO,MAAM,WAAW,QAAkB,CAAA;AAC1C,eAAO,MAAM,iBAAiB,UAAW,CAAA;AACzC,eAAO,MAAM,kBAAkB,SAAU,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../src/errors/base.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,kBAAkB,GAAG;IAC/B,YAAY,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAA;CACpC,GAAG,CACA;IACE,KAAK,CAAC,EAAE,KAAK,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAC7B,GACD;IACE,KAAK,EAAE,SAAS,GAAG,KAAK,CAAA;IACxB,OAAO,CAAC,EAAE,KAAK,CAAA;CAChB,GACD;IACE,KAAK,EAAE,SAAS,GAAG,KAAK,CAAA;IACxB,OAAO,EAAE,MAAM,CAAA;CAChB,CACJ,CAAA;AAED,qBAAa,SAAU,SAAQ,KAAK;IACzB,IAAI,SAAqB;IAElC,QAAQ,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../src/errors/base.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,kBAAkB,GAAG;IAC/B,YAAY,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAA;CACpC,GAAG,CACA;IACE,KAAK,CAAC,EAAE,KAAK,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAC7B,GACD;IACE,KAAK,EAAE,SAAS,GAAG,KAAK,CAAA;IACxB,OAAO,CAAC,EAAE,KAAK,CAAA;CAChB,GACD;IACE,KAAK,EAAE,SAAS,GAAG,KAAK,CAAA;IACxB,OAAO,EAAE,MAAM,CAAA;CAChB,CACJ,CAAA;AAED,qBAAa,SAAU,SAAQ,KAAK;IACzB,IAAI,SAAqB;IAElC,QAAQ,CAAC,OAAO,0BAAU;IAC1B,OAAO,EAAE,MAAM,CAAA;IACf,YAAY,EAAE,MAAM,EAAE,CAAA;IACtB,YAAY,EAAE,MAAM,CAAA;gBAIlB,YAAY,EAAE,MAAM,EACpB,IAAI,GAAE,kBAA6C;CAwBtD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/permit/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/permit/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAKlD,OAAO,EAAE,WAAW,EAAE,KAAK,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAChF,OAAO,EAAE,KAAK,YAAY,EAAgB,MAAM,qBAAqB,CAAA;AACrE,OAAO,EACL,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,GAAG,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