@wireio/stake 0.1.0 → 0.1.2
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/README.md +57 -0
- package/lib/stake.browser.js +11836 -4103
- package/lib/stake.browser.js.map +1 -1
- package/lib/stake.d.ts +374 -556
- package/lib/stake.js +12089 -4303
- package/lib/stake.js.map +1 -1
- package/lib/stake.m.js +11836 -4103
- package/lib/stake.m.js.map +1 -1
- package/package.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/DepositManager.sol/DepositManager.dbg.json +4 -0
- package/src/assets/ethereum/ABI/liqEth/DepositManager.sol/DepositManager.json +1153 -0
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IAccounting.dbg.json +4 -0
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IAccounting.json +172 -0
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IDepositContract.dbg.json +4 -0
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IDepositContract.json +39 -0
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IDepositManager.dbg.json +4 -0
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IDepositManager.json +64 -0
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/ILiqEthBurn.dbg.json +4 -0
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/ILiqEthBurn.json +24 -0
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/ILiqEthMint.dbg.json +4 -0
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/ILiqEthMint.json +35 -0
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IRewardsERC20.dbg.json +4 -0
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IRewardsERC20.json +213 -0
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IStakingModule.dbg.json +4 -0
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IStakingModule.json +138 -0
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IValidatorBalanceVerifier.dbg.json +4 -0
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IValidatorBalanceVerifier.json +70 -0
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IWithdrawalRecord.dbg.json +4 -0
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IWithdrawalRecord.json +64 -0
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/LiqEthCommon.dbg.json +4 -0
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/LiqEthCommon.json +10 -0
- package/src/assets/ethereum/ABI/liqEth/RewardsERC20.sol/RewardsERC20.dbg.json +4 -0
- package/src/assets/ethereum/ABI/liqEth/RewardsERC20.sol/RewardsERC20.json +749 -0
- package/src/assets/ethereum/ABI/liqEth/RewardsERC20Pausable.sol/RewardsERC20Pausable.dbg.json +4 -0
- package/src/assets/ethereum/ABI/liqEth/RewardsERC20Pausable.sol/RewardsERC20Pausable.json +812 -0
- package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/BeaconRoots.dbg.json +4 -0
- package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/BeaconRoots.json +10 -0
- package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/SSZ.dbg.json +4 -0
- package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/SSZ.json +10 -0
- package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/ValidatorBalanceVerifier.dbg.json +4 -0
- package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/ValidatorBalanceVerifier.json +225 -0
- package/src/assets/ethereum/ABI/liqEth/Yield.sol/BeaconRoots.dbg.json +4 -0
- package/src/assets/ethereum/ABI/liqEth/Yield.sol/BeaconRoots.json +10 -0
- package/src/assets/ethereum/ABI/liqEth/Yield.sol/SSZ.dbg.json +4 -0
- package/src/assets/ethereum/ABI/liqEth/Yield.sol/SSZ.json +10 -0
- package/src/assets/ethereum/ABI/liqEth/Yield.sol/YieldOracle.dbg.json +4 -0
- package/src/assets/ethereum/ABI/liqEth/Yield.sol/YieldOracle.json +813 -0
- package/src/assets/ethereum/ABI/liqEth/accounting.sol/Accounting.dbg.json +4 -0
- package/src/assets/ethereum/ABI/liqEth/accounting.sol/Accounting.json +651 -0
- package/src/assets/ethereum/ABI/liqEth/liqEth.sol/LiqEthToken.dbg.json +4 -0
- package/src/assets/ethereum/ABI/liqEth/liqEth.sol/LiqEthToken.json +1110 -0
- package/src/assets/ethereum/ABI/liqEth/liqEthBurn.sol/LiqEthBurn.dbg.json +4 -0
- package/src/assets/ethereum/ABI/liqEth/liqEthBurn.sol/LiqEthBurn.json +391 -0
- package/src/assets/ethereum/ABI/liqEth/liqEthMint.sol/LiqEthMint.dbg.json +4 -0
- package/src/assets/ethereum/ABI/liqEth/liqEthMint.sol/LiqEthMint.json +402 -0
- package/src/assets/ethereum/ABI/liqEth/stakingModule.sol/StakingModule.dbg.json +4 -0
- package/src/assets/ethereum/ABI/liqEth/stakingModule.sol/StakingModule.json +1225 -0
- package/src/assets/ethereum/ABI/liqEth/withdrawalQueue.sol/WithdrawalQueue.dbg.json +4 -0
- package/src/assets/ethereum/ABI/liqEth/withdrawalQueue.sol/WithdrawalQueue.json +927 -0
- package/src/assets/ethereum/ABI/liqEth/withdrawalVault.sol/Uint64BE.dbg.json +4 -0
- package/src/assets/ethereum/ABI/liqEth/withdrawalVault.sol/Uint64BE.json +10 -0
- package/src/assets/ethereum/ABI/liqEth/withdrawalVault.sol/WithdrawalVault.dbg.json +4 -0
- package/src/assets/ethereum/ABI/liqEth/withdrawalVault.sol/WithdrawalVault.json +447 -0
- package/src/assets/solana/idl/liqsol_core.json +4239 -0
- package/src/assets/solana/idl/liqsol_token.json +183 -0
- package/src/assets/solana/idl/validator_leaderboard.json +270 -265
- package/src/assets/solana/types/liqsol_core.ts +4245 -0
- package/src/assets/solana/types/liqsol_token.ts +189 -0
- package/src/assets/solana/types/validator_leaderboard.ts +270 -265
- package/src/index.ts +1 -3
- package/src/networks/ethereum/contract.ts +101 -36
- package/src/networks/ethereum/ethereum.ts +141 -45
- package/src/networks/ethereum/types.ts +30 -2
- package/src/networks/solana/clients/deposit.client.ts +71 -109
- package/src/networks/solana/clients/distribution.client.ts +256 -383
- package/src/networks/solana/clients/leaderboard.client.ts +38 -133
- package/src/networks/solana/constants.ts +214 -130
- package/src/networks/solana/program.ts +25 -38
- package/src/networks/solana/solana.ts +120 -105
- package/src/networks/solana/types.ts +37 -47
- package/src/networks/solana/utils.ts +551 -0
- package/src/scripts/tsconfig.json +17 -0
- package/src/staker/staker.ts +10 -6
- package/src/staker/types.ts +14 -9
- package/src/assets/solana/idl/deposit.json +0 -296
- package/src/assets/solana/idl/distribution.json +0 -768
- package/src/assets/solana/idl/liq_sol_token.json +0 -298
- package/src/assets/solana/idl/mint_helper.json +0 -110
- package/src/assets/solana/idl/read_tracked_balance.json +0 -140
- package/src/assets/solana/idl/stake_controller.json +0 -2149
- package/src/assets/solana/idl/treasury.json +0 -110
- package/src/assets/solana/idl/validator_registry.json +0 -487
- package/src/assets/solana/idl/yield_oracle.json +0 -32
- package/src/assets/solana/types/deposit.ts +0 -302
- package/src/assets/solana/types/distribution.ts +0 -774
- package/src/assets/solana/types/liq_sol_token.ts +0 -304
- package/src/assets/solana/types/mint_helper.ts +0 -116
- package/src/assets/solana/types/read_tracked_balance.ts +0 -146
- package/src/assets/solana/types/stake_controller.ts +0 -2155
- package/src/assets/solana/types/stake_registry.ts +0 -441
- package/src/assets/solana/types/treasury.ts +0 -116
- package/src/assets/solana/types/validator_registry.ts +0 -493
- package/src/assets/solana/types/yield_oracle.ts +0 -38
- package/src/common/utils.ts +0 -9
|
@@ -0,0 +1,402 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "LiqEthMint",
|
|
4
|
+
"sourceName": "contracts/liqEth/liqEthMint.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "address",
|
|
10
|
+
"name": "_liqEth",
|
|
11
|
+
"type": "address"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"internalType": "address",
|
|
15
|
+
"name": "manager",
|
|
16
|
+
"type": "address"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"stateMutability": "nonpayable",
|
|
20
|
+
"type": "constructor"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"inputs": [],
|
|
24
|
+
"name": "AccessControlBadConfirmation",
|
|
25
|
+
"type": "error"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"inputs": [
|
|
29
|
+
{
|
|
30
|
+
"internalType": "address",
|
|
31
|
+
"name": "account",
|
|
32
|
+
"type": "address"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"internalType": "bytes32",
|
|
36
|
+
"name": "neededRole",
|
|
37
|
+
"type": "bytes32"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"name": "AccessControlUnauthorizedAccount",
|
|
41
|
+
"type": "error"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"anonymous": false,
|
|
45
|
+
"inputs": [
|
|
46
|
+
{
|
|
47
|
+
"indexed": true,
|
|
48
|
+
"internalType": "address",
|
|
49
|
+
"name": "to",
|
|
50
|
+
"type": "address"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"indexed": false,
|
|
54
|
+
"internalType": "uint256",
|
|
55
|
+
"name": "ethAmt",
|
|
56
|
+
"type": "uint256"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"indexed": false,
|
|
60
|
+
"internalType": "uint256",
|
|
61
|
+
"name": "shares",
|
|
62
|
+
"type": "uint256"
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"name": "Minted",
|
|
66
|
+
"type": "event"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"anonymous": false,
|
|
70
|
+
"inputs": [
|
|
71
|
+
{
|
|
72
|
+
"indexed": true,
|
|
73
|
+
"internalType": "bytes32",
|
|
74
|
+
"name": "role",
|
|
75
|
+
"type": "bytes32"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"indexed": true,
|
|
79
|
+
"internalType": "bytes32",
|
|
80
|
+
"name": "previousAdminRole",
|
|
81
|
+
"type": "bytes32"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"indexed": true,
|
|
85
|
+
"internalType": "bytes32",
|
|
86
|
+
"name": "newAdminRole",
|
|
87
|
+
"type": "bytes32"
|
|
88
|
+
}
|
|
89
|
+
],
|
|
90
|
+
"name": "RoleAdminChanged",
|
|
91
|
+
"type": "event"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"anonymous": false,
|
|
95
|
+
"inputs": [
|
|
96
|
+
{
|
|
97
|
+
"indexed": true,
|
|
98
|
+
"internalType": "bytes32",
|
|
99
|
+
"name": "role",
|
|
100
|
+
"type": "bytes32"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"indexed": true,
|
|
104
|
+
"internalType": "address",
|
|
105
|
+
"name": "account",
|
|
106
|
+
"type": "address"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"indexed": true,
|
|
110
|
+
"internalType": "address",
|
|
111
|
+
"name": "sender",
|
|
112
|
+
"type": "address"
|
|
113
|
+
}
|
|
114
|
+
],
|
|
115
|
+
"name": "RoleGranted",
|
|
116
|
+
"type": "event"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"anonymous": false,
|
|
120
|
+
"inputs": [
|
|
121
|
+
{
|
|
122
|
+
"indexed": true,
|
|
123
|
+
"internalType": "bytes32",
|
|
124
|
+
"name": "role",
|
|
125
|
+
"type": "bytes32"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"indexed": true,
|
|
129
|
+
"internalType": "address",
|
|
130
|
+
"name": "account",
|
|
131
|
+
"type": "address"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"indexed": true,
|
|
135
|
+
"internalType": "address",
|
|
136
|
+
"name": "sender",
|
|
137
|
+
"type": "address"
|
|
138
|
+
}
|
|
139
|
+
],
|
|
140
|
+
"name": "RoleRevoked",
|
|
141
|
+
"type": "event"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"inputs": [],
|
|
145
|
+
"name": "DEFAULT_ADMIN_ROLE",
|
|
146
|
+
"outputs": [
|
|
147
|
+
{
|
|
148
|
+
"internalType": "bytes32",
|
|
149
|
+
"name": "",
|
|
150
|
+
"type": "bytes32"
|
|
151
|
+
}
|
|
152
|
+
],
|
|
153
|
+
"stateMutability": "view",
|
|
154
|
+
"type": "function"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"inputs": [],
|
|
158
|
+
"name": "MANAGER_ROLE",
|
|
159
|
+
"outputs": [
|
|
160
|
+
{
|
|
161
|
+
"internalType": "bytes32",
|
|
162
|
+
"name": "",
|
|
163
|
+
"type": "bytes32"
|
|
164
|
+
}
|
|
165
|
+
],
|
|
166
|
+
"stateMutability": "view",
|
|
167
|
+
"type": "function"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"inputs": [
|
|
171
|
+
{
|
|
172
|
+
"internalType": "bytes32",
|
|
173
|
+
"name": "role",
|
|
174
|
+
"type": "bytes32"
|
|
175
|
+
}
|
|
176
|
+
],
|
|
177
|
+
"name": "getRoleAdmin",
|
|
178
|
+
"outputs": [
|
|
179
|
+
{
|
|
180
|
+
"internalType": "bytes32",
|
|
181
|
+
"name": "",
|
|
182
|
+
"type": "bytes32"
|
|
183
|
+
}
|
|
184
|
+
],
|
|
185
|
+
"stateMutability": "view",
|
|
186
|
+
"type": "function"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"inputs": [
|
|
190
|
+
{
|
|
191
|
+
"internalType": "bytes32",
|
|
192
|
+
"name": "role",
|
|
193
|
+
"type": "bytes32"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"internalType": "uint256",
|
|
197
|
+
"name": "index",
|
|
198
|
+
"type": "uint256"
|
|
199
|
+
}
|
|
200
|
+
],
|
|
201
|
+
"name": "getRoleMember",
|
|
202
|
+
"outputs": [
|
|
203
|
+
{
|
|
204
|
+
"internalType": "address",
|
|
205
|
+
"name": "",
|
|
206
|
+
"type": "address"
|
|
207
|
+
}
|
|
208
|
+
],
|
|
209
|
+
"stateMutability": "view",
|
|
210
|
+
"type": "function"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"inputs": [
|
|
214
|
+
{
|
|
215
|
+
"internalType": "bytes32",
|
|
216
|
+
"name": "role",
|
|
217
|
+
"type": "bytes32"
|
|
218
|
+
}
|
|
219
|
+
],
|
|
220
|
+
"name": "getRoleMemberCount",
|
|
221
|
+
"outputs": [
|
|
222
|
+
{
|
|
223
|
+
"internalType": "uint256",
|
|
224
|
+
"name": "",
|
|
225
|
+
"type": "uint256"
|
|
226
|
+
}
|
|
227
|
+
],
|
|
228
|
+
"stateMutability": "view",
|
|
229
|
+
"type": "function"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"inputs": [
|
|
233
|
+
{
|
|
234
|
+
"internalType": "bytes32",
|
|
235
|
+
"name": "role",
|
|
236
|
+
"type": "bytes32"
|
|
237
|
+
}
|
|
238
|
+
],
|
|
239
|
+
"name": "getRoleMembers",
|
|
240
|
+
"outputs": [
|
|
241
|
+
{
|
|
242
|
+
"internalType": "address[]",
|
|
243
|
+
"name": "",
|
|
244
|
+
"type": "address[]"
|
|
245
|
+
}
|
|
246
|
+
],
|
|
247
|
+
"stateMutability": "view",
|
|
248
|
+
"type": "function"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"inputs": [
|
|
252
|
+
{
|
|
253
|
+
"internalType": "bytes32",
|
|
254
|
+
"name": "role",
|
|
255
|
+
"type": "bytes32"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"internalType": "address",
|
|
259
|
+
"name": "account",
|
|
260
|
+
"type": "address"
|
|
261
|
+
}
|
|
262
|
+
],
|
|
263
|
+
"name": "grantRole",
|
|
264
|
+
"outputs": [],
|
|
265
|
+
"stateMutability": "nonpayable",
|
|
266
|
+
"type": "function"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"inputs": [
|
|
270
|
+
{
|
|
271
|
+
"internalType": "bytes32",
|
|
272
|
+
"name": "role",
|
|
273
|
+
"type": "bytes32"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"internalType": "address",
|
|
277
|
+
"name": "account",
|
|
278
|
+
"type": "address"
|
|
279
|
+
}
|
|
280
|
+
],
|
|
281
|
+
"name": "hasRole",
|
|
282
|
+
"outputs": [
|
|
283
|
+
{
|
|
284
|
+
"internalType": "bool",
|
|
285
|
+
"name": "",
|
|
286
|
+
"type": "bool"
|
|
287
|
+
}
|
|
288
|
+
],
|
|
289
|
+
"stateMutability": "view",
|
|
290
|
+
"type": "function"
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"inputs": [],
|
|
294
|
+
"name": "liqEth",
|
|
295
|
+
"outputs": [
|
|
296
|
+
{
|
|
297
|
+
"internalType": "contract IRewardsERC20",
|
|
298
|
+
"name": "",
|
|
299
|
+
"type": "address"
|
|
300
|
+
}
|
|
301
|
+
],
|
|
302
|
+
"stateMutability": "view",
|
|
303
|
+
"type": "function"
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"inputs": [
|
|
307
|
+
{
|
|
308
|
+
"internalType": "address",
|
|
309
|
+
"name": "to",
|
|
310
|
+
"type": "address"
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"internalType": "uint256",
|
|
314
|
+
"name": "amount",
|
|
315
|
+
"type": "uint256"
|
|
316
|
+
}
|
|
317
|
+
],
|
|
318
|
+
"name": "mint",
|
|
319
|
+
"outputs": [
|
|
320
|
+
{
|
|
321
|
+
"internalType": "uint256",
|
|
322
|
+
"name": "shares",
|
|
323
|
+
"type": "uint256"
|
|
324
|
+
}
|
|
325
|
+
],
|
|
326
|
+
"stateMutability": "nonpayable",
|
|
327
|
+
"type": "function"
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"inputs": [
|
|
331
|
+
{
|
|
332
|
+
"internalType": "bytes32",
|
|
333
|
+
"name": "role",
|
|
334
|
+
"type": "bytes32"
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"internalType": "address",
|
|
338
|
+
"name": "callerConfirmation",
|
|
339
|
+
"type": "address"
|
|
340
|
+
}
|
|
341
|
+
],
|
|
342
|
+
"name": "renounceRole",
|
|
343
|
+
"outputs": [],
|
|
344
|
+
"stateMutability": "nonpayable",
|
|
345
|
+
"type": "function"
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"inputs": [
|
|
349
|
+
{
|
|
350
|
+
"internalType": "bytes32",
|
|
351
|
+
"name": "role",
|
|
352
|
+
"type": "bytes32"
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"internalType": "address",
|
|
356
|
+
"name": "account",
|
|
357
|
+
"type": "address"
|
|
358
|
+
}
|
|
359
|
+
],
|
|
360
|
+
"name": "revokeRole",
|
|
361
|
+
"outputs": [],
|
|
362
|
+
"stateMutability": "nonpayable",
|
|
363
|
+
"type": "function"
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"inputs": [
|
|
367
|
+
{
|
|
368
|
+
"internalType": "address",
|
|
369
|
+
"name": "newMgr",
|
|
370
|
+
"type": "address"
|
|
371
|
+
}
|
|
372
|
+
],
|
|
373
|
+
"name": "setManager",
|
|
374
|
+
"outputs": [],
|
|
375
|
+
"stateMutability": "nonpayable",
|
|
376
|
+
"type": "function"
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"inputs": [
|
|
380
|
+
{
|
|
381
|
+
"internalType": "bytes4",
|
|
382
|
+
"name": "interfaceId",
|
|
383
|
+
"type": "bytes4"
|
|
384
|
+
}
|
|
385
|
+
],
|
|
386
|
+
"name": "supportsInterface",
|
|
387
|
+
"outputs": [
|
|
388
|
+
{
|
|
389
|
+
"internalType": "bool",
|
|
390
|
+
"name": "",
|
|
391
|
+
"type": "bool"
|
|
392
|
+
}
|
|
393
|
+
],
|
|
394
|
+
"stateMutability": "view",
|
|
395
|
+
"type": "function"
|
|
396
|
+
}
|
|
397
|
+
],
|
|
398
|
+
"bytecode": "0x60a03461012b57610ebc90601f38839003908101601f19168201906001600160401b03821183831017610130578083916040958694855283398101031261012b57610055602061004e83610146565b9201610146565b6001600160a01b0391821680151580610120575b156100f65760805261007a3361015a565b6100da575b610088816101d8565b6100ab575b8251610b8b90816102f1823960805181818161040e01526105e20152f35b6100d291600080516020610e9c833981519152600052600160205283600020911690610266565b50388061008d565b6000805260016020526100f03384600020610266565b5061007f565b6064845162461bcd60e51b81526020600482015260046024820152637a65726f60e01b6044820152fd5b508282161515610069565b600080fd5b634e487b7160e01b600052604160045260246000fd5b51906001600160a01b038216820361012b57565b6001600160a01b031660008181527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5602052604081205490919060ff166101d457818052816020526040822081835260205260408220600160ff198254161790553391600080516020610e7c8339815191528180a4600190565b5090565b6001600160a01b031660008181527f511473bfc0317b2ecebc3e7070288e5dde2957151ef598d1c2d01ac136128f326020526040812054909190600080516020610e9c8339815191529060ff1661026157808352826020526040832082845260205260408320600160ff19825416179055600080516020610e7c833981519152339380a4600190565b505090565b919060018301600090828252806020526040822054156000146102ea57845494680100000000000000008610156102d657600186018082558610156102c257836040949596828552602085200155549382526020522055600190565b634e487b7160e01b83526032600452602483fd5b634e487b7160e01b83526041600452602483fd5b5092505056fe608060408181526004918236101561001657600080fd5b600092833560e01c91826301ffc9a714610611575081630a651761146105cd578163248a9ca3146105a35781632f2ff15d1461053857816336568abe146104f257816340c10f19146103905781639010d07c1461034f57816391d1485414610309578163a217fddf146102ee578163a3246ad31461024f578163ca15c87314610227578163d0ebdbe71461012d578163d547741f146100ea575063ec87621c146100bf57600080fd5b346100e657816003193601126100e65760209051600080516020610b368339815191528152f35b5080fd5b919050346101295780600319360112610129576101259135610120600161010f61067e565b9383875286602052862001546106e7565b61072b565b5080f35b8280fd5b9190503461012957602091826003193601126102235761014b610699565b91848052848452808520338652845260ff81862054161561020657600080516020610b368339815191529182865260018552818620908154156101f357508552838520546001600160a01b03929083166101a48161087f565b6101d9575b506101b384610766565b6101bb578580f35b6101cf9460019187525284209116906109bb565b5038808080808580f35b6101ec9082885260018752838820610a45565b50386101a9565b634e487b7160e01b875260329052602486fd5b9084604492519163e2517d3f60e01b835233908301526024820152fd5b8380fd5b9050346101295760203660031901126101295760209282913581526001845220549051908152f35b9050346101295760209081600319360112610223573583526001808252828420835181548082529186528386208185019693949192879190855b8181106102db575050508261029f9103836106af565b8451948186019282875251809352850195925b8281106102bf5785870386f35b83516001600160a01b03168752958101959281019284016102b2565b8254845292840192918701918701610289565b5050346100e657816003193601126100e65751908152602090f35b9050346101295781600319360112610129578160209360ff9261032a61067e565b903582528186528282206001600160a01b039091168252855220549151911615158152f35b90503461012957816003193601126101295760209261037a913581526001845282602435912061098d565b905491519160018060a01b039160031b1c168152f35b8383346100e657806003193601126100e6576103aa610699565b92602435600080516020610b3683398151915294858552602095858752848620338752875260ff8587205416156104d4575083516340c10f1960e01b81526001600160a01b03918216938101849052602481018390529086908290604490829089907f0000000000000000000000000000000000000000000000000000000000000000165af19485156104c9578095610474575b5050827f25b428dfde728ccfaddad7e29e4ac23c24ed7fd1a6e3e3f91894a9a073f5dfff9181519081528587820152a251908152f35b909194508582813d83116104c2575b61048d81836106af565b810103126104bf57505192827f25b428dfde728ccfaddad7e29e4ac23c24ed7fd1a6e3e3f91894a9a073f5dfff61043e565b80fd5b503d610483565b8451903d90823e3d90fd5b845163e2517d3f60e01b815233818601526024810191909152604490fd5b8383346100e657806003193601126100e65761050c61067e565b90336001600160a01b03831603610529575061012591923561072b565b5163334bd91960e11b81528390fd5b905034610129578160031936011261012957359061055461067e565b908284528360205261056b600182862001546106e7565b6105758284610806565b61057d578380f35b918352600160205290822061059b916001600160a01b0316906109bb565b503880808380f35b90503461012957602036600319011261012957816020936001923581528085522001549051908152f35b5050346100e657816003193601126100e657517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b849134610129576020366003190112610129573563ffffffff60e01b81168091036101295760209250635a05180f60e01b8114908115610653575b5015158152f35b637965db0b60e01b81149150811561066d575b508361064c565b6301ffc9a760e01b14905083610666565b602435906001600160a01b038216820361069457565b600080fd5b600435906001600160a01b038216820361069457565b90601f8019910116810190811067ffffffffffffffff8211176106d157604052565b634e487b7160e01b600052604160045260246000fd5b80600052600060205260406000203360005260205260ff604060002054161561070d5750565b6044906040519063e2517d3f60e01b82523360048301526024820152fd5b6107358282610918565b918261074057505090565b600091825260016020526040909120610762916001600160a01b031690610a45565b5090565b6001600160a01b031660008181527f511473bfc0317b2ecebc3e7070288e5dde2957151ef598d1c2d01ac136128f326020526040812054909190600080516020610b368339815191529060ff1661080157808352826020526040832082845260205260408320600160ff198254161790557f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d339380a4600190565b505090565b9060009180835282602052604083209160018060a01b03169182845260205260ff6040842054161560001461080157808352826020526040832082845260205260408320600160ff198254161790557f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d339380a4600190565b6001600160a01b031660008181527f511473bfc0317b2ecebc3e7070288e5dde2957151ef598d1c2d01ac136128f326020526040812054909190600080516020610b368339815191529060ff16156108015780835282602052604083208284526020526040832060ff1981541690557ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b339380a4600190565b9060009180835282602052604083209160018060a01b03169182845260205260ff6040842054166000146108015780835282602052604083208284526020526040832060ff1981541690557ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b339380a4600190565b80548210156109a55760005260206000200190600090565b634e487b7160e01b600052603260045260246000fd5b91906001830160009082825280602052604082205415600014610a3f5784549468010000000000000000861015610a2b5783610a1b610a04886001604098999a0185558461098d565b819391549060031b91821b91600019901b19161790565b9055549382526020522055600190565b634e487b7160e01b83526041600452602483fd5b50925050565b90600182019060009281845282602052604084205490811515600014610b2e5760001991808301818111610b1a57825490848201918211610b0657818103610ad1575b50505080548015610abd57820191610aa0838361098d565b909182549160031b1b191690555582526020526040812055600190565b634e487b7160e01b86526031600452602486fd5b610af1610ae1610a04938661098d565b90549060031b1c9283928661098d565b90558652846020526040862055388080610a88565b634e487b7160e01b88526011600452602488fd5b634e487b7160e01b87526011600452602487fd5b505050509056feaf290d8680820aad922855f39b306097b20e28774d6c1ad35a20325630c3a02ca26469706673582212206ad5735d89ce345afc5c34fc6622a1238c56bb664366beaac6a733a4d19c5bcd64736f6c634300081900332f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0daf290d8680820aad922855f39b306097b20e28774d6c1ad35a20325630c3a02c",
|
|
399
|
+
"deployedBytecode": "0x608060408181526004918236101561001657600080fd5b600092833560e01c91826301ffc9a714610611575081630a651761146105cd578163248a9ca3146105a35781632f2ff15d1461053857816336568abe146104f257816340c10f19146103905781639010d07c1461034f57816391d1485414610309578163a217fddf146102ee578163a3246ad31461024f578163ca15c87314610227578163d0ebdbe71461012d578163d547741f146100ea575063ec87621c146100bf57600080fd5b346100e657816003193601126100e65760209051600080516020610b368339815191528152f35b5080fd5b919050346101295780600319360112610129576101259135610120600161010f61067e565b9383875286602052862001546106e7565b61072b565b5080f35b8280fd5b9190503461012957602091826003193601126102235761014b610699565b91848052848452808520338652845260ff81862054161561020657600080516020610b368339815191529182865260018552818620908154156101f357508552838520546001600160a01b03929083166101a48161087f565b6101d9575b506101b384610766565b6101bb578580f35b6101cf9460019187525284209116906109bb565b5038808080808580f35b6101ec9082885260018752838820610a45565b50386101a9565b634e487b7160e01b875260329052602486fd5b9084604492519163e2517d3f60e01b835233908301526024820152fd5b8380fd5b9050346101295760203660031901126101295760209282913581526001845220549051908152f35b9050346101295760209081600319360112610223573583526001808252828420835181548082529186528386208185019693949192879190855b8181106102db575050508261029f9103836106af565b8451948186019282875251809352850195925b8281106102bf5785870386f35b83516001600160a01b03168752958101959281019284016102b2565b8254845292840192918701918701610289565b5050346100e657816003193601126100e65751908152602090f35b9050346101295781600319360112610129578160209360ff9261032a61067e565b903582528186528282206001600160a01b039091168252855220549151911615158152f35b90503461012957816003193601126101295760209261037a913581526001845282602435912061098d565b905491519160018060a01b039160031b1c168152f35b8383346100e657806003193601126100e6576103aa610699565b92602435600080516020610b3683398151915294858552602095858752848620338752875260ff8587205416156104d4575083516340c10f1960e01b81526001600160a01b03918216938101849052602481018390529086908290604490829089907f0000000000000000000000000000000000000000000000000000000000000000165af19485156104c9578095610474575b5050827f25b428dfde728ccfaddad7e29e4ac23c24ed7fd1a6e3e3f91894a9a073f5dfff9181519081528587820152a251908152f35b909194508582813d83116104c2575b61048d81836106af565b810103126104bf57505192827f25b428dfde728ccfaddad7e29e4ac23c24ed7fd1a6e3e3f91894a9a073f5dfff61043e565b80fd5b503d610483565b8451903d90823e3d90fd5b845163e2517d3f60e01b815233818601526024810191909152604490fd5b8383346100e657806003193601126100e65761050c61067e565b90336001600160a01b03831603610529575061012591923561072b565b5163334bd91960e11b81528390fd5b905034610129578160031936011261012957359061055461067e565b908284528360205261056b600182862001546106e7565b6105758284610806565b61057d578380f35b918352600160205290822061059b916001600160a01b0316906109bb565b503880808380f35b90503461012957602036600319011261012957816020936001923581528085522001549051908152f35b5050346100e657816003193601126100e657517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b849134610129576020366003190112610129573563ffffffff60e01b81168091036101295760209250635a05180f60e01b8114908115610653575b5015158152f35b637965db0b60e01b81149150811561066d575b508361064c565b6301ffc9a760e01b14905083610666565b602435906001600160a01b038216820361069457565b600080fd5b600435906001600160a01b038216820361069457565b90601f8019910116810190811067ffffffffffffffff8211176106d157604052565b634e487b7160e01b600052604160045260246000fd5b80600052600060205260406000203360005260205260ff604060002054161561070d5750565b6044906040519063e2517d3f60e01b82523360048301526024820152fd5b6107358282610918565b918261074057505090565b600091825260016020526040909120610762916001600160a01b031690610a45565b5090565b6001600160a01b031660008181527f511473bfc0317b2ecebc3e7070288e5dde2957151ef598d1c2d01ac136128f326020526040812054909190600080516020610b368339815191529060ff1661080157808352826020526040832082845260205260408320600160ff198254161790557f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d339380a4600190565b505090565b9060009180835282602052604083209160018060a01b03169182845260205260ff6040842054161560001461080157808352826020526040832082845260205260408320600160ff198254161790557f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d339380a4600190565b6001600160a01b031660008181527f511473bfc0317b2ecebc3e7070288e5dde2957151ef598d1c2d01ac136128f326020526040812054909190600080516020610b368339815191529060ff16156108015780835282602052604083208284526020526040832060ff1981541690557ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b339380a4600190565b9060009180835282602052604083209160018060a01b03169182845260205260ff6040842054166000146108015780835282602052604083208284526020526040832060ff1981541690557ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b339380a4600190565b80548210156109a55760005260206000200190600090565b634e487b7160e01b600052603260045260246000fd5b91906001830160009082825280602052604082205415600014610a3f5784549468010000000000000000861015610a2b5783610a1b610a04886001604098999a0185558461098d565b819391549060031b91821b91600019901b19161790565b9055549382526020522055600190565b634e487b7160e01b83526041600452602483fd5b50925050565b90600182019060009281845282602052604084205490811515600014610b2e5760001991808301818111610b1a57825490848201918211610b0657818103610ad1575b50505080548015610abd57820191610aa0838361098d565b909182549160031b1b191690555582526020526040812055600190565b634e487b7160e01b86526031600452602486fd5b610af1610ae1610a04938661098d565b90549060031b1c9283928661098d565b90558652846020526040862055388080610a88565b634e487b7160e01b88526011600452602488fd5b634e487b7160e01b87526011600452602487fd5b505050509056feaf290d8680820aad922855f39b306097b20e28774d6c1ad35a20325630c3a02ca26469706673582212206ad5735d89ce345afc5c34fc6622a1238c56bb664366beaac6a733a4d19c5bcd64736f6c63430008190033",
|
|
400
|
+
"linkReferences": {},
|
|
401
|
+
"deployedLinkReferences": {}
|
|
402
|
+
}
|