@gearbox-protocol/sdk 14.8.0 → 14.8.1
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/abi/iDegenNFTV2.js +282 -0
- package/dist/esm/abi/iDegenNFTV2.js +258 -0
- package/dist/types/abi/iDegenNFTV2.d.ts +369 -0
- package/package.json +1 -1
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var iDegenNFTV2_exports = {};
|
|
20
|
+
__export(iDegenNFTV2_exports, {
|
|
21
|
+
iDegenNFTV2Abi: () => iDegenNFTV2Abi
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(iDegenNFTV2_exports);
|
|
24
|
+
const iDegenNFTV2Abi = [
|
|
25
|
+
{
|
|
26
|
+
type: "function",
|
|
27
|
+
name: "approve",
|
|
28
|
+
inputs: [
|
|
29
|
+
{ name: "to", type: "address", internalType: "address" },
|
|
30
|
+
{ name: "tokenId", type: "uint256", internalType: "uint256" }
|
|
31
|
+
],
|
|
32
|
+
outputs: [],
|
|
33
|
+
stateMutability: "nonpayable"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
type: "function",
|
|
37
|
+
name: "balanceOf",
|
|
38
|
+
inputs: [{ name: "owner", type: "address", internalType: "address" }],
|
|
39
|
+
outputs: [{ name: "balance", type: "uint256", internalType: "uint256" }],
|
|
40
|
+
stateMutability: "view"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
type: "function",
|
|
44
|
+
name: "baseURI",
|
|
45
|
+
inputs: [],
|
|
46
|
+
outputs: [{ name: "", type: "string", internalType: "string" }],
|
|
47
|
+
stateMutability: "view"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
type: "function",
|
|
51
|
+
name: "burn",
|
|
52
|
+
inputs: [
|
|
53
|
+
{ name: "from", type: "address", internalType: "address" },
|
|
54
|
+
{ name: "amount", type: "uint256", internalType: "uint256" }
|
|
55
|
+
],
|
|
56
|
+
outputs: [],
|
|
57
|
+
stateMutability: "nonpayable"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
type: "function",
|
|
61
|
+
name: "getApproved",
|
|
62
|
+
inputs: [{ name: "tokenId", type: "uint256", internalType: "uint256" }],
|
|
63
|
+
outputs: [{ name: "operator", type: "address", internalType: "address" }],
|
|
64
|
+
stateMutability: "view"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
type: "function",
|
|
68
|
+
name: "isApprovedForAll",
|
|
69
|
+
inputs: [
|
|
70
|
+
{ name: "owner", type: "address", internalType: "address" },
|
|
71
|
+
{ name: "operator", type: "address", internalType: "address" }
|
|
72
|
+
],
|
|
73
|
+
outputs: [{ name: "", type: "bool", internalType: "bool" }],
|
|
74
|
+
stateMutability: "view"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
type: "function",
|
|
78
|
+
name: "mint",
|
|
79
|
+
inputs: [
|
|
80
|
+
{ name: "to", type: "address", internalType: "address" },
|
|
81
|
+
{ name: "amount", type: "uint256", internalType: "uint256" }
|
|
82
|
+
],
|
|
83
|
+
outputs: [],
|
|
84
|
+
stateMutability: "nonpayable"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
type: "function",
|
|
88
|
+
name: "minter",
|
|
89
|
+
inputs: [],
|
|
90
|
+
outputs: [{ name: "", type: "address", internalType: "address" }],
|
|
91
|
+
stateMutability: "view"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
type: "function",
|
|
95
|
+
name: "name",
|
|
96
|
+
inputs: [],
|
|
97
|
+
outputs: [{ name: "", type: "string", internalType: "string" }],
|
|
98
|
+
stateMutability: "view"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
type: "function",
|
|
102
|
+
name: "ownerOf",
|
|
103
|
+
inputs: [{ name: "tokenId", type: "uint256", internalType: "uint256" }],
|
|
104
|
+
outputs: [{ name: "owner", type: "address", internalType: "address" }],
|
|
105
|
+
stateMutability: "view"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
type: "function",
|
|
109
|
+
name: "safeTransferFrom",
|
|
110
|
+
inputs: [
|
|
111
|
+
{ name: "from", type: "address", internalType: "address" },
|
|
112
|
+
{ name: "to", type: "address", internalType: "address" },
|
|
113
|
+
{ name: "tokenId", type: "uint256", internalType: "uint256" }
|
|
114
|
+
],
|
|
115
|
+
outputs: [],
|
|
116
|
+
stateMutability: "nonpayable"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
type: "function",
|
|
120
|
+
name: "safeTransferFrom",
|
|
121
|
+
inputs: [
|
|
122
|
+
{ name: "from", type: "address", internalType: "address" },
|
|
123
|
+
{ name: "to", type: "address", internalType: "address" },
|
|
124
|
+
{ name: "tokenId", type: "uint256", internalType: "uint256" },
|
|
125
|
+
{ name: "data", type: "bytes", internalType: "bytes" }
|
|
126
|
+
],
|
|
127
|
+
outputs: [],
|
|
128
|
+
stateMutability: "nonpayable"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
type: "function",
|
|
132
|
+
name: "setApprovalForAll",
|
|
133
|
+
inputs: [
|
|
134
|
+
{ name: "operator", type: "address", internalType: "address" },
|
|
135
|
+
{ name: "_approved", type: "bool", internalType: "bool" }
|
|
136
|
+
],
|
|
137
|
+
outputs: [],
|
|
138
|
+
stateMutability: "nonpayable"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
type: "function",
|
|
142
|
+
name: "supportsInterface",
|
|
143
|
+
inputs: [{ name: "interfaceId", type: "bytes4", internalType: "bytes4" }],
|
|
144
|
+
outputs: [{ name: "", type: "bool", internalType: "bool" }],
|
|
145
|
+
stateMutability: "view"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
type: "function",
|
|
149
|
+
name: "symbol",
|
|
150
|
+
inputs: [],
|
|
151
|
+
outputs: [{ name: "", type: "string", internalType: "string" }],
|
|
152
|
+
stateMutability: "view"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
type: "function",
|
|
156
|
+
name: "tokenURI",
|
|
157
|
+
inputs: [{ name: "tokenId", type: "uint256", internalType: "uint256" }],
|
|
158
|
+
outputs: [{ name: "", type: "string", internalType: "string" }],
|
|
159
|
+
stateMutability: "view"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
type: "function",
|
|
163
|
+
name: "totalSupply",
|
|
164
|
+
inputs: [],
|
|
165
|
+
outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
|
|
166
|
+
stateMutability: "view"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
type: "function",
|
|
170
|
+
name: "transferFrom",
|
|
171
|
+
inputs: [
|
|
172
|
+
{ name: "from", type: "address", internalType: "address" },
|
|
173
|
+
{ name: "to", type: "address", internalType: "address" },
|
|
174
|
+
{ name: "tokenId", type: "uint256", internalType: "uint256" }
|
|
175
|
+
],
|
|
176
|
+
outputs: [],
|
|
177
|
+
stateMutability: "nonpayable"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
type: "function",
|
|
181
|
+
name: "version",
|
|
182
|
+
inputs: [],
|
|
183
|
+
outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
|
|
184
|
+
stateMutability: "view"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
type: "event",
|
|
188
|
+
name: "Approval",
|
|
189
|
+
inputs: [
|
|
190
|
+
{
|
|
191
|
+
name: "owner",
|
|
192
|
+
type: "address",
|
|
193
|
+
indexed: true,
|
|
194
|
+
internalType: "address"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
name: "approved",
|
|
198
|
+
type: "address",
|
|
199
|
+
indexed: true,
|
|
200
|
+
internalType: "address"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
name: "tokenId",
|
|
204
|
+
type: "uint256",
|
|
205
|
+
indexed: true,
|
|
206
|
+
internalType: "uint256"
|
|
207
|
+
}
|
|
208
|
+
],
|
|
209
|
+
anonymous: false
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
type: "event",
|
|
213
|
+
name: "ApprovalForAll",
|
|
214
|
+
inputs: [
|
|
215
|
+
{
|
|
216
|
+
name: "owner",
|
|
217
|
+
type: "address",
|
|
218
|
+
indexed: true,
|
|
219
|
+
internalType: "address"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
name: "operator",
|
|
223
|
+
type: "address",
|
|
224
|
+
indexed: true,
|
|
225
|
+
internalType: "address"
|
|
226
|
+
},
|
|
227
|
+
{ name: "approved", type: "bool", indexed: false, internalType: "bool" }
|
|
228
|
+
],
|
|
229
|
+
anonymous: false
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
type: "event",
|
|
233
|
+
name: "NewCreditFacadeAdded",
|
|
234
|
+
inputs: [
|
|
235
|
+
{ name: "", type: "address", indexed: true, internalType: "address" }
|
|
236
|
+
],
|
|
237
|
+
anonymous: false
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
type: "event",
|
|
241
|
+
name: "NewCreditFacadeRemoved",
|
|
242
|
+
inputs: [
|
|
243
|
+
{ name: "", type: "address", indexed: true, internalType: "address" }
|
|
244
|
+
],
|
|
245
|
+
anonymous: false
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
type: "event",
|
|
249
|
+
name: "NewMinterSet",
|
|
250
|
+
inputs: [
|
|
251
|
+
{ name: "", type: "address", indexed: true, internalType: "address" }
|
|
252
|
+
],
|
|
253
|
+
anonymous: false
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
type: "event",
|
|
257
|
+
name: "Transfer",
|
|
258
|
+
inputs: [
|
|
259
|
+
{ name: "from", type: "address", indexed: true, internalType: "address" },
|
|
260
|
+
{ name: "to", type: "address", indexed: true, internalType: "address" },
|
|
261
|
+
{
|
|
262
|
+
name: "tokenId",
|
|
263
|
+
type: "uint256",
|
|
264
|
+
indexed: true,
|
|
265
|
+
internalType: "uint256"
|
|
266
|
+
}
|
|
267
|
+
],
|
|
268
|
+
anonymous: false
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
type: "error",
|
|
272
|
+
name: "CreditFacadeOrConfiguratorOnlyException",
|
|
273
|
+
inputs: []
|
|
274
|
+
},
|
|
275
|
+
{ type: "error", name: "InsufficientBalanceException", inputs: [] },
|
|
276
|
+
{ type: "error", name: "InvalidCreditFacadeException", inputs: [] },
|
|
277
|
+
{ type: "error", name: "MinterOnlyException", inputs: [] }
|
|
278
|
+
];
|
|
279
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
280
|
+
0 && (module.exports = {
|
|
281
|
+
iDegenNFTV2Abi
|
|
282
|
+
});
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
const iDegenNFTV2Abi = [
|
|
2
|
+
{
|
|
3
|
+
type: "function",
|
|
4
|
+
name: "approve",
|
|
5
|
+
inputs: [
|
|
6
|
+
{ name: "to", type: "address", internalType: "address" },
|
|
7
|
+
{ name: "tokenId", type: "uint256", internalType: "uint256" }
|
|
8
|
+
],
|
|
9
|
+
outputs: [],
|
|
10
|
+
stateMutability: "nonpayable"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
type: "function",
|
|
14
|
+
name: "balanceOf",
|
|
15
|
+
inputs: [{ name: "owner", type: "address", internalType: "address" }],
|
|
16
|
+
outputs: [{ name: "balance", type: "uint256", internalType: "uint256" }],
|
|
17
|
+
stateMutability: "view"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
type: "function",
|
|
21
|
+
name: "baseURI",
|
|
22
|
+
inputs: [],
|
|
23
|
+
outputs: [{ name: "", type: "string", internalType: "string" }],
|
|
24
|
+
stateMutability: "view"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
type: "function",
|
|
28
|
+
name: "burn",
|
|
29
|
+
inputs: [
|
|
30
|
+
{ name: "from", type: "address", internalType: "address" },
|
|
31
|
+
{ name: "amount", type: "uint256", internalType: "uint256" }
|
|
32
|
+
],
|
|
33
|
+
outputs: [],
|
|
34
|
+
stateMutability: "nonpayable"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
type: "function",
|
|
38
|
+
name: "getApproved",
|
|
39
|
+
inputs: [{ name: "tokenId", type: "uint256", internalType: "uint256" }],
|
|
40
|
+
outputs: [{ name: "operator", type: "address", internalType: "address" }],
|
|
41
|
+
stateMutability: "view"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
type: "function",
|
|
45
|
+
name: "isApprovedForAll",
|
|
46
|
+
inputs: [
|
|
47
|
+
{ name: "owner", type: "address", internalType: "address" },
|
|
48
|
+
{ name: "operator", type: "address", internalType: "address" }
|
|
49
|
+
],
|
|
50
|
+
outputs: [{ name: "", type: "bool", internalType: "bool" }],
|
|
51
|
+
stateMutability: "view"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
type: "function",
|
|
55
|
+
name: "mint",
|
|
56
|
+
inputs: [
|
|
57
|
+
{ name: "to", type: "address", internalType: "address" },
|
|
58
|
+
{ name: "amount", type: "uint256", internalType: "uint256" }
|
|
59
|
+
],
|
|
60
|
+
outputs: [],
|
|
61
|
+
stateMutability: "nonpayable"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
type: "function",
|
|
65
|
+
name: "minter",
|
|
66
|
+
inputs: [],
|
|
67
|
+
outputs: [{ name: "", type: "address", internalType: "address" }],
|
|
68
|
+
stateMutability: "view"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
type: "function",
|
|
72
|
+
name: "name",
|
|
73
|
+
inputs: [],
|
|
74
|
+
outputs: [{ name: "", type: "string", internalType: "string" }],
|
|
75
|
+
stateMutability: "view"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
type: "function",
|
|
79
|
+
name: "ownerOf",
|
|
80
|
+
inputs: [{ name: "tokenId", type: "uint256", internalType: "uint256" }],
|
|
81
|
+
outputs: [{ name: "owner", type: "address", internalType: "address" }],
|
|
82
|
+
stateMutability: "view"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
type: "function",
|
|
86
|
+
name: "safeTransferFrom",
|
|
87
|
+
inputs: [
|
|
88
|
+
{ name: "from", type: "address", internalType: "address" },
|
|
89
|
+
{ name: "to", type: "address", internalType: "address" },
|
|
90
|
+
{ name: "tokenId", type: "uint256", internalType: "uint256" }
|
|
91
|
+
],
|
|
92
|
+
outputs: [],
|
|
93
|
+
stateMutability: "nonpayable"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
type: "function",
|
|
97
|
+
name: "safeTransferFrom",
|
|
98
|
+
inputs: [
|
|
99
|
+
{ name: "from", type: "address", internalType: "address" },
|
|
100
|
+
{ name: "to", type: "address", internalType: "address" },
|
|
101
|
+
{ name: "tokenId", type: "uint256", internalType: "uint256" },
|
|
102
|
+
{ name: "data", type: "bytes", internalType: "bytes" }
|
|
103
|
+
],
|
|
104
|
+
outputs: [],
|
|
105
|
+
stateMutability: "nonpayable"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
type: "function",
|
|
109
|
+
name: "setApprovalForAll",
|
|
110
|
+
inputs: [
|
|
111
|
+
{ name: "operator", type: "address", internalType: "address" },
|
|
112
|
+
{ name: "_approved", type: "bool", internalType: "bool" }
|
|
113
|
+
],
|
|
114
|
+
outputs: [],
|
|
115
|
+
stateMutability: "nonpayable"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
type: "function",
|
|
119
|
+
name: "supportsInterface",
|
|
120
|
+
inputs: [{ name: "interfaceId", type: "bytes4", internalType: "bytes4" }],
|
|
121
|
+
outputs: [{ name: "", type: "bool", internalType: "bool" }],
|
|
122
|
+
stateMutability: "view"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
type: "function",
|
|
126
|
+
name: "symbol",
|
|
127
|
+
inputs: [],
|
|
128
|
+
outputs: [{ name: "", type: "string", internalType: "string" }],
|
|
129
|
+
stateMutability: "view"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
type: "function",
|
|
133
|
+
name: "tokenURI",
|
|
134
|
+
inputs: [{ name: "tokenId", type: "uint256", internalType: "uint256" }],
|
|
135
|
+
outputs: [{ name: "", type: "string", internalType: "string" }],
|
|
136
|
+
stateMutability: "view"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
type: "function",
|
|
140
|
+
name: "totalSupply",
|
|
141
|
+
inputs: [],
|
|
142
|
+
outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
|
|
143
|
+
stateMutability: "view"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
type: "function",
|
|
147
|
+
name: "transferFrom",
|
|
148
|
+
inputs: [
|
|
149
|
+
{ name: "from", type: "address", internalType: "address" },
|
|
150
|
+
{ name: "to", type: "address", internalType: "address" },
|
|
151
|
+
{ name: "tokenId", type: "uint256", internalType: "uint256" }
|
|
152
|
+
],
|
|
153
|
+
outputs: [],
|
|
154
|
+
stateMutability: "nonpayable"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
type: "function",
|
|
158
|
+
name: "version",
|
|
159
|
+
inputs: [],
|
|
160
|
+
outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
|
|
161
|
+
stateMutability: "view"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
type: "event",
|
|
165
|
+
name: "Approval",
|
|
166
|
+
inputs: [
|
|
167
|
+
{
|
|
168
|
+
name: "owner",
|
|
169
|
+
type: "address",
|
|
170
|
+
indexed: true,
|
|
171
|
+
internalType: "address"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
name: "approved",
|
|
175
|
+
type: "address",
|
|
176
|
+
indexed: true,
|
|
177
|
+
internalType: "address"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
name: "tokenId",
|
|
181
|
+
type: "uint256",
|
|
182
|
+
indexed: true,
|
|
183
|
+
internalType: "uint256"
|
|
184
|
+
}
|
|
185
|
+
],
|
|
186
|
+
anonymous: false
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
type: "event",
|
|
190
|
+
name: "ApprovalForAll",
|
|
191
|
+
inputs: [
|
|
192
|
+
{
|
|
193
|
+
name: "owner",
|
|
194
|
+
type: "address",
|
|
195
|
+
indexed: true,
|
|
196
|
+
internalType: "address"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
name: "operator",
|
|
200
|
+
type: "address",
|
|
201
|
+
indexed: true,
|
|
202
|
+
internalType: "address"
|
|
203
|
+
},
|
|
204
|
+
{ name: "approved", type: "bool", indexed: false, internalType: "bool" }
|
|
205
|
+
],
|
|
206
|
+
anonymous: false
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
type: "event",
|
|
210
|
+
name: "NewCreditFacadeAdded",
|
|
211
|
+
inputs: [
|
|
212
|
+
{ name: "", type: "address", indexed: true, internalType: "address" }
|
|
213
|
+
],
|
|
214
|
+
anonymous: false
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
type: "event",
|
|
218
|
+
name: "NewCreditFacadeRemoved",
|
|
219
|
+
inputs: [
|
|
220
|
+
{ name: "", type: "address", indexed: true, internalType: "address" }
|
|
221
|
+
],
|
|
222
|
+
anonymous: false
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
type: "event",
|
|
226
|
+
name: "NewMinterSet",
|
|
227
|
+
inputs: [
|
|
228
|
+
{ name: "", type: "address", indexed: true, internalType: "address" }
|
|
229
|
+
],
|
|
230
|
+
anonymous: false
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
type: "event",
|
|
234
|
+
name: "Transfer",
|
|
235
|
+
inputs: [
|
|
236
|
+
{ name: "from", type: "address", indexed: true, internalType: "address" },
|
|
237
|
+
{ name: "to", type: "address", indexed: true, internalType: "address" },
|
|
238
|
+
{
|
|
239
|
+
name: "tokenId",
|
|
240
|
+
type: "uint256",
|
|
241
|
+
indexed: true,
|
|
242
|
+
internalType: "uint256"
|
|
243
|
+
}
|
|
244
|
+
],
|
|
245
|
+
anonymous: false
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
type: "error",
|
|
249
|
+
name: "CreditFacadeOrConfiguratorOnlyException",
|
|
250
|
+
inputs: []
|
|
251
|
+
},
|
|
252
|
+
{ type: "error", name: "InsufficientBalanceException", inputs: [] },
|
|
253
|
+
{ type: "error", name: "InvalidCreditFacadeException", inputs: [] },
|
|
254
|
+
{ type: "error", name: "MinterOnlyException", inputs: [] }
|
|
255
|
+
];
|
|
256
|
+
export {
|
|
257
|
+
iDegenNFTV2Abi
|
|
258
|
+
};
|
|
@@ -0,0 +1,369 @@
|
|
|
1
|
+
export declare const iDegenNFTV2Abi: readonly [{
|
|
2
|
+
readonly type: "function";
|
|
3
|
+
readonly name: "approve";
|
|
4
|
+
readonly inputs: readonly [{
|
|
5
|
+
readonly name: "to";
|
|
6
|
+
readonly type: "address";
|
|
7
|
+
readonly internalType: "address";
|
|
8
|
+
}, {
|
|
9
|
+
readonly name: "tokenId";
|
|
10
|
+
readonly type: "uint256";
|
|
11
|
+
readonly internalType: "uint256";
|
|
12
|
+
}];
|
|
13
|
+
readonly outputs: readonly [];
|
|
14
|
+
readonly stateMutability: "nonpayable";
|
|
15
|
+
}, {
|
|
16
|
+
readonly type: "function";
|
|
17
|
+
readonly name: "balanceOf";
|
|
18
|
+
readonly inputs: readonly [{
|
|
19
|
+
readonly name: "owner";
|
|
20
|
+
readonly type: "address";
|
|
21
|
+
readonly internalType: "address";
|
|
22
|
+
}];
|
|
23
|
+
readonly outputs: readonly [{
|
|
24
|
+
readonly name: "balance";
|
|
25
|
+
readonly type: "uint256";
|
|
26
|
+
readonly internalType: "uint256";
|
|
27
|
+
}];
|
|
28
|
+
readonly stateMutability: "view";
|
|
29
|
+
}, {
|
|
30
|
+
readonly type: "function";
|
|
31
|
+
readonly name: "baseURI";
|
|
32
|
+
readonly inputs: readonly [];
|
|
33
|
+
readonly outputs: readonly [{
|
|
34
|
+
readonly name: "";
|
|
35
|
+
readonly type: "string";
|
|
36
|
+
readonly internalType: "string";
|
|
37
|
+
}];
|
|
38
|
+
readonly stateMutability: "view";
|
|
39
|
+
}, {
|
|
40
|
+
readonly type: "function";
|
|
41
|
+
readonly name: "burn";
|
|
42
|
+
readonly inputs: readonly [{
|
|
43
|
+
readonly name: "from";
|
|
44
|
+
readonly type: "address";
|
|
45
|
+
readonly internalType: "address";
|
|
46
|
+
}, {
|
|
47
|
+
readonly name: "amount";
|
|
48
|
+
readonly type: "uint256";
|
|
49
|
+
readonly internalType: "uint256";
|
|
50
|
+
}];
|
|
51
|
+
readonly outputs: readonly [];
|
|
52
|
+
readonly stateMutability: "nonpayable";
|
|
53
|
+
}, {
|
|
54
|
+
readonly type: "function";
|
|
55
|
+
readonly name: "getApproved";
|
|
56
|
+
readonly inputs: readonly [{
|
|
57
|
+
readonly name: "tokenId";
|
|
58
|
+
readonly type: "uint256";
|
|
59
|
+
readonly internalType: "uint256";
|
|
60
|
+
}];
|
|
61
|
+
readonly outputs: readonly [{
|
|
62
|
+
readonly name: "operator";
|
|
63
|
+
readonly type: "address";
|
|
64
|
+
readonly internalType: "address";
|
|
65
|
+
}];
|
|
66
|
+
readonly stateMutability: "view";
|
|
67
|
+
}, {
|
|
68
|
+
readonly type: "function";
|
|
69
|
+
readonly name: "isApprovedForAll";
|
|
70
|
+
readonly inputs: readonly [{
|
|
71
|
+
readonly name: "owner";
|
|
72
|
+
readonly type: "address";
|
|
73
|
+
readonly internalType: "address";
|
|
74
|
+
}, {
|
|
75
|
+
readonly name: "operator";
|
|
76
|
+
readonly type: "address";
|
|
77
|
+
readonly internalType: "address";
|
|
78
|
+
}];
|
|
79
|
+
readonly outputs: readonly [{
|
|
80
|
+
readonly name: "";
|
|
81
|
+
readonly type: "bool";
|
|
82
|
+
readonly internalType: "bool";
|
|
83
|
+
}];
|
|
84
|
+
readonly stateMutability: "view";
|
|
85
|
+
}, {
|
|
86
|
+
readonly type: "function";
|
|
87
|
+
readonly name: "mint";
|
|
88
|
+
readonly inputs: readonly [{
|
|
89
|
+
readonly name: "to";
|
|
90
|
+
readonly type: "address";
|
|
91
|
+
readonly internalType: "address";
|
|
92
|
+
}, {
|
|
93
|
+
readonly name: "amount";
|
|
94
|
+
readonly type: "uint256";
|
|
95
|
+
readonly internalType: "uint256";
|
|
96
|
+
}];
|
|
97
|
+
readonly outputs: readonly [];
|
|
98
|
+
readonly stateMutability: "nonpayable";
|
|
99
|
+
}, {
|
|
100
|
+
readonly type: "function";
|
|
101
|
+
readonly name: "minter";
|
|
102
|
+
readonly inputs: readonly [];
|
|
103
|
+
readonly outputs: readonly [{
|
|
104
|
+
readonly name: "";
|
|
105
|
+
readonly type: "address";
|
|
106
|
+
readonly internalType: "address";
|
|
107
|
+
}];
|
|
108
|
+
readonly stateMutability: "view";
|
|
109
|
+
}, {
|
|
110
|
+
readonly type: "function";
|
|
111
|
+
readonly name: "name";
|
|
112
|
+
readonly inputs: readonly [];
|
|
113
|
+
readonly outputs: readonly [{
|
|
114
|
+
readonly name: "";
|
|
115
|
+
readonly type: "string";
|
|
116
|
+
readonly internalType: "string";
|
|
117
|
+
}];
|
|
118
|
+
readonly stateMutability: "view";
|
|
119
|
+
}, {
|
|
120
|
+
readonly type: "function";
|
|
121
|
+
readonly name: "ownerOf";
|
|
122
|
+
readonly inputs: readonly [{
|
|
123
|
+
readonly name: "tokenId";
|
|
124
|
+
readonly type: "uint256";
|
|
125
|
+
readonly internalType: "uint256";
|
|
126
|
+
}];
|
|
127
|
+
readonly outputs: readonly [{
|
|
128
|
+
readonly name: "owner";
|
|
129
|
+
readonly type: "address";
|
|
130
|
+
readonly internalType: "address";
|
|
131
|
+
}];
|
|
132
|
+
readonly stateMutability: "view";
|
|
133
|
+
}, {
|
|
134
|
+
readonly type: "function";
|
|
135
|
+
readonly name: "safeTransferFrom";
|
|
136
|
+
readonly inputs: readonly [{
|
|
137
|
+
readonly name: "from";
|
|
138
|
+
readonly type: "address";
|
|
139
|
+
readonly internalType: "address";
|
|
140
|
+
}, {
|
|
141
|
+
readonly name: "to";
|
|
142
|
+
readonly type: "address";
|
|
143
|
+
readonly internalType: "address";
|
|
144
|
+
}, {
|
|
145
|
+
readonly name: "tokenId";
|
|
146
|
+
readonly type: "uint256";
|
|
147
|
+
readonly internalType: "uint256";
|
|
148
|
+
}];
|
|
149
|
+
readonly outputs: readonly [];
|
|
150
|
+
readonly stateMutability: "nonpayable";
|
|
151
|
+
}, {
|
|
152
|
+
readonly type: "function";
|
|
153
|
+
readonly name: "safeTransferFrom";
|
|
154
|
+
readonly inputs: readonly [{
|
|
155
|
+
readonly name: "from";
|
|
156
|
+
readonly type: "address";
|
|
157
|
+
readonly internalType: "address";
|
|
158
|
+
}, {
|
|
159
|
+
readonly name: "to";
|
|
160
|
+
readonly type: "address";
|
|
161
|
+
readonly internalType: "address";
|
|
162
|
+
}, {
|
|
163
|
+
readonly name: "tokenId";
|
|
164
|
+
readonly type: "uint256";
|
|
165
|
+
readonly internalType: "uint256";
|
|
166
|
+
}, {
|
|
167
|
+
readonly name: "data";
|
|
168
|
+
readonly type: "bytes";
|
|
169
|
+
readonly internalType: "bytes";
|
|
170
|
+
}];
|
|
171
|
+
readonly outputs: readonly [];
|
|
172
|
+
readonly stateMutability: "nonpayable";
|
|
173
|
+
}, {
|
|
174
|
+
readonly type: "function";
|
|
175
|
+
readonly name: "setApprovalForAll";
|
|
176
|
+
readonly inputs: readonly [{
|
|
177
|
+
readonly name: "operator";
|
|
178
|
+
readonly type: "address";
|
|
179
|
+
readonly internalType: "address";
|
|
180
|
+
}, {
|
|
181
|
+
readonly name: "_approved";
|
|
182
|
+
readonly type: "bool";
|
|
183
|
+
readonly internalType: "bool";
|
|
184
|
+
}];
|
|
185
|
+
readonly outputs: readonly [];
|
|
186
|
+
readonly stateMutability: "nonpayable";
|
|
187
|
+
}, {
|
|
188
|
+
readonly type: "function";
|
|
189
|
+
readonly name: "supportsInterface";
|
|
190
|
+
readonly inputs: readonly [{
|
|
191
|
+
readonly name: "interfaceId";
|
|
192
|
+
readonly type: "bytes4";
|
|
193
|
+
readonly internalType: "bytes4";
|
|
194
|
+
}];
|
|
195
|
+
readonly outputs: readonly [{
|
|
196
|
+
readonly name: "";
|
|
197
|
+
readonly type: "bool";
|
|
198
|
+
readonly internalType: "bool";
|
|
199
|
+
}];
|
|
200
|
+
readonly stateMutability: "view";
|
|
201
|
+
}, {
|
|
202
|
+
readonly type: "function";
|
|
203
|
+
readonly name: "symbol";
|
|
204
|
+
readonly inputs: readonly [];
|
|
205
|
+
readonly outputs: readonly [{
|
|
206
|
+
readonly name: "";
|
|
207
|
+
readonly type: "string";
|
|
208
|
+
readonly internalType: "string";
|
|
209
|
+
}];
|
|
210
|
+
readonly stateMutability: "view";
|
|
211
|
+
}, {
|
|
212
|
+
readonly type: "function";
|
|
213
|
+
readonly name: "tokenURI";
|
|
214
|
+
readonly inputs: readonly [{
|
|
215
|
+
readonly name: "tokenId";
|
|
216
|
+
readonly type: "uint256";
|
|
217
|
+
readonly internalType: "uint256";
|
|
218
|
+
}];
|
|
219
|
+
readonly outputs: readonly [{
|
|
220
|
+
readonly name: "";
|
|
221
|
+
readonly type: "string";
|
|
222
|
+
readonly internalType: "string";
|
|
223
|
+
}];
|
|
224
|
+
readonly stateMutability: "view";
|
|
225
|
+
}, {
|
|
226
|
+
readonly type: "function";
|
|
227
|
+
readonly name: "totalSupply";
|
|
228
|
+
readonly inputs: readonly [];
|
|
229
|
+
readonly outputs: readonly [{
|
|
230
|
+
readonly name: "";
|
|
231
|
+
readonly type: "uint256";
|
|
232
|
+
readonly internalType: "uint256";
|
|
233
|
+
}];
|
|
234
|
+
readonly stateMutability: "view";
|
|
235
|
+
}, {
|
|
236
|
+
readonly type: "function";
|
|
237
|
+
readonly name: "transferFrom";
|
|
238
|
+
readonly inputs: readonly [{
|
|
239
|
+
readonly name: "from";
|
|
240
|
+
readonly type: "address";
|
|
241
|
+
readonly internalType: "address";
|
|
242
|
+
}, {
|
|
243
|
+
readonly name: "to";
|
|
244
|
+
readonly type: "address";
|
|
245
|
+
readonly internalType: "address";
|
|
246
|
+
}, {
|
|
247
|
+
readonly name: "tokenId";
|
|
248
|
+
readonly type: "uint256";
|
|
249
|
+
readonly internalType: "uint256";
|
|
250
|
+
}];
|
|
251
|
+
readonly outputs: readonly [];
|
|
252
|
+
readonly stateMutability: "nonpayable";
|
|
253
|
+
}, {
|
|
254
|
+
readonly type: "function";
|
|
255
|
+
readonly name: "version";
|
|
256
|
+
readonly inputs: readonly [];
|
|
257
|
+
readonly outputs: readonly [{
|
|
258
|
+
readonly name: "";
|
|
259
|
+
readonly type: "uint256";
|
|
260
|
+
readonly internalType: "uint256";
|
|
261
|
+
}];
|
|
262
|
+
readonly stateMutability: "view";
|
|
263
|
+
}, {
|
|
264
|
+
readonly type: "event";
|
|
265
|
+
readonly name: "Approval";
|
|
266
|
+
readonly inputs: readonly [{
|
|
267
|
+
readonly name: "owner";
|
|
268
|
+
readonly type: "address";
|
|
269
|
+
readonly indexed: true;
|
|
270
|
+
readonly internalType: "address";
|
|
271
|
+
}, {
|
|
272
|
+
readonly name: "approved";
|
|
273
|
+
readonly type: "address";
|
|
274
|
+
readonly indexed: true;
|
|
275
|
+
readonly internalType: "address";
|
|
276
|
+
}, {
|
|
277
|
+
readonly name: "tokenId";
|
|
278
|
+
readonly type: "uint256";
|
|
279
|
+
readonly indexed: true;
|
|
280
|
+
readonly internalType: "uint256";
|
|
281
|
+
}];
|
|
282
|
+
readonly anonymous: false;
|
|
283
|
+
}, {
|
|
284
|
+
readonly type: "event";
|
|
285
|
+
readonly name: "ApprovalForAll";
|
|
286
|
+
readonly inputs: readonly [{
|
|
287
|
+
readonly name: "owner";
|
|
288
|
+
readonly type: "address";
|
|
289
|
+
readonly indexed: true;
|
|
290
|
+
readonly internalType: "address";
|
|
291
|
+
}, {
|
|
292
|
+
readonly name: "operator";
|
|
293
|
+
readonly type: "address";
|
|
294
|
+
readonly indexed: true;
|
|
295
|
+
readonly internalType: "address";
|
|
296
|
+
}, {
|
|
297
|
+
readonly name: "approved";
|
|
298
|
+
readonly type: "bool";
|
|
299
|
+
readonly indexed: false;
|
|
300
|
+
readonly internalType: "bool";
|
|
301
|
+
}];
|
|
302
|
+
readonly anonymous: false;
|
|
303
|
+
}, {
|
|
304
|
+
readonly type: "event";
|
|
305
|
+
readonly name: "NewCreditFacadeAdded";
|
|
306
|
+
readonly inputs: readonly [{
|
|
307
|
+
readonly name: "";
|
|
308
|
+
readonly type: "address";
|
|
309
|
+
readonly indexed: true;
|
|
310
|
+
readonly internalType: "address";
|
|
311
|
+
}];
|
|
312
|
+
readonly anonymous: false;
|
|
313
|
+
}, {
|
|
314
|
+
readonly type: "event";
|
|
315
|
+
readonly name: "NewCreditFacadeRemoved";
|
|
316
|
+
readonly inputs: readonly [{
|
|
317
|
+
readonly name: "";
|
|
318
|
+
readonly type: "address";
|
|
319
|
+
readonly indexed: true;
|
|
320
|
+
readonly internalType: "address";
|
|
321
|
+
}];
|
|
322
|
+
readonly anonymous: false;
|
|
323
|
+
}, {
|
|
324
|
+
readonly type: "event";
|
|
325
|
+
readonly name: "NewMinterSet";
|
|
326
|
+
readonly inputs: readonly [{
|
|
327
|
+
readonly name: "";
|
|
328
|
+
readonly type: "address";
|
|
329
|
+
readonly indexed: true;
|
|
330
|
+
readonly internalType: "address";
|
|
331
|
+
}];
|
|
332
|
+
readonly anonymous: false;
|
|
333
|
+
}, {
|
|
334
|
+
readonly type: "event";
|
|
335
|
+
readonly name: "Transfer";
|
|
336
|
+
readonly inputs: readonly [{
|
|
337
|
+
readonly name: "from";
|
|
338
|
+
readonly type: "address";
|
|
339
|
+
readonly indexed: true;
|
|
340
|
+
readonly internalType: "address";
|
|
341
|
+
}, {
|
|
342
|
+
readonly name: "to";
|
|
343
|
+
readonly type: "address";
|
|
344
|
+
readonly indexed: true;
|
|
345
|
+
readonly internalType: "address";
|
|
346
|
+
}, {
|
|
347
|
+
readonly name: "tokenId";
|
|
348
|
+
readonly type: "uint256";
|
|
349
|
+
readonly indexed: true;
|
|
350
|
+
readonly internalType: "uint256";
|
|
351
|
+
}];
|
|
352
|
+
readonly anonymous: false;
|
|
353
|
+
}, {
|
|
354
|
+
readonly type: "error";
|
|
355
|
+
readonly name: "CreditFacadeOrConfiguratorOnlyException";
|
|
356
|
+
readonly inputs: readonly [];
|
|
357
|
+
}, {
|
|
358
|
+
readonly type: "error";
|
|
359
|
+
readonly name: "InsufficientBalanceException";
|
|
360
|
+
readonly inputs: readonly [];
|
|
361
|
+
}, {
|
|
362
|
+
readonly type: "error";
|
|
363
|
+
readonly name: "InvalidCreditFacadeException";
|
|
364
|
+
readonly inputs: readonly [];
|
|
365
|
+
}, {
|
|
366
|
+
readonly type: "error";
|
|
367
|
+
readonly name: "MinterOnlyException";
|
|
368
|
+
readonly inputs: readonly [];
|
|
369
|
+
}];
|