@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,813 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "YieldOracle",
|
|
4
|
+
"sourceName": "contracts/liqEth/Yield.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "address",
|
|
10
|
+
"name": "_liqEth",
|
|
11
|
+
"type": "address"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"internalType": "address",
|
|
15
|
+
"name": "_verifier",
|
|
16
|
+
"type": "address"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"internalType": "address",
|
|
20
|
+
"name": "_stakingmodule",
|
|
21
|
+
"type": "address"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"internalType": "address",
|
|
25
|
+
"name": "admin",
|
|
26
|
+
"type": "address"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"stateMutability": "nonpayable",
|
|
30
|
+
"type": "constructor"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"inputs": [],
|
|
34
|
+
"name": "AccessControlBadConfirmation",
|
|
35
|
+
"type": "error"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"inputs": [
|
|
39
|
+
{
|
|
40
|
+
"internalType": "address",
|
|
41
|
+
"name": "account",
|
|
42
|
+
"type": "address"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"internalType": "bytes32",
|
|
46
|
+
"name": "neededRole",
|
|
47
|
+
"type": "bytes32"
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"name": "AccessControlUnauthorizedAccount",
|
|
51
|
+
"type": "error"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"inputs": [],
|
|
55
|
+
"name": "EnforcedPause",
|
|
56
|
+
"type": "error"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"inputs": [],
|
|
60
|
+
"name": "ExpectedPause",
|
|
61
|
+
"type": "error"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"inputs": [],
|
|
65
|
+
"name": "FailedCall",
|
|
66
|
+
"type": "error"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"inputs": [
|
|
70
|
+
{
|
|
71
|
+
"internalType": "uint256",
|
|
72
|
+
"name": "balance",
|
|
73
|
+
"type": "uint256"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"internalType": "uint256",
|
|
77
|
+
"name": "needed",
|
|
78
|
+
"type": "uint256"
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"name": "InsufficientBalance",
|
|
82
|
+
"type": "error"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"inputs": [],
|
|
86
|
+
"name": "ReentrancyGuardReentrantCall",
|
|
87
|
+
"type": "error"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"anonymous": false,
|
|
91
|
+
"inputs": [
|
|
92
|
+
{
|
|
93
|
+
"indexed": true,
|
|
94
|
+
"internalType": "uint64",
|
|
95
|
+
"name": "dayId",
|
|
96
|
+
"type": "uint64"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"indexed": true,
|
|
100
|
+
"internalType": "uint256",
|
|
101
|
+
"name": "validatorIdx",
|
|
102
|
+
"type": "uint256"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"indexed": true,
|
|
106
|
+
"internalType": "address",
|
|
107
|
+
"name": "proposer",
|
|
108
|
+
"type": "address"
|
|
109
|
+
}
|
|
110
|
+
],
|
|
111
|
+
"name": "Challenged",
|
|
112
|
+
"type": "event"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"anonymous": false,
|
|
116
|
+
"inputs": [
|
|
117
|
+
{
|
|
118
|
+
"indexed": true,
|
|
119
|
+
"internalType": "uint64",
|
|
120
|
+
"name": "dayId",
|
|
121
|
+
"type": "uint64"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"indexed": false,
|
|
125
|
+
"internalType": "uint256",
|
|
126
|
+
"name": "bondReward",
|
|
127
|
+
"type": "uint256"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"indexed": true,
|
|
131
|
+
"internalType": "address",
|
|
132
|
+
"name": "winner",
|
|
133
|
+
"type": "address"
|
|
134
|
+
}
|
|
135
|
+
],
|
|
136
|
+
"name": "Finalized",
|
|
137
|
+
"type": "event"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"anonymous": false,
|
|
141
|
+
"inputs": [
|
|
142
|
+
{
|
|
143
|
+
"indexed": false,
|
|
144
|
+
"internalType": "address",
|
|
145
|
+
"name": "account",
|
|
146
|
+
"type": "address"
|
|
147
|
+
}
|
|
148
|
+
],
|
|
149
|
+
"name": "Paused",
|
|
150
|
+
"type": "event"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"anonymous": false,
|
|
154
|
+
"inputs": [
|
|
155
|
+
{
|
|
156
|
+
"indexed": true,
|
|
157
|
+
"internalType": "bytes32",
|
|
158
|
+
"name": "role",
|
|
159
|
+
"type": "bytes32"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"indexed": true,
|
|
163
|
+
"internalType": "bytes32",
|
|
164
|
+
"name": "previousAdminRole",
|
|
165
|
+
"type": "bytes32"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"indexed": true,
|
|
169
|
+
"internalType": "bytes32",
|
|
170
|
+
"name": "newAdminRole",
|
|
171
|
+
"type": "bytes32"
|
|
172
|
+
}
|
|
173
|
+
],
|
|
174
|
+
"name": "RoleAdminChanged",
|
|
175
|
+
"type": "event"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"anonymous": false,
|
|
179
|
+
"inputs": [
|
|
180
|
+
{
|
|
181
|
+
"indexed": true,
|
|
182
|
+
"internalType": "bytes32",
|
|
183
|
+
"name": "role",
|
|
184
|
+
"type": "bytes32"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"indexed": true,
|
|
188
|
+
"internalType": "address",
|
|
189
|
+
"name": "account",
|
|
190
|
+
"type": "address"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"indexed": true,
|
|
194
|
+
"internalType": "address",
|
|
195
|
+
"name": "sender",
|
|
196
|
+
"type": "address"
|
|
197
|
+
}
|
|
198
|
+
],
|
|
199
|
+
"name": "RoleGranted",
|
|
200
|
+
"type": "event"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"anonymous": false,
|
|
204
|
+
"inputs": [
|
|
205
|
+
{
|
|
206
|
+
"indexed": true,
|
|
207
|
+
"internalType": "bytes32",
|
|
208
|
+
"name": "role",
|
|
209
|
+
"type": "bytes32"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"indexed": true,
|
|
213
|
+
"internalType": "address",
|
|
214
|
+
"name": "account",
|
|
215
|
+
"type": "address"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"indexed": true,
|
|
219
|
+
"internalType": "address",
|
|
220
|
+
"name": "sender",
|
|
221
|
+
"type": "address"
|
|
222
|
+
}
|
|
223
|
+
],
|
|
224
|
+
"name": "RoleRevoked",
|
|
225
|
+
"type": "event"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"anonymous": false,
|
|
229
|
+
"inputs": [
|
|
230
|
+
{
|
|
231
|
+
"indexed": false,
|
|
232
|
+
"internalType": "address",
|
|
233
|
+
"name": "account",
|
|
234
|
+
"type": "address"
|
|
235
|
+
}
|
|
236
|
+
],
|
|
237
|
+
"name": "Unpaused",
|
|
238
|
+
"type": "event"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"anonymous": false,
|
|
242
|
+
"inputs": [
|
|
243
|
+
{
|
|
244
|
+
"indexed": true,
|
|
245
|
+
"internalType": "uint64",
|
|
246
|
+
"name": "dayId",
|
|
247
|
+
"type": "uint64"
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"indexed": true,
|
|
251
|
+
"internalType": "address",
|
|
252
|
+
"name": "proposer",
|
|
253
|
+
"type": "address"
|
|
254
|
+
}
|
|
255
|
+
],
|
|
256
|
+
"name": "YieldSubmitted",
|
|
257
|
+
"type": "event"
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"inputs": [],
|
|
261
|
+
"name": "DAY_SEC",
|
|
262
|
+
"outputs": [
|
|
263
|
+
{
|
|
264
|
+
"internalType": "uint64",
|
|
265
|
+
"name": "",
|
|
266
|
+
"type": "uint64"
|
|
267
|
+
}
|
|
268
|
+
],
|
|
269
|
+
"stateMutability": "view",
|
|
270
|
+
"type": "function"
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"inputs": [],
|
|
274
|
+
"name": "DEFAULT_ADMIN_ROLE",
|
|
275
|
+
"outputs": [
|
|
276
|
+
{
|
|
277
|
+
"internalType": "bytes32",
|
|
278
|
+
"name": "",
|
|
279
|
+
"type": "bytes32"
|
|
280
|
+
}
|
|
281
|
+
],
|
|
282
|
+
"stateMutability": "view",
|
|
283
|
+
"type": "function"
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"inputs": [],
|
|
287
|
+
"name": "MIN_BOND",
|
|
288
|
+
"outputs": [
|
|
289
|
+
{
|
|
290
|
+
"internalType": "uint128",
|
|
291
|
+
"name": "",
|
|
292
|
+
"type": "uint128"
|
|
293
|
+
}
|
|
294
|
+
],
|
|
295
|
+
"stateMutability": "view",
|
|
296
|
+
"type": "function"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"inputs": [],
|
|
300
|
+
"name": "ORACLE_ROLE",
|
|
301
|
+
"outputs": [
|
|
302
|
+
{
|
|
303
|
+
"internalType": "bytes32",
|
|
304
|
+
"name": "",
|
|
305
|
+
"type": "bytes32"
|
|
306
|
+
}
|
|
307
|
+
],
|
|
308
|
+
"stateMutability": "view",
|
|
309
|
+
"type": "function"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"inputs": [],
|
|
313
|
+
"name": "WINDOW",
|
|
314
|
+
"outputs": [
|
|
315
|
+
{
|
|
316
|
+
"internalType": "uint64",
|
|
317
|
+
"name": "",
|
|
318
|
+
"type": "uint64"
|
|
319
|
+
}
|
|
320
|
+
],
|
|
321
|
+
"stateMutability": "view",
|
|
322
|
+
"type": "function"
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"inputs": [
|
|
326
|
+
{
|
|
327
|
+
"internalType": "uint64",
|
|
328
|
+
"name": "",
|
|
329
|
+
"type": "uint64"
|
|
330
|
+
}
|
|
331
|
+
],
|
|
332
|
+
"name": "chall",
|
|
333
|
+
"outputs": [
|
|
334
|
+
{
|
|
335
|
+
"internalType": "bytes32",
|
|
336
|
+
"name": "altRoot",
|
|
337
|
+
"type": "bytes32"
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"internalType": "uint256",
|
|
341
|
+
"name": "altYieldRate",
|
|
342
|
+
"type": "uint256"
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"internalType": "address",
|
|
346
|
+
"name": "challenger",
|
|
347
|
+
"type": "address"
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"internalType": "uint256",
|
|
351
|
+
"name": "bond",
|
|
352
|
+
"type": "uint256"
|
|
353
|
+
}
|
|
354
|
+
],
|
|
355
|
+
"stateMutability": "view",
|
|
356
|
+
"type": "function"
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"inputs": [
|
|
360
|
+
{
|
|
361
|
+
"internalType": "uint64",
|
|
362
|
+
"name": "dayId",
|
|
363
|
+
"type": "uint64"
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"internalType": "uint256",
|
|
367
|
+
"name": "validatorIdx",
|
|
368
|
+
"type": "uint256"
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"components": [
|
|
372
|
+
{
|
|
373
|
+
"internalType": "uint64",
|
|
374
|
+
"name": "ts",
|
|
375
|
+
"type": "uint64"
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
"internalType": "uint256",
|
|
379
|
+
"name": "idx",
|
|
380
|
+
"type": "uint256"
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"internalType": "uint64",
|
|
384
|
+
"name": "expected",
|
|
385
|
+
"type": "uint64"
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"internalType": "bytes32",
|
|
389
|
+
"name": "leaf",
|
|
390
|
+
"type": "bytes32"
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
"internalType": "bytes32[]",
|
|
394
|
+
"name": "branchState",
|
|
395
|
+
"type": "bytes32[]"
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"internalType": "uint256",
|
|
399
|
+
"name": "gindexState",
|
|
400
|
+
"type": "uint256"
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"internalType": "bytes32[]",
|
|
404
|
+
"name": "branchBlock",
|
|
405
|
+
"type": "bytes32[]"
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
"internalType": "uint256",
|
|
409
|
+
"name": "gindexStateInBlock",
|
|
410
|
+
"type": "uint256"
|
|
411
|
+
}
|
|
412
|
+
],
|
|
413
|
+
"internalType": "struct YieldOracle.BalanceProof",
|
|
414
|
+
"name": "prevDay",
|
|
415
|
+
"type": "tuple"
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
"components": [
|
|
419
|
+
{
|
|
420
|
+
"internalType": "uint64",
|
|
421
|
+
"name": "ts",
|
|
422
|
+
"type": "uint64"
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"internalType": "uint256",
|
|
426
|
+
"name": "idx",
|
|
427
|
+
"type": "uint256"
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
"internalType": "uint64",
|
|
431
|
+
"name": "expected",
|
|
432
|
+
"type": "uint64"
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
"internalType": "bytes32",
|
|
436
|
+
"name": "leaf",
|
|
437
|
+
"type": "bytes32"
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"internalType": "bytes32[]",
|
|
441
|
+
"name": "branchState",
|
|
442
|
+
"type": "bytes32[]"
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"internalType": "uint256",
|
|
446
|
+
"name": "gindexState",
|
|
447
|
+
"type": "uint256"
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"internalType": "bytes32[]",
|
|
451
|
+
"name": "branchBlock",
|
|
452
|
+
"type": "bytes32[]"
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"internalType": "uint256",
|
|
456
|
+
"name": "gindexStateInBlock",
|
|
457
|
+
"type": "uint256"
|
|
458
|
+
}
|
|
459
|
+
],
|
|
460
|
+
"internalType": "struct YieldOracle.BalanceProof",
|
|
461
|
+
"name": "currDay",
|
|
462
|
+
"type": "tuple"
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
"internalType": "bytes32[]",
|
|
466
|
+
"name": "branch",
|
|
467
|
+
"type": "bytes32[]"
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"internalType": "bytes32",
|
|
471
|
+
"name": "altRoot",
|
|
472
|
+
"type": "bytes32"
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
"internalType": "uint256",
|
|
476
|
+
"name": "altRateBps",
|
|
477
|
+
"type": "uint256"
|
|
478
|
+
}
|
|
479
|
+
],
|
|
480
|
+
"name": "challengeYield",
|
|
481
|
+
"outputs": [],
|
|
482
|
+
"stateMutability": "payable",
|
|
483
|
+
"type": "function"
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
"inputs": [],
|
|
487
|
+
"name": "claimBond",
|
|
488
|
+
"outputs": [],
|
|
489
|
+
"stateMutability": "nonpayable",
|
|
490
|
+
"type": "function"
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
"inputs": [
|
|
494
|
+
{
|
|
495
|
+
"internalType": "address",
|
|
496
|
+
"name": "",
|
|
497
|
+
"type": "address"
|
|
498
|
+
}
|
|
499
|
+
],
|
|
500
|
+
"name": "claimable",
|
|
501
|
+
"outputs": [
|
|
502
|
+
{
|
|
503
|
+
"internalType": "uint256",
|
|
504
|
+
"name": "",
|
|
505
|
+
"type": "uint256"
|
|
506
|
+
}
|
|
507
|
+
],
|
|
508
|
+
"stateMutability": "view",
|
|
509
|
+
"type": "function"
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
"inputs": [
|
|
513
|
+
{
|
|
514
|
+
"internalType": "uint64",
|
|
515
|
+
"name": "dayId",
|
|
516
|
+
"type": "uint64"
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
"internalType": "uint256",
|
|
520
|
+
"name": "sumDeltaGweiWinner",
|
|
521
|
+
"type": "uint256"
|
|
522
|
+
}
|
|
523
|
+
],
|
|
524
|
+
"name": "finalize",
|
|
525
|
+
"outputs": [],
|
|
526
|
+
"stateMutability": "nonpayable",
|
|
527
|
+
"type": "function"
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
"inputs": [
|
|
531
|
+
{
|
|
532
|
+
"internalType": "bytes32",
|
|
533
|
+
"name": "role",
|
|
534
|
+
"type": "bytes32"
|
|
535
|
+
}
|
|
536
|
+
],
|
|
537
|
+
"name": "getRoleAdmin",
|
|
538
|
+
"outputs": [
|
|
539
|
+
{
|
|
540
|
+
"internalType": "bytes32",
|
|
541
|
+
"name": "",
|
|
542
|
+
"type": "bytes32"
|
|
543
|
+
}
|
|
544
|
+
],
|
|
545
|
+
"stateMutability": "view",
|
|
546
|
+
"type": "function"
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
"inputs": [
|
|
550
|
+
{
|
|
551
|
+
"internalType": "bytes32",
|
|
552
|
+
"name": "role",
|
|
553
|
+
"type": "bytes32"
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
"internalType": "address",
|
|
557
|
+
"name": "account",
|
|
558
|
+
"type": "address"
|
|
559
|
+
}
|
|
560
|
+
],
|
|
561
|
+
"name": "grantRole",
|
|
562
|
+
"outputs": [],
|
|
563
|
+
"stateMutability": "nonpayable",
|
|
564
|
+
"type": "function"
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
"inputs": [
|
|
568
|
+
{
|
|
569
|
+
"internalType": "bytes32",
|
|
570
|
+
"name": "role",
|
|
571
|
+
"type": "bytes32"
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
"internalType": "address",
|
|
575
|
+
"name": "account",
|
|
576
|
+
"type": "address"
|
|
577
|
+
}
|
|
578
|
+
],
|
|
579
|
+
"name": "hasRole",
|
|
580
|
+
"outputs": [
|
|
581
|
+
{
|
|
582
|
+
"internalType": "bool",
|
|
583
|
+
"name": "",
|
|
584
|
+
"type": "bool"
|
|
585
|
+
}
|
|
586
|
+
],
|
|
587
|
+
"stateMutability": "view",
|
|
588
|
+
"type": "function"
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
"inputs": [],
|
|
592
|
+
"name": "liqEth",
|
|
593
|
+
"outputs": [
|
|
594
|
+
{
|
|
595
|
+
"internalType": "contract IRewardsERC20",
|
|
596
|
+
"name": "",
|
|
597
|
+
"type": "address"
|
|
598
|
+
}
|
|
599
|
+
],
|
|
600
|
+
"stateMutability": "view",
|
|
601
|
+
"type": "function"
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
"inputs": [],
|
|
605
|
+
"name": "paused",
|
|
606
|
+
"outputs": [
|
|
607
|
+
{
|
|
608
|
+
"internalType": "bool",
|
|
609
|
+
"name": "",
|
|
610
|
+
"type": "bool"
|
|
611
|
+
}
|
|
612
|
+
],
|
|
613
|
+
"stateMutability": "view",
|
|
614
|
+
"type": "function"
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
"inputs": [
|
|
618
|
+
{
|
|
619
|
+
"internalType": "bytes32",
|
|
620
|
+
"name": "role",
|
|
621
|
+
"type": "bytes32"
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
"internalType": "address",
|
|
625
|
+
"name": "callerConfirmation",
|
|
626
|
+
"type": "address"
|
|
627
|
+
}
|
|
628
|
+
],
|
|
629
|
+
"name": "renounceRole",
|
|
630
|
+
"outputs": [],
|
|
631
|
+
"stateMutability": "nonpayable",
|
|
632
|
+
"type": "function"
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
"inputs": [
|
|
636
|
+
{
|
|
637
|
+
"internalType": "bytes32",
|
|
638
|
+
"name": "role",
|
|
639
|
+
"type": "bytes32"
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
"internalType": "address",
|
|
643
|
+
"name": "account",
|
|
644
|
+
"type": "address"
|
|
645
|
+
}
|
|
646
|
+
],
|
|
647
|
+
"name": "revokeRole",
|
|
648
|
+
"outputs": [],
|
|
649
|
+
"stateMutability": "nonpayable",
|
|
650
|
+
"type": "function"
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
"inputs": [],
|
|
654
|
+
"name": "stakingModule",
|
|
655
|
+
"outputs": [
|
|
656
|
+
{
|
|
657
|
+
"internalType": "contract IStakingModule",
|
|
658
|
+
"name": "",
|
|
659
|
+
"type": "address"
|
|
660
|
+
}
|
|
661
|
+
],
|
|
662
|
+
"stateMutability": "view",
|
|
663
|
+
"type": "function"
|
|
664
|
+
},
|
|
665
|
+
{
|
|
666
|
+
"inputs": [
|
|
667
|
+
{
|
|
668
|
+
"internalType": "uint64",
|
|
669
|
+
"name": "",
|
|
670
|
+
"type": "uint64"
|
|
671
|
+
}
|
|
672
|
+
],
|
|
673
|
+
"name": "subm",
|
|
674
|
+
"outputs": [
|
|
675
|
+
{
|
|
676
|
+
"internalType": "bytes32",
|
|
677
|
+
"name": "beaconRoot",
|
|
678
|
+
"type": "bytes32"
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
"internalType": "bytes32",
|
|
682
|
+
"name": "yieldRoot",
|
|
683
|
+
"type": "bytes32"
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
"internalType": "uint256",
|
|
687
|
+
"name": "yieldRate",
|
|
688
|
+
"type": "uint256"
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
"internalType": "uint256",
|
|
692
|
+
"name": "sumDeltaGwei",
|
|
693
|
+
"type": "uint256"
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
"internalType": "uint256",
|
|
697
|
+
"name": "bond",
|
|
698
|
+
"type": "uint256"
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
"internalType": "address",
|
|
702
|
+
"name": "proposer",
|
|
703
|
+
"type": "address"
|
|
704
|
+
},
|
|
705
|
+
{
|
|
706
|
+
"internalType": "uint64",
|
|
707
|
+
"name": "ts",
|
|
708
|
+
"type": "uint64"
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
"internalType": "bool",
|
|
712
|
+
"name": "challenged",
|
|
713
|
+
"type": "bool"
|
|
714
|
+
}
|
|
715
|
+
],
|
|
716
|
+
"stateMutability": "view",
|
|
717
|
+
"type": "function"
|
|
718
|
+
},
|
|
719
|
+
{
|
|
720
|
+
"inputs": [
|
|
721
|
+
{
|
|
722
|
+
"internalType": "uint64",
|
|
723
|
+
"name": "dayId",
|
|
724
|
+
"type": "uint64"
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
"internalType": "uint64",
|
|
728
|
+
"name": "ts",
|
|
729
|
+
"type": "uint64"
|
|
730
|
+
},
|
|
731
|
+
{
|
|
732
|
+
"internalType": "bytes32",
|
|
733
|
+
"name": "beaconRoot",
|
|
734
|
+
"type": "bytes32"
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
"internalType": "bytes32",
|
|
738
|
+
"name": "yieldRoot",
|
|
739
|
+
"type": "bytes32"
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
"internalType": "uint256",
|
|
743
|
+
"name": "yieldRate",
|
|
744
|
+
"type": "uint256"
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
"internalType": "uint256",
|
|
748
|
+
"name": "rootSumGwei",
|
|
749
|
+
"type": "uint256"
|
|
750
|
+
}
|
|
751
|
+
],
|
|
752
|
+
"name": "submitDailyYield",
|
|
753
|
+
"outputs": [],
|
|
754
|
+
"stateMutability": "payable",
|
|
755
|
+
"type": "function"
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
"inputs": [
|
|
759
|
+
{
|
|
760
|
+
"internalType": "bytes4",
|
|
761
|
+
"name": "interfaceId",
|
|
762
|
+
"type": "bytes4"
|
|
763
|
+
}
|
|
764
|
+
],
|
|
765
|
+
"name": "supportsInterface",
|
|
766
|
+
"outputs": [
|
|
767
|
+
{
|
|
768
|
+
"internalType": "bool",
|
|
769
|
+
"name": "",
|
|
770
|
+
"type": "bool"
|
|
771
|
+
}
|
|
772
|
+
],
|
|
773
|
+
"stateMutability": "view",
|
|
774
|
+
"type": "function"
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
"inputs": [
|
|
778
|
+
{
|
|
779
|
+
"internalType": "uint64",
|
|
780
|
+
"name": "",
|
|
781
|
+
"type": "uint64"
|
|
782
|
+
}
|
|
783
|
+
],
|
|
784
|
+
"name": "tvlAt",
|
|
785
|
+
"outputs": [
|
|
786
|
+
{
|
|
787
|
+
"internalType": "uint256",
|
|
788
|
+
"name": "",
|
|
789
|
+
"type": "uint256"
|
|
790
|
+
}
|
|
791
|
+
],
|
|
792
|
+
"stateMutability": "view",
|
|
793
|
+
"type": "function"
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
"inputs": [],
|
|
797
|
+
"name": "verifier",
|
|
798
|
+
"outputs": [
|
|
799
|
+
{
|
|
800
|
+
"internalType": "contract IValidatorBalanceVerifier",
|
|
801
|
+
"name": "",
|
|
802
|
+
"type": "address"
|
|
803
|
+
}
|
|
804
|
+
],
|
|
805
|
+
"stateMutability": "view",
|
|
806
|
+
"type": "function"
|
|
807
|
+
}
|
|
808
|
+
],
|
|
809
|
+
"bytecode": "0x60e03461012857601f61190238819003918201601f19168301916001600160401b0383118484101761012d578084926080946040528339810103126101285761004781610143565b61005360208301610143565b61006b606061006460408601610143565b9401610143565b60018055926001600160a01b039283168015158061011d575b156100e95760805290821660a052811660c05281166100e057506100a733610157565b5060405161171a90816101e882396080518181816102100152611060015260a051818181610fef0152611584015260c05181610ee80152f35b6100a790610157565b60405162461bcd60e51b815260206004820152600c60248201526b41646472657373207a65726f60a01b6044820152606490fd5b508383161515610084565b600080fd5b634e487b7160e01b600052604160045260246000fd5b51906001600160a01b038216820361012857565b6001600160a01b031660008181527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5602052604081205490919060ff166101e357818052816020526040822081835260205260408220600160ff1982541617905533917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d8180a4600190565b509056fe608080604052600436101561001357600080fd5b600090813560e01c90816301ffc9a7146110ca5750806307e2cea51461108f5780630a6517611461104a578063248a9ca31461101e5780632b7ac3f314610fd95780632f2ff15d14610f9c57806336568abe14610f54578063402914f514610f17578063504b82bf14610ed25780635c975abb14610eaf5780635deccf1314610e1c57806374a0e0a3146108e957806379e7ab971461088657806391d148541461083e578063923989fd1461080657806397d7a7e2146105e4578063a217fddf146105c8578063a53e5412146105ac578063c7cf7484146104dd578063d547741f1461049c578063e0de0fee14610479578063ef83dcaa1461045b5763fd7b64391461011e57600080fd5b346104585760403660031901126104585761013761113a565b6024610141611650565b610149611364565b6001600160401b0380921690818452600390602091808352604086209160058301549560018060a01b039687811690610183821515611150565b82610192818360a01c166111a0565b1642106104285760e01c60ff166103f657936004810154946002858301549201545b60001989018481116103e3578a9291858592168d5260058a5260408d2054908115801561035d575b5050906101e891611220565b898c526005895260408c20551697888a526006875260408a2061020c878254611220565b90557f000000000000000000000000000000000000000000000000000000000000000016633b9aca009182810292818404149015171561034a5790818a9493923b15610346578385926040519687938492631b870ba760e01b845260048401525af1801561033b576102f2575b5050509060007f2ae2c2d0079ed90623db71765729413d38380f591ed0ade7727991047e42556e9392858852808452876005604082208481558460018201558460028201558484820155846004820155015560048452604088208281558260018201558860028201550155604051908152a36001805580f35b829893981161032957506040529460007f2ae2c2d0079ed90623db71765729413d38380f591ed0ade7727991047e42556e38610279565b634e487b7160e01b8352604160045282fd5b6040513d8b823e3d90fd5b8480fd5b634e487b7160e01b8a526011600452838afd5b919394509150612710908186029186830414861517156103d0576103bd578290040361038e5790828a9238806101dc565b60405162461bcd60e51b815260048101899052600881870152671c985d194818985960c21b6044820152606490fd5b634e487b7160e01b8d526012600452868dfd5b634e487b7160e01b8e526011600452878efd5b634e487b7160e01b8c526011600452858cfd5b50858852600485526040882061041b6004896002840154169601548583015490611220565b94600184359201546101b4565b60405162461bcd60e51b81526004810188905260098186015268746f6f206561726c7960b81b6044820152606490fd5b80fd5b50346104585780600319360112610458576020604051620151808152f35b5034610458578060031936011261045857602060405167016345785d8a00008152f35b5034610458576040366003190112610458576104d96004356104bc61111f565b90808452836020526104d4600160408620015461122d565b6112ef565b5080f35b50346104585780600319360112610458576104f6611650565b33815260066020526040812054801561057d57338252600660205281604081205580471061055d578180808093335af161052e611382565b901561053c57506001805580f35b80511561054b57602081519101fd5b60405163d6bda27560e01b8152600490fd5b60405163cf47918160e01b81524760048201526024810191909152604490fd5b60405162461bcd60e51b81526020600482015260076024820152666e6f7468696e6760c81b6044820152606490fd5b5034610458578060031936011261045857602060405160018152f35b5034610458578060031936011261045857602090604051908152f35b5060c0366003190112610458576105f961113a565b6001600160401b03602480358281169182820361080257836044359516948587526020946003865260018060a01b039384600560408b200154166107d557816201518087041688036107ab5761064e906113c1565b801561077d578203610749576040519261010084019182118483101761073757509160059188949360405281528581016064358152604082016084358152606083019060a43582526080840192348452600360a086019a338c5260c087019a8b528c60e088019a808c52525260408c2094518555516001850155516002840155516003830155516004820155019351168354926001600160401b0360a01b905160a01b169160ff60e01b9051151560e01b169262ffffff60e81b16171717905533907f4b44fcfbb0929b2e9cefb0892dcebfe6284fdba2a58987242510271ee868b6838380a380f35b634e487b7160e01b8952604160045288fd5b60405162461bcd60e51b815260048101879052600d818501526c0a4dedee840dad2e6dac2e8c6d609b1b6044820152606490fd5b60405162461bcd60e51b81526004810188905260078186015266139bc81c9bdbdd60ca1b6044820152606490fd5b60405162461bcd60e51b8152600481810189905281860152634461792160e01b6044820152606490fd5b60405162461bcd60e51b8152600481018890526006818601526565786973747360d01b6044820152606490fd5b8580fd5b50346104585760203660031901126104585760406020916001600160401b0361082d61113a565b168152600583522054604051908152f35b50346104585760403660031901126104585760ff604060209261085f61111f565b60043582528185528282206001600160a01b03909116825284522054604051911615158152f35b50346104585760203660031901126104585760406080916001600160401b036108ad61113a565b168152600460205220805490600181015490600360018060a01b0360028301541691015491604051938452602084015260408301526060820152f35b5060031960e036820112610e10576108ff61113a565b906001600160401b0360443511610e185761010090818160443536030112610e14576001600160401b0360643511610e145760643536030112610e10576001600160401b0360843511610e1057366023608435011215610e10576001600160401b036084356004013511610e10573660246084356004013560051b608435010111610e105761098c611364565b6001600160401b038116825260036020526040822060058101546109ba6001600160a01b0382161515611150565b60ff8160e01c16610de157600182015460a43514610db0576109e060643560040161118c565b6001600160401b03808360a01c16911603610d6b57610a0b610a0660643560040161118c565b6113c1565b825403610d3157610a2060443560040161118c565b6001600160401b0380610a3760643560040161118c565b1691161015610d0057620151806001600160401b0380610a678382610a6060443560040161118c565b16046111a0565b9281610a7760643560040161118c565b160416911603610ccc57610a8f6044356004016114ce565b6001600160401b03610aa56064356004016114ce565b16906001600160401b03808216830311610cb857602435602460443501351480610ca7575b15610c735760405190602082019260243584526001600160401b038060c01b9216900360c01b16604082015260288152610b03816111ce565b519020602435855b608435600401358110610c3457505060a43503610c035760ff60e01b1916600160e01b1760059190910155604051608081016001600160401b03811182821017610bef5760405260a435815260036020820160c43581526040830133815260608401913483526001600160401b038616875260046020526040872094518555516001850155600284019060018060a01b039051166bffffffffffffffffffffffff60a01b8254161790555191015533906001600160401b0360243591167f5fbbbc9a2dd074618992982f7773af1571d53778cef63f978db91df7f7c4e7228480a480f35b634e487b7160e01b84526041600452602484fd5b60405162461bcd60e51b81526020600482015260096024820152683130b210383937b7b360b91b6044820152606490fd5b909160019060248360051b6084350101358280861614600014610c655790610c5b91611673565b92811c9101610b0b565b610c6e91611673565b610c5b565b60405162461bcd60e51b815260206004820152600c60248201526b0d2c8f040dad2e6dac2e8c6d60a31b6044820152606490fd5b506024356024606435013514610aca565b634e487b7160e01b86526011600452602486fd5b60405162461bcd60e51b815260206004820152600c60248201526b03bb937b733903230bca4b2160a51b6044820152606490fd5b60405162461bcd60e51b8152602060048201526009602482015268074696d657374616d760bc1b6044820152606490fd5b60405162461bcd60e51b8152602060048201526012602482015271726f6f7473206e6f74206d61746368696e6760701b6044820152606490fd5b60405162461bcd60e51b815260206004820152601860248201527f74696d657374616d70206973206e6f7420636f727265637400000000000000006044820152606490fd5b60405162461bcd60e51b81526020600482015260096024820152681cd85b59481c9bdbdd60ba1b6044820152606490fd5b60405162461bcd60e51b8152602060048201526007602482015266616c726561647960c81b6044820152606490fd5b5080fd5b8380fd5b8280fd5b5034610458576020366003190112610458576101009060ff60406001600160401b039283610e4861113a565b16815260036020522080549260018201549160028101546003820154906005600484015493015494604051978852602088015260408701526060860152608085015260018060a01b03821660a08501528160a01c1660c084015260e01c16151560e0820152f35b5034610458578060031936011261045857602060ff600254166040519015158152f35b50346104585780600319360112610458576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b5034610458576020366003190112610458576004356001600160a01b03811690819003610e10578160409160209352600683522054604051908152f35b503461045857604036600319011261045857610f6e61111f565b336001600160a01b03821603610f8a576104d9906004356112ef565b60405163334bd91960e11b8152600490fd5b5034610458576040366003190112610458576104d9600435610fbc61111f565b9080845283602052610fd4600160408620015461122d565b611271565b50346104585780600319360112610458576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b503461045857602036600319011261045857600160406020926004358152808452200154604051908152f35b50346104585780600319360112610458576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b503461045857806003193601126104585760206040517f68e79a7bf1e0bc45d0a330c573bc367f9cf464fd326078812f301165fbda4ef18152f35b905034610e10576020366003190112610e105760043563ffffffff60e01b8116809103610e185760209250637965db0b60e01b811490811561110e575b5015158152f35b6301ffc9a760e01b14905038611107565b602435906001600160a01b038216820361113557565b600080fd5b600435906001600160401b038216820361113557565b1561115757565b60405162461bcd60e51b815260206004820152600d60248201526c37379039bab136b4b9b9b4b7b760991b6044820152606490fd5b356001600160401b03811681036111355790565b9060016001600160401b03809316019182116111b857565b634e487b7160e01b600052601160045260246000fd5b606081019081106001600160401b038211176111e957604052565b634e487b7160e01b600052604160045260246000fd5b90601f801991011681019081106001600160401b038211176111e957604052565b919082018092116111b857565b80600052600060205260406000203360005260205260ff60406000205416156112535750565b6044906040519063e2517d3f60e01b82523360048301526024820152fd5b9060009180835282602052604083209160018060a01b03169182845260205260ff604084205416156000146112ea57808352826020526040832082845260205260408320600160ff198254161790557f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d339380a4600190565b505090565b9060009180835282602052604083209160018060a01b03169182845260205260ff6040842054166000146112ea5780835282602052604083208284526020526040832060ff1981541690557ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b339380a4600190565b60ff6002541661137057565b60405163d93c066560e01b8152600490fd5b3d156113bc573d906001600160401b0382116111e957604051916113b0601f8201601f1916602001846111ff565b82523d6000602084013e565b606090565b6001600160401b036040519060209281848401911681528383526040830191838310908311176111e95760009283926040525190720f3df6d732807ef1319fb7b8bb8522d0beac025afa611413611382565b908061146b575b1561143057818180518101031261113557015190565b60405162461bcd60e51b81526004810183905260136024820152721152540d0dce0e081c9958590819985a5b1959606a1b6044820152606490fd5b508181511461141a565b903590601e198136030182121561113557018035906001600160401b03821161113557602001918160051b3603831361113557565b81835290916001600160fb1b0383116111355760209260051b809284830137010190565b6114d78161118c565b90604090816114e781830161118c565b936114f56080840184611475565b91909360e061157861150a60c0840184611475565b61155c8851998a98899863d58a9e05881b8a526001600160401b039e8f80921660048c015260208a013560248c01521660448a0152606088013560648a015261010060848a01526101048901916114aa565b60a086013560a48801528681036003190160c4880152916114aa565b91013560e483015203817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9283156116455760009182946115fc575b5050156115ca575090565b5162461bcd60e51b815260206004820152600c60248201526b1c1c9bdbd98819985a5b195960a21b6044820152606490fd5b919093508282813d831161163e575b61161581836111ff565b81010312610458578151918215158303610e1057602001519384168403610458575038806115bf565b503d61160b565b82513d6000823e3d90fd5b600260015414611661576002600155565b604051633ee5aeb560e01b8152600490fd5b919091604051926020916020850152604084015260408352611694836111ce565b6040519083519060005b8281106116d3575050602092935090806000928101838152039060025afa156116c75760005190565b6040513d6000823e3d90fd5b85810182015184820152810161169e56fea2646970667358221220df178114d758882840e150e44aebe8dea41876c8de0d8906b946c90f96f2f42e64736f6c63430008190033",
|
|
810
|
+
"deployedBytecode": "0x608080604052600436101561001357600080fd5b600090813560e01c90816301ffc9a7146110ca5750806307e2cea51461108f5780630a6517611461104a578063248a9ca31461101e5780632b7ac3f314610fd95780632f2ff15d14610f9c57806336568abe14610f54578063402914f514610f17578063504b82bf14610ed25780635c975abb14610eaf5780635deccf1314610e1c57806374a0e0a3146108e957806379e7ab971461088657806391d148541461083e578063923989fd1461080657806397d7a7e2146105e4578063a217fddf146105c8578063a53e5412146105ac578063c7cf7484146104dd578063d547741f1461049c578063e0de0fee14610479578063ef83dcaa1461045b5763fd7b64391461011e57600080fd5b346104585760403660031901126104585761013761113a565b6024610141611650565b610149611364565b6001600160401b0380921690818452600390602091808352604086209160058301549560018060a01b039687811690610183821515611150565b82610192818360a01c166111a0565b1642106104285760e01c60ff166103f657936004810154946002858301549201545b60001989018481116103e3578a9291858592168d5260058a5260408d2054908115801561035d575b5050906101e891611220565b898c526005895260408c20551697888a526006875260408a2061020c878254611220565b90557f000000000000000000000000000000000000000000000000000000000000000016633b9aca009182810292818404149015171561034a5790818a9493923b15610346578385926040519687938492631b870ba760e01b845260048401525af1801561033b576102f2575b5050509060007f2ae2c2d0079ed90623db71765729413d38380f591ed0ade7727991047e42556e9392858852808452876005604082208481558460018201558460028201558484820155846004820155015560048452604088208281558260018201558860028201550155604051908152a36001805580f35b829893981161032957506040529460007f2ae2c2d0079ed90623db71765729413d38380f591ed0ade7727991047e42556e38610279565b634e487b7160e01b8352604160045282fd5b6040513d8b823e3d90fd5b8480fd5b634e487b7160e01b8a526011600452838afd5b919394509150612710908186029186830414861517156103d0576103bd578290040361038e5790828a9238806101dc565b60405162461bcd60e51b815260048101899052600881870152671c985d194818985960c21b6044820152606490fd5b634e487b7160e01b8d526012600452868dfd5b634e487b7160e01b8e526011600452878efd5b634e487b7160e01b8c526011600452858cfd5b50858852600485526040882061041b6004896002840154169601548583015490611220565b94600184359201546101b4565b60405162461bcd60e51b81526004810188905260098186015268746f6f206561726c7960b81b6044820152606490fd5b80fd5b50346104585780600319360112610458576020604051620151808152f35b5034610458578060031936011261045857602060405167016345785d8a00008152f35b5034610458576040366003190112610458576104d96004356104bc61111f565b90808452836020526104d4600160408620015461122d565b6112ef565b5080f35b50346104585780600319360112610458576104f6611650565b33815260066020526040812054801561057d57338252600660205281604081205580471061055d578180808093335af161052e611382565b901561053c57506001805580f35b80511561054b57602081519101fd5b60405163d6bda27560e01b8152600490fd5b60405163cf47918160e01b81524760048201526024810191909152604490fd5b60405162461bcd60e51b81526020600482015260076024820152666e6f7468696e6760c81b6044820152606490fd5b5034610458578060031936011261045857602060405160018152f35b5034610458578060031936011261045857602090604051908152f35b5060c0366003190112610458576105f961113a565b6001600160401b03602480358281169182820361080257836044359516948587526020946003865260018060a01b039384600560408b200154166107d557816201518087041688036107ab5761064e906113c1565b801561077d578203610749576040519261010084019182118483101761073757509160059188949360405281528581016064358152604082016084358152606083019060a43582526080840192348452600360a086019a338c5260c087019a8b528c60e088019a808c52525260408c2094518555516001850155516002840155516003830155516004820155019351168354926001600160401b0360a01b905160a01b169160ff60e01b9051151560e01b169262ffffff60e81b16171717905533907f4b44fcfbb0929b2e9cefb0892dcebfe6284fdba2a58987242510271ee868b6838380a380f35b634e487b7160e01b8952604160045288fd5b60405162461bcd60e51b815260048101879052600d818501526c0a4dedee840dad2e6dac2e8c6d609b1b6044820152606490fd5b60405162461bcd60e51b81526004810188905260078186015266139bc81c9bdbdd60ca1b6044820152606490fd5b60405162461bcd60e51b8152600481810189905281860152634461792160e01b6044820152606490fd5b60405162461bcd60e51b8152600481018890526006818601526565786973747360d01b6044820152606490fd5b8580fd5b50346104585760203660031901126104585760406020916001600160401b0361082d61113a565b168152600583522054604051908152f35b50346104585760403660031901126104585760ff604060209261085f61111f565b60043582528185528282206001600160a01b03909116825284522054604051911615158152f35b50346104585760203660031901126104585760406080916001600160401b036108ad61113a565b168152600460205220805490600181015490600360018060a01b0360028301541691015491604051938452602084015260408301526060820152f35b5060031960e036820112610e10576108ff61113a565b906001600160401b0360443511610e185761010090818160443536030112610e14576001600160401b0360643511610e145760643536030112610e10576001600160401b0360843511610e1057366023608435011215610e10576001600160401b036084356004013511610e10573660246084356004013560051b608435010111610e105761098c611364565b6001600160401b038116825260036020526040822060058101546109ba6001600160a01b0382161515611150565b60ff8160e01c16610de157600182015460a43514610db0576109e060643560040161118c565b6001600160401b03808360a01c16911603610d6b57610a0b610a0660643560040161118c565b6113c1565b825403610d3157610a2060443560040161118c565b6001600160401b0380610a3760643560040161118c565b1691161015610d0057620151806001600160401b0380610a678382610a6060443560040161118c565b16046111a0565b9281610a7760643560040161118c565b160416911603610ccc57610a8f6044356004016114ce565b6001600160401b03610aa56064356004016114ce565b16906001600160401b03808216830311610cb857602435602460443501351480610ca7575b15610c735760405190602082019260243584526001600160401b038060c01b9216900360c01b16604082015260288152610b03816111ce565b519020602435855b608435600401358110610c3457505060a43503610c035760ff60e01b1916600160e01b1760059190910155604051608081016001600160401b03811182821017610bef5760405260a435815260036020820160c43581526040830133815260608401913483526001600160401b038616875260046020526040872094518555516001850155600284019060018060a01b039051166bffffffffffffffffffffffff60a01b8254161790555191015533906001600160401b0360243591167f5fbbbc9a2dd074618992982f7773af1571d53778cef63f978db91df7f7c4e7228480a480f35b634e487b7160e01b84526041600452602484fd5b60405162461bcd60e51b81526020600482015260096024820152683130b210383937b7b360b91b6044820152606490fd5b909160019060248360051b6084350101358280861614600014610c655790610c5b91611673565b92811c9101610b0b565b610c6e91611673565b610c5b565b60405162461bcd60e51b815260206004820152600c60248201526b0d2c8f040dad2e6dac2e8c6d60a31b6044820152606490fd5b506024356024606435013514610aca565b634e487b7160e01b86526011600452602486fd5b60405162461bcd60e51b815260206004820152600c60248201526b03bb937b733903230bca4b2160a51b6044820152606490fd5b60405162461bcd60e51b8152602060048201526009602482015268074696d657374616d760bc1b6044820152606490fd5b60405162461bcd60e51b8152602060048201526012602482015271726f6f7473206e6f74206d61746368696e6760701b6044820152606490fd5b60405162461bcd60e51b815260206004820152601860248201527f74696d657374616d70206973206e6f7420636f727265637400000000000000006044820152606490fd5b60405162461bcd60e51b81526020600482015260096024820152681cd85b59481c9bdbdd60ba1b6044820152606490fd5b60405162461bcd60e51b8152602060048201526007602482015266616c726561647960c81b6044820152606490fd5b5080fd5b8380fd5b8280fd5b5034610458576020366003190112610458576101009060ff60406001600160401b039283610e4861113a565b16815260036020522080549260018201549160028101546003820154906005600484015493015494604051978852602088015260408701526060860152608085015260018060a01b03821660a08501528160a01c1660c084015260e01c16151560e0820152f35b5034610458578060031936011261045857602060ff600254166040519015158152f35b50346104585780600319360112610458576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b5034610458576020366003190112610458576004356001600160a01b03811690819003610e10578160409160209352600683522054604051908152f35b503461045857604036600319011261045857610f6e61111f565b336001600160a01b03821603610f8a576104d9906004356112ef565b60405163334bd91960e11b8152600490fd5b5034610458576040366003190112610458576104d9600435610fbc61111f565b9080845283602052610fd4600160408620015461122d565b611271565b50346104585780600319360112610458576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b503461045857602036600319011261045857600160406020926004358152808452200154604051908152f35b50346104585780600319360112610458576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b503461045857806003193601126104585760206040517f68e79a7bf1e0bc45d0a330c573bc367f9cf464fd326078812f301165fbda4ef18152f35b905034610e10576020366003190112610e105760043563ffffffff60e01b8116809103610e185760209250637965db0b60e01b811490811561110e575b5015158152f35b6301ffc9a760e01b14905038611107565b602435906001600160a01b038216820361113557565b600080fd5b600435906001600160401b038216820361113557565b1561115757565b60405162461bcd60e51b815260206004820152600d60248201526c37379039bab136b4b9b9b4b7b760991b6044820152606490fd5b356001600160401b03811681036111355790565b9060016001600160401b03809316019182116111b857565b634e487b7160e01b600052601160045260246000fd5b606081019081106001600160401b038211176111e957604052565b634e487b7160e01b600052604160045260246000fd5b90601f801991011681019081106001600160401b038211176111e957604052565b919082018092116111b857565b80600052600060205260406000203360005260205260ff60406000205416156112535750565b6044906040519063e2517d3f60e01b82523360048301526024820152fd5b9060009180835282602052604083209160018060a01b03169182845260205260ff604084205416156000146112ea57808352826020526040832082845260205260408320600160ff198254161790557f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d339380a4600190565b505090565b9060009180835282602052604083209160018060a01b03169182845260205260ff6040842054166000146112ea5780835282602052604083208284526020526040832060ff1981541690557ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b339380a4600190565b60ff6002541661137057565b60405163d93c066560e01b8152600490fd5b3d156113bc573d906001600160401b0382116111e957604051916113b0601f8201601f1916602001846111ff565b82523d6000602084013e565b606090565b6001600160401b036040519060209281848401911681528383526040830191838310908311176111e95760009283926040525190720f3df6d732807ef1319fb7b8bb8522d0beac025afa611413611382565b908061146b575b1561143057818180518101031261113557015190565b60405162461bcd60e51b81526004810183905260136024820152721152540d0dce0e081c9958590819985a5b1959606a1b6044820152606490fd5b508181511461141a565b903590601e198136030182121561113557018035906001600160401b03821161113557602001918160051b3603831361113557565b81835290916001600160fb1b0383116111355760209260051b809284830137010190565b6114d78161118c565b90604090816114e781830161118c565b936114f56080840184611475565b91909360e061157861150a60c0840184611475565b61155c8851998a98899863d58a9e05881b8a526001600160401b039e8f80921660048c015260208a013560248c01521660448a0152606088013560648a015261010060848a01526101048901916114aa565b60a086013560a48801528681036003190160c4880152916114aa565b91013560e483015203817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9283156116455760009182946115fc575b5050156115ca575090565b5162461bcd60e51b815260206004820152600c60248201526b1c1c9bdbd98819985a5b195960a21b6044820152606490fd5b919093508282813d831161163e575b61161581836111ff565b81010312610458578151918215158303610e1057602001519384168403610458575038806115bf565b503d61160b565b82513d6000823e3d90fd5b600260015414611661576002600155565b604051633ee5aeb560e01b8152600490fd5b919091604051926020916020850152604084015260408352611694836111ce565b6040519083519060005b8281106116d3575050602092935090806000928101838152039060025afa156116c75760005190565b6040513d6000823e3d90fd5b85810182015184820152810161169e56fea2646970667358221220df178114d758882840e150e44aebe8dea41876c8de0d8906b946c90f96f2f42e64736f6c63430008190033",
|
|
811
|
+
"linkReferences": {},
|
|
812
|
+
"deployedLinkReferences": {}
|
|
813
|
+
}
|