@gainsnetwork/sdk 0.2.11-rc1 → 0.2.12-rc2
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/lib/constants.d.ts +1 -0
- package/lib/constants.js +2 -1
- package/lib/contracts/types/generated/GNSMultiCollatDiamond.d.ts +892 -412
- package/lib/contracts/types/generated/factories/GNSMultiCollatDiamond__factory.d.ts +0 -94
- package/lib/contracts/types/generated/factories/GNSMultiCollatDiamond__factory.js +2190 -912
- package/lib/contracts/utils/openTrades.js +11 -2
- package/lib/contracts/utils/pairs.d.ts +1 -0
- package/lib/contracts/utils/pairs.js +18 -1
- package/lib/trade/spread.d.ts +10 -1
- package/lib/trade/spread.js +35 -8
- package/lib/trade/types.d.ts +10 -1
- package/package.json +1 -1
|
@@ -8,9 +8,7 @@ export declare class GNSMultiCollatDiamond__factory {
|
|
|
8
8
|
type: string;
|
|
9
9
|
name?: undefined;
|
|
10
10
|
outputs?: undefined;
|
|
11
|
-
constant?: undefined;
|
|
12
11
|
signature?: undefined;
|
|
13
|
-
payable?: undefined;
|
|
14
12
|
anonymous?: undefined;
|
|
15
13
|
} | {
|
|
16
14
|
inputs: {
|
|
@@ -22,9 +20,7 @@ export declare class GNSMultiCollatDiamond__factory {
|
|
|
22
20
|
type: string;
|
|
23
21
|
stateMutability?: undefined;
|
|
24
22
|
outputs?: undefined;
|
|
25
|
-
constant?: undefined;
|
|
26
23
|
signature?: undefined;
|
|
27
|
-
payable?: undefined;
|
|
28
24
|
anonymous?: undefined;
|
|
29
25
|
} | {
|
|
30
26
|
inputs: {
|
|
@@ -55,9 +51,7 @@ export declare class GNSMultiCollatDiamond__factory {
|
|
|
55
51
|
}[];
|
|
56
52
|
stateMutability: string;
|
|
57
53
|
type: string;
|
|
58
|
-
constant: boolean;
|
|
59
54
|
signature: string;
|
|
60
|
-
payable?: undefined;
|
|
61
55
|
anonymous?: undefined;
|
|
62
56
|
} | {
|
|
63
57
|
inputs: ({
|
|
@@ -90,64 +84,6 @@ export declare class GNSMultiCollatDiamond__factory {
|
|
|
90
84
|
stateMutability: string;
|
|
91
85
|
type: string;
|
|
92
86
|
signature: string;
|
|
93
|
-
constant?: undefined;
|
|
94
|
-
payable?: undefined;
|
|
95
|
-
anonymous?: undefined;
|
|
96
|
-
} | {
|
|
97
|
-
inputs: {
|
|
98
|
-
internalType: string;
|
|
99
|
-
name: string;
|
|
100
|
-
type: string;
|
|
101
|
-
}[];
|
|
102
|
-
name: string;
|
|
103
|
-
outputs: {
|
|
104
|
-
internalType: string;
|
|
105
|
-
name: string;
|
|
106
|
-
type: string;
|
|
107
|
-
}[];
|
|
108
|
-
stateMutability: string;
|
|
109
|
-
type: string;
|
|
110
|
-
signature: string;
|
|
111
|
-
constant?: undefined;
|
|
112
|
-
payable?: undefined;
|
|
113
|
-
anonymous?: undefined;
|
|
114
|
-
} | {
|
|
115
|
-
inputs: {
|
|
116
|
-
components: {
|
|
117
|
-
internalType: string;
|
|
118
|
-
name: string;
|
|
119
|
-
type: string;
|
|
120
|
-
}[];
|
|
121
|
-
internalType: string;
|
|
122
|
-
name: string;
|
|
123
|
-
type: string;
|
|
124
|
-
}[];
|
|
125
|
-
name: string;
|
|
126
|
-
outputs: {
|
|
127
|
-
components: ({
|
|
128
|
-
components: {
|
|
129
|
-
internalType: string;
|
|
130
|
-
name: string;
|
|
131
|
-
type: string;
|
|
132
|
-
}[];
|
|
133
|
-
internalType: string;
|
|
134
|
-
name: string;
|
|
135
|
-
type: string;
|
|
136
|
-
} | {
|
|
137
|
-
internalType: string;
|
|
138
|
-
name: string;
|
|
139
|
-
type: string;
|
|
140
|
-
components?: undefined;
|
|
141
|
-
})[];
|
|
142
|
-
internalType: string;
|
|
143
|
-
name: string;
|
|
144
|
-
type: string;
|
|
145
|
-
}[];
|
|
146
|
-
stateMutability: string;
|
|
147
|
-
type: string;
|
|
148
|
-
constant: boolean;
|
|
149
|
-
signature: string;
|
|
150
|
-
payable?: undefined;
|
|
151
87
|
anonymous?: undefined;
|
|
152
88
|
} | {
|
|
153
89
|
inputs: ({
|
|
@@ -173,9 +109,7 @@ export declare class GNSMultiCollatDiamond__factory {
|
|
|
173
109
|
}[];
|
|
174
110
|
stateMutability: string;
|
|
175
111
|
type: string;
|
|
176
|
-
constant: boolean;
|
|
177
112
|
signature: string;
|
|
178
|
-
payable?: undefined;
|
|
179
113
|
anonymous?: undefined;
|
|
180
114
|
} | {
|
|
181
115
|
inputs: {
|
|
@@ -222,32 +156,6 @@ export declare class GNSMultiCollatDiamond__factory {
|
|
|
222
156
|
stateMutability: string;
|
|
223
157
|
type: string;
|
|
224
158
|
signature: string;
|
|
225
|
-
constant?: undefined;
|
|
226
|
-
payable?: undefined;
|
|
227
|
-
anonymous?: undefined;
|
|
228
|
-
} | {
|
|
229
|
-
inputs: ({
|
|
230
|
-
components: {
|
|
231
|
-
internalType: string;
|
|
232
|
-
name: string;
|
|
233
|
-
type: string;
|
|
234
|
-
}[];
|
|
235
|
-
internalType: string;
|
|
236
|
-
name: string;
|
|
237
|
-
type: string;
|
|
238
|
-
} | {
|
|
239
|
-
internalType: string;
|
|
240
|
-
name: string;
|
|
241
|
-
type: string;
|
|
242
|
-
components?: undefined;
|
|
243
|
-
})[];
|
|
244
|
-
name: string;
|
|
245
|
-
outputs: never[];
|
|
246
|
-
stateMutability: string;
|
|
247
|
-
type: string;
|
|
248
|
-
payable: boolean;
|
|
249
|
-
signature: string;
|
|
250
|
-
constant?: undefined;
|
|
251
159
|
anonymous?: undefined;
|
|
252
160
|
} | {
|
|
253
161
|
anonymous: boolean;
|
|
@@ -283,8 +191,6 @@ export declare class GNSMultiCollatDiamond__factory {
|
|
|
283
191
|
signature: string;
|
|
284
192
|
stateMutability?: undefined;
|
|
285
193
|
outputs?: undefined;
|
|
286
|
-
constant?: undefined;
|
|
287
|
-
payable?: undefined;
|
|
288
194
|
})[];
|
|
289
195
|
static createInterface(): GNSMultiCollatDiamondInterface;
|
|
290
196
|
static connect(address: string, signerOrProvider: Signer | Provider): GNSMultiCollatDiamond;
|