@tokenlon/v6-sdk 1.0.3 → 1.0.4-canary.6240f25
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/apiVersion.js +5 -0
- package/dist/cjs/apiVersion.js.map +1 -0
- package/dist/cjs/constants/RFQAbi.js +723 -0
- package/dist/cjs/constants/RFQAbi.js.map +1 -0
- package/dist/cjs/constants/abis.js +301 -1
- package/dist/cjs/constants/abis.js.map +1 -1
- package/dist/cjs/constants/addresses.js +14 -1
- package/dist/cjs/constants/addresses.js.map +1 -1
- package/dist/cjs/constants/chains.js +2 -2
- package/dist/cjs/constants/chains.js.map +1 -1
- package/dist/cjs/constants/unit.js +2 -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 +6 -0
- package/dist/cjs/serviceHost.js.map +1 -1
- package/dist/cjs/swap/index.js +544 -72
- 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/version.js +1 -1
- package/dist/cjs/version.js.map +1 -1
- package/dist/esm/apiVersion.js +2 -0
- package/dist/esm/apiVersion.js.map +1 -0
- package/dist/esm/constants/RFQAbi.js +721 -0
- package/dist/esm/constants/RFQAbi.js.map +1 -0
- package/dist/esm/constants/abis.js +300 -0
- package/dist/esm/constants/abis.js.map +1 -1
- package/dist/esm/constants/addresses.js +13 -0
- package/dist/esm/constants/addresses.js.map +1 -1
- package/dist/esm/constants/chains.js +3 -3
- package/dist/esm/constants/chains.js.map +1 -1
- package/dist/esm/constants/unit.js +1 -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 +7 -1
- package/dist/esm/serviceHost.js.map +1 -1
- package/dist/esm/swap/index.js +545 -74
- 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/version.js +1 -1
- package/dist/esm/version.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/apiVersion.d.ts +2 -0
- package/dist/types/apiVersion.d.ts.map +1 -0
- 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 +336 -0
- package/dist/types/constants/abis.d.ts.map +1 -1
- package/dist/types/constants/addresses.d.ts +1 -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/unit.d.ts +1 -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.map +1 -1
- package/dist/types/swap/index.d.ts +88 -19
- package/dist/types/swap/index.d.ts.map +1 -1
- package/dist/types/swap/type.d.ts +80 -23
- package/dist/types/swap/type.d.ts.map +1 -1
- package/dist/types/version.d.ts +1 -1
- package/dist/types/version.d.ts.map +1 -1
- package/package.json +28 -21
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apiVersion.d.ts","sourceRoot":"","sources":["../../src/apiVersion.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,SAAS,CAAA"}
|
|
@@ -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";
|
|
@@ -523,6 +736,49 @@ export declare const GS_EIP712_TYPES: {
|
|
|
523
736
|
type: string;
|
|
524
737
|
}[];
|
|
525
738
|
};
|
|
739
|
+
export declare const RFQ_EIP712_TYPES: {
|
|
740
|
+
readonly RFQOffer: readonly [{
|
|
741
|
+
readonly name: "taker";
|
|
742
|
+
readonly type: "address";
|
|
743
|
+
}, {
|
|
744
|
+
readonly name: "maker";
|
|
745
|
+
readonly type: "address";
|
|
746
|
+
}, {
|
|
747
|
+
readonly name: "takerToken";
|
|
748
|
+
readonly type: "address";
|
|
749
|
+
}, {
|
|
750
|
+
readonly name: "takerTokenAmount";
|
|
751
|
+
readonly type: "uint256";
|
|
752
|
+
}, {
|
|
753
|
+
readonly name: "makerToken";
|
|
754
|
+
readonly type: "address";
|
|
755
|
+
}, {
|
|
756
|
+
readonly name: "makerTokenAmount";
|
|
757
|
+
readonly type: "uint256";
|
|
758
|
+
}, {
|
|
759
|
+
readonly name: "feeFactor";
|
|
760
|
+
readonly type: "uint256";
|
|
761
|
+
}, {
|
|
762
|
+
readonly name: "flags";
|
|
763
|
+
readonly type: "uint256";
|
|
764
|
+
}, {
|
|
765
|
+
readonly name: "expiry";
|
|
766
|
+
readonly type: "uint256";
|
|
767
|
+
}, {
|
|
768
|
+
readonly name: "salt";
|
|
769
|
+
readonly type: "uint256";
|
|
770
|
+
}];
|
|
771
|
+
readonly RFQTx: readonly [{
|
|
772
|
+
readonly name: "rfqOffer";
|
|
773
|
+
readonly type: "RFQOffer";
|
|
774
|
+
}, {
|
|
775
|
+
readonly name: "recipient";
|
|
776
|
+
readonly type: "address";
|
|
777
|
+
}, {
|
|
778
|
+
readonly name: "takerRequestAmount";
|
|
779
|
+
readonly type: "uint256";
|
|
780
|
+
}];
|
|
781
|
+
};
|
|
526
782
|
export declare const PERMIT2_ABI: readonly [{
|
|
527
783
|
readonly inputs: readonly [{
|
|
528
784
|
readonly internalType: "uint256";
|
|
@@ -1238,4 +1494,84 @@ export declare const ALLOWANCE_ABI: readonly [{
|
|
|
1238
1494
|
readonly type: "uint256";
|
|
1239
1495
|
}];
|
|
1240
1496
|
}];
|
|
1497
|
+
export declare const RFQ_ABI: ({
|
|
1498
|
+
inputs: {
|
|
1499
|
+
internalType: string;
|
|
1500
|
+
name: string;
|
|
1501
|
+
type: string;
|
|
1502
|
+
}[];
|
|
1503
|
+
stateMutability: string;
|
|
1504
|
+
type: string;
|
|
1505
|
+
name?: never;
|
|
1506
|
+
anonymous?: never;
|
|
1507
|
+
outputs?: never;
|
|
1508
|
+
} | {
|
|
1509
|
+
inputs: never[];
|
|
1510
|
+
name: string;
|
|
1511
|
+
type: string;
|
|
1512
|
+
stateMutability?: never;
|
|
1513
|
+
anonymous?: never;
|
|
1514
|
+
outputs?: never;
|
|
1515
|
+
} | {
|
|
1516
|
+
anonymous: boolean;
|
|
1517
|
+
inputs: {
|
|
1518
|
+
indexed: boolean;
|
|
1519
|
+
internalType: string;
|
|
1520
|
+
name: string;
|
|
1521
|
+
type: string;
|
|
1522
|
+
}[];
|
|
1523
|
+
name: string;
|
|
1524
|
+
type: string;
|
|
1525
|
+
stateMutability?: never;
|
|
1526
|
+
outputs?: never;
|
|
1527
|
+
} | {
|
|
1528
|
+
inputs: never[];
|
|
1529
|
+
name: string;
|
|
1530
|
+
outputs: {
|
|
1531
|
+
internalType: string;
|
|
1532
|
+
name: string;
|
|
1533
|
+
type: string;
|
|
1534
|
+
}[];
|
|
1535
|
+
stateMutability: string;
|
|
1536
|
+
type: string;
|
|
1537
|
+
anonymous?: never;
|
|
1538
|
+
} | {
|
|
1539
|
+
inputs: ({
|
|
1540
|
+
components: ({
|
|
1541
|
+
components: {
|
|
1542
|
+
internalType: string;
|
|
1543
|
+
name: string;
|
|
1544
|
+
type: string;
|
|
1545
|
+
}[];
|
|
1546
|
+
internalType: string;
|
|
1547
|
+
name: string;
|
|
1548
|
+
type: string;
|
|
1549
|
+
} | {
|
|
1550
|
+
internalType: string;
|
|
1551
|
+
name: string;
|
|
1552
|
+
type: string;
|
|
1553
|
+
components?: never;
|
|
1554
|
+
})[];
|
|
1555
|
+
internalType: string;
|
|
1556
|
+
name: string;
|
|
1557
|
+
type: string;
|
|
1558
|
+
} | {
|
|
1559
|
+
internalType: string;
|
|
1560
|
+
name: string;
|
|
1561
|
+
type: string;
|
|
1562
|
+
components?: never;
|
|
1563
|
+
})[];
|
|
1564
|
+
name: string;
|
|
1565
|
+
outputs: never[];
|
|
1566
|
+
stateMutability: string;
|
|
1567
|
+
type: string;
|
|
1568
|
+
anonymous?: never;
|
|
1569
|
+
} | {
|
|
1570
|
+
stateMutability: string;
|
|
1571
|
+
type: string;
|
|
1572
|
+
inputs?: never;
|
|
1573
|
+
name?: never;
|
|
1574
|
+
anonymous?: never;
|
|
1575
|
+
outputs?: never;
|
|
1576
|
+
})[];
|
|
1241
1577
|
//# 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,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsRX,CAAA;AAEV,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuNnB,CAAA;AAEV,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4SpB,CAAA;AAEV,eAAO,MAAM,eAAe;;;;;CA2C3B,CAAA;AAED,eAAO,MAAM,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10
10
|
export declare const strategyAddress: Record<number, Address>;
|
|
11
11
|
export declare const feeReceiptAddress: Record<number, Address>;
|
|
12
|
+
export declare const rfqAddress: Record<number, Address>;
|
|
12
13
|
//# 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;AAGD,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAI1D,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,CAItD,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAIlD,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAInD,CAAA;AAGD,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAIrD,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAG9C,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chains.d.ts","sourceRoot":"","sources":["../../../src/constants/chains.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,KAAK,
|
|
1
|
+
{"version":3,"file":"chains.d.ts","sourceRoot":"","sources":["../../../src/constants/chains.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,KAAK,EAA4B,MAAM,aAAa,CAAA;AAElE,eAAO,MAAM,eAAe,2BAA+C,CAAA;AAC3E,eAAO,MAAM,oBAAoB,SAAwC,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,UAAU,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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Y,CAAA;IAC3B,QAAQ,EAAE,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,CAAC,CAAA;IACtC,MAAM,EAAE,MAAM,CAAA;CACf,CAAA;AAED,UAAU,eAAe;IACvB,MAAM,EAAE,iBAAiB,CAAA;IAEzB,QAAQ,EAAE,eAAe,CAAA;IAGzB,IAAI,EAAE,IAAI,CAAA;CAGX;AAED,qBAAa,WAAY,YAAW,eAAe;IAQ9B,MAAM,EAAE,iBAAiB;IAP5C,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAA;IACnB,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAA;IACrB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,QAAQ,EAAE,eAAe,CAAA;IAClC,QAAQ,CAAC,YAAY,EAAE,YAAY,CAAA;IACnC,QAAQ,CAAC,YAAY,EAAE,YAAY,CAAA;gBAEhB,MAAM,EAAE,iBAAiB;CAkC7C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serviceHost.d.ts","sourceRoot":"","sources":["../../src/serviceHost.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,WAAW,CAAA;AAG/C,MAAM,MAAM,WAAW,GAAG;IACxB,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,cAAc,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"serviceHost.d.ts","sourceRoot":"","sources":["../../src/serviceHost.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,WAAW,CAAA;AAG/C,MAAM,MAAM,WAAW,GAAG;IACxB,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,cAAc,EAAE,WAAW,CAW/D,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,cAAc,EAAE,WAAW,CAWlE,CAAA"}
|