@hanamesh/api-contracts 0.0.0-stage → 0.22.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/LICENSE +21 -0
- package/README.md +10 -2
- package/contracts/chain/quote-v2/BatchVestingDistributorQuoteV2.json +3601 -0
- package/contracts/chain/quote-v2/HanaBondFactoryQuoteV2.json +953 -0
- package/contracts/chain/quote-v2/HanaBondQuoteV2.json +2951 -0
- package/contracts/chain/quote-v2/HanaLauncherQuoteV2.json +2820 -0
- package/contracts/chain/quote-v2/HanaTokenQuoteV2.json +817 -0
- package/contracts/chain/quote-v2/WETH9.json +610 -0
- package/contracts/chain/quote-v2/index.d.ts +3 -0
- package/contracts/chain/quote-v2/index.js +1 -0
- package/contracts/chain/quote-v2/manifest.json +125 -0
- package/contracts/chain/quote-v2/provenance.json +20 -0
- package/contracts/chain/quote-v2/provider.d.ts +90 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/package.json +52 -4
|
@@ -0,0 +1,817 @@
|
|
|
1
|
+
{
|
|
2
|
+
"contract": "HanaTokenQuoteV2",
|
|
3
|
+
"version": "release-quote-v2",
|
|
4
|
+
"abi": [
|
|
5
|
+
{
|
|
6
|
+
"type": "constructor",
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"name": "name_",
|
|
10
|
+
"type": "string",
|
|
11
|
+
"internalType": "string"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "symbol_",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"internalType": "string"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "supply_",
|
|
20
|
+
"type": "uint256",
|
|
21
|
+
"internalType": "uint256"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"stateMutability": "nonpayable"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"type": "function",
|
|
28
|
+
"name": "allowance",
|
|
29
|
+
"inputs": [
|
|
30
|
+
{
|
|
31
|
+
"name": "owner",
|
|
32
|
+
"type": "address",
|
|
33
|
+
"internalType": "address"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "spender",
|
|
37
|
+
"type": "address",
|
|
38
|
+
"internalType": "address"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"outputs": [
|
|
42
|
+
{
|
|
43
|
+
"name": "",
|
|
44
|
+
"type": "uint256",
|
|
45
|
+
"internalType": "uint256"
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"stateMutability": "view"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"type": "function",
|
|
52
|
+
"name": "approve",
|
|
53
|
+
"inputs": [
|
|
54
|
+
{
|
|
55
|
+
"name": "spender",
|
|
56
|
+
"type": "address",
|
|
57
|
+
"internalType": "address"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "value",
|
|
61
|
+
"type": "uint256",
|
|
62
|
+
"internalType": "uint256"
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"outputs": [
|
|
66
|
+
{
|
|
67
|
+
"name": "",
|
|
68
|
+
"type": "bool",
|
|
69
|
+
"internalType": "bool"
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
"stateMutability": "nonpayable"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"type": "function",
|
|
76
|
+
"name": "balanceOf",
|
|
77
|
+
"inputs": [
|
|
78
|
+
{
|
|
79
|
+
"name": "account",
|
|
80
|
+
"type": "address",
|
|
81
|
+
"internalType": "address"
|
|
82
|
+
}
|
|
83
|
+
],
|
|
84
|
+
"outputs": [
|
|
85
|
+
{
|
|
86
|
+
"name": "",
|
|
87
|
+
"type": "uint256",
|
|
88
|
+
"internalType": "uint256"
|
|
89
|
+
}
|
|
90
|
+
],
|
|
91
|
+
"stateMutability": "view"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"type": "function",
|
|
95
|
+
"name": "decimals",
|
|
96
|
+
"inputs": [],
|
|
97
|
+
"outputs": [
|
|
98
|
+
{
|
|
99
|
+
"name": "",
|
|
100
|
+
"type": "uint8",
|
|
101
|
+
"internalType": "uint8"
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
"stateMutability": "view"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"type": "function",
|
|
108
|
+
"name": "launcher",
|
|
109
|
+
"inputs": [],
|
|
110
|
+
"outputs": [
|
|
111
|
+
{
|
|
112
|
+
"name": "",
|
|
113
|
+
"type": "address",
|
|
114
|
+
"internalType": "address"
|
|
115
|
+
}
|
|
116
|
+
],
|
|
117
|
+
"stateMutability": "view"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"type": "function",
|
|
121
|
+
"name": "name",
|
|
122
|
+
"inputs": [],
|
|
123
|
+
"outputs": [
|
|
124
|
+
{
|
|
125
|
+
"name": "",
|
|
126
|
+
"type": "string",
|
|
127
|
+
"internalType": "string"
|
|
128
|
+
}
|
|
129
|
+
],
|
|
130
|
+
"stateMutability": "view"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"type": "function",
|
|
134
|
+
"name": "symbol",
|
|
135
|
+
"inputs": [],
|
|
136
|
+
"outputs": [
|
|
137
|
+
{
|
|
138
|
+
"name": "",
|
|
139
|
+
"type": "string",
|
|
140
|
+
"internalType": "string"
|
|
141
|
+
}
|
|
142
|
+
],
|
|
143
|
+
"stateMutability": "view"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"type": "function",
|
|
147
|
+
"name": "totalSupply",
|
|
148
|
+
"inputs": [],
|
|
149
|
+
"outputs": [
|
|
150
|
+
{
|
|
151
|
+
"name": "",
|
|
152
|
+
"type": "uint256",
|
|
153
|
+
"internalType": "uint256"
|
|
154
|
+
}
|
|
155
|
+
],
|
|
156
|
+
"stateMutability": "view"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"type": "function",
|
|
160
|
+
"name": "transfer",
|
|
161
|
+
"inputs": [
|
|
162
|
+
{
|
|
163
|
+
"name": "to",
|
|
164
|
+
"type": "address",
|
|
165
|
+
"internalType": "address"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"name": "value",
|
|
169
|
+
"type": "uint256",
|
|
170
|
+
"internalType": "uint256"
|
|
171
|
+
}
|
|
172
|
+
],
|
|
173
|
+
"outputs": [
|
|
174
|
+
{
|
|
175
|
+
"name": "",
|
|
176
|
+
"type": "bool",
|
|
177
|
+
"internalType": "bool"
|
|
178
|
+
}
|
|
179
|
+
],
|
|
180
|
+
"stateMutability": "nonpayable"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"type": "function",
|
|
184
|
+
"name": "transferFrom",
|
|
185
|
+
"inputs": [
|
|
186
|
+
{
|
|
187
|
+
"name": "from",
|
|
188
|
+
"type": "address",
|
|
189
|
+
"internalType": "address"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"name": "to",
|
|
193
|
+
"type": "address",
|
|
194
|
+
"internalType": "address"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"name": "value",
|
|
198
|
+
"type": "uint256",
|
|
199
|
+
"internalType": "uint256"
|
|
200
|
+
}
|
|
201
|
+
],
|
|
202
|
+
"outputs": [
|
|
203
|
+
{
|
|
204
|
+
"name": "",
|
|
205
|
+
"type": "bool",
|
|
206
|
+
"internalType": "bool"
|
|
207
|
+
}
|
|
208
|
+
],
|
|
209
|
+
"stateMutability": "nonpayable"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"type": "event",
|
|
213
|
+
"name": "Approval",
|
|
214
|
+
"inputs": [
|
|
215
|
+
{
|
|
216
|
+
"name": "owner",
|
|
217
|
+
"type": "address",
|
|
218
|
+
"indexed": true,
|
|
219
|
+
"internalType": "address"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"name": "spender",
|
|
223
|
+
"type": "address",
|
|
224
|
+
"indexed": true,
|
|
225
|
+
"internalType": "address"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"name": "value",
|
|
229
|
+
"type": "uint256",
|
|
230
|
+
"indexed": false,
|
|
231
|
+
"internalType": "uint256"
|
|
232
|
+
}
|
|
233
|
+
],
|
|
234
|
+
"anonymous": false
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"type": "event",
|
|
238
|
+
"name": "Transfer",
|
|
239
|
+
"inputs": [
|
|
240
|
+
{
|
|
241
|
+
"name": "from",
|
|
242
|
+
"type": "address",
|
|
243
|
+
"indexed": true,
|
|
244
|
+
"internalType": "address"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"name": "to",
|
|
248
|
+
"type": "address",
|
|
249
|
+
"indexed": true,
|
|
250
|
+
"internalType": "address"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"name": "value",
|
|
254
|
+
"type": "uint256",
|
|
255
|
+
"indexed": false,
|
|
256
|
+
"internalType": "uint256"
|
|
257
|
+
}
|
|
258
|
+
],
|
|
259
|
+
"anonymous": false
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"type": "error",
|
|
263
|
+
"name": "ERC20InsufficientAllowance",
|
|
264
|
+
"inputs": [
|
|
265
|
+
{
|
|
266
|
+
"name": "spender",
|
|
267
|
+
"type": "address",
|
|
268
|
+
"internalType": "address"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"name": "allowance",
|
|
272
|
+
"type": "uint256",
|
|
273
|
+
"internalType": "uint256"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"name": "needed",
|
|
277
|
+
"type": "uint256",
|
|
278
|
+
"internalType": "uint256"
|
|
279
|
+
}
|
|
280
|
+
]
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"type": "error",
|
|
284
|
+
"name": "ERC20InsufficientBalance",
|
|
285
|
+
"inputs": [
|
|
286
|
+
{
|
|
287
|
+
"name": "sender",
|
|
288
|
+
"type": "address",
|
|
289
|
+
"internalType": "address"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"name": "balance",
|
|
293
|
+
"type": "uint256",
|
|
294
|
+
"internalType": "uint256"
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"name": "needed",
|
|
298
|
+
"type": "uint256",
|
|
299
|
+
"internalType": "uint256"
|
|
300
|
+
}
|
|
301
|
+
]
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"type": "error",
|
|
305
|
+
"name": "ERC20InvalidApprover",
|
|
306
|
+
"inputs": [
|
|
307
|
+
{
|
|
308
|
+
"name": "approver",
|
|
309
|
+
"type": "address",
|
|
310
|
+
"internalType": "address"
|
|
311
|
+
}
|
|
312
|
+
]
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"type": "error",
|
|
316
|
+
"name": "ERC20InvalidReceiver",
|
|
317
|
+
"inputs": [
|
|
318
|
+
{
|
|
319
|
+
"name": "receiver",
|
|
320
|
+
"type": "address",
|
|
321
|
+
"internalType": "address"
|
|
322
|
+
}
|
|
323
|
+
]
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"type": "error",
|
|
327
|
+
"name": "ERC20InvalidSender",
|
|
328
|
+
"inputs": [
|
|
329
|
+
{
|
|
330
|
+
"name": "sender",
|
|
331
|
+
"type": "address",
|
|
332
|
+
"internalType": "address"
|
|
333
|
+
}
|
|
334
|
+
]
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"type": "error",
|
|
338
|
+
"name": "ERC20InvalidSpender",
|
|
339
|
+
"inputs": [
|
|
340
|
+
{
|
|
341
|
+
"name": "spender",
|
|
342
|
+
"type": "address",
|
|
343
|
+
"internalType": "address"
|
|
344
|
+
}
|
|
345
|
+
]
|
|
346
|
+
}
|
|
347
|
+
],
|
|
348
|
+
"creationBytecode": "0x60a060405234801561001057600080fd5b50604051610bed380380610bed83398101604081905261002f91610287565b8282600361003d8382610382565b50600461004a8282610382565b505033608081905261005d915082610065565b505050610467565b6001600160a01b0382166100945760405163ec442f0560e01b8152600060048201526024015b60405180910390fd5b6100a0600083836100a4565b5050565b6001600160a01b0383166100cf5780600260008282546100c49190610440565b909155506101419050565b6001600160a01b038316600090815260208190526040902054818110156101225760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161008b565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661015d5760028054829003905561017c565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516101c191815260200190565b60405180910390a3505050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126101f557600080fd5b81516001600160401b0381111561020e5761020e6101ce565b604051601f8201601f19908116603f011681016001600160401b038111828210171561023c5761023c6101ce565b60405281815283820160200185101561025457600080fd5b60005b8281101561027357602081860181015183830182015201610257565b506000918101602001919091529392505050565b60008060006060848603121561029c57600080fd5b83516001600160401b038111156102b257600080fd5b6102be868287016101e4565b602086015190945090506001600160401b038111156102dc57600080fd5b6102e8868287016101e4565b925050604084015190509250925092565b600181811c9082168061030d57607f821691505b60208210810361032d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561037d57806000526020600020601f840160051c8101602085101561035a5750805b601f840160051c820191505b8181101561037a5760008155600101610366565b50505b505050565b81516001600160401b0381111561039b5761039b6101ce565b6103af816103a984546102f9565b84610333565b6020601f8211600181146103e357600083156103cb5750848201515b600019600385901b1c1916600184901b17845561037a565b600084815260208120601f198516915b8281101561041357878501518255602094850194600190920191016103f3565b50848210156104315786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b8082018082111561046157634e487b7160e01b600052601160045260246000fd5b92915050565b60805161076c610481600039600060e9015261076c6000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c8063313ce56711610066578063313ce5671461014857806370a082311461015757806395d89b4114610180578063a9059cbb14610188578063dd62ed3e1461019b57600080fd5b806306fdde03146100a3578063095ea7b3146100c157806316eebd1e146100e457806318160ddd1461012357806323b872dd14610135575b600080fd5b6100ab6101d4565b6040516100b891906105b5565b60405180910390f35b6100d46100cf36600461061f565b610266565b60405190151581526020016100b8565b61010b7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100b8565b6002545b6040519081526020016100b8565b6100d4610143366004610649565b610280565b604051601281526020016100b8565b610127610165366004610686565b6001600160a01b031660009081526020819052604090205490565b6100ab6102a4565b6100d461019636600461061f565b6102b3565b6101276101a93660046106a8565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6060600380546101e3906106db565b80601f016020809104026020016040519081016040528092919081815260200182805461020f906106db565b801561025c5780601f106102315761010080835404028352916020019161025c565b820191906000526020600020905b81548152906001019060200180831161023f57829003601f168201915b5050505050905090565b6000336102748185856102c1565b60019150505b92915050565b60003361028e8582856102d3565b610299858585610357565b506001949350505050565b6060600480546101e3906106db565b600033610274818585610357565b6102ce83838360016103b6565b505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811015610351578181101561034257604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064015b60405180910390fd5b610351848484840360006103b6565b50505050565b6001600160a01b03831661038157604051634b637e8f60e11b815260006004820152602401610339565b6001600160a01b0382166103ab5760405163ec442f0560e01b815260006004820152602401610339565b6102ce83838361048b565b6001600160a01b0384166103e05760405163e602df0560e01b815260006004820152602401610339565b6001600160a01b03831661040a57604051634a1406b160e11b815260006004820152602401610339565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561035157826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161047d91815260200190565b60405180910390a350505050565b6001600160a01b0383166104b65780600260008282546104ab9190610715565b909155506105289050565b6001600160a01b038316600090815260208190526040902054818110156105095760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610339565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661054457600280548290039055610563565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516105a891815260200190565b60405180910390a3505050565b602081526000825180602084015260005b818110156105e357602081860181015160408684010152016105c6565b506000604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b038116811461061a57600080fd5b919050565b6000806040838503121561063257600080fd5b61063b83610603565b946020939093013593505050565b60008060006060848603121561065e57600080fd5b61066784610603565b925061067560208501610603565b929592945050506040919091013590565b60006020828403121561069857600080fd5b6106a182610603565b9392505050565b600080604083850312156106bb57600080fd5b6106c483610603565b91506106d260208401610603565b90509250929050565b600181811c908216806106ef57607f821691505b60208210810361070f57634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561027a57634e487b7160e01b600052601160045260246000fdfea2646970667358221220ce274a90784d1b26745c238dfbf9f2b5591ab11bc683e82a49467155c3ad9e4364736f6c634300081a0033",
|
|
349
|
+
"runtimeTemplate": "0x608060405234801561001057600080fd5b506004361061009e5760003560e01c8063313ce56711610066578063313ce5671461014857806370a082311461015757806395d89b4114610180578063a9059cbb14610188578063dd62ed3e1461019b57600080fd5b806306fdde03146100a3578063095ea7b3146100c157806316eebd1e146100e457806318160ddd1461012357806323b872dd14610135575b600080fd5b6100ab6101d4565b6040516100b891906105b5565b60405180910390f35b6100d46100cf36600461061f565b610266565b60405190151581526020016100b8565b61010b7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100b8565b6002545b6040519081526020016100b8565b6100d4610143366004610649565b610280565b604051601281526020016100b8565b610127610165366004610686565b6001600160a01b031660009081526020819052604090205490565b6100ab6102a4565b6100d461019636600461061f565b6102b3565b6101276101a93660046106a8565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6060600380546101e3906106db565b80601f016020809104026020016040519081016040528092919081815260200182805461020f906106db565b801561025c5780601f106102315761010080835404028352916020019161025c565b820191906000526020600020905b81548152906001019060200180831161023f57829003601f168201915b5050505050905090565b6000336102748185856102c1565b60019150505b92915050565b60003361028e8582856102d3565b610299858585610357565b506001949350505050565b6060600480546101e3906106db565b600033610274818585610357565b6102ce83838360016103b6565b505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811015610351578181101561034257604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064015b60405180910390fd5b610351848484840360006103b6565b50505050565b6001600160a01b03831661038157604051634b637e8f60e11b815260006004820152602401610339565b6001600160a01b0382166103ab5760405163ec442f0560e01b815260006004820152602401610339565b6102ce83838361048b565b6001600160a01b0384166103e05760405163e602df0560e01b815260006004820152602401610339565b6001600160a01b03831661040a57604051634a1406b160e11b815260006004820152602401610339565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561035157826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161047d91815260200190565b60405180910390a350505050565b6001600160a01b0383166104b65780600260008282546104ab9190610715565b909155506105289050565b6001600160a01b038316600090815260208190526040902054818110156105095760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610339565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661054457600280548290039055610563565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516105a891815260200190565b60405180910390a3505050565b602081526000825180602084015260005b818110156105e357602081860181015160408684010152016105c6565b506000604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b038116811461061a57600080fd5b919050565b6000806040838503121561063257600080fd5b61063b83610603565b946020939093013593505050565b60008060006060848603121561065e57600080fd5b61066784610603565b925061067560208501610603565b929592945050506040919091013590565b60006020828403121561069857600080fd5b6106a182610603565b9392505050565b600080604083850312156106bb57600080fd5b6106c483610603565b91506106d260208401610603565b90509250929050565b600181811c908216806106ef57607f821691505b60208210810361070f57634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561027a57634e487b7160e01b600052601160045260246000fdfea2646970667358221220ce274a90784d1b26745c238dfbf9f2b5591ab11bc683e82a49467155c3ad9e4364736f6c634300081a0033",
|
|
350
|
+
"metadata": {
|
|
351
|
+
"compiler": {
|
|
352
|
+
"version": "0.8.26+commit.8a97fa7a"
|
|
353
|
+
},
|
|
354
|
+
"language": "Solidity",
|
|
355
|
+
"output": {
|
|
356
|
+
"abi": [
|
|
357
|
+
{
|
|
358
|
+
"inputs": [
|
|
359
|
+
{
|
|
360
|
+
"internalType": "string",
|
|
361
|
+
"name": "name_",
|
|
362
|
+
"type": "string"
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
"internalType": "string",
|
|
366
|
+
"name": "symbol_",
|
|
367
|
+
"type": "string"
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"internalType": "uint256",
|
|
371
|
+
"name": "supply_",
|
|
372
|
+
"type": "uint256"
|
|
373
|
+
}
|
|
374
|
+
],
|
|
375
|
+
"stateMutability": "nonpayable",
|
|
376
|
+
"type": "constructor"
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"inputs": [
|
|
380
|
+
{
|
|
381
|
+
"internalType": "address",
|
|
382
|
+
"name": "spender",
|
|
383
|
+
"type": "address"
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
"internalType": "uint256",
|
|
387
|
+
"name": "allowance",
|
|
388
|
+
"type": "uint256"
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"internalType": "uint256",
|
|
392
|
+
"name": "needed",
|
|
393
|
+
"type": "uint256"
|
|
394
|
+
}
|
|
395
|
+
],
|
|
396
|
+
"type": "error",
|
|
397
|
+
"name": "ERC20InsufficientAllowance"
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"inputs": [
|
|
401
|
+
{
|
|
402
|
+
"internalType": "address",
|
|
403
|
+
"name": "sender",
|
|
404
|
+
"type": "address"
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"internalType": "uint256",
|
|
408
|
+
"name": "balance",
|
|
409
|
+
"type": "uint256"
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"internalType": "uint256",
|
|
413
|
+
"name": "needed",
|
|
414
|
+
"type": "uint256"
|
|
415
|
+
}
|
|
416
|
+
],
|
|
417
|
+
"type": "error",
|
|
418
|
+
"name": "ERC20InsufficientBalance"
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"inputs": [
|
|
422
|
+
{
|
|
423
|
+
"internalType": "address",
|
|
424
|
+
"name": "approver",
|
|
425
|
+
"type": "address"
|
|
426
|
+
}
|
|
427
|
+
],
|
|
428
|
+
"type": "error",
|
|
429
|
+
"name": "ERC20InvalidApprover"
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"inputs": [
|
|
433
|
+
{
|
|
434
|
+
"internalType": "address",
|
|
435
|
+
"name": "receiver",
|
|
436
|
+
"type": "address"
|
|
437
|
+
}
|
|
438
|
+
],
|
|
439
|
+
"type": "error",
|
|
440
|
+
"name": "ERC20InvalidReceiver"
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
"inputs": [
|
|
444
|
+
{
|
|
445
|
+
"internalType": "address",
|
|
446
|
+
"name": "sender",
|
|
447
|
+
"type": "address"
|
|
448
|
+
}
|
|
449
|
+
],
|
|
450
|
+
"type": "error",
|
|
451
|
+
"name": "ERC20InvalidSender"
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
"inputs": [
|
|
455
|
+
{
|
|
456
|
+
"internalType": "address",
|
|
457
|
+
"name": "spender",
|
|
458
|
+
"type": "address"
|
|
459
|
+
}
|
|
460
|
+
],
|
|
461
|
+
"type": "error",
|
|
462
|
+
"name": "ERC20InvalidSpender"
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
"inputs": [
|
|
466
|
+
{
|
|
467
|
+
"internalType": "address",
|
|
468
|
+
"name": "owner",
|
|
469
|
+
"type": "address",
|
|
470
|
+
"indexed": true
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"internalType": "address",
|
|
474
|
+
"name": "spender",
|
|
475
|
+
"type": "address",
|
|
476
|
+
"indexed": true
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
"internalType": "uint256",
|
|
480
|
+
"name": "value",
|
|
481
|
+
"type": "uint256",
|
|
482
|
+
"indexed": false
|
|
483
|
+
}
|
|
484
|
+
],
|
|
485
|
+
"type": "event",
|
|
486
|
+
"name": "Approval",
|
|
487
|
+
"anonymous": false
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
"inputs": [
|
|
491
|
+
{
|
|
492
|
+
"internalType": "address",
|
|
493
|
+
"name": "from",
|
|
494
|
+
"type": "address",
|
|
495
|
+
"indexed": true
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"internalType": "address",
|
|
499
|
+
"name": "to",
|
|
500
|
+
"type": "address",
|
|
501
|
+
"indexed": true
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
"internalType": "uint256",
|
|
505
|
+
"name": "value",
|
|
506
|
+
"type": "uint256",
|
|
507
|
+
"indexed": false
|
|
508
|
+
}
|
|
509
|
+
],
|
|
510
|
+
"type": "event",
|
|
511
|
+
"name": "Transfer",
|
|
512
|
+
"anonymous": false
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"inputs": [
|
|
516
|
+
{
|
|
517
|
+
"internalType": "address",
|
|
518
|
+
"name": "owner",
|
|
519
|
+
"type": "address"
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
"internalType": "address",
|
|
523
|
+
"name": "spender",
|
|
524
|
+
"type": "address"
|
|
525
|
+
}
|
|
526
|
+
],
|
|
527
|
+
"stateMutability": "view",
|
|
528
|
+
"type": "function",
|
|
529
|
+
"name": "allowance",
|
|
530
|
+
"outputs": [
|
|
531
|
+
{
|
|
532
|
+
"internalType": "uint256",
|
|
533
|
+
"name": "",
|
|
534
|
+
"type": "uint256"
|
|
535
|
+
}
|
|
536
|
+
]
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
"inputs": [
|
|
540
|
+
{
|
|
541
|
+
"internalType": "address",
|
|
542
|
+
"name": "spender",
|
|
543
|
+
"type": "address"
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
"internalType": "uint256",
|
|
547
|
+
"name": "value",
|
|
548
|
+
"type": "uint256"
|
|
549
|
+
}
|
|
550
|
+
],
|
|
551
|
+
"stateMutability": "nonpayable",
|
|
552
|
+
"type": "function",
|
|
553
|
+
"name": "approve",
|
|
554
|
+
"outputs": [
|
|
555
|
+
{
|
|
556
|
+
"internalType": "bool",
|
|
557
|
+
"name": "",
|
|
558
|
+
"type": "bool"
|
|
559
|
+
}
|
|
560
|
+
]
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
"inputs": [
|
|
564
|
+
{
|
|
565
|
+
"internalType": "address",
|
|
566
|
+
"name": "account",
|
|
567
|
+
"type": "address"
|
|
568
|
+
}
|
|
569
|
+
],
|
|
570
|
+
"stateMutability": "view",
|
|
571
|
+
"type": "function",
|
|
572
|
+
"name": "balanceOf",
|
|
573
|
+
"outputs": [
|
|
574
|
+
{
|
|
575
|
+
"internalType": "uint256",
|
|
576
|
+
"name": "",
|
|
577
|
+
"type": "uint256"
|
|
578
|
+
}
|
|
579
|
+
]
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
"inputs": [],
|
|
583
|
+
"stateMutability": "view",
|
|
584
|
+
"type": "function",
|
|
585
|
+
"name": "decimals",
|
|
586
|
+
"outputs": [
|
|
587
|
+
{
|
|
588
|
+
"internalType": "uint8",
|
|
589
|
+
"name": "",
|
|
590
|
+
"type": "uint8"
|
|
591
|
+
}
|
|
592
|
+
]
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
"inputs": [],
|
|
596
|
+
"stateMutability": "view",
|
|
597
|
+
"type": "function",
|
|
598
|
+
"name": "launcher",
|
|
599
|
+
"outputs": [
|
|
600
|
+
{
|
|
601
|
+
"internalType": "address",
|
|
602
|
+
"name": "",
|
|
603
|
+
"type": "address"
|
|
604
|
+
}
|
|
605
|
+
]
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
"inputs": [],
|
|
609
|
+
"stateMutability": "view",
|
|
610
|
+
"type": "function",
|
|
611
|
+
"name": "name",
|
|
612
|
+
"outputs": [
|
|
613
|
+
{
|
|
614
|
+
"internalType": "string",
|
|
615
|
+
"name": "",
|
|
616
|
+
"type": "string"
|
|
617
|
+
}
|
|
618
|
+
]
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
"inputs": [],
|
|
622
|
+
"stateMutability": "view",
|
|
623
|
+
"type": "function",
|
|
624
|
+
"name": "symbol",
|
|
625
|
+
"outputs": [
|
|
626
|
+
{
|
|
627
|
+
"internalType": "string",
|
|
628
|
+
"name": "",
|
|
629
|
+
"type": "string"
|
|
630
|
+
}
|
|
631
|
+
]
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
"inputs": [],
|
|
635
|
+
"stateMutability": "view",
|
|
636
|
+
"type": "function",
|
|
637
|
+
"name": "totalSupply",
|
|
638
|
+
"outputs": [
|
|
639
|
+
{
|
|
640
|
+
"internalType": "uint256",
|
|
641
|
+
"name": "",
|
|
642
|
+
"type": "uint256"
|
|
643
|
+
}
|
|
644
|
+
]
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
"inputs": [
|
|
648
|
+
{
|
|
649
|
+
"internalType": "address",
|
|
650
|
+
"name": "to",
|
|
651
|
+
"type": "address"
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
"internalType": "uint256",
|
|
655
|
+
"name": "value",
|
|
656
|
+
"type": "uint256"
|
|
657
|
+
}
|
|
658
|
+
],
|
|
659
|
+
"stateMutability": "nonpayable",
|
|
660
|
+
"type": "function",
|
|
661
|
+
"name": "transfer",
|
|
662
|
+
"outputs": [
|
|
663
|
+
{
|
|
664
|
+
"internalType": "bool",
|
|
665
|
+
"name": "",
|
|
666
|
+
"type": "bool"
|
|
667
|
+
}
|
|
668
|
+
]
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
"inputs": [
|
|
672
|
+
{
|
|
673
|
+
"internalType": "address",
|
|
674
|
+
"name": "from",
|
|
675
|
+
"type": "address"
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
"internalType": "address",
|
|
679
|
+
"name": "to",
|
|
680
|
+
"type": "address"
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
"internalType": "uint256",
|
|
684
|
+
"name": "value",
|
|
685
|
+
"type": "uint256"
|
|
686
|
+
}
|
|
687
|
+
],
|
|
688
|
+
"stateMutability": "nonpayable",
|
|
689
|
+
"type": "function",
|
|
690
|
+
"name": "transferFrom",
|
|
691
|
+
"outputs": [
|
|
692
|
+
{
|
|
693
|
+
"internalType": "bool",
|
|
694
|
+
"name": "",
|
|
695
|
+
"type": "bool"
|
|
696
|
+
}
|
|
697
|
+
]
|
|
698
|
+
}
|
|
699
|
+
],
|
|
700
|
+
"devdoc": {
|
|
701
|
+
"kind": "dev",
|
|
702
|
+
"methods": {
|
|
703
|
+
"allowance(address,address)": {
|
|
704
|
+
"details": "See {IERC20-allowance}."
|
|
705
|
+
},
|
|
706
|
+
"approve(address,uint256)": {
|
|
707
|
+
"details": "See {IERC20-approve}. NOTE: If `value` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address."
|
|
708
|
+
},
|
|
709
|
+
"balanceOf(address)": {
|
|
710
|
+
"details": "See {IERC20-balanceOf}."
|
|
711
|
+
},
|
|
712
|
+
"decimals()": {
|
|
713
|
+
"details": "Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). Tokens usually opt for a value of 18, imitating the relationship between Ether and Wei. This is the default value returned by this function, unless it's overridden. NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}."
|
|
714
|
+
},
|
|
715
|
+
"name()": {
|
|
716
|
+
"details": "Returns the name of the token."
|
|
717
|
+
},
|
|
718
|
+
"symbol()": {
|
|
719
|
+
"details": "Returns the symbol of the token, usually a shorter version of the name."
|
|
720
|
+
},
|
|
721
|
+
"totalSupply()": {
|
|
722
|
+
"details": "See {IERC20-totalSupply}."
|
|
723
|
+
},
|
|
724
|
+
"transfer(address,uint256)": {
|
|
725
|
+
"details": "See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `value`."
|
|
726
|
+
},
|
|
727
|
+
"transferFrom(address,address,uint256)": {
|
|
728
|
+
"details": "See {IERC20-transferFrom}. Skips emitting an {Approval} event indicating an allowance update. This is not required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve]. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `value`. - the caller must have allowance for ``from``'s tokens of at least `value`."
|
|
729
|
+
}
|
|
730
|
+
},
|
|
731
|
+
"version": 1
|
|
732
|
+
},
|
|
733
|
+
"userdoc": {
|
|
734
|
+
"kind": "user",
|
|
735
|
+
"methods": {},
|
|
736
|
+
"version": 1
|
|
737
|
+
}
|
|
738
|
+
},
|
|
739
|
+
"settings": {
|
|
740
|
+
"remappings": [
|
|
741
|
+
"@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
|
|
742
|
+
"forge-std/=lib/forge-std/src/"
|
|
743
|
+
],
|
|
744
|
+
"optimizer": {
|
|
745
|
+
"enabled": true,
|
|
746
|
+
"runs": 200
|
|
747
|
+
},
|
|
748
|
+
"metadata": {
|
|
749
|
+
"bytecodeHash": "ipfs"
|
|
750
|
+
},
|
|
751
|
+
"compilationTarget": {
|
|
752
|
+
"src/HanaTokenQuoteV2.sol": "HanaTokenQuoteV2"
|
|
753
|
+
},
|
|
754
|
+
"evmVersion": "paris",
|
|
755
|
+
"libraries": {}
|
|
756
|
+
},
|
|
757
|
+
"sources": {
|
|
758
|
+
"lib/openzeppelin-contracts/contracts/interfaces/draft-IERC6093.sol": {
|
|
759
|
+
"keccak256": "0x880da465c203cec76b10d72dbd87c80f387df4102274f23eea1f9c9b0918792b",
|
|
760
|
+
"urls": [
|
|
761
|
+
"bzz-raw://399594cd8bb0143bc9e55e0f1d071d0d8c850a394fb7a319d50edd55d9ed822b",
|
|
762
|
+
"dweb:/ipfs/QmbPZzgtT6LEm9CMqWfagQFwETbV1ztpECBB1DtQHrKiRz"
|
|
763
|
+
],
|
|
764
|
+
"license": "MIT"
|
|
765
|
+
},
|
|
766
|
+
"lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol": {
|
|
767
|
+
"keccak256": "0x41f6b3b9e030561e7896dbef372b499cc8d418a80c3884a4d65a68f2fdc7493a",
|
|
768
|
+
"urls": [
|
|
769
|
+
"bzz-raw://80b0992a11b2fd1f75ced2971696d07bbd1d19ce6761dd50d8b6d48aa435f42a",
|
|
770
|
+
"dweb:/ipfs/QmZDe5xd2gXHjVEjv9t8C1KQ68K5T8qFwdinwQgmP3rF3x"
|
|
771
|
+
],
|
|
772
|
+
"license": "MIT"
|
|
773
|
+
},
|
|
774
|
+
"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol": {
|
|
775
|
+
"keccak256": "0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7",
|
|
776
|
+
"urls": [
|
|
777
|
+
"bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db",
|
|
778
|
+
"dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9"
|
|
779
|
+
],
|
|
780
|
+
"license": "MIT"
|
|
781
|
+
},
|
|
782
|
+
"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol": {
|
|
783
|
+
"keccak256": "0x70f2f713b13b7ce4610bcd0ac9fec0f3cc43693b043abcb8dc40a42a726eb330",
|
|
784
|
+
"urls": [
|
|
785
|
+
"bzz-raw://c13d13304ac79a83ab1c30168967d19e2203342ebbd6a9bbce4db7550522dcbf",
|
|
786
|
+
"dweb:/ipfs/QmeN5jKMN2vw5bhacr6tkg78afbTTZUeaacNHqjWt4Ew1r"
|
|
787
|
+
],
|
|
788
|
+
"license": "MIT"
|
|
789
|
+
},
|
|
790
|
+
"lib/openzeppelin-contracts/contracts/utils/Context.sol": {
|
|
791
|
+
"keccak256": "0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2",
|
|
792
|
+
"urls": [
|
|
793
|
+
"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12",
|
|
794
|
+
"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF"
|
|
795
|
+
],
|
|
796
|
+
"license": "MIT"
|
|
797
|
+
},
|
|
798
|
+
"src/HanaTokenQuoteV2.sol": {
|
|
799
|
+
"keccak256": "0x29758263c9953033780294392d8530ec78b8cb2100481c43048746c634821dd9",
|
|
800
|
+
"urls": [
|
|
801
|
+
"bzz-raw://7c8512f5dccd687a749760d8317b050a0203c7f81dd8c9009e88c26886190e10",
|
|
802
|
+
"dweb:/ipfs/QmWtgPLqePsgwCmvqU7KDcuN14M5mQ5W7ZBHxc1jXPgneu"
|
|
803
|
+
],
|
|
804
|
+
"license": "MIT"
|
|
805
|
+
}
|
|
806
|
+
},
|
|
807
|
+
"version": 1
|
|
808
|
+
},
|
|
809
|
+
"immutableReferences": {
|
|
810
|
+
"15721": [
|
|
811
|
+
{
|
|
812
|
+
"start": 233,
|
|
813
|
+
"length": 32
|
|
814
|
+
}
|
|
815
|
+
]
|
|
816
|
+
}
|
|
817
|
+
}
|