@wireio/stake 0.4.3 → 0.5.0
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/lib/stake.browser.js +12682 -6721
- package/lib/stake.browser.js.map +1 -1
- package/lib/stake.d.ts +158 -13
- package/lib/stake.js +12356 -6388
- package/lib/stake.js.map +1 -1
- package/lib/stake.m.js +12682 -6721
- package/lib/stake.m.js.map +1 -1
- package/package.json +1 -1
- package/src/assets/ethereum/ABI/common/Base58.sol/Base58.dbg.json +4 -0
- package/src/assets/ethereum/ABI/common/Base58.sol/Base58.json +164 -0
- package/src/assets/ethereum/ABI/common/OpenZepArtifacts.sol/__Dummy_OZ_UUPS__.dbg.json +4 -0
- package/src/assets/ethereum/ABI/common/OpenZepArtifacts.sol/__Dummy_OZ_UUPS__.json +76 -0
- package/src/assets/ethereum/ABI/common/RestrictedCallers.sol/RestrictedCallers.dbg.json +4 -0
- package/src/assets/ethereum/ABI/common/RestrictedCallers.sol/RestrictedCallers.json +10 -0
- package/src/assets/ethereum/ABI/common/iodata.sol/iodata.dbg.json +4 -0
- package/src/assets/ethereum/ABI/common/iodata.sol/iodata.json +618 -0
- package/src/assets/ethereum/ABI/common/iodata_util.sol/iodata_util.dbg.json +4 -0
- package/src/assets/ethereum/ABI/common/iodata_util.sol/iodata_util.json +40 -0
- package/src/assets/ethereum/ABI/common/sysio_data.sol/sysio_data.dbg.json +4 -0
- package/src/assets/ethereum/ABI/common/sysio_data.sol/sysio_data.json +10 -0
- package/src/assets/ethereum/ABI/common/sysio_errors.sol/sysio_errors.dbg.json +4 -0
- package/src/assets/ethereum/ABI/common/sysio_errors.sol/sysio_errors.json +10 -0
- package/src/assets/ethereum/ABI/common/sysio_merkle.sol/sysio_merkle.dbg.json +4 -0
- package/src/assets/ethereum/ABI/common/sysio_merkle.sol/sysio_merkle.json +233 -0
- package/src/assets/ethereum/ABI/common/sysio_name.sol/sysio_name.dbg.json +4 -0
- package/src/assets/ethereum/ABI/common/sysio_name.sol/sysio_name.json +49 -0
- package/src/assets/ethereum/ABI/common/sysio_pubkey.sol/sysio_pubkey.dbg.json +4 -0
- package/src/assets/ethereum/ABI/common/sysio_pubkey.sol/sysio_pubkey.json +64 -0
- package/src/assets/ethereum/ABI/common/sysio_read.sol/sysio_read.dbg.json +4 -0
- package/src/assets/ethereum/ABI/common/sysio_read.sol/sysio_read.json +1458 -0
- package/src/assets/ethereum/ABI/common/sysio_tester.sol/SysioTester.dbg.json +4 -0
- package/src/assets/ethereum/ABI/common/sysio_tester.sol/SysioTester.json +1532 -0
- package/src/assets/ethereum/ABI/common/sysio_verify.sol/sysio_verify.dbg.json +4 -0
- package/src/assets/ethereum/ABI/common/sysio_verify.sol/sysio_verify.json +1525 -0
- package/src/assets/ethereum/ABI/common/sysio_write.sol/sysio_write.dbg.json +4 -0
- package/src/assets/ethereum/ABI/common/sysio_write.sol/sysio_write.json +1076 -0
- package/src/assets/ethereum/ABI/liqEth/BeaconState.sol/BeaconState.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/DepositManager.sol/DepositManager.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/DepositManager.sol/DepositManager.json +28 -2
- package/src/assets/ethereum/ABI/liqEth/LiqEthAuthority.sol/LiqEthAuthority.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IAccounting.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IDepositContract.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IDepositManager.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/ILiqEthUpgradeable.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IRewardsERC20.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IRewardsERC20Pausable.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IStakingModule.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IValidatorBalanceVerifier.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IWithdrawalRecord.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/LiqEthCommon.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/LiqEthManaged.sol/LiqEthManaged.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/RewardsERC20.sol/RewardsERC20Upgradeable.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/RewardsERC20Pausable.sol/RewardsERC20PausableUpgradeable.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/Yield.sol/YieldOracle.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/Yield.sol/YieldOracle.json +2 -2
- package/src/assets/ethereum/ABI/liqEth/accounting.sol/Accounting.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/accounting.sol/Accounting.json +2 -15
- package/src/assets/ethereum/ABI/liqEth/liqEth.sol/LiqEthToken.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/stakingModule.sol/StakingModule.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/stakingModule.sol/StakingModule.json +6 -25
- package/src/assets/ethereum/ABI/liqEth/withdrawalQueue.sol/WithdrawalQueue.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/withdrawalVault.sol/Uint64BE.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/withdrawalVault.sol/Uint64BE.json +2 -2
- package/src/assets/ethereum/ABI/liqEth/withdrawalVault.sol/WithdrawalVault.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/withdrawalVault.sol/WithdrawalVault.json +6 -25
- package/src/assets/ethereum/ABI/outpost/BAR.sol/BAR.dbg.json +1 -1
- package/src/assets/ethereum/ABI/outpost/Depositor.sol/Depositor.dbg.json +1 -1
- package/src/assets/ethereum/ABI/outpost/Depositor.sol/Depositor.json +26 -26
- package/src/assets/ethereum/ABI/outpost/EthUsdPriceConsumer.sol/AggregatorV3Interface.dbg.json +1 -1
- package/src/assets/ethereum/ABI/outpost/EthUsdPriceConsumer.sol/EthUsdPriceConsumer.dbg.json +1 -1
- package/src/assets/ethereum/ABI/outpost/OPP.sol/OPP.dbg.json +1 -1
- package/src/assets/ethereum/ABI/outpost/OPPCommon.sol/IOPP.dbg.json +1 -1
- package/src/assets/ethereum/ABI/outpost/OPPCommon.sol/IOPPEndpoint.dbg.json +1 -1
- package/src/assets/ethereum/ABI/outpost/OPPCommon.sol/IOPPInbound.dbg.json +1 -1
- package/src/assets/ethereum/ABI/outpost/OPPCommon.sol/IOPPReceiver.dbg.json +1 -1
- package/src/assets/ethereum/ABI/outpost/OPPCommon.sol/IOPPSender.dbg.json +1 -1
- package/src/assets/ethereum/ABI/outpost/OPPCommon.sol/OPPCommon.dbg.json +1 -1
- package/src/assets/ethereum/ABI/outpost/OPPEndpoint.sol/OPPEndpoint.dbg.json +1 -1
- package/src/assets/ethereum/ABI/outpost/OPPEndpointManaged.sol/OPPEndpointManaged.dbg.json +1 -1
- package/src/assets/ethereum/ABI/outpost/OPPEndpointOwnable.sol/OPPEndpointOwnable.dbg.json +1 -1
- package/src/assets/ethereum/ABI/outpost/OPPErrors.sol/OPPErrors.dbg.json +1 -1
- package/src/assets/ethereum/ABI/outpost/OPPInbound.sol/OPPInbound.dbg.json +1 -1
- package/src/assets/ethereum/ABI/outpost/OPPReceiver.sol/OPPReceiver.dbg.json +1 -1
- package/src/assets/ethereum/ABI/outpost/OPPSender.sol/OPPSender.dbg.json +1 -1
- package/src/assets/ethereum/ABI/outpost/OutpostErrors.sol/OutpostErrors.dbg.json +1 -1
- package/src/assets/ethereum/ABI/outpost/OutpostManaged.sol/OutpostManaged.dbg.json +1 -1
- package/src/assets/ethereum/ABI/outpost/OutpostManager.sol/OutpostManager.dbg.json +1 -1
- package/src/assets/ethereum/ABI/outpost/OutpostManagerAuthority.sol/OutpostManagerAuthority.dbg.json +1 -1
- package/src/assets/ethereum/ABI/outpost/OutpostManagerCommon.sol/IOutpostManager.dbg.json +1 -1
- package/src/assets/ethereum/ABI/outpost/OutpostManagerCommon.sol/IOutpostUpgradeable.dbg.json +1 -1
- package/src/assets/ethereum/ABI/outpost/OutpostManagerCommon.sol/OutpostManagerCommon.dbg.json +1 -1
- package/src/assets/ethereum/ABI/outpost/OutpostOwnable.sol/OutpostOwnable.dbg.json +1 -1
- package/src/assets/ethereum/ABI/outpost/Pool.sol/Pool.dbg.json +1 -1
- package/src/assets/ethereum/ABI/outpost/Pool.sol/Pool.json +2 -2
- package/src/assets/ethereum/ABI/outpost/Pretoken.sol/Pretoken.dbg.json +1 -1
- package/src/assets/ethereum/ABI/outpost/Pretoken.sol/Pretoken.json +9 -9
- package/src/assets/ethereum/ABI/outpost/ReceiptNFT.sol/ReceiptNFT.dbg.json +1 -1
- package/src/assets/ethereum/ABI/outpost/interfaces/IPretoken.sol/IPretoken.dbg.json +1 -1
- package/src/assets/ethereum/ABI/outpost/interfaces/IWarrant.sol/IWarrant.dbg.json +1 -1
- package/src/assets/ethereum/ABI/outpost/token/ERC721EthEquivalentVotesUpgradeable.sol/ERC721EthEquivalentVotesUpgradeable.dbg.json +1 -1
- package/src/assets/ethereum/ABI/outpost/token/IERC721EthEquivalent.sol/IERC721EthEquivalent.dbg.json +1 -1
- package/src/networks/ethereum/clients/convert.client.ts +2 -2
- package/src/networks/ethereum/clients/pretoken.client.ts +6 -4
- package/src/networks/ethereum/clients/stake.client.ts +2 -2
- package/src/networks/ethereum/contract.ts +102 -49
- package/src/networks/ethereum/ethereum.ts +64 -52
- package/src/networks/ethereum/types.ts +26 -17
- package/src/networks/ethereum/utils.ts +8 -8
- package/src/networks/solana/clients/distribution.client.ts +36 -1
- package/src/networks/solana/solana.ts +131 -7
- package/src/networks/solana/types.ts +129 -0
- package/src/types.ts +6 -2
- package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/BeaconRoots.dbg.json +0 -4
- package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/BeaconRoots.json +0 -10
- package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/SSZ.dbg.json +0 -4
- package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/SSZ.json +0 -10
- package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/SSZExtras.dbg.json +0 -4
- package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/SSZExtras.json +0 -10
- package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/SSZVec48.dbg.json +0 -4
- package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/SSZVec48.json +0 -10
- package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/ValidatorBalanceVerifier.dbg.json +0 -4
- package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/ValidatorBalanceVerifier.json +0 -291
- package/src/assets/ethereum/ABI/outpost/Aggregator.sol/Aggregator.json +0 -82
package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/ValidatorBalanceVerifier.json
DELETED
|
@@ -1,291 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_format": "hh-sol-artifact-1",
|
|
3
|
-
"contractName": "ValidatorBalanceVerifier",
|
|
4
|
-
"sourceName": "contracts/liqEth/ValidatorBalanceVerifier.sol",
|
|
5
|
-
"abi": [
|
|
6
|
-
{
|
|
7
|
-
"inputs": [
|
|
8
|
-
{
|
|
9
|
-
"internalType": "uint64",
|
|
10
|
-
"name": "ts",
|
|
11
|
-
"type": "uint64"
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"internalType": "uint256",
|
|
15
|
-
"name": "",
|
|
16
|
-
"type": "uint256"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"internalType": "uint64",
|
|
20
|
-
"name": "expectedActivationEpoch",
|
|
21
|
-
"type": "uint64"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"internalType": "bytes32",
|
|
25
|
-
"name": "actLeaf",
|
|
26
|
-
"type": "bytes32"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"internalType": "bytes32[]",
|
|
30
|
-
"name": "branchState",
|
|
31
|
-
"type": "bytes32[]"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"internalType": "uint256",
|
|
35
|
-
"name": "gindexState",
|
|
36
|
-
"type": "uint256"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"internalType": "bytes32[]",
|
|
40
|
-
"name": "branchBlock",
|
|
41
|
-
"type": "bytes32[]"
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"internalType": "uint256",
|
|
45
|
-
"name": "gindexStateInBlock",
|
|
46
|
-
"type": "uint256"
|
|
47
|
-
}
|
|
48
|
-
],
|
|
49
|
-
"name": "verifyActivationEpochAtTimestamp",
|
|
50
|
-
"outputs": [
|
|
51
|
-
{
|
|
52
|
-
"internalType": "bool",
|
|
53
|
-
"name": "ok",
|
|
54
|
-
"type": "bool"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"internalType": "uint64",
|
|
58
|
-
"name": "activationEpoch",
|
|
59
|
-
"type": "uint64"
|
|
60
|
-
}
|
|
61
|
-
],
|
|
62
|
-
"stateMutability": "view",
|
|
63
|
-
"type": "function"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"inputs": [
|
|
67
|
-
{
|
|
68
|
-
"internalType": "uint64",
|
|
69
|
-
"name": "ts",
|
|
70
|
-
"type": "uint64"
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
"internalType": "uint256",
|
|
74
|
-
"name": "index",
|
|
75
|
-
"type": "uint256"
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"internalType": "uint64",
|
|
79
|
-
"name": "expectedGwei",
|
|
80
|
-
"type": "uint64"
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"internalType": "bytes32",
|
|
84
|
-
"name": "balanceLeaf",
|
|
85
|
-
"type": "bytes32"
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
"internalType": "bytes32[]",
|
|
89
|
-
"name": "branchState",
|
|
90
|
-
"type": "bytes32[]"
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
"internalType": "uint256",
|
|
94
|
-
"name": "gindexState",
|
|
95
|
-
"type": "uint256"
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"internalType": "bytes32[]",
|
|
99
|
-
"name": "branchBlock",
|
|
100
|
-
"type": "bytes32[]"
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
"internalType": "uint256",
|
|
104
|
-
"name": "gindexStateInBlock",
|
|
105
|
-
"type": "uint256"
|
|
106
|
-
}
|
|
107
|
-
],
|
|
108
|
-
"name": "verifyBalanceAtTimestamp",
|
|
109
|
-
"outputs": [
|
|
110
|
-
{
|
|
111
|
-
"internalType": "bool",
|
|
112
|
-
"name": "ok",
|
|
113
|
-
"type": "bool"
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
"internalType": "uint64",
|
|
117
|
-
"name": "balanceGwei",
|
|
118
|
-
"type": "uint64"
|
|
119
|
-
}
|
|
120
|
-
],
|
|
121
|
-
"stateMutability": "view",
|
|
122
|
-
"type": "function"
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
"inputs": [
|
|
126
|
-
{
|
|
127
|
-
"internalType": "uint64",
|
|
128
|
-
"name": "ts",
|
|
129
|
-
"type": "uint64"
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
"internalType": "uint64",
|
|
133
|
-
"name": "expectedExitEpoch",
|
|
134
|
-
"type": "uint64"
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
"internalType": "bytes32",
|
|
138
|
-
"name": "exitLeaf",
|
|
139
|
-
"type": "bytes32"
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
"internalType": "bytes32[]",
|
|
143
|
-
"name": "branchState",
|
|
144
|
-
"type": "bytes32[]"
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
"internalType": "uint256",
|
|
148
|
-
"name": "gindexState",
|
|
149
|
-
"type": "uint256"
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
"internalType": "bytes32[]",
|
|
153
|
-
"name": "branchBlock",
|
|
154
|
-
"type": "bytes32[]"
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
"internalType": "uint256",
|
|
158
|
-
"name": "gindexStateInBlock",
|
|
159
|
-
"type": "uint256"
|
|
160
|
-
}
|
|
161
|
-
],
|
|
162
|
-
"name": "verifyExitEpochAtTimestamp",
|
|
163
|
-
"outputs": [
|
|
164
|
-
{
|
|
165
|
-
"internalType": "bool",
|
|
166
|
-
"name": "ok",
|
|
167
|
-
"type": "bool"
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
"internalType": "uint64",
|
|
171
|
-
"name": "exitEpoch",
|
|
172
|
-
"type": "uint64"
|
|
173
|
-
}
|
|
174
|
-
],
|
|
175
|
-
"stateMutability": "view",
|
|
176
|
-
"type": "function"
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
"inputs": [
|
|
180
|
-
{
|
|
181
|
-
"internalType": "uint64",
|
|
182
|
-
"name": "ts",
|
|
183
|
-
"type": "uint64"
|
|
184
|
-
},
|
|
185
|
-
{
|
|
186
|
-
"internalType": "bool",
|
|
187
|
-
"name": "expectedSlashed",
|
|
188
|
-
"type": "bool"
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
"internalType": "bytes32",
|
|
192
|
-
"name": "slashedLeaf",
|
|
193
|
-
"type": "bytes32"
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
"internalType": "bytes32[]",
|
|
197
|
-
"name": "branchState",
|
|
198
|
-
"type": "bytes32[]"
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
"internalType": "uint256",
|
|
202
|
-
"name": "gindexState",
|
|
203
|
-
"type": "uint256"
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
"internalType": "bytes32[]",
|
|
207
|
-
"name": "branchBlock",
|
|
208
|
-
"type": "bytes32[]"
|
|
209
|
-
},
|
|
210
|
-
{
|
|
211
|
-
"internalType": "uint256",
|
|
212
|
-
"name": "gindexStateInBlock",
|
|
213
|
-
"type": "uint256"
|
|
214
|
-
}
|
|
215
|
-
],
|
|
216
|
-
"name": "verifySlashedAtTimestamp",
|
|
217
|
-
"outputs": [
|
|
218
|
-
{
|
|
219
|
-
"internalType": "bool",
|
|
220
|
-
"name": "ok",
|
|
221
|
-
"type": "bool"
|
|
222
|
-
},
|
|
223
|
-
{
|
|
224
|
-
"internalType": "bool",
|
|
225
|
-
"name": "slashed",
|
|
226
|
-
"type": "bool"
|
|
227
|
-
}
|
|
228
|
-
],
|
|
229
|
-
"stateMutability": "view",
|
|
230
|
-
"type": "function"
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
"inputs": [
|
|
234
|
-
{
|
|
235
|
-
"internalType": "uint64",
|
|
236
|
-
"name": "ts",
|
|
237
|
-
"type": "uint64"
|
|
238
|
-
},
|
|
239
|
-
{
|
|
240
|
-
"internalType": "uint64",
|
|
241
|
-
"name": "expectedWithdrawableEpoch",
|
|
242
|
-
"type": "uint64"
|
|
243
|
-
},
|
|
244
|
-
{
|
|
245
|
-
"internalType": "bytes32",
|
|
246
|
-
"name": "wdrLeaf",
|
|
247
|
-
"type": "bytes32"
|
|
248
|
-
},
|
|
249
|
-
{
|
|
250
|
-
"internalType": "bytes32[]",
|
|
251
|
-
"name": "branchState",
|
|
252
|
-
"type": "bytes32[]"
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
"internalType": "uint256",
|
|
256
|
-
"name": "gindexState",
|
|
257
|
-
"type": "uint256"
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
"internalType": "bytes32[]",
|
|
261
|
-
"name": "branchBlock",
|
|
262
|
-
"type": "bytes32[]"
|
|
263
|
-
},
|
|
264
|
-
{
|
|
265
|
-
"internalType": "uint256",
|
|
266
|
-
"name": "gindexStateInBlock",
|
|
267
|
-
"type": "uint256"
|
|
268
|
-
}
|
|
269
|
-
],
|
|
270
|
-
"name": "verifyWithdrawableEpochAtTimestamp",
|
|
271
|
-
"outputs": [
|
|
272
|
-
{
|
|
273
|
-
"internalType": "bool",
|
|
274
|
-
"name": "ok",
|
|
275
|
-
"type": "bool"
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
"internalType": "uint64",
|
|
279
|
-
"name": "withdrawableEpoch",
|
|
280
|
-
"type": "uint64"
|
|
281
|
-
}
|
|
282
|
-
],
|
|
283
|
-
"stateMutability": "view",
|
|
284
|
-
"type": "function"
|
|
285
|
-
}
|
|
286
|
-
],
|
|
287
|
-
"bytecode": "0x608080604052346015576109d6908161001b8239f35b600080fdfe60406080815260048036101561001457600080fd5b6000803560e01c80634a6c1e07146103ef578063897a245914610365578063d58a9e0514610190578063dfd01bdb146100f45763ef8aaee91461005657600080fd5b346100f1575061007d9061008461006c36610534565b9580989b979b959195949294610619565b50506107f7565b916001600160401b03809116908316036100b857509051600181526001600160401b039091166020820152604090f35b0390f35b606490602084519162461bcd60e51b835282015260136024820152720caf0d2e8becae0dec6d040dad2e6dac2e8c6d606b1b6044820152fd5b80fd5b50346100f1575061007d9061011d61010b366105a4565b969b9750948098949194939293610619565b916001600160401b038091169083160361014d57509051600181526001600160401b039091166020820152604090f35b606490602084519162461bcd60e51b8352820152601960248201527f61637469766174696f6e5f65706f6368206d69736d61746368000000000000006044820152fd5b50346100f1576101b56101a2366105a4565b95809b98999a979a959195949294610619565b505060038216918583101561033c576018908751956020870152602086526101dc8661079f565b60031b16918083046008149015171561032957506101fa81846107d0565b5160f81c9261ff0061020f60018401836107d0565b5160f01c169462ff000061022660028501846107d0565b5160e81c1663ff00000061023d60038601856107d0565b5160e01c169064ff00000000610255848701866107d0565b5160d81c16926001600160401b0360ff60381b6102a965ff000000000061027f60058b018a6107d0565b5160d01c1697600766ff00000000000061029c60068d01846107d0565b5160c81c169a01906107d0565b5160c01c169716888a17831784178517861787178817036102f357506100b496979851988998171717171717178291909160206001600160401b0360408301946001845216910152565b60649060208b519162461bcd60e51b8352820152601060248201526f0c4c2d8c2dcc6ca40dad2e6dac2e8c6d60831b6044820152fd5b634e487b7160e01b815260118552602490fd5b865162461bcd60e51b81526020818801526003602482015262706f7360e81b6044820152606490fd5b50346100f1575061007d9061037c61006c36610534565b916001600160401b03809116908316036103ac57509051600181526001600160401b039091166020820152604090f35b606490602084519162461bcd60e51b8352820152601b60248201527f776974686472617761626c655f65706f6368206d69736d6174636800000000006044820152fd5b5090346104fb5760e03660031901126104fb5780356001600160401b039283821682036100f157602435938415158095036104fb57604435926064358281116104f75761043f90369087016104ff565b909260a4359081116104f3579061045e61046f949392369089016104ff565b92909160c435948860843593610619565b5050845160208101928352602081526104878161079f565b51156104e057505160f81c15159182036104aa5750815190600182526020820152f35b606490602084519162461bcd60e51b8352820152601060248201526f0e6d8c2e6d0cac840dad2e6dac2e8c6d60831b6044820152fd5b634e487b7160e01b815260328352602490fd5b8480fd5b8380fd5b5080fd5b9181601f8401121561052f578235916001600160401b03831161052f576020808501948460051b01011161052f57565b600080fd5b60e060031982011261052f576001600160401b0390600435828116810361052f5792602435838116810361052f57926044359260643582811161052f578161057e916004016104ff565b939093926084359260a43591821161052f5761059c916004016104ff565b909160c43590565b9061010060031983011261052f576001600160401b03600435818116810361052f579260243592604435838116810361052f57926064359260843582811161052f57816105f3916004016104ff565b9390939260a4359260c43591821161052f57610611916004016104ff565b909160e43590565b94969193979590976001600160401b03936040519660209786898201921682528881526106458161079f565b6000809281925190720f3df6d732807ef1319fb7b8bb8522d0beac025afa3d15610796573d8781116107825760405197601f8201601f19908116603f011689019081118982101761076e5760405287523d828a89013e5b80610764575b15610729575086855195015194878110610713575b50906106c99185966106d0969b6108cf565b96876108cf565b036106d85750565b6064906040519062461bcd60e51b8252600482015260146024820152730c4cac2c6dedc40e4dedee840dad2e6dac2e8c6d60631b6044820152fd5b60001990880360031b1b909416936106c96106b7565b60405162461bcd60e51b81526004810189905260136024820152721152540d0dce0e081c9958590819985a5b1959606a1b6044820152606490fd5b50878651146106a2565b634e487b7160e01b84526041600452602484fd5b634e487b7160e01b83526041600452602483fd5b6060965061069c565b604081019081106001600160401b038211176107ba57604052565b634e487b7160e01b600052604160045260246000fd5b9081518110156107e1570160200190565b634e487b7160e01b600052603260045260246000fd5b60405190602082019081526020825261080f8261079f565b8151156107e1575160f81c8151600110156107e15761ff00602183015160f01c16178151600210156107e15762ff0000602283015160e81c16178151600310156107e15763ff000000602383015160e01c16178151600410156107e15764ff00000000602483015160d81c16178151600510156107e15765ff0000000000602583015160d01c16178151600610156107e15766ff000000000000602683015160c81c1617908051600710156107e1576027015160c01c60ff60381b161790565b939260009182915b8484106108e5575050505050565b6001908460051b8301359782988980841614600014610912579061090891610920565b971c9301926108d7565b61091b91610920565b610908565b906040519060209260208301526040820152604081526060808201928284106001600160401b038511176107ba578360405282519160005b83811061098e57505050918160209360009301836060820152039060025afa156109825760005190565b6040513d6000823e3d90fd5b8481018084015190830152820161095856fea2646970667358221220978d33b3745ac7ea3e60b913e4c65946a1fbe0b1e9e1584d16ca425a7224599b64736f6c63430008190033",
|
|
288
|
-
"deployedBytecode": "0x60406080815260048036101561001457600080fd5b6000803560e01c80634a6c1e07146103ef578063897a245914610365578063d58a9e0514610190578063dfd01bdb146100f45763ef8aaee91461005657600080fd5b346100f1575061007d9061008461006c36610534565b9580989b979b959195949294610619565b50506107f7565b916001600160401b03809116908316036100b857509051600181526001600160401b039091166020820152604090f35b0390f35b606490602084519162461bcd60e51b835282015260136024820152720caf0d2e8becae0dec6d040dad2e6dac2e8c6d606b1b6044820152fd5b80fd5b50346100f1575061007d9061011d61010b366105a4565b969b9750948098949194939293610619565b916001600160401b038091169083160361014d57509051600181526001600160401b039091166020820152604090f35b606490602084519162461bcd60e51b8352820152601960248201527f61637469766174696f6e5f65706f6368206d69736d61746368000000000000006044820152fd5b50346100f1576101b56101a2366105a4565b95809b98999a979a959195949294610619565b505060038216918583101561033c576018908751956020870152602086526101dc8661079f565b60031b16918083046008149015171561032957506101fa81846107d0565b5160f81c9261ff0061020f60018401836107d0565b5160f01c169462ff000061022660028501846107d0565b5160e81c1663ff00000061023d60038601856107d0565b5160e01c169064ff00000000610255848701866107d0565b5160d81c16926001600160401b0360ff60381b6102a965ff000000000061027f60058b018a6107d0565b5160d01c1697600766ff00000000000061029c60068d01846107d0565b5160c81c169a01906107d0565b5160c01c169716888a17831784178517861787178817036102f357506100b496979851988998171717171717178291909160206001600160401b0360408301946001845216910152565b60649060208b519162461bcd60e51b8352820152601060248201526f0c4c2d8c2dcc6ca40dad2e6dac2e8c6d60831b6044820152fd5b634e487b7160e01b815260118552602490fd5b865162461bcd60e51b81526020818801526003602482015262706f7360e81b6044820152606490fd5b50346100f1575061007d9061037c61006c36610534565b916001600160401b03809116908316036103ac57509051600181526001600160401b039091166020820152604090f35b606490602084519162461bcd60e51b8352820152601b60248201527f776974686472617761626c655f65706f6368206d69736d6174636800000000006044820152fd5b5090346104fb5760e03660031901126104fb5780356001600160401b039283821682036100f157602435938415158095036104fb57604435926064358281116104f75761043f90369087016104ff565b909260a4359081116104f3579061045e61046f949392369089016104ff565b92909160c435948860843593610619565b5050845160208101928352602081526104878161079f565b51156104e057505160f81c15159182036104aa5750815190600182526020820152f35b606490602084519162461bcd60e51b8352820152601060248201526f0e6d8c2e6d0cac840dad2e6dac2e8c6d60831b6044820152fd5b634e487b7160e01b815260328352602490fd5b8480fd5b8380fd5b5080fd5b9181601f8401121561052f578235916001600160401b03831161052f576020808501948460051b01011161052f57565b600080fd5b60e060031982011261052f576001600160401b0390600435828116810361052f5792602435838116810361052f57926044359260643582811161052f578161057e916004016104ff565b939093926084359260a43591821161052f5761059c916004016104ff565b909160c43590565b9061010060031983011261052f576001600160401b03600435818116810361052f579260243592604435838116810361052f57926064359260843582811161052f57816105f3916004016104ff565b9390939260a4359260c43591821161052f57610611916004016104ff565b909160e43590565b94969193979590976001600160401b03936040519660209786898201921682528881526106458161079f565b6000809281925190720f3df6d732807ef1319fb7b8bb8522d0beac025afa3d15610796573d8781116107825760405197601f8201601f19908116603f011689019081118982101761076e5760405287523d828a89013e5b80610764575b15610729575086855195015194878110610713575b50906106c99185966106d0969b6108cf565b96876108cf565b036106d85750565b6064906040519062461bcd60e51b8252600482015260146024820152730c4cac2c6dedc40e4dedee840dad2e6dac2e8c6d60631b6044820152fd5b60001990880360031b1b909416936106c96106b7565b60405162461bcd60e51b81526004810189905260136024820152721152540d0dce0e081c9958590819985a5b1959606a1b6044820152606490fd5b50878651146106a2565b634e487b7160e01b84526041600452602484fd5b634e487b7160e01b83526041600452602483fd5b6060965061069c565b604081019081106001600160401b038211176107ba57604052565b634e487b7160e01b600052604160045260246000fd5b9081518110156107e1570160200190565b634e487b7160e01b600052603260045260246000fd5b60405190602082019081526020825261080f8261079f565b8151156107e1575160f81c8151600110156107e15761ff00602183015160f01c16178151600210156107e15762ff0000602283015160e81c16178151600310156107e15763ff000000602383015160e01c16178151600410156107e15764ff00000000602483015160d81c16178151600510156107e15765ff0000000000602583015160d01c16178151600610156107e15766ff000000000000602683015160c81c1617908051600710156107e1576027015160c01c60ff60381b161790565b939260009182915b8484106108e5575050505050565b6001908460051b8301359782988980841614600014610912579061090891610920565b971c9301926108d7565b61091b91610920565b610908565b906040519060209260208301526040820152604081526060808201928284106001600160401b038511176107ba578360405282519160005b83811061098e57505050918160209360009301836060820152039060025afa156109825760005190565b6040513d6000823e3d90fd5b8481018084015190830152820161095856fea2646970667358221220978d33b3745ac7ea3e60b913e4c65946a1fbe0b1e9e1584d16ca425a7224599b64736f6c63430008190033",
|
|
289
|
-
"linkReferences": {},
|
|
290
|
-
"deployedLinkReferences": {}
|
|
291
|
-
}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_format": "hh-sol-artifact-1",
|
|
3
|
-
"contractName": "Aggregator",
|
|
4
|
-
"sourceName": "contracts/outpost/Aggregator.sol",
|
|
5
|
-
"abi": [
|
|
6
|
-
{
|
|
7
|
-
"inputs": [
|
|
8
|
-
{ "internalType": "address", "name": "_authority", "type": "address" },
|
|
9
|
-
{ "internalType": "int256", "name": "initialPrice", "type": "int256" },
|
|
10
|
-
{ "internalType": "uint8", "name": "__decimals", "type": "uint8" }
|
|
11
|
-
],
|
|
12
|
-
"name": "initialize",
|
|
13
|
-
"outputs": [],
|
|
14
|
-
"stateMutability": "nonpayable",
|
|
15
|
-
"type": "function"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"inputs": [],
|
|
19
|
-
"name": "decimals",
|
|
20
|
-
"outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }],
|
|
21
|
-
"stateMutability": "view",
|
|
22
|
-
"type": "function"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"inputs": [],
|
|
26
|
-
"name": "description",
|
|
27
|
-
"outputs": [{ "internalType": "string", "name": "", "type": "string" }],
|
|
28
|
-
"stateMutability": "pure",
|
|
29
|
-
"type": "function"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"inputs": [],
|
|
33
|
-
"name": "version",
|
|
34
|
-
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
35
|
-
"stateMutability": "pure",
|
|
36
|
-
"type": "function"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"inputs": [{ "internalType": "uint80", "name": "", "type": "uint80" }],
|
|
40
|
-
"name": "getRoundData",
|
|
41
|
-
"outputs": [
|
|
42
|
-
{ "internalType": "uint80", "name": "roundId", "type": "uint80" },
|
|
43
|
-
{ "internalType": "int256", "name": "answer", "type": "int256" },
|
|
44
|
-
{ "internalType": "uint256", "name": "startedAt", "type": "uint256" },
|
|
45
|
-
{ "internalType": "uint256", "name": "updatedAt", "type": "uint256" },
|
|
46
|
-
{ "internalType": "uint80", "name": "answeredInRound", "type": "uint80" }
|
|
47
|
-
],
|
|
48
|
-
"stateMutability": "view",
|
|
49
|
-
"type": "function"
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"inputs": [],
|
|
53
|
-
"name": "latestRoundData",
|
|
54
|
-
"outputs": [
|
|
55
|
-
{ "internalType": "uint80", "name": "roundId", "type": "uint80" },
|
|
56
|
-
{ "internalType": "int256", "name": "answer", "type": "int256" },
|
|
57
|
-
{ "internalType": "uint256", "name": "startedAt", "type": "uint256" },
|
|
58
|
-
{ "internalType": "uint256", "name": "updatedAt", "type": "uint256" },
|
|
59
|
-
{ "internalType": "uint80", "name": "answeredInRound", "type": "uint80" }
|
|
60
|
-
],
|
|
61
|
-
"stateMutability": "view",
|
|
62
|
-
"type": "function"
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"inputs": [{ "internalType": "int256", "name": "newPrice", "type": "int256" }],
|
|
66
|
-
"name": "updateAnswer",
|
|
67
|
-
"outputs": [],
|
|
68
|
-
"stateMutability": "nonpayable",
|
|
69
|
-
"type": "function"
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"inputs": [
|
|
73
|
-
{ "internalType": "int256", "name": "newPrice", "type": "int256" },
|
|
74
|
-
{ "internalType": "uint256", "name": "oldTimestamp", "type": "uint256" }
|
|
75
|
-
],
|
|
76
|
-
"name": "updateStale",
|
|
77
|
-
"outputs": [],
|
|
78
|
-
"stateMutability": "nonpayable",
|
|
79
|
-
"type": "function"
|
|
80
|
-
}
|
|
81
|
-
]
|
|
82
|
-
}
|