@tonappchain/sdk 0.7.0-rc24-test-7 → 0.7.0-rc24-test-8
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/artifacts/dev/tac/artifacts.d.ts +2 -24
- package/dist/artifacts/dev/tac/artifacts.js +4 -4
- package/dist/artifacts/dev/tac/internal/artifacts/@openzeppelin/contracts/token/{ERC20/ERC20.sol/ERC20.json → ERC721/IERC721.sol/IERC721.json} +116 -139
- package/dist/artifacts/dev/tac/internal/artifacts/contracts/interfaces/tokens/IERC20WithDecimals.sol/IERC20WithDecimals.json +207 -0
- package/dist/artifacts/{testnet/tac/internal/typechain-types/@openzeppelin/contracts/token/ERC721/ERC721.d.ts → dev/tac/internal/typechain-types/@openzeppelin/contracts/token/ERC721/IERC721.d.ts} +5 -17
- package/dist/artifacts/{mainnet/tac/internal/typechain-types/@openzeppelin/contracts/token/ERC20/ERC20.d.ts → dev/tac/internal/typechain-types/contracts/interfaces/tokens/IERC20WithDecimals.d.ts} +6 -14
- package/dist/artifacts/dev/tac/wrappers.d.ts +2 -2
- package/dist/artifacts/mainnet/tac/artifacts.d.ts +2 -24
- package/dist/artifacts/mainnet/tac/artifacts.js +4 -4
- package/dist/artifacts/{testnet/tac/internal/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.json → mainnet/tac/internal/artifacts/@openzeppelin/contracts/token/ERC721/IERC721.sol/IERC721.json} +116 -139
- package/dist/artifacts/mainnet/tac/internal/artifacts/contracts/interfaces/tokens/IERC20WithDecimals.sol/IERC20WithDecimals.json +207 -0
- package/dist/artifacts/mainnet/tac/internal/typechain-types/@openzeppelin/contracts/token/ERC721/{ERC721.d.ts → IERC721.d.ts} +5 -17
- package/dist/artifacts/{testnet/tac/internal/typechain-types/@openzeppelin/contracts/token/ERC20/ERC20.d.ts → mainnet/tac/internal/typechain-types/contracts/interfaces/tokens/IERC20WithDecimals.d.ts} +6 -14
- package/dist/artifacts/mainnet/tac/wrappers.d.ts +2 -2
- package/dist/artifacts/tacTypes.d.ts +2 -2
- package/dist/artifacts/testnet/tac/artifacts.d.ts +2 -24
- package/dist/artifacts/testnet/tac/artifacts.js +4 -4
- package/dist/artifacts/{mainnet/tac/internal/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.json → testnet/tac/internal/artifacts/@openzeppelin/contracts/token/ERC721/IERC721.sol/IERC721.json} +116 -139
- package/dist/artifacts/testnet/tac/internal/artifacts/contracts/interfaces/tokens/IERC20WithDecimals.sol/IERC20WithDecimals.json +207 -0
- package/dist/artifacts/{dev/tac/internal/typechain-types/@openzeppelin/contracts/token/ERC721/ERC721.d.ts → testnet/tac/internal/typechain-types/@openzeppelin/contracts/token/ERC721/IERC721.d.ts} +5 -17
- package/dist/artifacts/{dev/tac/internal/typechain-types/@openzeppelin/contracts/token/ERC20/ERC20.d.ts → testnet/tac/internal/typechain-types/contracts/interfaces/tokens/IERC20WithDecimals.d.ts} +6 -14
- package/dist/artifacts/testnet/tac/wrappers.d.ts +2 -2
- package/dist/src/assets/FT.js +2 -2
- package/dist/src/sdk/TACTransactionManager.js +2 -2
- package/package.json +1 -1
- package/dist/artifacts/dev/tac/internal/artifacts/@openzeppelin/contracts/token/ERC721/ERC721.sol/ERC721.json +0 -444
- package/dist/artifacts/mainnet/tac/internal/artifacts/@openzeppelin/contracts/token/ERC721/ERC721.sol/ERC721.json +0 -444
- package/dist/artifacts/testnet/tac/internal/artifacts/@openzeppelin/contracts/token/ERC721/ERC721.sol/ERC721.json +0 -444
- /package/dist/artifacts/dev/tac/internal/typechain-types/@openzeppelin/contracts/token/{ERC20/ERC20.js → ERC721/IERC721.js} +0 -0
- /package/dist/artifacts/dev/tac/internal/typechain-types/{@openzeppelin/contracts/token/ERC721/ERC721.js → contracts/interfaces/tokens/IERC20WithDecimals.js} +0 -0
- /package/dist/artifacts/mainnet/tac/internal/typechain-types/@openzeppelin/contracts/token/{ERC20/ERC20.js → ERC721/IERC721.js} +0 -0
- /package/dist/artifacts/mainnet/tac/internal/typechain-types/{@openzeppelin/contracts/token/ERC721/ERC721.js → contracts/interfaces/tokens/IERC20WithDecimals.js} +0 -0
- /package/dist/artifacts/testnet/tac/internal/typechain-types/@openzeppelin/contracts/token/{ERC20/ERC20.js → ERC721/IERC721.js} +0 -0
- /package/dist/artifacts/testnet/tac/internal/typechain-types/{@openzeppelin/contracts/token/ERC721/ERC721.js → contracts/interfaces/tokens/IERC20WithDecimals.js} +0 -0
|
@@ -253,22 +253,11 @@ export declare const compilationArtifacts: {
|
|
|
253
253
|
linkReferences: {};
|
|
254
254
|
deployedLinkReferences: {};
|
|
255
255
|
};
|
|
256
|
-
|
|
256
|
+
IERC20WithDecimals: {
|
|
257
257
|
_format: string;
|
|
258
258
|
contractName: string;
|
|
259
259
|
sourceName: string;
|
|
260
260
|
abi: ({
|
|
261
|
-
inputs: {
|
|
262
|
-
internalType: string;
|
|
263
|
-
name: string;
|
|
264
|
-
type: string;
|
|
265
|
-
}[];
|
|
266
|
-
name: string;
|
|
267
|
-
type: string;
|
|
268
|
-
anonymous?: undefined;
|
|
269
|
-
outputs?: undefined;
|
|
270
|
-
stateMutability?: undefined;
|
|
271
|
-
} | {
|
|
272
261
|
anonymous: boolean;
|
|
273
262
|
inputs: {
|
|
274
263
|
indexed: boolean;
|
|
@@ -301,22 +290,11 @@ export declare const compilationArtifacts: {
|
|
|
301
290
|
linkReferences: {};
|
|
302
291
|
deployedLinkReferences: {};
|
|
303
292
|
};
|
|
304
|
-
|
|
293
|
+
IERC721: {
|
|
305
294
|
_format: string;
|
|
306
295
|
contractName: string;
|
|
307
296
|
sourceName: string;
|
|
308
297
|
abi: ({
|
|
309
|
-
inputs: {
|
|
310
|
-
internalType: string;
|
|
311
|
-
name: string;
|
|
312
|
-
type: string;
|
|
313
|
-
}[];
|
|
314
|
-
name: string;
|
|
315
|
-
type: string;
|
|
316
|
-
anonymous?: undefined;
|
|
317
|
-
outputs?: undefined;
|
|
318
|
-
stateMutability?: undefined;
|
|
319
|
-
} | {
|
|
320
298
|
anonymous: boolean;
|
|
321
299
|
inputs: {
|
|
322
300
|
indexed: boolean;
|
|
@@ -11,8 +11,8 @@ const ICrossChainLayerERC20_json_1 = __importDefault(require("./internal/artifac
|
|
|
11
11
|
const ICrossChainLayerERC721_json_1 = __importDefault(require("./internal/artifacts/contracts/interfaces/tokens/ICrossChainLayerERC721.sol/ICrossChainLayerERC721.json"));
|
|
12
12
|
const ISAFactory_json_1 = __importDefault(require("./internal/artifacts/contracts/smart-account/interfaces/ISAFactory.sol/ISAFactory.json"));
|
|
13
13
|
const ITacSmartAccount_json_1 = __importDefault(require("./internal/artifacts/contracts/smart-account/interfaces/ITacSmartAccount.sol/ITacSmartAccount.json"));
|
|
14
|
-
const
|
|
15
|
-
const
|
|
14
|
+
const IERC20WithDecimals_json_1 = __importDefault(require("./internal/artifacts/contracts/interfaces/tokens/IERC20WithDecimals.sol/IERC20WithDecimals.json"));
|
|
15
|
+
const IERC721_json_1 = __importDefault(require("./internal/artifacts/@openzeppelin/contracts/token/ERC721/IERC721.sol/IERC721.json"));
|
|
16
16
|
exports.compilationArtifacts = {
|
|
17
17
|
ICrossChainLayer: ICrossChainLayer_json_1.default,
|
|
18
18
|
ISettings: ISettings_json_1.default,
|
|
@@ -21,6 +21,6 @@ exports.compilationArtifacts = {
|
|
|
21
21
|
ICrossChainLayerERC721: ICrossChainLayerERC721_json_1.default,
|
|
22
22
|
ISAFactory: ISAFactory_json_1.default,
|
|
23
23
|
ITacSmartAccount: ITacSmartAccount_json_1.default,
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
IERC20WithDecimals: IERC20WithDecimals_json_1.default,
|
|
25
|
+
IERC721: IERC721_json_1.default,
|
|
26
26
|
};
|
|
@@ -1,93 +1,32 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_format": "hh-sol-artifact-1",
|
|
3
|
-
"contractName": "
|
|
4
|
-
"sourceName": "@openzeppelin/contracts/token/
|
|
3
|
+
"contractName": "IERC721",
|
|
4
|
+
"sourceName": "@openzeppelin/contracts/token/ERC721/IERC721.sol",
|
|
5
5
|
"abi": [
|
|
6
6
|
{
|
|
7
|
+
"anonymous": false,
|
|
7
8
|
"inputs": [
|
|
8
9
|
{
|
|
10
|
+
"indexed": true,
|
|
9
11
|
"internalType": "address",
|
|
10
|
-
"name": "
|
|
12
|
+
"name": "owner",
|
|
11
13
|
"type": "address"
|
|
12
14
|
},
|
|
13
15
|
{
|
|
14
|
-
"
|
|
15
|
-
"name": "allowance",
|
|
16
|
-
"type": "uint256"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"internalType": "uint256",
|
|
20
|
-
"name": "needed",
|
|
21
|
-
"type": "uint256"
|
|
22
|
-
}
|
|
23
|
-
],
|
|
24
|
-
"name": "ERC20InsufficientAllowance",
|
|
25
|
-
"type": "error"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"inputs": [
|
|
29
|
-
{
|
|
16
|
+
"indexed": true,
|
|
30
17
|
"internalType": "address",
|
|
31
|
-
"name": "
|
|
18
|
+
"name": "approved",
|
|
32
19
|
"type": "address"
|
|
33
20
|
},
|
|
34
21
|
{
|
|
22
|
+
"indexed": true,
|
|
35
23
|
"internalType": "uint256",
|
|
36
|
-
"name": "
|
|
37
|
-
"type": "uint256"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"internalType": "uint256",
|
|
41
|
-
"name": "needed",
|
|
24
|
+
"name": "tokenId",
|
|
42
25
|
"type": "uint256"
|
|
43
26
|
}
|
|
44
27
|
],
|
|
45
|
-
"name": "
|
|
46
|
-
"type": "
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"inputs": [
|
|
50
|
-
{
|
|
51
|
-
"internalType": "address",
|
|
52
|
-
"name": "approver",
|
|
53
|
-
"type": "address"
|
|
54
|
-
}
|
|
55
|
-
],
|
|
56
|
-
"name": "ERC20InvalidApprover",
|
|
57
|
-
"type": "error"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"inputs": [
|
|
61
|
-
{
|
|
62
|
-
"internalType": "address",
|
|
63
|
-
"name": "receiver",
|
|
64
|
-
"type": "address"
|
|
65
|
-
}
|
|
66
|
-
],
|
|
67
|
-
"name": "ERC20InvalidReceiver",
|
|
68
|
-
"type": "error"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"inputs": [
|
|
72
|
-
{
|
|
73
|
-
"internalType": "address",
|
|
74
|
-
"name": "sender",
|
|
75
|
-
"type": "address"
|
|
76
|
-
}
|
|
77
|
-
],
|
|
78
|
-
"name": "ERC20InvalidSender",
|
|
79
|
-
"type": "error"
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"inputs": [
|
|
83
|
-
{
|
|
84
|
-
"internalType": "address",
|
|
85
|
-
"name": "spender",
|
|
86
|
-
"type": "address"
|
|
87
|
-
}
|
|
88
|
-
],
|
|
89
|
-
"name": "ERC20InvalidSpender",
|
|
90
|
-
"type": "error"
|
|
28
|
+
"name": "Approval",
|
|
29
|
+
"type": "event"
|
|
91
30
|
},
|
|
92
31
|
{
|
|
93
32
|
"anonymous": false,
|
|
@@ -101,17 +40,17 @@
|
|
|
101
40
|
{
|
|
102
41
|
"indexed": true,
|
|
103
42
|
"internalType": "address",
|
|
104
|
-
"name": "
|
|
43
|
+
"name": "operator",
|
|
105
44
|
"type": "address"
|
|
106
45
|
},
|
|
107
46
|
{
|
|
108
47
|
"indexed": false,
|
|
109
|
-
"internalType": "
|
|
110
|
-
"name": "
|
|
111
|
-
"type": "
|
|
48
|
+
"internalType": "bool",
|
|
49
|
+
"name": "approved",
|
|
50
|
+
"type": "bool"
|
|
112
51
|
}
|
|
113
52
|
],
|
|
114
|
-
"name": "
|
|
53
|
+
"name": "ApprovalForAll",
|
|
115
54
|
"type": "event"
|
|
116
55
|
},
|
|
117
56
|
{
|
|
@@ -130,9 +69,9 @@
|
|
|
130
69
|
"type": "address"
|
|
131
70
|
},
|
|
132
71
|
{
|
|
133
|
-
"indexed":
|
|
72
|
+
"indexed": true,
|
|
134
73
|
"internalType": "uint256",
|
|
135
|
-
"name": "
|
|
74
|
+
"name": "tokenId",
|
|
136
75
|
"type": "uint256"
|
|
137
76
|
}
|
|
138
77
|
],
|
|
@@ -143,20 +82,33 @@
|
|
|
143
82
|
"inputs": [
|
|
144
83
|
{
|
|
145
84
|
"internalType": "address",
|
|
146
|
-
"name": "
|
|
85
|
+
"name": "to",
|
|
147
86
|
"type": "address"
|
|
148
87
|
},
|
|
88
|
+
{
|
|
89
|
+
"internalType": "uint256",
|
|
90
|
+
"name": "tokenId",
|
|
91
|
+
"type": "uint256"
|
|
92
|
+
}
|
|
93
|
+
],
|
|
94
|
+
"name": "approve",
|
|
95
|
+
"outputs": [],
|
|
96
|
+
"stateMutability": "nonpayable",
|
|
97
|
+
"type": "function"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"inputs": [
|
|
149
101
|
{
|
|
150
102
|
"internalType": "address",
|
|
151
|
-
"name": "
|
|
103
|
+
"name": "owner",
|
|
152
104
|
"type": "address"
|
|
153
105
|
}
|
|
154
106
|
],
|
|
155
|
-
"name": "
|
|
107
|
+
"name": "balanceOf",
|
|
156
108
|
"outputs": [
|
|
157
109
|
{
|
|
158
110
|
"internalType": "uint256",
|
|
159
|
-
"name": "",
|
|
111
|
+
"name": "balance",
|
|
160
112
|
"type": "uint256"
|
|
161
113
|
}
|
|
162
114
|
],
|
|
@@ -165,113 +117,144 @@
|
|
|
165
117
|
},
|
|
166
118
|
{
|
|
167
119
|
"inputs": [
|
|
168
|
-
{
|
|
169
|
-
"internalType": "address",
|
|
170
|
-
"name": "spender",
|
|
171
|
-
"type": "address"
|
|
172
|
-
},
|
|
173
120
|
{
|
|
174
121
|
"internalType": "uint256",
|
|
175
|
-
"name": "
|
|
122
|
+
"name": "tokenId",
|
|
176
123
|
"type": "uint256"
|
|
177
124
|
}
|
|
178
125
|
],
|
|
179
|
-
"name": "
|
|
126
|
+
"name": "getApproved",
|
|
180
127
|
"outputs": [
|
|
181
128
|
{
|
|
182
|
-
"internalType": "
|
|
183
|
-
"name": "",
|
|
184
|
-
"type": "
|
|
129
|
+
"internalType": "address",
|
|
130
|
+
"name": "operator",
|
|
131
|
+
"type": "address"
|
|
185
132
|
}
|
|
186
133
|
],
|
|
187
|
-
"stateMutability": "
|
|
134
|
+
"stateMutability": "view",
|
|
188
135
|
"type": "function"
|
|
189
136
|
},
|
|
190
137
|
{
|
|
191
138
|
"inputs": [
|
|
192
139
|
{
|
|
193
140
|
"internalType": "address",
|
|
194
|
-
"name": "
|
|
141
|
+
"name": "owner",
|
|
142
|
+
"type": "address"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"internalType": "address",
|
|
146
|
+
"name": "operator",
|
|
195
147
|
"type": "address"
|
|
196
148
|
}
|
|
197
149
|
],
|
|
198
|
-
"name": "
|
|
150
|
+
"name": "isApprovedForAll",
|
|
199
151
|
"outputs": [
|
|
200
152
|
{
|
|
201
|
-
"internalType": "
|
|
153
|
+
"internalType": "bool",
|
|
202
154
|
"name": "",
|
|
203
|
-
"type": "
|
|
155
|
+
"type": "bool"
|
|
204
156
|
}
|
|
205
157
|
],
|
|
206
158
|
"stateMutability": "view",
|
|
207
159
|
"type": "function"
|
|
208
160
|
},
|
|
209
161
|
{
|
|
210
|
-
"inputs": [
|
|
211
|
-
"name": "decimals",
|
|
212
|
-
"outputs": [
|
|
162
|
+
"inputs": [
|
|
213
163
|
{
|
|
214
|
-
"internalType": "
|
|
215
|
-
"name": "",
|
|
216
|
-
"type": "
|
|
164
|
+
"internalType": "uint256",
|
|
165
|
+
"name": "tokenId",
|
|
166
|
+
"type": "uint256"
|
|
217
167
|
}
|
|
218
168
|
],
|
|
219
|
-
"
|
|
220
|
-
"type": "function"
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
"inputs": [],
|
|
224
|
-
"name": "name",
|
|
169
|
+
"name": "ownerOf",
|
|
225
170
|
"outputs": [
|
|
226
171
|
{
|
|
227
|
-
"internalType": "
|
|
228
|
-
"name": "",
|
|
229
|
-
"type": "
|
|
172
|
+
"internalType": "address",
|
|
173
|
+
"name": "owner",
|
|
174
|
+
"type": "address"
|
|
230
175
|
}
|
|
231
176
|
],
|
|
232
177
|
"stateMutability": "view",
|
|
233
178
|
"type": "function"
|
|
234
179
|
},
|
|
235
180
|
{
|
|
236
|
-
"inputs": [
|
|
237
|
-
"name": "symbol",
|
|
238
|
-
"outputs": [
|
|
181
|
+
"inputs": [
|
|
239
182
|
{
|
|
240
|
-
"internalType": "
|
|
241
|
-
"name": "",
|
|
242
|
-
"type": "
|
|
183
|
+
"internalType": "address",
|
|
184
|
+
"name": "from",
|
|
185
|
+
"type": "address"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"internalType": "address",
|
|
189
|
+
"name": "to",
|
|
190
|
+
"type": "address"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"internalType": "uint256",
|
|
194
|
+
"name": "tokenId",
|
|
195
|
+
"type": "uint256"
|
|
243
196
|
}
|
|
244
197
|
],
|
|
245
|
-
"
|
|
198
|
+
"name": "safeTransferFrom",
|
|
199
|
+
"outputs": [],
|
|
200
|
+
"stateMutability": "nonpayable",
|
|
246
201
|
"type": "function"
|
|
247
202
|
},
|
|
248
203
|
{
|
|
249
|
-
"inputs": [
|
|
250
|
-
|
|
251
|
-
|
|
204
|
+
"inputs": [
|
|
205
|
+
{
|
|
206
|
+
"internalType": "address",
|
|
207
|
+
"name": "from",
|
|
208
|
+
"type": "address"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"internalType": "address",
|
|
212
|
+
"name": "to",
|
|
213
|
+
"type": "address"
|
|
214
|
+
},
|
|
252
215
|
{
|
|
253
216
|
"internalType": "uint256",
|
|
254
|
-
"name": "",
|
|
217
|
+
"name": "tokenId",
|
|
255
218
|
"type": "uint256"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"internalType": "bytes",
|
|
222
|
+
"name": "data",
|
|
223
|
+
"type": "bytes"
|
|
256
224
|
}
|
|
257
225
|
],
|
|
258
|
-
"
|
|
226
|
+
"name": "safeTransferFrom",
|
|
227
|
+
"outputs": [],
|
|
228
|
+
"stateMutability": "nonpayable",
|
|
259
229
|
"type": "function"
|
|
260
230
|
},
|
|
261
231
|
{
|
|
262
232
|
"inputs": [
|
|
263
233
|
{
|
|
264
234
|
"internalType": "address",
|
|
265
|
-
"name": "
|
|
235
|
+
"name": "operator",
|
|
266
236
|
"type": "address"
|
|
267
237
|
},
|
|
268
238
|
{
|
|
269
|
-
"internalType": "
|
|
270
|
-
"name": "
|
|
271
|
-
"type": "
|
|
239
|
+
"internalType": "bool",
|
|
240
|
+
"name": "approved",
|
|
241
|
+
"type": "bool"
|
|
272
242
|
}
|
|
273
243
|
],
|
|
274
|
-
"name": "
|
|
244
|
+
"name": "setApprovalForAll",
|
|
245
|
+
"outputs": [],
|
|
246
|
+
"stateMutability": "nonpayable",
|
|
247
|
+
"type": "function"
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"inputs": [
|
|
251
|
+
{
|
|
252
|
+
"internalType": "bytes4",
|
|
253
|
+
"name": "interfaceId",
|
|
254
|
+
"type": "bytes4"
|
|
255
|
+
}
|
|
256
|
+
],
|
|
257
|
+
"name": "supportsInterface",
|
|
275
258
|
"outputs": [
|
|
276
259
|
{
|
|
277
260
|
"internalType": "bool",
|
|
@@ -279,7 +262,7 @@
|
|
|
279
262
|
"type": "bool"
|
|
280
263
|
}
|
|
281
264
|
],
|
|
282
|
-
"stateMutability": "
|
|
265
|
+
"stateMutability": "view",
|
|
283
266
|
"type": "function"
|
|
284
267
|
},
|
|
285
268
|
{
|
|
@@ -296,18 +279,12 @@
|
|
|
296
279
|
},
|
|
297
280
|
{
|
|
298
281
|
"internalType": "uint256",
|
|
299
|
-
"name": "
|
|
282
|
+
"name": "tokenId",
|
|
300
283
|
"type": "uint256"
|
|
301
284
|
}
|
|
302
285
|
],
|
|
303
286
|
"name": "transferFrom",
|
|
304
|
-
"outputs": [
|
|
305
|
-
{
|
|
306
|
-
"internalType": "bool",
|
|
307
|
-
"name": "",
|
|
308
|
-
"type": "bool"
|
|
309
|
-
}
|
|
310
|
-
],
|
|
287
|
+
"outputs": [],
|
|
311
288
|
"stateMutability": "nonpayable",
|
|
312
289
|
"type": "function"
|
|
313
290
|
}
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "IERC20WithDecimals",
|
|
4
|
+
"sourceName": "contracts/interfaces/tokens/IERC20WithDecimals.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"anonymous": false,
|
|
8
|
+
"inputs": [
|
|
9
|
+
{
|
|
10
|
+
"indexed": true,
|
|
11
|
+
"internalType": "address",
|
|
12
|
+
"name": "owner",
|
|
13
|
+
"type": "address"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"indexed": true,
|
|
17
|
+
"internalType": "address",
|
|
18
|
+
"name": "spender",
|
|
19
|
+
"type": "address"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"indexed": false,
|
|
23
|
+
"internalType": "uint256",
|
|
24
|
+
"name": "value",
|
|
25
|
+
"type": "uint256"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"name": "Approval",
|
|
29
|
+
"type": "event"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"anonymous": false,
|
|
33
|
+
"inputs": [
|
|
34
|
+
{
|
|
35
|
+
"indexed": true,
|
|
36
|
+
"internalType": "address",
|
|
37
|
+
"name": "from",
|
|
38
|
+
"type": "address"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"indexed": true,
|
|
42
|
+
"internalType": "address",
|
|
43
|
+
"name": "to",
|
|
44
|
+
"type": "address"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"indexed": false,
|
|
48
|
+
"internalType": "uint256",
|
|
49
|
+
"name": "value",
|
|
50
|
+
"type": "uint256"
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"name": "Transfer",
|
|
54
|
+
"type": "event"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"inputs": [
|
|
58
|
+
{
|
|
59
|
+
"internalType": "address",
|
|
60
|
+
"name": "owner",
|
|
61
|
+
"type": "address"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"internalType": "address",
|
|
65
|
+
"name": "spender",
|
|
66
|
+
"type": "address"
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"name": "allowance",
|
|
70
|
+
"outputs": [
|
|
71
|
+
{
|
|
72
|
+
"internalType": "uint256",
|
|
73
|
+
"name": "",
|
|
74
|
+
"type": "uint256"
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
"stateMutability": "view",
|
|
78
|
+
"type": "function"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"inputs": [
|
|
82
|
+
{
|
|
83
|
+
"internalType": "address",
|
|
84
|
+
"name": "spender",
|
|
85
|
+
"type": "address"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"internalType": "uint256",
|
|
89
|
+
"name": "value",
|
|
90
|
+
"type": "uint256"
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
"name": "approve",
|
|
94
|
+
"outputs": [
|
|
95
|
+
{
|
|
96
|
+
"internalType": "bool",
|
|
97
|
+
"name": "",
|
|
98
|
+
"type": "bool"
|
|
99
|
+
}
|
|
100
|
+
],
|
|
101
|
+
"stateMutability": "nonpayable",
|
|
102
|
+
"type": "function"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"inputs": [
|
|
106
|
+
{
|
|
107
|
+
"internalType": "address",
|
|
108
|
+
"name": "account",
|
|
109
|
+
"type": "address"
|
|
110
|
+
}
|
|
111
|
+
],
|
|
112
|
+
"name": "balanceOf",
|
|
113
|
+
"outputs": [
|
|
114
|
+
{
|
|
115
|
+
"internalType": "uint256",
|
|
116
|
+
"name": "",
|
|
117
|
+
"type": "uint256"
|
|
118
|
+
}
|
|
119
|
+
],
|
|
120
|
+
"stateMutability": "view",
|
|
121
|
+
"type": "function"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"inputs": [],
|
|
125
|
+
"name": "decimals",
|
|
126
|
+
"outputs": [
|
|
127
|
+
{
|
|
128
|
+
"internalType": "uint8",
|
|
129
|
+
"name": "",
|
|
130
|
+
"type": "uint8"
|
|
131
|
+
}
|
|
132
|
+
],
|
|
133
|
+
"stateMutability": "view",
|
|
134
|
+
"type": "function"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"inputs": [],
|
|
138
|
+
"name": "totalSupply",
|
|
139
|
+
"outputs": [
|
|
140
|
+
{
|
|
141
|
+
"internalType": "uint256",
|
|
142
|
+
"name": "",
|
|
143
|
+
"type": "uint256"
|
|
144
|
+
}
|
|
145
|
+
],
|
|
146
|
+
"stateMutability": "view",
|
|
147
|
+
"type": "function"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"inputs": [
|
|
151
|
+
{
|
|
152
|
+
"internalType": "address",
|
|
153
|
+
"name": "to",
|
|
154
|
+
"type": "address"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"internalType": "uint256",
|
|
158
|
+
"name": "value",
|
|
159
|
+
"type": "uint256"
|
|
160
|
+
}
|
|
161
|
+
],
|
|
162
|
+
"name": "transfer",
|
|
163
|
+
"outputs": [
|
|
164
|
+
{
|
|
165
|
+
"internalType": "bool",
|
|
166
|
+
"name": "",
|
|
167
|
+
"type": "bool"
|
|
168
|
+
}
|
|
169
|
+
],
|
|
170
|
+
"stateMutability": "nonpayable",
|
|
171
|
+
"type": "function"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"inputs": [
|
|
175
|
+
{
|
|
176
|
+
"internalType": "address",
|
|
177
|
+
"name": "from",
|
|
178
|
+
"type": "address"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"internalType": "address",
|
|
182
|
+
"name": "to",
|
|
183
|
+
"type": "address"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"internalType": "uint256",
|
|
187
|
+
"name": "value",
|
|
188
|
+
"type": "uint256"
|
|
189
|
+
}
|
|
190
|
+
],
|
|
191
|
+
"name": "transferFrom",
|
|
192
|
+
"outputs": [
|
|
193
|
+
{
|
|
194
|
+
"internalType": "bool",
|
|
195
|
+
"name": "",
|
|
196
|
+
"type": "bool"
|
|
197
|
+
}
|
|
198
|
+
],
|
|
199
|
+
"stateMutability": "nonpayable",
|
|
200
|
+
"type": "function"
|
|
201
|
+
}
|
|
202
|
+
],
|
|
203
|
+
"bytecode": "0x",
|
|
204
|
+
"deployedBytecode": "0x",
|
|
205
|
+
"linkReferences": {},
|
|
206
|
+
"deployedLinkReferences": {}
|
|
207
|
+
}
|