@wireio/stake 0.4.2 → 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 +18509 -11887
- package/lib/stake.browser.js.map +1 -1
- package/lib/stake.d.ts +899 -140
- package/lib/stake.js +18524 -11890
- package/lib/stake.js.map +1 -1
- package/lib/stake.m.js +18509 -11887
- package/lib/stake.m.js.map +1 -1
- package/package.json +2 -2
- 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/assets/solana/idl/liqsol_core.json +760 -150
- package/src/assets/solana/idl/liqsol_token.json +1 -1
- package/src/assets/solana/idl/transfer_hook.json +6 -1
- package/src/assets/solana/idl/validator_leaderboard.json +4 -1
- package/src/assets/solana/types/liqsol_core.ts +760 -150
- package/src/assets/solana/types/liqsol_token.ts +1 -1
- package/src/assets/solana/types/transfer_hook.ts +6 -1
- package/src/assets/solana/types/validator_leaderboard.ts +4 -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 +117 -58
- package/src/networks/ethereum/types.ts +26 -17
- package/src/networks/ethereum/utils.ts +8 -8
- package/src/networks/solana/clients/deposit.client.ts +5 -4
- package/src/networks/solana/clients/distribution.client.ts +36 -1
- package/src/networks/solana/constants.ts +14 -0
- package/src/networks/solana/solana.ts +148 -17
- package/src/networks/solana/types.ts +129 -0
- package/src/types.ts +21 -11
- 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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wireio/stake",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "LIQ Staking Module for Wire Network",
|
|
5
5
|
"homepage": "https://gitea.gitgo.app/Wire/sdk-stake",
|
|
6
6
|
"license": "FSL-1.1-Apache-2.0",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"@types/node": "^18.19.0",
|
|
64
64
|
"@typescript-eslint/eslint-plugin": "^5.60.0",
|
|
65
65
|
"@typescript-eslint/parser": "^5.60.0",
|
|
66
|
-
"@wireio/core": "^0.2.
|
|
66
|
+
"@wireio/core": "^0.2.9",
|
|
67
67
|
"assert": "^2.0.0",
|
|
68
68
|
"chai": "^4.3.6",
|
|
69
69
|
"esbuild": "^0.25.8",
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "Base58",
|
|
4
|
+
"sourceName": "contracts/common/Base58.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "bytes",
|
|
10
|
+
"name": "data_",
|
|
11
|
+
"type": "bytes"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"name": "decode",
|
|
15
|
+
"outputs": [
|
|
16
|
+
{
|
|
17
|
+
"internalType": "bytes",
|
|
18
|
+
"name": "",
|
|
19
|
+
"type": "bytes"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"stateMutability": "pure",
|
|
23
|
+
"type": "function"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"inputs": [
|
|
27
|
+
{
|
|
28
|
+
"internalType": "string",
|
|
29
|
+
"name": "data_",
|
|
30
|
+
"type": "string"
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"name": "decodeFromString",
|
|
34
|
+
"outputs": [
|
|
35
|
+
{
|
|
36
|
+
"internalType": "bytes",
|
|
37
|
+
"name": "",
|
|
38
|
+
"type": "bytes"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"stateMutability": "pure",
|
|
42
|
+
"type": "function"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"inputs": [
|
|
46
|
+
{
|
|
47
|
+
"internalType": "bytes",
|
|
48
|
+
"name": "data_",
|
|
49
|
+
"type": "bytes"
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
"name": "encode",
|
|
53
|
+
"outputs": [
|
|
54
|
+
{
|
|
55
|
+
"internalType": "bytes",
|
|
56
|
+
"name": "",
|
|
57
|
+
"type": "bytes"
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"stateMutability": "pure",
|
|
61
|
+
"type": "function"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"inputs": [
|
|
65
|
+
{
|
|
66
|
+
"internalType": "string",
|
|
67
|
+
"name": "data_",
|
|
68
|
+
"type": "string"
|
|
69
|
+
}
|
|
70
|
+
],
|
|
71
|
+
"name": "encodeFromString",
|
|
72
|
+
"outputs": [
|
|
73
|
+
{
|
|
74
|
+
"internalType": "bytes",
|
|
75
|
+
"name": "",
|
|
76
|
+
"type": "bytes"
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"stateMutability": "pure",
|
|
80
|
+
"type": "function"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"inputs": [
|
|
84
|
+
{
|
|
85
|
+
"internalType": "bytes",
|
|
86
|
+
"name": "data_",
|
|
87
|
+
"type": "bytes"
|
|
88
|
+
}
|
|
89
|
+
],
|
|
90
|
+
"name": "encodeToString",
|
|
91
|
+
"outputs": [
|
|
92
|
+
{
|
|
93
|
+
"internalType": "string",
|
|
94
|
+
"name": "",
|
|
95
|
+
"type": "string"
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
"stateMutability": "pure",
|
|
99
|
+
"type": "function"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"inputs": [
|
|
103
|
+
{
|
|
104
|
+
"internalType": "bytes",
|
|
105
|
+
"name": "data_",
|
|
106
|
+
"type": "bytes"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"internalType": "bytes1",
|
|
110
|
+
"name": "char_",
|
|
111
|
+
"type": "bytes1"
|
|
112
|
+
}
|
|
113
|
+
],
|
|
114
|
+
"name": "indexOf",
|
|
115
|
+
"outputs": [
|
|
116
|
+
{
|
|
117
|
+
"internalType": "uint256",
|
|
118
|
+
"name": "",
|
|
119
|
+
"type": "uint256"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"internalType": "bool",
|
|
123
|
+
"name": "",
|
|
124
|
+
"type": "bool"
|
|
125
|
+
}
|
|
126
|
+
],
|
|
127
|
+
"stateMutability": "pure",
|
|
128
|
+
"type": "function"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"inputs": [
|
|
132
|
+
{
|
|
133
|
+
"internalType": "bytes",
|
|
134
|
+
"name": "data_",
|
|
135
|
+
"type": "bytes"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"internalType": "uint256",
|
|
139
|
+
"name": "start_",
|
|
140
|
+
"type": "uint256"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"internalType": "uint256",
|
|
144
|
+
"name": "end_",
|
|
145
|
+
"type": "uint256"
|
|
146
|
+
}
|
|
147
|
+
],
|
|
148
|
+
"name": "slice",
|
|
149
|
+
"outputs": [
|
|
150
|
+
{
|
|
151
|
+
"internalType": "bytes",
|
|
152
|
+
"name": "",
|
|
153
|
+
"type": "bytes"
|
|
154
|
+
}
|
|
155
|
+
],
|
|
156
|
+
"stateMutability": "pure",
|
|
157
|
+
"type": "function"
|
|
158
|
+
}
|
|
159
|
+
],
|
|
160
|
+
"bytecode": "0x60808060405234601957610953908161001f823930815050f35b600080fdfe6040608081526004908136101561001557600080fd5b6000803560e01c8063046a466a146101a657806312496a1b1461017357806351c3463c14610173578063529d1bb71461015e5780638178ff43146100fe578063e0041396146100be5763e5c5e9a31461006d57600080fd5b60203660031901126100bb5782359067ffffffffffffffff82116100bb575061009f6100b7936100a4923691016102c3565b610630565b9051918291602083526020830190610283565b0390f35b80fd5b5060603660031901126100bb5782359067ffffffffffffffff82116100bb57506100f16100b7936100a4923691016102c3565b60443590602435906105b3565b50918160031936011261015a5780359067ffffffffffffffff821161015657610129913691016102c3565b602435906001600160f81b03198216820361015657906101489161056c565b825191825215156020820152f35b8380fd5b8280fd5b6100b7836100a461016e36610244565b61039d565b5060203660031901126100bb5782359067ffffffffffffffff82116100bb575061016e6100b7936100a4923691016102c3565b6100b7836100a461009f36610244565b6040519190601f01601f1916820167ffffffffffffffff8111838210176101dc57604052565b634e487b7160e01b600052604160045260246000fd5b67ffffffffffffffff81116101dc57601f01601f191660200190565b92919261022261021d836101f2565b6101b6565b938285528282011161023f57816000926020928387013784010152565b600080fd5b602060031982011261023f576004359067ffffffffffffffff821161023f578060238301121561023f578160246102809360040135910161020e565b90565b919082519283825260005b8481106102af575050826000602080949584010152601f8019910116010190565b60208183018101518483018201520161028e565b9080601f8301121561023f578160206102809335910161020e565b9081518110156102ef570160200190565b634e487b7160e01b600052603260045260246000fd5b9061031261021d836101f2565b8281528092610323601f19916101f2565b0190602036910137565b604051906060820182811067ffffffffffffffff8211176101dc57604052603a82527f5a6162636465666768696a6b6d6e6f707172737475767778797a0000000000006040837f31323334353637383941424344454647484a4b4c4d4e5051525354555657585960208201520152565b9081519160005b83811080610550575b156103ba576001016103a4565b9261209f846117e3920302048301906001908180840191816103db84610305565b9560008190925b61049b575b50505050809186925b61045e575b5050825185820390039061040882610305565b9360005b83811061041d575093955050505050565b849061042761032d565b61044860ff60f81b9161043e8c88860103876102de565b5160f81c906102de565b511660001a61045782896102de565b530161040c565b90918181108061047f575b156104785782019190816103f0565b91906103f5565b506001600160f81b031961049382876102de565b511615610469565b90919293845184101561054a579392919081906104b884866102de565b5160f89190821c875b6104d3575b50505091840191846103e2565b8a8285999697989913801561053b575b15610530579061ff006104fb8663ffffffff946102de565b5160f01c160116603a908b61051e8660ff60f81b858506881b1660001a926102de565b530492600019019284979695946104c1565b5096959493966104c6565b5063ffffffff821615156104e3565b936103e7565b506001600160f81b031961056482846102de565b5116156103ad565b9060005b82518110156105a8576001600160f81b03198061058d83866102de565b51169083161461059f57600101610570565b91505090600190565b505050600090600090565b90809203906105c182610305565b9260009160005b8481106105d757505050505090565b6001906001600160f81b03196105ef858301856102de565b5116851a6105fd82896102de565b53016105c8565b67ffffffffffffffff81116101dc5760051b60200190565b80518210156102ef5760209160051b010190565b8051600090815b81831080610906575b156106515760019283019201610637565b9150916001918261066d816117e361209f88020401821b610305565b946003810160021c9361068e61068561021d87610604565b95808752610604565b60209190601f190136878401376000845b610820575b50506018809260031b168015610818575b90919267ffffffffffffffff9283600719809401169660009788935b61076b575b505050505050508281905b61072e575b50506106f181610305565b9260005b828110610703575050505090565b83906001600160f81b031961071882856102de565b511660001a61072782886102de565b53016106f5565b8451811015610766576001600160f81b031961074a82876102de565b5116610758578301836106e1565b6102809492935003906105b3565b6106e6565b8982518510156108125796959493929190875b610795575b508686930193949596929091926106d1565b8581989293949596979816998c858c1015610802578184916107db6008948f8b9063ffffffff6107ca60ff60f81b938d61061c565b5116901c60f81b1660001a926102de565b53019a106107f5579096959493929190840185168761077e565b9695949392919096610783565b5099509695949392919096610783565b506106d6565b5060206106b5565b9091929382518210156108fe57506108536001600160f81b031961084483856102de565b511661084e61032d565b61056c565b156108c257865188939291600019918201905b600082121561087d5750505082018294939261069f565b82939495509080929167ffffffffffffffff603a8c6108a263ffffffff97889261061c565b511602160180881c93166108b6828c61061c565b52018994939291610866565b60405162461bcd60e51b81526004810185905260146024820152731a5b9d985b1a590818985cd94d4e08191a59da5d60621b6044820152606490fd5b9392916106a4565b50603161091384866102de565b5160f81c1461064056fea264697066735822122030afd5702d27edb7a3ccbb3c4175e0a72a246f3458b90da8a7a8e0cfb92c6cd764736f6c63430008190033",
|
|
161
|
+
"deployedBytecode": "0x6040608081526004908136101561001557600080fd5b6000803560e01c8063046a466a146101a657806312496a1b1461017357806351c3463c14610173578063529d1bb71461015e5780638178ff43146100fe578063e0041396146100be5763e5c5e9a31461006d57600080fd5b60203660031901126100bb5782359067ffffffffffffffff82116100bb575061009f6100b7936100a4923691016102c3565b610630565b9051918291602083526020830190610283565b0390f35b80fd5b5060603660031901126100bb5782359067ffffffffffffffff82116100bb57506100f16100b7936100a4923691016102c3565b60443590602435906105b3565b50918160031936011261015a5780359067ffffffffffffffff821161015657610129913691016102c3565b602435906001600160f81b03198216820361015657906101489161056c565b825191825215156020820152f35b8380fd5b8280fd5b6100b7836100a461016e36610244565b61039d565b5060203660031901126100bb5782359067ffffffffffffffff82116100bb575061016e6100b7936100a4923691016102c3565b6100b7836100a461009f36610244565b6040519190601f01601f1916820167ffffffffffffffff8111838210176101dc57604052565b634e487b7160e01b600052604160045260246000fd5b67ffffffffffffffff81116101dc57601f01601f191660200190565b92919261022261021d836101f2565b6101b6565b938285528282011161023f57816000926020928387013784010152565b600080fd5b602060031982011261023f576004359067ffffffffffffffff821161023f578060238301121561023f578160246102809360040135910161020e565b90565b919082519283825260005b8481106102af575050826000602080949584010152601f8019910116010190565b60208183018101518483018201520161028e565b9080601f8301121561023f578160206102809335910161020e565b9081518110156102ef570160200190565b634e487b7160e01b600052603260045260246000fd5b9061031261021d836101f2565b8281528092610323601f19916101f2565b0190602036910137565b604051906060820182811067ffffffffffffffff8211176101dc57604052603a82527f5a6162636465666768696a6b6d6e6f707172737475767778797a0000000000006040837f31323334353637383941424344454647484a4b4c4d4e5051525354555657585960208201520152565b9081519160005b83811080610550575b156103ba576001016103a4565b9261209f846117e3920302048301906001908180840191816103db84610305565b9560008190925b61049b575b50505050809186925b61045e575b5050825185820390039061040882610305565b9360005b83811061041d575093955050505050565b849061042761032d565b61044860ff60f81b9161043e8c88860103876102de565b5160f81c906102de565b511660001a61045782896102de565b530161040c565b90918181108061047f575b156104785782019190816103f0565b91906103f5565b506001600160f81b031961049382876102de565b511615610469565b90919293845184101561054a579392919081906104b884866102de565b5160f89190821c875b6104d3575b50505091840191846103e2565b8a8285999697989913801561053b575b15610530579061ff006104fb8663ffffffff946102de565b5160f01c160116603a908b61051e8660ff60f81b858506881b1660001a926102de565b530492600019019284979695946104c1565b5096959493966104c6565b5063ffffffff821615156104e3565b936103e7565b506001600160f81b031961056482846102de565b5116156103ad565b9060005b82518110156105a8576001600160f81b03198061058d83866102de565b51169083161461059f57600101610570565b91505090600190565b505050600090600090565b90809203906105c182610305565b9260009160005b8481106105d757505050505090565b6001906001600160f81b03196105ef858301856102de565b5116851a6105fd82896102de565b53016105c8565b67ffffffffffffffff81116101dc5760051b60200190565b80518210156102ef5760209160051b010190565b8051600090815b81831080610906575b156106515760019283019201610637565b9150916001918261066d816117e361209f88020401821b610305565b946003810160021c9361068e61068561021d87610604565b95808752610604565b60209190601f190136878401376000845b610820575b50506018809260031b168015610818575b90919267ffffffffffffffff9283600719809401169660009788935b61076b575b505050505050508281905b61072e575b50506106f181610305565b9260005b828110610703575050505090565b83906001600160f81b031961071882856102de565b511660001a61072782886102de565b53016106f5565b8451811015610766576001600160f81b031961074a82876102de565b5116610758578301836106e1565b6102809492935003906105b3565b6106e6565b8982518510156108125796959493929190875b610795575b508686930193949596929091926106d1565b8581989293949596979816998c858c1015610802578184916107db6008948f8b9063ffffffff6107ca60ff60f81b938d61061c565b5116901c60f81b1660001a926102de565b53019a106107f5579096959493929190840185168761077e565b9695949392919096610783565b5099509695949392919096610783565b506106d6565b5060206106b5565b9091929382518210156108fe57506108536001600160f81b031961084483856102de565b511661084e61032d565b61056c565b156108c257865188939291600019918201905b600082121561087d5750505082018294939261069f565b82939495509080929167ffffffffffffffff603a8c6108a263ffffffff97889261061c565b511602160180881c93166108b6828c61061c565b52018994939291610866565b60405162461bcd60e51b81526004810185905260146024820152731a5b9d985b1a590818985cd94d4e08191a59da5d60621b6044820152606490fd5b9392916106a4565b50603161091384866102de565b5160f81c1461064056fea264697066735822122030afd5702d27edb7a3ccbb3c4175e0a72a246f3458b90da8a7a8e0cfb92c6cd764736f6c63430008190033",
|
|
162
|
+
"linkReferences": {},
|
|
163
|
+
"deployedLinkReferences": {}
|
|
164
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "__Dummy_OZ_UUPS__",
|
|
4
|
+
"sourceName": "contracts/common/OpenZepArtifacts.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "address",
|
|
10
|
+
"name": "_logic",
|
|
11
|
+
"type": "address"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"internalType": "bytes",
|
|
15
|
+
"name": "_data",
|
|
16
|
+
"type": "bytes"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"stateMutability": "nonpayable",
|
|
20
|
+
"type": "constructor"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"inputs": [
|
|
24
|
+
{
|
|
25
|
+
"internalType": "address",
|
|
26
|
+
"name": "target",
|
|
27
|
+
"type": "address"
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"name": "AddressEmptyCode",
|
|
31
|
+
"type": "error"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"inputs": [
|
|
35
|
+
{
|
|
36
|
+
"internalType": "address",
|
|
37
|
+
"name": "implementation",
|
|
38
|
+
"type": "address"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"name": "ERC1967InvalidImplementation",
|
|
42
|
+
"type": "error"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"inputs": [],
|
|
46
|
+
"name": "ERC1967NonPayable",
|
|
47
|
+
"type": "error"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"inputs": [],
|
|
51
|
+
"name": "FailedCall",
|
|
52
|
+
"type": "error"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"anonymous": false,
|
|
56
|
+
"inputs": [
|
|
57
|
+
{
|
|
58
|
+
"indexed": true,
|
|
59
|
+
"internalType": "address",
|
|
60
|
+
"name": "implementation",
|
|
61
|
+
"type": "address"
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"name": "Upgraded",
|
|
65
|
+
"type": "event"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"stateMutability": "payable",
|
|
69
|
+
"type": "fallback"
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
"bytecode": "0x608060405234610179576102bd803803806100198161017e565b9283398101906040818303126101795780516001600160a01b0381168082036101795760208381015190936001600160401b038211610179570184601f820112156101795780519061007261006d836101b9565b61017e565b9582875285838301011161017957849060005b83811061016557505060009186010152813b1561014d577f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b031916821790557fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b600080a28251801561014457600080918461012b9601845af4903d1561013b573d61011b61006d826101b9565b908152600081943d92013e6101d4565b505b604051608590816102388239f35b606092506101d4565b5050505061012d565b60249060405190634c9c8ce360e01b82526004820152fd5b818101830151888201840152869201610085565b600080fd5b6040519190601f01601f191682016001600160401b038111838210176101a357604052565b634e487b7160e01b600052604160045260246000fd5b6001600160401b0381116101a357601f01601f191660200190565b906101fb57508051156101e957602081519101fd5b60405163d6bda27560e01b8152600490fd5b8151158061022e575b61020c575090565b604051639996b31560e01b81526001600160a01b039091166004820152602490fd5b50803b1561020456fe60806040527f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc54600090819081906001600160a01b0316368280378136915af43d82803e15604b573d90f35b3d90fdfea264697066735822122065e71cbc879f054107d48cd7d414739a1e2ad9e462c38252ca4cc06c022b94d064736f6c63430008190033",
|
|
73
|
+
"deployedBytecode": "0x60806040527f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc54600090819081906001600160a01b0316368280378136915af43d82803e15604b573d90f35b3d90fdfea264697066735822122065e71cbc879f054107d48cd7d414739a1e2ad9e462c38252ca4cc06c022b94d064736f6c63430008190033",
|
|
74
|
+
"linkReferences": {},
|
|
75
|
+
"deployedLinkReferences": {}
|
|
76
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "RestrictedCallers",
|
|
4
|
+
"sourceName": "contracts/common/RestrictedCallers.sol",
|
|
5
|
+
"abi": [],
|
|
6
|
+
"bytecode": "0x60808060405234601357603a908160198239f35b600080fdfe600080fdfea2646970667358221220cffe6c76aeef7b375497565e5efe28370c2452f98fbb7fd133ef52cdb4c40b7664736f6c63430008190033",
|
|
7
|
+
"deployedBytecode": "0x600080fdfea2646970667358221220cffe6c76aeef7b375497565e5efe28370c2452f98fbb7fd133ef52cdb4c40b7664736f6c63430008190033",
|
|
8
|
+
"linkReferences": {},
|
|
9
|
+
"deployedLinkReferences": {}
|
|
10
|
+
}
|