@katanaperps/katana-perps-sdk 2.1.0-beta.7 → 2.1.0-beta.9
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/abis/EarningsEscrow_v2.json +339 -0
- package/dist/typechain-types/EarningsEscrow_v2.d.ts +196 -0
- package/dist/typechain-types/EarningsEscrow_v2.d.ts.map +1 -0
- package/dist/typechain-types/EarningsEscrow_v2.js +2 -0
- package/dist/typechain-types/factories/EarningsEscrow_v2__factory.d.ts +268 -0
- package/dist/typechain-types/factories/EarningsEscrow_v2__factory.d.ts.map +1 -0
- package/dist/typechain-types/factories/EarningsEscrow_v2__factory.js +356 -0
- package/dist/typechain-types/factories/index.d.ts +1 -0
- package/dist/typechain-types/factories/index.d.ts.map +1 -1
- package/dist/typechain-types/factories/index.js +3 -1
- package/dist/typechain-types/index.d.ts +2 -0
- package/dist/typechain-types/index.d.ts.map +1 -1
- package/dist/typechain-types/index.js +3 -1
- package/dist/types/rest/endpoints/internal.d.ts +24 -18
- package/dist/types/rest/endpoints/internal.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
import { type ContractRunner } from 'ethers';
|
|
2
|
+
import type { EarningsEscrow_v2, EarningsEscrow_v2Interface } from '../EarningsEscrow_v2';
|
|
3
|
+
export declare class EarningsEscrow_v2__factory {
|
|
4
|
+
static readonly abi: readonly [{
|
|
5
|
+
readonly inputs: readonly [{
|
|
6
|
+
readonly internalType: "address";
|
|
7
|
+
readonly name: "exchange_";
|
|
8
|
+
readonly type: "address";
|
|
9
|
+
}];
|
|
10
|
+
readonly stateMutability: "nonpayable";
|
|
11
|
+
readonly type: "constructor";
|
|
12
|
+
}, {
|
|
13
|
+
readonly inputs: readonly [{
|
|
14
|
+
readonly internalType: "address";
|
|
15
|
+
readonly name: "owner";
|
|
16
|
+
readonly type: "address";
|
|
17
|
+
}];
|
|
18
|
+
readonly name: "OwnableInvalidOwner";
|
|
19
|
+
readonly type: "error";
|
|
20
|
+
}, {
|
|
21
|
+
readonly inputs: readonly [{
|
|
22
|
+
readonly internalType: "address";
|
|
23
|
+
readonly name: "account";
|
|
24
|
+
readonly type: "address";
|
|
25
|
+
}];
|
|
26
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
27
|
+
readonly type: "error";
|
|
28
|
+
}, {
|
|
29
|
+
readonly inputs: readonly [];
|
|
30
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
31
|
+
readonly type: "error";
|
|
32
|
+
}, {
|
|
33
|
+
readonly inputs: readonly [{
|
|
34
|
+
readonly internalType: "address";
|
|
35
|
+
readonly name: "token";
|
|
36
|
+
readonly type: "address";
|
|
37
|
+
}];
|
|
38
|
+
readonly name: "SafeERC20FailedOperation";
|
|
39
|
+
readonly type: "error";
|
|
40
|
+
}, {
|
|
41
|
+
readonly anonymous: false;
|
|
42
|
+
readonly inputs: readonly [{
|
|
43
|
+
readonly indexed: true;
|
|
44
|
+
readonly internalType: "address";
|
|
45
|
+
readonly name: "wallet";
|
|
46
|
+
readonly type: "address";
|
|
47
|
+
}, {
|
|
48
|
+
readonly indexed: false;
|
|
49
|
+
readonly internalType: "uint256";
|
|
50
|
+
readonly name: "quantity";
|
|
51
|
+
readonly type: "uint256";
|
|
52
|
+
}, {
|
|
53
|
+
readonly indexed: false;
|
|
54
|
+
readonly internalType: "uint256";
|
|
55
|
+
readonly name: "newTotalOwedQuantity";
|
|
56
|
+
readonly type: "uint256";
|
|
57
|
+
}];
|
|
58
|
+
readonly name: "AssetsDistributed";
|
|
59
|
+
readonly type: "event";
|
|
60
|
+
}, {
|
|
61
|
+
readonly anonymous: false;
|
|
62
|
+
readonly inputs: readonly [{
|
|
63
|
+
readonly indexed: false;
|
|
64
|
+
readonly internalType: "address";
|
|
65
|
+
readonly name: "ownerWallet";
|
|
66
|
+
readonly type: "address";
|
|
67
|
+
}, {
|
|
68
|
+
readonly indexed: false;
|
|
69
|
+
readonly internalType: "uint256";
|
|
70
|
+
readonly name: "quantity";
|
|
71
|
+
readonly type: "uint256";
|
|
72
|
+
}, {
|
|
73
|
+
readonly indexed: false;
|
|
74
|
+
readonly internalType: "uint256";
|
|
75
|
+
readonly name: "newEscrowBalance";
|
|
76
|
+
readonly type: "uint256";
|
|
77
|
+
}];
|
|
78
|
+
readonly name: "EscrowWithdrawn";
|
|
79
|
+
readonly type: "event";
|
|
80
|
+
}, {
|
|
81
|
+
readonly anonymous: false;
|
|
82
|
+
readonly inputs: readonly [{
|
|
83
|
+
readonly indexed: true;
|
|
84
|
+
readonly internalType: "address";
|
|
85
|
+
readonly name: "previousOwner";
|
|
86
|
+
readonly type: "address";
|
|
87
|
+
}, {
|
|
88
|
+
readonly indexed: true;
|
|
89
|
+
readonly internalType: "address";
|
|
90
|
+
readonly name: "newOwner";
|
|
91
|
+
readonly type: "address";
|
|
92
|
+
}];
|
|
93
|
+
readonly name: "OwnershipTransferStarted";
|
|
94
|
+
readonly type: "event";
|
|
95
|
+
}, {
|
|
96
|
+
readonly anonymous: false;
|
|
97
|
+
readonly inputs: readonly [{
|
|
98
|
+
readonly indexed: true;
|
|
99
|
+
readonly internalType: "address";
|
|
100
|
+
readonly name: "previousOwner";
|
|
101
|
+
readonly type: "address";
|
|
102
|
+
}, {
|
|
103
|
+
readonly indexed: true;
|
|
104
|
+
readonly internalType: "address";
|
|
105
|
+
readonly name: "newOwner";
|
|
106
|
+
readonly type: "address";
|
|
107
|
+
}];
|
|
108
|
+
readonly name: "OwnershipTransferred";
|
|
109
|
+
readonly type: "event";
|
|
110
|
+
}, {
|
|
111
|
+
readonly inputs: readonly [];
|
|
112
|
+
readonly name: "acceptOwnership";
|
|
113
|
+
readonly outputs: readonly [];
|
|
114
|
+
readonly stateMutability: "nonpayable";
|
|
115
|
+
readonly type: "function";
|
|
116
|
+
}, {
|
|
117
|
+
readonly inputs: readonly [{
|
|
118
|
+
readonly internalType: "address[]";
|
|
119
|
+
readonly name: "wallets";
|
|
120
|
+
readonly type: "address[]";
|
|
121
|
+
}, {
|
|
122
|
+
readonly internalType: "uint256[]";
|
|
123
|
+
readonly name: "newOwedQuantities";
|
|
124
|
+
readonly type: "uint256[]";
|
|
125
|
+
}];
|
|
126
|
+
readonly name: "bulkAssignOwedQuantities";
|
|
127
|
+
readonly outputs: readonly [];
|
|
128
|
+
readonly stateMutability: "nonpayable";
|
|
129
|
+
readonly type: "function";
|
|
130
|
+
}, {
|
|
131
|
+
readonly inputs: readonly [{
|
|
132
|
+
readonly internalType: "address";
|
|
133
|
+
readonly name: "walletAddress";
|
|
134
|
+
readonly type: "address";
|
|
135
|
+
}];
|
|
136
|
+
readonly name: "distribute";
|
|
137
|
+
readonly outputs: readonly [];
|
|
138
|
+
readonly stateMutability: "nonpayable";
|
|
139
|
+
readonly type: "function";
|
|
140
|
+
}, {
|
|
141
|
+
readonly inputs: readonly [{
|
|
142
|
+
readonly internalType: "address";
|
|
143
|
+
readonly name: "";
|
|
144
|
+
readonly type: "address";
|
|
145
|
+
}];
|
|
146
|
+
readonly name: "distributedQuantityByWallet";
|
|
147
|
+
readonly outputs: readonly [{
|
|
148
|
+
readonly internalType: "uint256";
|
|
149
|
+
readonly name: "";
|
|
150
|
+
readonly type: "uint256";
|
|
151
|
+
}];
|
|
152
|
+
readonly stateMutability: "view";
|
|
153
|
+
readonly type: "function";
|
|
154
|
+
}, {
|
|
155
|
+
readonly inputs: readonly [];
|
|
156
|
+
readonly name: "exchange";
|
|
157
|
+
readonly outputs: readonly [{
|
|
158
|
+
readonly internalType: "contract IExchange";
|
|
159
|
+
readonly name: "";
|
|
160
|
+
readonly type: "address";
|
|
161
|
+
}];
|
|
162
|
+
readonly stateMutability: "view";
|
|
163
|
+
readonly type: "function";
|
|
164
|
+
}, {
|
|
165
|
+
readonly inputs: readonly [];
|
|
166
|
+
readonly name: "isDistributeEnabled";
|
|
167
|
+
readonly outputs: readonly [{
|
|
168
|
+
readonly internalType: "bool";
|
|
169
|
+
readonly name: "";
|
|
170
|
+
readonly type: "bool";
|
|
171
|
+
}];
|
|
172
|
+
readonly stateMutability: "view";
|
|
173
|
+
readonly type: "function";
|
|
174
|
+
}, {
|
|
175
|
+
readonly inputs: readonly [{
|
|
176
|
+
readonly internalType: "address";
|
|
177
|
+
readonly name: "";
|
|
178
|
+
readonly type: "address";
|
|
179
|
+
}];
|
|
180
|
+
readonly name: "owedQuantityByWallet";
|
|
181
|
+
readonly outputs: readonly [{
|
|
182
|
+
readonly internalType: "uint256";
|
|
183
|
+
readonly name: "";
|
|
184
|
+
readonly type: "uint256";
|
|
185
|
+
}];
|
|
186
|
+
readonly stateMutability: "view";
|
|
187
|
+
readonly type: "function";
|
|
188
|
+
}, {
|
|
189
|
+
readonly inputs: readonly [];
|
|
190
|
+
readonly name: "owner";
|
|
191
|
+
readonly outputs: readonly [{
|
|
192
|
+
readonly internalType: "address";
|
|
193
|
+
readonly name: "";
|
|
194
|
+
readonly type: "address";
|
|
195
|
+
}];
|
|
196
|
+
readonly stateMutability: "view";
|
|
197
|
+
readonly type: "function";
|
|
198
|
+
}, {
|
|
199
|
+
readonly inputs: readonly [];
|
|
200
|
+
readonly name: "pendingOwner";
|
|
201
|
+
readonly outputs: readonly [{
|
|
202
|
+
readonly internalType: "address";
|
|
203
|
+
readonly name: "";
|
|
204
|
+
readonly type: "address";
|
|
205
|
+
}];
|
|
206
|
+
readonly stateMutability: "view";
|
|
207
|
+
readonly type: "function";
|
|
208
|
+
}, {
|
|
209
|
+
readonly inputs: readonly [];
|
|
210
|
+
readonly name: "quoteAsset";
|
|
211
|
+
readonly outputs: readonly [{
|
|
212
|
+
readonly internalType: "contract IERC20";
|
|
213
|
+
readonly name: "";
|
|
214
|
+
readonly type: "address";
|
|
215
|
+
}];
|
|
216
|
+
readonly stateMutability: "view";
|
|
217
|
+
readonly type: "function";
|
|
218
|
+
}, {
|
|
219
|
+
readonly inputs: readonly [];
|
|
220
|
+
readonly name: "renounceOwnership";
|
|
221
|
+
readonly outputs: readonly [];
|
|
222
|
+
readonly stateMutability: "nonpayable";
|
|
223
|
+
readonly type: "function";
|
|
224
|
+
}, {
|
|
225
|
+
readonly inputs: readonly [{
|
|
226
|
+
readonly internalType: "bool";
|
|
227
|
+
readonly name: "isEnabled";
|
|
228
|
+
readonly type: "bool";
|
|
229
|
+
}];
|
|
230
|
+
readonly name: "setDistributeEnabled";
|
|
231
|
+
readonly outputs: readonly [];
|
|
232
|
+
readonly stateMutability: "nonpayable";
|
|
233
|
+
readonly type: "function";
|
|
234
|
+
}, {
|
|
235
|
+
readonly inputs: readonly [];
|
|
236
|
+
readonly name: "totalOwedQuantity";
|
|
237
|
+
readonly outputs: readonly [{
|
|
238
|
+
readonly internalType: "uint256";
|
|
239
|
+
readonly name: "";
|
|
240
|
+
readonly type: "uint256";
|
|
241
|
+
}];
|
|
242
|
+
readonly stateMutability: "view";
|
|
243
|
+
readonly type: "function";
|
|
244
|
+
}, {
|
|
245
|
+
readonly inputs: readonly [{
|
|
246
|
+
readonly internalType: "address";
|
|
247
|
+
readonly name: "newOwner";
|
|
248
|
+
readonly type: "address";
|
|
249
|
+
}];
|
|
250
|
+
readonly name: "transferOwnership";
|
|
251
|
+
readonly outputs: readonly [];
|
|
252
|
+
readonly stateMutability: "nonpayable";
|
|
253
|
+
readonly type: "function";
|
|
254
|
+
}, {
|
|
255
|
+
readonly inputs: readonly [{
|
|
256
|
+
readonly internalType: "uint256";
|
|
257
|
+
readonly name: "quantity";
|
|
258
|
+
readonly type: "uint256";
|
|
259
|
+
}];
|
|
260
|
+
readonly name: "withdrawEscrow";
|
|
261
|
+
readonly outputs: readonly [];
|
|
262
|
+
readonly stateMutability: "nonpayable";
|
|
263
|
+
readonly type: "function";
|
|
264
|
+
}];
|
|
265
|
+
static createInterface(): EarningsEscrow_v2Interface;
|
|
266
|
+
static connect(address: string, runner?: ContractRunner | null): EarningsEscrow_v2;
|
|
267
|
+
}
|
|
268
|
+
//# sourceMappingURL=EarningsEscrow_v2__factory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EarningsEscrow_v2__factory.d.ts","sourceRoot":"","sources":["../../../src/typechain-types/factories/EarningsEscrow_v2__factory.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,QAAQ,CAAC;AAClE,OAAO,KAAK,EACV,iBAAiB,EACjB,0BAA0B,EAC3B,MAAM,sBAAsB,CAAC;AAsV9B,qBAAa,0BAA0B;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,0BAA0B;IAGpD,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,MAAM,CAAC,EAAE,cAAc,GAAG,IAAI,GAC7B,iBAAiB;CAGrB"}
|
|
@@ -0,0 +1,356 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* Autogenerated file. Do not edit manually. */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.EarningsEscrow_v2__factory = void 0;
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
inputs: [
|
|
11
|
+
{
|
|
12
|
+
internalType: 'address',
|
|
13
|
+
name: 'exchange_',
|
|
14
|
+
type: 'address',
|
|
15
|
+
},
|
|
16
|
+
],
|
|
17
|
+
stateMutability: 'nonpayable',
|
|
18
|
+
type: 'constructor',
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
inputs: [
|
|
22
|
+
{
|
|
23
|
+
internalType: 'address',
|
|
24
|
+
name: 'owner',
|
|
25
|
+
type: 'address',
|
|
26
|
+
},
|
|
27
|
+
],
|
|
28
|
+
name: 'OwnableInvalidOwner',
|
|
29
|
+
type: 'error',
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
inputs: [
|
|
33
|
+
{
|
|
34
|
+
internalType: 'address',
|
|
35
|
+
name: 'account',
|
|
36
|
+
type: 'address',
|
|
37
|
+
},
|
|
38
|
+
],
|
|
39
|
+
name: 'OwnableUnauthorizedAccount',
|
|
40
|
+
type: 'error',
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
inputs: [],
|
|
44
|
+
name: 'ReentrancyGuardReentrantCall',
|
|
45
|
+
type: 'error',
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
inputs: [
|
|
49
|
+
{
|
|
50
|
+
internalType: 'address',
|
|
51
|
+
name: 'token',
|
|
52
|
+
type: 'address',
|
|
53
|
+
},
|
|
54
|
+
],
|
|
55
|
+
name: 'SafeERC20FailedOperation',
|
|
56
|
+
type: 'error',
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
anonymous: false,
|
|
60
|
+
inputs: [
|
|
61
|
+
{
|
|
62
|
+
indexed: true,
|
|
63
|
+
internalType: 'address',
|
|
64
|
+
name: 'wallet',
|
|
65
|
+
type: 'address',
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
indexed: false,
|
|
69
|
+
internalType: 'uint256',
|
|
70
|
+
name: 'quantity',
|
|
71
|
+
type: 'uint256',
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
indexed: false,
|
|
75
|
+
internalType: 'uint256',
|
|
76
|
+
name: 'newTotalOwedQuantity',
|
|
77
|
+
type: 'uint256',
|
|
78
|
+
},
|
|
79
|
+
],
|
|
80
|
+
name: 'AssetsDistributed',
|
|
81
|
+
type: 'event',
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
anonymous: false,
|
|
85
|
+
inputs: [
|
|
86
|
+
{
|
|
87
|
+
indexed: false,
|
|
88
|
+
internalType: 'address',
|
|
89
|
+
name: 'ownerWallet',
|
|
90
|
+
type: 'address',
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
indexed: false,
|
|
94
|
+
internalType: 'uint256',
|
|
95
|
+
name: 'quantity',
|
|
96
|
+
type: 'uint256',
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
indexed: false,
|
|
100
|
+
internalType: 'uint256',
|
|
101
|
+
name: 'newEscrowBalance',
|
|
102
|
+
type: 'uint256',
|
|
103
|
+
},
|
|
104
|
+
],
|
|
105
|
+
name: 'EscrowWithdrawn',
|
|
106
|
+
type: 'event',
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
anonymous: false,
|
|
110
|
+
inputs: [
|
|
111
|
+
{
|
|
112
|
+
indexed: true,
|
|
113
|
+
internalType: 'address',
|
|
114
|
+
name: 'previousOwner',
|
|
115
|
+
type: 'address',
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
indexed: true,
|
|
119
|
+
internalType: 'address',
|
|
120
|
+
name: 'newOwner',
|
|
121
|
+
type: 'address',
|
|
122
|
+
},
|
|
123
|
+
],
|
|
124
|
+
name: 'OwnershipTransferStarted',
|
|
125
|
+
type: 'event',
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
anonymous: false,
|
|
129
|
+
inputs: [
|
|
130
|
+
{
|
|
131
|
+
indexed: true,
|
|
132
|
+
internalType: 'address',
|
|
133
|
+
name: 'previousOwner',
|
|
134
|
+
type: 'address',
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
indexed: true,
|
|
138
|
+
internalType: 'address',
|
|
139
|
+
name: 'newOwner',
|
|
140
|
+
type: 'address',
|
|
141
|
+
},
|
|
142
|
+
],
|
|
143
|
+
name: 'OwnershipTransferred',
|
|
144
|
+
type: 'event',
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
inputs: [],
|
|
148
|
+
name: 'acceptOwnership',
|
|
149
|
+
outputs: [],
|
|
150
|
+
stateMutability: 'nonpayable',
|
|
151
|
+
type: 'function',
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
inputs: [
|
|
155
|
+
{
|
|
156
|
+
internalType: 'address[]',
|
|
157
|
+
name: 'wallets',
|
|
158
|
+
type: 'address[]',
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
internalType: 'uint256[]',
|
|
162
|
+
name: 'newOwedQuantities',
|
|
163
|
+
type: 'uint256[]',
|
|
164
|
+
},
|
|
165
|
+
],
|
|
166
|
+
name: 'bulkAssignOwedQuantities',
|
|
167
|
+
outputs: [],
|
|
168
|
+
stateMutability: 'nonpayable',
|
|
169
|
+
type: 'function',
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
inputs: [
|
|
173
|
+
{
|
|
174
|
+
internalType: 'address',
|
|
175
|
+
name: 'walletAddress',
|
|
176
|
+
type: 'address',
|
|
177
|
+
},
|
|
178
|
+
],
|
|
179
|
+
name: 'distribute',
|
|
180
|
+
outputs: [],
|
|
181
|
+
stateMutability: 'nonpayable',
|
|
182
|
+
type: 'function',
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
inputs: [
|
|
186
|
+
{
|
|
187
|
+
internalType: 'address',
|
|
188
|
+
name: '',
|
|
189
|
+
type: 'address',
|
|
190
|
+
},
|
|
191
|
+
],
|
|
192
|
+
name: 'distributedQuantityByWallet',
|
|
193
|
+
outputs: [
|
|
194
|
+
{
|
|
195
|
+
internalType: 'uint256',
|
|
196
|
+
name: '',
|
|
197
|
+
type: 'uint256',
|
|
198
|
+
},
|
|
199
|
+
],
|
|
200
|
+
stateMutability: 'view',
|
|
201
|
+
type: 'function',
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
inputs: [],
|
|
205
|
+
name: 'exchange',
|
|
206
|
+
outputs: [
|
|
207
|
+
{
|
|
208
|
+
internalType: 'contract IExchange',
|
|
209
|
+
name: '',
|
|
210
|
+
type: 'address',
|
|
211
|
+
},
|
|
212
|
+
],
|
|
213
|
+
stateMutability: 'view',
|
|
214
|
+
type: 'function',
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
inputs: [],
|
|
218
|
+
name: 'isDistributeEnabled',
|
|
219
|
+
outputs: [
|
|
220
|
+
{
|
|
221
|
+
internalType: 'bool',
|
|
222
|
+
name: '',
|
|
223
|
+
type: 'bool',
|
|
224
|
+
},
|
|
225
|
+
],
|
|
226
|
+
stateMutability: 'view',
|
|
227
|
+
type: 'function',
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
inputs: [
|
|
231
|
+
{
|
|
232
|
+
internalType: 'address',
|
|
233
|
+
name: '',
|
|
234
|
+
type: 'address',
|
|
235
|
+
},
|
|
236
|
+
],
|
|
237
|
+
name: 'owedQuantityByWallet',
|
|
238
|
+
outputs: [
|
|
239
|
+
{
|
|
240
|
+
internalType: 'uint256',
|
|
241
|
+
name: '',
|
|
242
|
+
type: 'uint256',
|
|
243
|
+
},
|
|
244
|
+
],
|
|
245
|
+
stateMutability: 'view',
|
|
246
|
+
type: 'function',
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
inputs: [],
|
|
250
|
+
name: 'owner',
|
|
251
|
+
outputs: [
|
|
252
|
+
{
|
|
253
|
+
internalType: 'address',
|
|
254
|
+
name: '',
|
|
255
|
+
type: 'address',
|
|
256
|
+
},
|
|
257
|
+
],
|
|
258
|
+
stateMutability: 'view',
|
|
259
|
+
type: 'function',
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
inputs: [],
|
|
263
|
+
name: 'pendingOwner',
|
|
264
|
+
outputs: [
|
|
265
|
+
{
|
|
266
|
+
internalType: 'address',
|
|
267
|
+
name: '',
|
|
268
|
+
type: 'address',
|
|
269
|
+
},
|
|
270
|
+
],
|
|
271
|
+
stateMutability: 'view',
|
|
272
|
+
type: 'function',
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
inputs: [],
|
|
276
|
+
name: 'quoteAsset',
|
|
277
|
+
outputs: [
|
|
278
|
+
{
|
|
279
|
+
internalType: 'contract IERC20',
|
|
280
|
+
name: '',
|
|
281
|
+
type: 'address',
|
|
282
|
+
},
|
|
283
|
+
],
|
|
284
|
+
stateMutability: 'view',
|
|
285
|
+
type: 'function',
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
inputs: [],
|
|
289
|
+
name: 'renounceOwnership',
|
|
290
|
+
outputs: [],
|
|
291
|
+
stateMutability: 'nonpayable',
|
|
292
|
+
type: 'function',
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
inputs: [
|
|
296
|
+
{
|
|
297
|
+
internalType: 'bool',
|
|
298
|
+
name: 'isEnabled',
|
|
299
|
+
type: 'bool',
|
|
300
|
+
},
|
|
301
|
+
],
|
|
302
|
+
name: 'setDistributeEnabled',
|
|
303
|
+
outputs: [],
|
|
304
|
+
stateMutability: 'nonpayable',
|
|
305
|
+
type: 'function',
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
inputs: [],
|
|
309
|
+
name: 'totalOwedQuantity',
|
|
310
|
+
outputs: [
|
|
311
|
+
{
|
|
312
|
+
internalType: 'uint256',
|
|
313
|
+
name: '',
|
|
314
|
+
type: 'uint256',
|
|
315
|
+
},
|
|
316
|
+
],
|
|
317
|
+
stateMutability: 'view',
|
|
318
|
+
type: 'function',
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
inputs: [
|
|
322
|
+
{
|
|
323
|
+
internalType: 'address',
|
|
324
|
+
name: 'newOwner',
|
|
325
|
+
type: 'address',
|
|
326
|
+
},
|
|
327
|
+
],
|
|
328
|
+
name: 'transferOwnership',
|
|
329
|
+
outputs: [],
|
|
330
|
+
stateMutability: 'nonpayable',
|
|
331
|
+
type: 'function',
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
inputs: [
|
|
335
|
+
{
|
|
336
|
+
internalType: 'uint256',
|
|
337
|
+
name: 'quantity',
|
|
338
|
+
type: 'uint256',
|
|
339
|
+
},
|
|
340
|
+
],
|
|
341
|
+
name: 'withdrawEscrow',
|
|
342
|
+
outputs: [],
|
|
343
|
+
stateMutability: 'nonpayable',
|
|
344
|
+
type: 'function',
|
|
345
|
+
},
|
|
346
|
+
];
|
|
347
|
+
class EarningsEscrow_v2__factory {
|
|
348
|
+
static abi = _abi;
|
|
349
|
+
static createInterface() {
|
|
350
|
+
return new ethers_1.Interface(_abi);
|
|
351
|
+
}
|
|
352
|
+
static connect(address, runner) {
|
|
353
|
+
return new ethers_1.Contract(address, _abi, runner);
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
exports.EarningsEscrow_v2__factory = EarningsEscrow_v2__factory;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { ERC20__factory } from './ERC20__factory';
|
|
2
2
|
export { EarningsEscrow__factory } from './EarningsEscrow__factory';
|
|
3
|
+
export { EarningsEscrow_v2__factory } from './EarningsEscrow_v2__factory';
|
|
3
4
|
export { ExchangeLayerZeroAdapter_v1__factory } from './ExchangeLayerZeroAdapter_v1__factory';
|
|
4
5
|
export { Exchange_v2__factory } from './Exchange_v2__factory';
|
|
5
6
|
export { IOFT__factory } from './IOFT__factory';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/typechain-types/factories/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,oCAAoC,EAAE,MAAM,wCAAwC,CAAC;AAC9F,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,wCAAwC,EAAE,MAAM,4CAA4C,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/typechain-types/factories/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,EAAE,oCAAoC,EAAE,MAAM,wCAAwC,CAAC;AAC9F,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,wCAAwC,EAAE,MAAM,4CAA4C,CAAC"}
|
|
@@ -2,11 +2,13 @@
|
|
|
2
2
|
/* Autogenerated file. Do not edit manually. */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.KatanaPerpsStargateForwarder_v1__factory = exports.IVaultComposerSync__factory = exports.IOFT__factory = exports.Exchange_v2__factory = exports.ExchangeLayerZeroAdapter_v1__factory = exports.EarningsEscrow__factory = exports.ERC20__factory = void 0;
|
|
5
|
+
exports.KatanaPerpsStargateForwarder_v1__factory = exports.IVaultComposerSync__factory = exports.IOFT__factory = exports.Exchange_v2__factory = exports.ExchangeLayerZeroAdapter_v1__factory = exports.EarningsEscrow_v2__factory = exports.EarningsEscrow__factory = exports.ERC20__factory = void 0;
|
|
6
6
|
var ERC20__factory_1 = require("./ERC20__factory");
|
|
7
7
|
Object.defineProperty(exports, "ERC20__factory", { enumerable: true, get: function () { return ERC20__factory_1.ERC20__factory; } });
|
|
8
8
|
var EarningsEscrow__factory_1 = require("./EarningsEscrow__factory");
|
|
9
9
|
Object.defineProperty(exports, "EarningsEscrow__factory", { enumerable: true, get: function () { return EarningsEscrow__factory_1.EarningsEscrow__factory; } });
|
|
10
|
+
var EarningsEscrow_v2__factory_1 = require("./EarningsEscrow_v2__factory");
|
|
11
|
+
Object.defineProperty(exports, "EarningsEscrow_v2__factory", { enumerable: true, get: function () { return EarningsEscrow_v2__factory_1.EarningsEscrow_v2__factory; } });
|
|
10
12
|
var ExchangeLayerZeroAdapter_v1__factory_1 = require("./ExchangeLayerZeroAdapter_v1__factory");
|
|
11
13
|
Object.defineProperty(exports, "ExchangeLayerZeroAdapter_v1__factory", { enumerable: true, get: function () { return ExchangeLayerZeroAdapter_v1__factory_1.ExchangeLayerZeroAdapter_v1__factory; } });
|
|
12
14
|
var Exchange_v2__factory_1 = require("./Exchange_v2__factory");
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
export type { ERC20 } from './ERC20';
|
|
2
2
|
export type { EarningsEscrow } from './EarningsEscrow';
|
|
3
|
+
export type { EarningsEscrow_v2 } from './EarningsEscrow_v2';
|
|
3
4
|
export type { ExchangeLayerZeroAdapter_v1 } from './ExchangeLayerZeroAdapter_v1';
|
|
4
5
|
export type { Exchange_v2 } from './Exchange_v2';
|
|
5
6
|
export type { IOFT } from './IOFT';
|
|
6
7
|
export type { IVaultComposerSync } from './IVaultComposerSync';
|
|
7
8
|
export type { KatanaPerpsStargateForwarder_v1 } from './KatanaPerpsStargateForwarder_v1';
|
|
8
9
|
export * as factories from './factories';
|
|
10
|
+
export { EarningsEscrow_v2__factory } from './factories/EarningsEscrow_v2__factory';
|
|
9
11
|
export { EarningsEscrow__factory } from './factories/EarningsEscrow__factory';
|
|
10
12
|
export { ERC20__factory } from './factories/ERC20__factory';
|
|
11
13
|
export { Exchange_v2__factory } from './factories/Exchange_v2__factory';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/typechain-types/index.ts"],"names":[],"mappings":"AAGA,YAAY,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,YAAY,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AACjF,YAAY,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,YAAY,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AACnC,YAAY,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,YAAY,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AACzF,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,oCAAoC,EAAE,MAAM,kDAAkD,CAAC;AACxG,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;AACtF,OAAO,EAAE,wCAAwC,EAAE,MAAM,sDAAsD,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/typechain-types/index.ts"],"names":[],"mappings":"AAGA,YAAY,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,YAAY,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,YAAY,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AACjF,YAAY,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,YAAY,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AACnC,YAAY,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,YAAY,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AACzF,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AACpF,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,oCAAoC,EAAE,MAAM,kDAAkD,CAAC;AACxG,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;AACtF,OAAO,EAAE,wCAAwC,EAAE,MAAM,sDAAsD,CAAC"}
|
|
@@ -2,9 +2,11 @@
|
|
|
2
2
|
/* Autogenerated file. Do not edit manually. */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.KatanaPerpsStargateForwarder_v1__factory = exports.IVaultComposerSync__factory = exports.IOFT__factory = exports.ExchangeLayerZeroAdapter_v1__factory = exports.Exchange_v2__factory = exports.ERC20__factory = exports.EarningsEscrow__factory = exports.factories = void 0;
|
|
5
|
+
exports.KatanaPerpsStargateForwarder_v1__factory = exports.IVaultComposerSync__factory = exports.IOFT__factory = exports.ExchangeLayerZeroAdapter_v1__factory = exports.Exchange_v2__factory = exports.ERC20__factory = exports.EarningsEscrow__factory = exports.EarningsEscrow_v2__factory = exports.factories = void 0;
|
|
6
6
|
const tslib_1 = require("tslib");
|
|
7
7
|
exports.factories = tslib_1.__importStar(require("./factories"));
|
|
8
|
+
var EarningsEscrow_v2__factory_1 = require("./factories/EarningsEscrow_v2__factory");
|
|
9
|
+
Object.defineProperty(exports, "EarningsEscrow_v2__factory", { enumerable: true, get: function () { return EarningsEscrow_v2__factory_1.EarningsEscrow_v2__factory; } });
|
|
8
10
|
var EarningsEscrow__factory_1 = require("./factories/EarningsEscrow__factory");
|
|
9
11
|
Object.defineProperty(exports, "EarningsEscrow__factory", { enumerable: true, get: function () { return EarningsEscrow__factory_1.EarningsEscrow__factory; } });
|
|
10
12
|
var ERC20__factory_1 = require("./factories/ERC20__factory");
|