@gearbox-protocol/sdk 1.14.2 → 1.14.4
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/rewards/poolRewards.d.ts +1 -1
- package/lib/rewards/poolRewards.js +1 -1
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol/IAirdropDistributor.d.ts +114 -0
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol/IAirdropDistributor.js +2 -0
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol/IAirdropDistributorEvents.d.ts +68 -0
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol/IAirdropDistributorEvents.js +2 -0
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol/index.d.ts +2 -0
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol/index.js +2 -0
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IDegenNFT.sol/IDegenNFT.d.ts +196 -1
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/index.d.ts +2 -0
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol/IAirdropDistributorEvents__factory.d.ts +18 -0
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol/IAirdropDistributorEvents__factory.js +85 -0
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol/IAirdropDistributor__factory.d.ts +35 -0
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol/IAirdropDistributor__factory.js +163 -0
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol/index.d.ts +2 -0
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol/index.js +10 -0
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IDegenNFT.sol/IDegenNFT__factory.d.ts +3 -10
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IDegenNFT.sol/IDegenNFT__factory.js +330 -0
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/index.d.ts +1 -0
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/index.js +2 -1
- package/lib/types/index.d.ts +4 -0
- package/lib/types/index.js +7 -3
- package/package.json +1 -1
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Signer } from "ethers";
|
|
2
|
+
import type { Provider } from "@ethersproject/providers";
|
|
3
|
+
import type { IAirdropDistributor, IAirdropDistributorInterface } from "../../../../../../@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol/IAirdropDistributor";
|
|
4
|
+
export declare class IAirdropDistributor__factory {
|
|
5
|
+
static readonly abi: ({
|
|
6
|
+
anonymous: boolean;
|
|
7
|
+
inputs: {
|
|
8
|
+
indexed: boolean;
|
|
9
|
+
internalType: string;
|
|
10
|
+
name: string;
|
|
11
|
+
type: string;
|
|
12
|
+
}[];
|
|
13
|
+
name: string;
|
|
14
|
+
type: string;
|
|
15
|
+
outputs?: undefined;
|
|
16
|
+
stateMutability?: undefined;
|
|
17
|
+
} | {
|
|
18
|
+
inputs: {
|
|
19
|
+
internalType: string;
|
|
20
|
+
name: string;
|
|
21
|
+
type: string;
|
|
22
|
+
}[];
|
|
23
|
+
name: string;
|
|
24
|
+
outputs: {
|
|
25
|
+
internalType: string;
|
|
26
|
+
name: string;
|
|
27
|
+
type: string;
|
|
28
|
+
}[];
|
|
29
|
+
stateMutability: string;
|
|
30
|
+
type: string;
|
|
31
|
+
anonymous?: undefined;
|
|
32
|
+
})[];
|
|
33
|
+
static createInterface(): IAirdropDistributorInterface;
|
|
34
|
+
static connect(address: string, signerOrProvider: Signer | Provider): IAirdropDistributor;
|
|
35
|
+
}
|
|
@@ -0,0 +1,163 @@
|
|
|
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.IAirdropDistributor__factory = void 0;
|
|
7
|
+
var ethers_1 = require("ethers");
|
|
8
|
+
var _abi = [
|
|
9
|
+
{
|
|
10
|
+
anonymous: false,
|
|
11
|
+
inputs: [
|
|
12
|
+
{
|
|
13
|
+
indexed: true,
|
|
14
|
+
internalType: "address",
|
|
15
|
+
name: "account",
|
|
16
|
+
type: "address",
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
indexed: true,
|
|
20
|
+
internalType: "uint256",
|
|
21
|
+
name: "amount",
|
|
22
|
+
type: "uint256",
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
name: "Claimed",
|
|
26
|
+
type: "event",
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
anonymous: false,
|
|
30
|
+
inputs: [
|
|
31
|
+
{
|
|
32
|
+
indexed: false,
|
|
33
|
+
internalType: "bytes32",
|
|
34
|
+
name: "oldRoot",
|
|
35
|
+
type: "bytes32",
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
indexed: true,
|
|
39
|
+
internalType: "bytes32",
|
|
40
|
+
name: "newRoot",
|
|
41
|
+
type: "bytes32",
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
name: "RootUpdated",
|
|
45
|
+
type: "event",
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
anonymous: false,
|
|
49
|
+
inputs: [
|
|
50
|
+
{
|
|
51
|
+
indexed: true,
|
|
52
|
+
internalType: "address",
|
|
53
|
+
name: "account",
|
|
54
|
+
type: "address",
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
indexed: true,
|
|
58
|
+
internalType: "uint8",
|
|
59
|
+
name: "campaignId",
|
|
60
|
+
type: "uint8",
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
indexed: false,
|
|
64
|
+
internalType: "uint256",
|
|
65
|
+
name: "amount",
|
|
66
|
+
type: "uint256",
|
|
67
|
+
},
|
|
68
|
+
],
|
|
69
|
+
name: "TokenAllocated",
|
|
70
|
+
type: "event",
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
inputs: [
|
|
74
|
+
{
|
|
75
|
+
internalType: "uint256",
|
|
76
|
+
name: "index",
|
|
77
|
+
type: "uint256",
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
internalType: "address",
|
|
81
|
+
name: "account",
|
|
82
|
+
type: "address",
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
internalType: "uint256",
|
|
86
|
+
name: "totalAmount",
|
|
87
|
+
type: "uint256",
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
internalType: "uint256",
|
|
91
|
+
name: "claimedAmount",
|
|
92
|
+
type: "uint256",
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
internalType: "bytes32[]",
|
|
96
|
+
name: "merkleProof",
|
|
97
|
+
type: "bytes32[]",
|
|
98
|
+
},
|
|
99
|
+
],
|
|
100
|
+
name: "claim",
|
|
101
|
+
outputs: [],
|
|
102
|
+
stateMutability: "nonpayable",
|
|
103
|
+
type: "function",
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
inputs: [
|
|
107
|
+
{
|
|
108
|
+
internalType: "address",
|
|
109
|
+
name: "user",
|
|
110
|
+
type: "address",
|
|
111
|
+
},
|
|
112
|
+
],
|
|
113
|
+
name: "claimed",
|
|
114
|
+
outputs: [
|
|
115
|
+
{
|
|
116
|
+
internalType: "uint256",
|
|
117
|
+
name: "",
|
|
118
|
+
type: "uint256",
|
|
119
|
+
},
|
|
120
|
+
],
|
|
121
|
+
stateMutability: "view",
|
|
122
|
+
type: "function",
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
inputs: [],
|
|
126
|
+
name: "merkleRoot",
|
|
127
|
+
outputs: [
|
|
128
|
+
{
|
|
129
|
+
internalType: "bytes32",
|
|
130
|
+
name: "",
|
|
131
|
+
type: "bytes32",
|
|
132
|
+
},
|
|
133
|
+
],
|
|
134
|
+
stateMutability: "view",
|
|
135
|
+
type: "function",
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
inputs: [],
|
|
139
|
+
name: "token",
|
|
140
|
+
outputs: [
|
|
141
|
+
{
|
|
142
|
+
internalType: "contract IERC20",
|
|
143
|
+
name: "",
|
|
144
|
+
type: "address",
|
|
145
|
+
},
|
|
146
|
+
],
|
|
147
|
+
stateMutability: "view",
|
|
148
|
+
type: "function",
|
|
149
|
+
},
|
|
150
|
+
];
|
|
151
|
+
var IAirdropDistributor__factory = /** @class */ (function () {
|
|
152
|
+
function IAirdropDistributor__factory() {
|
|
153
|
+
}
|
|
154
|
+
IAirdropDistributor__factory.createInterface = function () {
|
|
155
|
+
return new ethers_1.utils.Interface(_abi);
|
|
156
|
+
};
|
|
157
|
+
IAirdropDistributor__factory.connect = function (address, signerOrProvider) {
|
|
158
|
+
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
159
|
+
};
|
|
160
|
+
IAirdropDistributor__factory.abi = _abi;
|
|
161
|
+
return IAirdropDistributor__factory;
|
|
162
|
+
}());
|
|
163
|
+
exports.IAirdropDistributor__factory = IAirdropDistributor__factory;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IAirdropDistributorEvents__factory = exports.IAirdropDistributor__factory = void 0;
|
|
4
|
+
/* Autogenerated file. Do not edit manually. */
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
var IAirdropDistributor__factory_1 = require("./IAirdropDistributor__factory");
|
|
8
|
+
Object.defineProperty(exports, "IAirdropDistributor__factory", { enumerable: true, get: function () { return IAirdropDistributor__factory_1.IAirdropDistributor__factory; } });
|
|
9
|
+
var IAirdropDistributorEvents__factory_1 = require("./IAirdropDistributorEvents__factory");
|
|
10
|
+
Object.defineProperty(exports, "IAirdropDistributorEvents__factory", { enumerable: true, get: function () { return IAirdropDistributorEvents__factory_1.IAirdropDistributorEvents__factory; } });
|
|
@@ -22,24 +22,17 @@ export declare class IDegenNFT__factory {
|
|
|
22
22
|
outputs?: undefined;
|
|
23
23
|
stateMutability?: undefined;
|
|
24
24
|
} | {
|
|
25
|
-
inputs:
|
|
26
|
-
name: string;
|
|
27
|
-
outputs: {
|
|
25
|
+
inputs: {
|
|
28
26
|
internalType: string;
|
|
29
27
|
name: string;
|
|
30
28
|
type: string;
|
|
31
29
|
}[];
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
anonymous?: undefined;
|
|
35
|
-
} | {
|
|
36
|
-
inputs: {
|
|
30
|
+
name: string;
|
|
31
|
+
outputs: {
|
|
37
32
|
internalType: string;
|
|
38
33
|
name: string;
|
|
39
34
|
type: string;
|
|
40
35
|
}[];
|
|
41
|
-
name: string;
|
|
42
|
-
outputs: never[];
|
|
43
36
|
stateMutability: string;
|
|
44
37
|
type: string;
|
|
45
38
|
anonymous?: undefined;
|
|
@@ -26,6 +26,56 @@ var _abi = [
|
|
|
26
26
|
name: "MinterOnlyException",
|
|
27
27
|
type: "error",
|
|
28
28
|
},
|
|
29
|
+
{
|
|
30
|
+
anonymous: false,
|
|
31
|
+
inputs: [
|
|
32
|
+
{
|
|
33
|
+
indexed: true,
|
|
34
|
+
internalType: "address",
|
|
35
|
+
name: "owner",
|
|
36
|
+
type: "address",
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
indexed: true,
|
|
40
|
+
internalType: "address",
|
|
41
|
+
name: "approved",
|
|
42
|
+
type: "address",
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
indexed: true,
|
|
46
|
+
internalType: "uint256",
|
|
47
|
+
name: "tokenId",
|
|
48
|
+
type: "uint256",
|
|
49
|
+
},
|
|
50
|
+
],
|
|
51
|
+
name: "Approval",
|
|
52
|
+
type: "event",
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
anonymous: false,
|
|
56
|
+
inputs: [
|
|
57
|
+
{
|
|
58
|
+
indexed: true,
|
|
59
|
+
internalType: "address",
|
|
60
|
+
name: "owner",
|
|
61
|
+
type: "address",
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
indexed: true,
|
|
65
|
+
internalType: "address",
|
|
66
|
+
name: "operator",
|
|
67
|
+
type: "address",
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
indexed: false,
|
|
71
|
+
internalType: "bool",
|
|
72
|
+
name: "approved",
|
|
73
|
+
type: "bool",
|
|
74
|
+
},
|
|
75
|
+
],
|
|
76
|
+
name: "ApprovalForAll",
|
|
77
|
+
type: "event",
|
|
78
|
+
},
|
|
29
79
|
{
|
|
30
80
|
anonymous: false,
|
|
31
81
|
inputs: [
|
|
@@ -65,6 +115,68 @@ var _abi = [
|
|
|
65
115
|
name: "NewMinterSet",
|
|
66
116
|
type: "event",
|
|
67
117
|
},
|
|
118
|
+
{
|
|
119
|
+
anonymous: false,
|
|
120
|
+
inputs: [
|
|
121
|
+
{
|
|
122
|
+
indexed: true,
|
|
123
|
+
internalType: "address",
|
|
124
|
+
name: "from",
|
|
125
|
+
type: "address",
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
indexed: true,
|
|
129
|
+
internalType: "address",
|
|
130
|
+
name: "to",
|
|
131
|
+
type: "address",
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
indexed: true,
|
|
135
|
+
internalType: "uint256",
|
|
136
|
+
name: "tokenId",
|
|
137
|
+
type: "uint256",
|
|
138
|
+
},
|
|
139
|
+
],
|
|
140
|
+
name: "Transfer",
|
|
141
|
+
type: "event",
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
inputs: [
|
|
145
|
+
{
|
|
146
|
+
internalType: "address",
|
|
147
|
+
name: "to",
|
|
148
|
+
type: "address",
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
internalType: "uint256",
|
|
152
|
+
name: "tokenId",
|
|
153
|
+
type: "uint256",
|
|
154
|
+
},
|
|
155
|
+
],
|
|
156
|
+
name: "approve",
|
|
157
|
+
outputs: [],
|
|
158
|
+
stateMutability: "nonpayable",
|
|
159
|
+
type: "function",
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
inputs: [
|
|
163
|
+
{
|
|
164
|
+
internalType: "address",
|
|
165
|
+
name: "owner",
|
|
166
|
+
type: "address",
|
|
167
|
+
},
|
|
168
|
+
],
|
|
169
|
+
name: "balanceOf",
|
|
170
|
+
outputs: [
|
|
171
|
+
{
|
|
172
|
+
internalType: "uint256",
|
|
173
|
+
name: "balance",
|
|
174
|
+
type: "uint256",
|
|
175
|
+
},
|
|
176
|
+
],
|
|
177
|
+
stateMutability: "view",
|
|
178
|
+
type: "function",
|
|
179
|
+
},
|
|
68
180
|
{
|
|
69
181
|
inputs: [],
|
|
70
182
|
name: "baseURI",
|
|
@@ -96,6 +208,49 @@ var _abi = [
|
|
|
96
208
|
stateMutability: "nonpayable",
|
|
97
209
|
type: "function",
|
|
98
210
|
},
|
|
211
|
+
{
|
|
212
|
+
inputs: [
|
|
213
|
+
{
|
|
214
|
+
internalType: "uint256",
|
|
215
|
+
name: "tokenId",
|
|
216
|
+
type: "uint256",
|
|
217
|
+
},
|
|
218
|
+
],
|
|
219
|
+
name: "getApproved",
|
|
220
|
+
outputs: [
|
|
221
|
+
{
|
|
222
|
+
internalType: "address",
|
|
223
|
+
name: "operator",
|
|
224
|
+
type: "address",
|
|
225
|
+
},
|
|
226
|
+
],
|
|
227
|
+
stateMutability: "view",
|
|
228
|
+
type: "function",
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
inputs: [
|
|
232
|
+
{
|
|
233
|
+
internalType: "address",
|
|
234
|
+
name: "owner",
|
|
235
|
+
type: "address",
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
internalType: "address",
|
|
239
|
+
name: "operator",
|
|
240
|
+
type: "address",
|
|
241
|
+
},
|
|
242
|
+
],
|
|
243
|
+
name: "isApprovedForAll",
|
|
244
|
+
outputs: [
|
|
245
|
+
{
|
|
246
|
+
internalType: "bool",
|
|
247
|
+
name: "",
|
|
248
|
+
type: "bool",
|
|
249
|
+
},
|
|
250
|
+
],
|
|
251
|
+
stateMutability: "view",
|
|
252
|
+
type: "function",
|
|
253
|
+
},
|
|
99
254
|
{
|
|
100
255
|
inputs: [
|
|
101
256
|
{
|
|
@@ -127,6 +282,158 @@ var _abi = [
|
|
|
127
282
|
stateMutability: "view",
|
|
128
283
|
type: "function",
|
|
129
284
|
},
|
|
285
|
+
{
|
|
286
|
+
inputs: [],
|
|
287
|
+
name: "name",
|
|
288
|
+
outputs: [
|
|
289
|
+
{
|
|
290
|
+
internalType: "string",
|
|
291
|
+
name: "",
|
|
292
|
+
type: "string",
|
|
293
|
+
},
|
|
294
|
+
],
|
|
295
|
+
stateMutability: "view",
|
|
296
|
+
type: "function",
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
inputs: [
|
|
300
|
+
{
|
|
301
|
+
internalType: "uint256",
|
|
302
|
+
name: "tokenId",
|
|
303
|
+
type: "uint256",
|
|
304
|
+
},
|
|
305
|
+
],
|
|
306
|
+
name: "ownerOf",
|
|
307
|
+
outputs: [
|
|
308
|
+
{
|
|
309
|
+
internalType: "address",
|
|
310
|
+
name: "owner",
|
|
311
|
+
type: "address",
|
|
312
|
+
},
|
|
313
|
+
],
|
|
314
|
+
stateMutability: "view",
|
|
315
|
+
type: "function",
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
inputs: [
|
|
319
|
+
{
|
|
320
|
+
internalType: "address",
|
|
321
|
+
name: "from",
|
|
322
|
+
type: "address",
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
internalType: "address",
|
|
326
|
+
name: "to",
|
|
327
|
+
type: "address",
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
internalType: "uint256",
|
|
331
|
+
name: "tokenId",
|
|
332
|
+
type: "uint256",
|
|
333
|
+
},
|
|
334
|
+
],
|
|
335
|
+
name: "safeTransferFrom",
|
|
336
|
+
outputs: [],
|
|
337
|
+
stateMutability: "nonpayable",
|
|
338
|
+
type: "function",
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
inputs: [
|
|
342
|
+
{
|
|
343
|
+
internalType: "address",
|
|
344
|
+
name: "from",
|
|
345
|
+
type: "address",
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
internalType: "address",
|
|
349
|
+
name: "to",
|
|
350
|
+
type: "address",
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
internalType: "uint256",
|
|
354
|
+
name: "tokenId",
|
|
355
|
+
type: "uint256",
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
internalType: "bytes",
|
|
359
|
+
name: "data",
|
|
360
|
+
type: "bytes",
|
|
361
|
+
},
|
|
362
|
+
],
|
|
363
|
+
name: "safeTransferFrom",
|
|
364
|
+
outputs: [],
|
|
365
|
+
stateMutability: "nonpayable",
|
|
366
|
+
type: "function",
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
inputs: [
|
|
370
|
+
{
|
|
371
|
+
internalType: "address",
|
|
372
|
+
name: "operator",
|
|
373
|
+
type: "address",
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
internalType: "bool",
|
|
377
|
+
name: "_approved",
|
|
378
|
+
type: "bool",
|
|
379
|
+
},
|
|
380
|
+
],
|
|
381
|
+
name: "setApprovalForAll",
|
|
382
|
+
outputs: [],
|
|
383
|
+
stateMutability: "nonpayable",
|
|
384
|
+
type: "function",
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
inputs: [
|
|
388
|
+
{
|
|
389
|
+
internalType: "bytes4",
|
|
390
|
+
name: "interfaceId",
|
|
391
|
+
type: "bytes4",
|
|
392
|
+
},
|
|
393
|
+
],
|
|
394
|
+
name: "supportsInterface",
|
|
395
|
+
outputs: [
|
|
396
|
+
{
|
|
397
|
+
internalType: "bool",
|
|
398
|
+
name: "",
|
|
399
|
+
type: "bool",
|
|
400
|
+
},
|
|
401
|
+
],
|
|
402
|
+
stateMutability: "view",
|
|
403
|
+
type: "function",
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
inputs: [],
|
|
407
|
+
name: "symbol",
|
|
408
|
+
outputs: [
|
|
409
|
+
{
|
|
410
|
+
internalType: "string",
|
|
411
|
+
name: "",
|
|
412
|
+
type: "string",
|
|
413
|
+
},
|
|
414
|
+
],
|
|
415
|
+
stateMutability: "view",
|
|
416
|
+
type: "function",
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
inputs: [
|
|
420
|
+
{
|
|
421
|
+
internalType: "uint256",
|
|
422
|
+
name: "tokenId",
|
|
423
|
+
type: "uint256",
|
|
424
|
+
},
|
|
425
|
+
],
|
|
426
|
+
name: "tokenURI",
|
|
427
|
+
outputs: [
|
|
428
|
+
{
|
|
429
|
+
internalType: "string",
|
|
430
|
+
name: "",
|
|
431
|
+
type: "string",
|
|
432
|
+
},
|
|
433
|
+
],
|
|
434
|
+
stateMutability: "view",
|
|
435
|
+
type: "function",
|
|
436
|
+
},
|
|
130
437
|
{
|
|
131
438
|
inputs: [],
|
|
132
439
|
name: "totalSupply",
|
|
@@ -140,6 +447,29 @@ var _abi = [
|
|
|
140
447
|
stateMutability: "view",
|
|
141
448
|
type: "function",
|
|
142
449
|
},
|
|
450
|
+
{
|
|
451
|
+
inputs: [
|
|
452
|
+
{
|
|
453
|
+
internalType: "address",
|
|
454
|
+
name: "from",
|
|
455
|
+
type: "address",
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
internalType: "address",
|
|
459
|
+
name: "to",
|
|
460
|
+
type: "address",
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
internalType: "uint256",
|
|
464
|
+
name: "tokenId",
|
|
465
|
+
type: "uint256",
|
|
466
|
+
},
|
|
467
|
+
],
|
|
468
|
+
name: "transferFrom",
|
|
469
|
+
outputs: [],
|
|
470
|
+
stateMutability: "nonpayable",
|
|
471
|
+
type: "function",
|
|
472
|
+
},
|
|
143
473
|
{
|
|
144
474
|
inputs: [],
|
|
145
475
|
name: "version",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * as iaclSol from "./IACL.sol";
|
|
2
2
|
export * as iAccountFactorySol from "./IAccountFactory.sol";
|
|
3
3
|
export * as iAddressProviderSol from "./IAddressProvider.sol";
|
|
4
|
+
export * as iAirdropDistributorSol from "./IAirdropDistributor.sol";
|
|
4
5
|
export * as iContractsRegisterSol from "./IContractsRegister.sol";
|
|
5
6
|
export * as iCreditAccountSol from "./ICreditAccount.sol";
|
|
6
7
|
export * as iCreditConfiguratorSol from "./ICreditConfigurator.sol";
|
|
@@ -23,13 +23,14 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.IWETHGateway__factory = exports.IVersion__factory = exports.IPriceFeedType__factory = exports.IPhantomERC20__factory = exports.IInterestRateModel__factory = exports.IDegenDistributor__factory = exports.external = exports.adapters = exports.v1 = exports.iPriceOracleSol = exports.iPoolServiceSol = exports.ilpPriceFeedSol = exports.iDieselTokenSol = exports.iDegenNftSol = exports.iDataCompressorSol = exports.iCreditManagerV2Sol = exports.iCreditFacadeSol = exports.iCreditConfiguratorSol = exports.iCreditAccountSol = exports.iContractsRegisterSol = exports.iAddressProviderSol = exports.iAccountFactorySol = exports.iaclSol = void 0;
|
|
26
|
+
exports.IWETHGateway__factory = exports.IVersion__factory = exports.IPriceFeedType__factory = exports.IPhantomERC20__factory = exports.IInterestRateModel__factory = exports.IDegenDistributor__factory = exports.external = exports.adapters = exports.v1 = exports.iPriceOracleSol = exports.iPoolServiceSol = exports.ilpPriceFeedSol = exports.iDieselTokenSol = exports.iDegenNftSol = exports.iDataCompressorSol = exports.iCreditManagerV2Sol = exports.iCreditFacadeSol = exports.iCreditConfiguratorSol = exports.iCreditAccountSol = exports.iContractsRegisterSol = exports.iAirdropDistributorSol = exports.iAddressProviderSol = exports.iAccountFactorySol = exports.iaclSol = void 0;
|
|
27
27
|
/* Autogenerated file. Do not edit manually. */
|
|
28
28
|
/* tslint:disable */
|
|
29
29
|
/* eslint-disable */
|
|
30
30
|
exports.iaclSol = __importStar(require("./IACL.sol"));
|
|
31
31
|
exports.iAccountFactorySol = __importStar(require("./IAccountFactory.sol"));
|
|
32
32
|
exports.iAddressProviderSol = __importStar(require("./IAddressProvider.sol"));
|
|
33
|
+
exports.iAirdropDistributorSol = __importStar(require("./IAirdropDistributor.sol"));
|
|
33
34
|
exports.iContractsRegisterSol = __importStar(require("./IContractsRegister.sol"));
|
|
34
35
|
exports.iCreditAccountSol = __importStar(require("./ICreditAccount.sol"));
|
|
35
36
|
exports.iCreditConfiguratorSol = __importStar(require("./ICreditConfigurator.sol"));
|
package/lib/types/index.d.ts
CHANGED
|
@@ -31,6 +31,10 @@ export type { IAddressProvider } from "./@gearbox-protocol/core-v2/contracts/int
|
|
|
31
31
|
export { IAddressProvider__factory } from "./factories/@gearbox-protocol/core-v2/contracts/interfaces/IAddressProvider.sol/IAddressProvider__factory";
|
|
32
32
|
export type { IAddressProviderEvents } from "./@gearbox-protocol/core-v2/contracts/interfaces/IAddressProvider.sol/IAddressProviderEvents";
|
|
33
33
|
export { IAddressProviderEvents__factory } from "./factories/@gearbox-protocol/core-v2/contracts/interfaces/IAddressProvider.sol/IAddressProviderEvents__factory";
|
|
34
|
+
export type { IAirdropDistributor } from "./@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol/IAirdropDistributor";
|
|
35
|
+
export { IAirdropDistributor__factory } from "./factories/@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol/IAirdropDistributor__factory";
|
|
36
|
+
export type { IAirdropDistributorEvents } from "./@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol/IAirdropDistributorEvents";
|
|
37
|
+
export { IAirdropDistributorEvents__factory } from "./factories/@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol/IAirdropDistributorEvents__factory";
|
|
34
38
|
export type { IContractsRegister } from "./@gearbox-protocol/core-v2/contracts/interfaces/IContractsRegister.sol/IContractsRegister";
|
|
35
39
|
export { IContractsRegister__factory } from "./factories/@gearbox-protocol/core-v2/contracts/interfaces/IContractsRegister.sol/IContractsRegister__factory";
|
|
36
40
|
export type { IContractsRegisterEvents } from "./@gearbox-protocol/core-v2/contracts/interfaces/IContractsRegister.sol/IContractsRegisterEvents";
|
package/lib/types/index.js
CHANGED
|
@@ -23,9 +23,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.Multicall2__factory = exports.AggregatorV3Interface__factory = exports.IERC165__factory = exports.IERC721Receiver__factory = exports.IERC721__factory = exports.IERC721Metadata__factory = exports.IERC20__factory = exports.IERC20Metadata__factory = exports.IWrapper__factory = exports.IWithdrawerOptions__factory = exports.IWithdrawer__factory = exports.ISwapper__factory = exports.ISwapAggregator__factory = exports.IRouterComponent__factory = exports.IRouter__factory = exports.IPathResolver__factory = exports.ILPWorkerOptions__factory = exports.ILPWorker__factory = exports.IGasPricer__factory = exports.IDepositorOptions__factory = exports.IDepositor__factory = exports.IClosePathResolver__factory = exports.IYearnV2Adapter__factory = exports.IUniswapV3AdapterExceptions__factory = exports.IUniswapV3Adapter__factory = exports.IUniswapV2Adapter__factory = exports.IwstETHV1Adapter__factory = exports.ILidoV1AdapterExceptions__factory = exports.ILidoV1AdapterEvents__factory = void 0;
|
|
26
|
+
exports.IPriceOracleV2Ext__factory = exports.IPriceOracleV2Exceptions__factory = exports.IPriceOracleV2Events__factory = exports.IPriceOracleV2__factory = exports.IPriceFeedType__factory = exports.IPoolServiceEvents__factory = exports.IPoolService__factory = exports.IPhantomERC20__factory = exports.ILPPriceFeedExceptions__factory = exports.ILPPriceFeedEvents__factory = exports.ILPPriceFeed__factory = exports.IInterestRateModel__factory = exports.IDieselTokenExceptions__factory = exports.IDieselToken__factory = exports.IDegenNFTExceptions__factory = exports.IDegenNFTEvents__factory = exports.IDegenNFT__factory = exports.IDegenDistributor__factory = exports.IDataCompressorExceptions__factory = exports.IDataCompressor__factory = exports.ICreditManagerV2Exceptions__factory = exports.ICreditManagerV2Events__factory = exports.ICreditManagerV2__factory = exports.ICreditFacadeExtended__factory = exports.ICreditFacadeExceptions__factory = exports.ICreditFacadeEvents__factory = exports.ICreditFacade__factory = exports.ICreditConfiguratorExceptions__factory = exports.ICreditConfiguratorEvents__factory = exports.ICreditConfigurator__factory = exports.ICreditAccount__factory = exports.ICrediAccountExceptions__factory = exports.IContractsRegisterEvents__factory = exports.IContractsRegister__factory = exports.IAirdropDistributorEvents__factory = exports.IAirdropDistributor__factory = exports.IAddressProviderEvents__factory = exports.IAddressProvider__factory = exports.IACLExceptions__factory = exports.IACLEvents__factory = exports.IACL__factory = exports.IAccountFactoryGetters__factory = exports.IAccountFactoryEvents__factory = exports.IAccountFactory__factory = exports.IWETH__factory = exports.IUniversalAdapterExceptions__factory = exports.IUniversalAdapter__factory = exports.IAdapterExceptions__factory = exports.IAdapter__factory = exports.factories = void 0;
|
|
27
|
+
exports.ICurveV1Adapter__factory = exports.ICurveV1_4AssetsAdapter__factory = exports.ICurveV1_3AssetsAdapter__factory = exports.ICurveV1_2AssetsAdapter__factory = exports.IConvexV1BoosterAdapter__factory = exports.IConvexV1BaseRewardPoolAdapterErrors__factory = exports.IConvexV1BaseRewardPoolAdapter__factory = exports.IYVault__factory = exports.ISwapRouter__factory = exports.IUniswapV2Router02__factory = exports.IUniswapV2Router01__factory = exports.IQuoter__factory = exports.IwstETHGateWay__factory = exports.IwstETHGetters__factory = exports.IwstETH__factory = exports.IstETHGetters__factory = exports.IstETH__factory = exports.ILidoOracle__factory = exports.ICurveRegistry__factory = exports.ICurvePool__factory = exports.ICurvePool4Assets__factory = exports.ICurvePool3Assets__factory = exports.ICurvePool2Assets__factory = exports.IBasicRewards__factory = exports.IWalletChecker__factory = exports.IVoting__factory = exports.IVestedEscrow__factory = exports.ITokenMinter__factory = exports.ITokenFactory__factory = exports.IStashFactory__factory = exports.IStash__factory = exports.IStaker__factory = exports.IRewards__factory = exports.IRewardFactory__factory = exports.IRegistry__factory = exports.IPools__factory = exports.IMinter__factory = exports.IFeeDistro__factory = exports.IDeposit__factory = exports.ICurveVoteEscrow__factory = exports.ICurveGauge__factory = exports.ICrvDeposit__factory = exports.IConvexToken__factory = exports.IClaimZap__factory = exports.IBooster__factory = exports.IBaseRewardPool__factory = exports.ICreditManager__factory = exports.ICreditFilter__factory = exports.IWETHGateway__factory = exports.IVersion__factory = void 0;
|
|
28
|
+
exports.Multicall2__factory = exports.AggregatorV3Interface__factory = exports.IERC165__factory = exports.IERC721Receiver__factory = exports.IERC721__factory = exports.IERC721Metadata__factory = exports.IERC20__factory = exports.IERC20Metadata__factory = exports.IWrapper__factory = exports.IWithdrawerOptions__factory = exports.IWithdrawer__factory = exports.ISwapper__factory = exports.ISwapAggregator__factory = exports.IRouterComponent__factory = exports.IRouter__factory = exports.IPathResolver__factory = exports.ILPWorkerOptions__factory = exports.ILPWorker__factory = exports.IGasPricer__factory = exports.IDepositorOptions__factory = exports.IDepositor__factory = exports.IClosePathResolver__factory = exports.IYearnV2Adapter__factory = exports.IUniswapV3AdapterExceptions__factory = exports.IUniswapV3Adapter__factory = exports.IUniswapV2Adapter__factory = exports.IwstETHV1Adapter__factory = exports.ILidoV1AdapterExceptions__factory = exports.ILidoV1AdapterEvents__factory = exports.ILidoV1Adapter__factory = exports.ICurveV1AdapterExceptions__factory = void 0;
|
|
29
29
|
exports.factories = __importStar(require("./factories"));
|
|
30
30
|
var IAdapter__factory_1 = require("./factories/@gearbox-protocol/core-v2/contracts/interfaces/adapters/IAdapter.sol/IAdapter__factory");
|
|
31
31
|
Object.defineProperty(exports, "IAdapter__factory", { enumerable: true, get: function () { return IAdapter__factory_1.IAdapter__factory; } });
|
|
@@ -53,6 +53,10 @@ var IAddressProvider__factory_1 = require("./factories/@gearbox-protocol/core-v2
|
|
|
53
53
|
Object.defineProperty(exports, "IAddressProvider__factory", { enumerable: true, get: function () { return IAddressProvider__factory_1.IAddressProvider__factory; } });
|
|
54
54
|
var IAddressProviderEvents__factory_1 = require("./factories/@gearbox-protocol/core-v2/contracts/interfaces/IAddressProvider.sol/IAddressProviderEvents__factory");
|
|
55
55
|
Object.defineProperty(exports, "IAddressProviderEvents__factory", { enumerable: true, get: function () { return IAddressProviderEvents__factory_1.IAddressProviderEvents__factory; } });
|
|
56
|
+
var IAirdropDistributor__factory_1 = require("./factories/@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol/IAirdropDistributor__factory");
|
|
57
|
+
Object.defineProperty(exports, "IAirdropDistributor__factory", { enumerable: true, get: function () { return IAirdropDistributor__factory_1.IAirdropDistributor__factory; } });
|
|
58
|
+
var IAirdropDistributorEvents__factory_1 = require("./factories/@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol/IAirdropDistributorEvents__factory");
|
|
59
|
+
Object.defineProperty(exports, "IAirdropDistributorEvents__factory", { enumerable: true, get: function () { return IAirdropDistributorEvents__factory_1.IAirdropDistributorEvents__factory; } });
|
|
56
60
|
var IContractsRegister__factory_1 = require("./factories/@gearbox-protocol/core-v2/contracts/interfaces/IContractsRegister.sol/IContractsRegister__factory");
|
|
57
61
|
Object.defineProperty(exports, "IContractsRegister__factory", { enumerable: true, get: function () { return IContractsRegister__factory_1.IContractsRegister__factory; } });
|
|
58
62
|
var IContractsRegisterEvents__factory_1 = require("./factories/@gearbox-protocol/core-v2/contracts/interfaces/IContractsRegister.sol/IContractsRegisterEvents__factory");
|