@wireio/stake 0.2.0 → 0.2.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/lib/stake.browser.js +11779 -2023
- package/lib/stake.browser.js.map +1 -1
- package/lib/stake.d.ts +94 -40
- package/lib/stake.js +11906 -2088
- package/lib/stake.js.map +1 -1
- package/lib/stake.m.js +11779 -2023
- package/lib/stake.m.js.map +1 -1
- package/package.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 +26 -65
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IAccounting.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/IAccounting.json +24 -20
- 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/IRewardsERC20.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/IStakingModule.json +0 -20
- 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/LiqEthCommon.sol/LiqEthCommon.json +2 -2
- package/src/assets/ethereum/ABI/liqEth/RewardsERC20.sol/RewardsERC20.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/RewardsERC20Pausable.sol/RewardsERC20Pausable.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/BeaconRoots.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/SSZ.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/ValidatorBalanceVerifier.sol/ValidatorBalanceVerifier.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/Yield.sol/BeaconRoots.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/Yield.sol/BeaconRoots.json +2 -2
- package/src/assets/ethereum/ABI/liqEth/Yield.sol/SSZ.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/Yield.sol/SSZ.json +2 -2
- 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 +31 -109
- package/src/assets/ethereum/ABI/liqEth/liqEth.sol/LiqEthToken.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/liqEth.sol/LiqEthToken.json +2 -25
- package/src/assets/ethereum/ABI/liqEth/stakingModule.sol/StakingModule.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/stakingModule.sol/StakingModule.json +30 -72
- package/src/assets/ethereum/ABI/liqEth/withdrawalQueue.sol/WithdrawalQueue.dbg.json +1 -1
- package/src/assets/ethereum/ABI/liqEth/withdrawalQueue.sol/WithdrawalQueue.json +2 -2
- 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 +2 -2
- package/src/assets/ethereum/ABI/outpost/BAR.sol/BAR.dbg.json +4 -0
- package/src/assets/ethereum/ABI/outpost/BAR.sol/BAR.json +1856 -0
- package/src/assets/ethereum/ABI/outpost/Depositor.sol/Depositor.dbg.json +4 -0
- package/src/assets/ethereum/ABI/outpost/Depositor.sol/Depositor.json +1753 -0
- package/src/assets/ethereum/ABI/outpost/EthUsdPriceConsumer.sol/AggregatorV3Interface.dbg.json +4 -0
- package/src/assets/ethereum/ABI/outpost/EthUsdPriceConsumer.sol/AggregatorV3Interface.json +122 -0
- package/src/assets/ethereum/ABI/outpost/EthUsdPriceConsumer.sol/EthUsdPriceConsumer.dbg.json +4 -0
- package/src/assets/ethereum/ABI/outpost/EthUsdPriceConsumer.sol/EthUsdPriceConsumer.json +601 -0
- package/src/assets/ethereum/ABI/outpost/OPP.sol/OPP.dbg.json +4 -0
- package/src/assets/ethereum/ABI/outpost/OPP.sol/OPP.json +930 -0
- package/src/assets/ethereum/ABI/outpost/OPPCommon.sol/IOPP.dbg.json +4 -0
- package/src/assets/ethereum/ABI/outpost/OPPCommon.sol/IOPP.json +88 -0
- package/src/assets/ethereum/ABI/outpost/OPPCommon.sol/IOPPEndpoint.dbg.json +4 -0
- package/src/assets/ethereum/ABI/outpost/OPPCommon.sol/IOPPEndpoint.json +29 -0
- package/src/assets/ethereum/ABI/outpost/OPPCommon.sol/IOPPInbound.dbg.json +4 -0
- package/src/assets/ethereum/ABI/outpost/OPPCommon.sol/IOPPInbound.json +194 -0
- package/src/assets/ethereum/ABI/outpost/OPPCommon.sol/IOPPReceiver.dbg.json +4 -0
- package/src/assets/ethereum/ABI/outpost/OPPCommon.sol/IOPPReceiver.json +29 -0
- package/src/assets/ethereum/ABI/outpost/OPPCommon.sol/IOPPSender.dbg.json +4 -0
- package/src/assets/ethereum/ABI/outpost/OPPCommon.sol/IOPPSender.json +36 -0
- package/src/assets/ethereum/ABI/outpost/OPPCommon.sol/OPPCommon.dbg.json +4 -0
- package/src/assets/ethereum/ABI/outpost/OPPCommon.sol/OPPCommon.json +199 -0
- package/src/assets/ethereum/ABI/outpost/OPPEndpoint.sol/OPPEndpoint.dbg.json +4 -0
- package/src/assets/ethereum/ABI/outpost/OPPEndpoint.sol/OPPEndpoint.json +273 -0
- package/src/assets/ethereum/ABI/outpost/OPPEndpointManaged.sol/OPPEndpointManaged.dbg.json +4 -0
- package/src/assets/ethereum/ABI/outpost/OPPEndpointManaged.sol/OPPEndpointManaged.json +394 -0
- package/src/assets/ethereum/ABI/outpost/OPPEndpointOwnable.sol/OPPEndpointOwnable.dbg.json +4 -0
- package/src/assets/ethereum/ABI/outpost/OPPEndpointOwnable.sol/OPPEndpointOwnable.json +378 -0
- package/src/assets/ethereum/ABI/outpost/OPPErrors.sol/OPPErrors.dbg.json +4 -0
- package/src/assets/ethereum/ABI/outpost/OPPErrors.sol/OPPErrors.json +224 -0
- package/src/assets/ethereum/ABI/outpost/OPPInbound.sol/OPPInbound.dbg.json +4 -0
- package/src/assets/ethereum/ABI/outpost/OPPInbound.sol/OPPInbound.json +1010 -0
- package/src/assets/ethereum/ABI/outpost/OPPReceiver.sol/OPPReceiver.dbg.json +4 -0
- package/src/assets/ethereum/ABI/outpost/OPPReceiver.sol/OPPReceiver.json +291 -0
- package/src/assets/ethereum/ABI/outpost/OPPSender.sol/OPPSender.dbg.json +4 -0
- package/src/assets/ethereum/ABI/outpost/OPPSender.sol/OPPSender.json +298 -0
- package/src/assets/ethereum/ABI/outpost/OutpostErrors.sol/OutpostErrors.dbg.json +4 -0
- package/src/assets/ethereum/ABI/outpost/OutpostErrors.sol/OutpostErrors.json +473 -0
- package/src/assets/ethereum/ABI/outpost/OutpostManaged.sol/OutpostManaged.dbg.json +4 -0
- package/src/assets/ethereum/ABI/outpost/OutpostManaged.sol/OutpostManaged.json +229 -0
- package/src/assets/ethereum/ABI/outpost/OutpostManager.sol/OutpostManager.dbg.json +4 -0
- package/src/assets/ethereum/ABI/outpost/OutpostManager.sol/OutpostManager.json +730 -0
- package/src/assets/ethereum/ABI/outpost/OutpostManagerAuthority.sol/OutpostManagerAuthority.dbg.json +4 -0
- package/src/assets/ethereum/ABI/outpost/OutpostManagerAuthority.sol/OutpostManagerAuthority.json +1432 -0
- package/src/assets/ethereum/ABI/outpost/OutpostManagerCommon.sol/IOutpostManager.dbg.json +4 -0
- package/src/assets/ethereum/ABI/outpost/OutpostManagerCommon.sol/IOutpostManager.json +130 -0
- package/src/assets/ethereum/ABI/outpost/OutpostManagerCommon.sol/IOutpostUpgradeable.dbg.json +4 -0
- package/src/assets/ethereum/ABI/outpost/OutpostManagerCommon.sol/IOutpostUpgradeable.json +29 -0
- package/src/assets/ethereum/ABI/outpost/OutpostManagerCommon.sol/OutpostManagerCommon.dbg.json +4 -0
- package/src/assets/ethereum/ABI/outpost/OutpostManagerCommon.sol/OutpostManagerCommon.json +141 -0
- package/src/assets/ethereum/ABI/outpost/OutpostOwnable.sol/OutpostOwnable.dbg.json +4 -0
- package/src/assets/ethereum/ABI/outpost/OutpostOwnable.sol/OutpostOwnable.json +213 -0
- package/src/assets/ethereum/ABI/outpost/Pool.sol/Pool.dbg.json +4 -0
- package/src/assets/ethereum/ABI/outpost/Pool.sol/Pool.json +921 -0
- package/src/assets/ethereum/ABI/outpost/ReceiptNFT.sol/ReceiptNFT.dbg.json +4 -0
- package/src/assets/ethereum/ABI/outpost/ReceiptNFT.sol/ReceiptNFT.json +2020 -0
- package/src/assets/ethereum/ABI/outpost/Warrant.sol/Warrant.dbg.json +4 -0
- package/src/assets/ethereum/ABI/outpost/Warrant.sol/Warrant.json +1650 -0
- package/src/assets/ethereum/ABI/outpost/interfaces/IWarrant.sol/IWarrant.dbg.json +4 -0
- package/src/assets/ethereum/ABI/{liqEth/LiqEthCommon.sol/ILiqEthMint.json → outpost/interfaces/IWarrant.sol/IWarrant.json} +6 -12
- package/src/assets/ethereum/ABI/outpost/token/ERC721EthEquivalentVotesUpgradeable.sol/ERC721EthEquivalentVotesUpgradeable.dbg.json +4 -0
- package/src/assets/ethereum/ABI/outpost/token/ERC721EthEquivalentVotesUpgradeable.sol/ERC721EthEquivalentVotesUpgradeable.json +858 -0
- package/src/assets/ethereum/ABI/outpost/token/IERC721EthEquivalent.sol/IERC721EthEquivalent.dbg.json +4 -0
- package/src/assets/ethereum/ABI/outpost/token/IERC721EthEquivalent.sol/IERC721EthEquivalent.json +30 -0
- package/src/networks/ethereum/clients/deposit.client.ts +82 -0
- package/src/networks/ethereum/clients/stake.client.ts +215 -0
- package/src/networks/ethereum/contract.ts +79 -23
- package/src/networks/ethereum/ethereum.ts +130 -66
- package/src/networks/ethereum/types.ts +74 -7
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/ILiqEthBurn.dbg.json +0 -4
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/ILiqEthBurn.json +0 -24
- package/src/assets/ethereum/ABI/liqEth/LiqEthCommon.sol/ILiqEthMint.dbg.json +0 -4
- package/src/assets/ethereum/ABI/liqEth/liqEthBurn.sol/LiqEthBurn.dbg.json +0 -4
- package/src/assets/ethereum/ABI/liqEth/liqEthBurn.sol/LiqEthBurn.json +0 -391
- package/src/assets/ethereum/ABI/liqEth/liqEthMint.sol/LiqEthMint.dbg.json +0 -4
- package/src/assets/ethereum/ABI/liqEth/liqEthMint.sol/LiqEthMint.json +0 -402
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "IOutpostManager",
|
|
4
|
+
"sourceName": "contracts/outpost/OutpostManagerCommon.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "uint16[]",
|
|
10
|
+
"name": "assertionTypes",
|
|
11
|
+
"type": "uint16[]"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"name": "blackholeAssertionTypes",
|
|
15
|
+
"outputs": [],
|
|
16
|
+
"stateMutability": "nonpayable",
|
|
17
|
+
"type": "function"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"inputs": [
|
|
21
|
+
{
|
|
22
|
+
"internalType": "address",
|
|
23
|
+
"name": "endpoint",
|
|
24
|
+
"type": "address"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"internalType": "uint16[]",
|
|
28
|
+
"name": "assertionsGenerated",
|
|
29
|
+
"type": "uint16[]"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"internalType": "uint16[]",
|
|
33
|
+
"name": "assertionsHandled",
|
|
34
|
+
"type": "uint16[]"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"name": "configureOPPEndpoint",
|
|
38
|
+
"outputs": [],
|
|
39
|
+
"stateMutability": "nonpayable",
|
|
40
|
+
"type": "function"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"inputs": [
|
|
44
|
+
{
|
|
45
|
+
"internalType": "address",
|
|
46
|
+
"name": "target",
|
|
47
|
+
"type": "address"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"internalType": "bytes",
|
|
51
|
+
"name": "data",
|
|
52
|
+
"type": "bytes"
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"name": "execute",
|
|
56
|
+
"outputs": [
|
|
57
|
+
{
|
|
58
|
+
"internalType": "uint32",
|
|
59
|
+
"name": "",
|
|
60
|
+
"type": "uint32"
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"stateMutability": "payable",
|
|
64
|
+
"type": "function"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"inputs": [
|
|
68
|
+
{
|
|
69
|
+
"internalType": "uint64",
|
|
70
|
+
"name": "role",
|
|
71
|
+
"type": "uint64"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"internalType": "address",
|
|
75
|
+
"name": "grantee",
|
|
76
|
+
"type": "address"
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"name": "grantRole",
|
|
80
|
+
"outputs": [],
|
|
81
|
+
"stateMutability": "nonpayable",
|
|
82
|
+
"type": "function"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"inputs": [
|
|
86
|
+
{
|
|
87
|
+
"internalType": "address",
|
|
88
|
+
"name": "_oppAddress",
|
|
89
|
+
"type": "address"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"internalType": "address",
|
|
93
|
+
"name": "_oppInboundAddress",
|
|
94
|
+
"type": "address"
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"name": "setupOPPRoles",
|
|
98
|
+
"outputs": [],
|
|
99
|
+
"stateMutability": "nonpayable",
|
|
100
|
+
"type": "function"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"inputs": [
|
|
104
|
+
{
|
|
105
|
+
"internalType": "address",
|
|
106
|
+
"name": "outpostContract",
|
|
107
|
+
"type": "address"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"internalType": "address",
|
|
111
|
+
"name": "newImplementation",
|
|
112
|
+
"type": "address"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"internalType": "bytes",
|
|
116
|
+
"name": "data",
|
|
117
|
+
"type": "bytes"
|
|
118
|
+
}
|
|
119
|
+
],
|
|
120
|
+
"name": "upgradeContract",
|
|
121
|
+
"outputs": [],
|
|
122
|
+
"stateMutability": "nonpayable",
|
|
123
|
+
"type": "function"
|
|
124
|
+
}
|
|
125
|
+
],
|
|
126
|
+
"bytecode": "0x",
|
|
127
|
+
"deployedBytecode": "0x",
|
|
128
|
+
"linkReferences": {},
|
|
129
|
+
"deployedLinkReferences": {}
|
|
130
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "IOutpostUpgradeable",
|
|
4
|
+
"sourceName": "contracts/outpost/OutpostManagerCommon.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "address",
|
|
10
|
+
"name": "newImplementation",
|
|
11
|
+
"type": "address"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"internalType": "bytes",
|
|
15
|
+
"name": "data",
|
|
16
|
+
"type": "bytes"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"name": "upgradeToAndCall",
|
|
20
|
+
"outputs": [],
|
|
21
|
+
"stateMutability": "payable",
|
|
22
|
+
"type": "function"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"bytecode": "0x",
|
|
26
|
+
"deployedBytecode": "0x",
|
|
27
|
+
"linkReferences": {},
|
|
28
|
+
"deployedLinkReferences": {}
|
|
29
|
+
}
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "OutpostManagerCommon",
|
|
4
|
+
"sourceName": "contracts/outpost/OutpostManagerCommon.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [],
|
|
8
|
+
"name": "CONFIGURATION_ROLE",
|
|
9
|
+
"outputs": [
|
|
10
|
+
{
|
|
11
|
+
"internalType": "uint64",
|
|
12
|
+
"name": "",
|
|
13
|
+
"type": "uint64"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"stateMutability": "view",
|
|
17
|
+
"type": "function"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"inputs": [],
|
|
21
|
+
"name": "OPP_FINALIZER_ROLE",
|
|
22
|
+
"outputs": [
|
|
23
|
+
{
|
|
24
|
+
"internalType": "uint64",
|
|
25
|
+
"name": "",
|
|
26
|
+
"type": "uint64"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"stateMutability": "view",
|
|
30
|
+
"type": "function"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"inputs": [],
|
|
34
|
+
"name": "OPP_INBOUND_ROLE",
|
|
35
|
+
"outputs": [
|
|
36
|
+
{
|
|
37
|
+
"internalType": "uint64",
|
|
38
|
+
"name": "",
|
|
39
|
+
"type": "uint64"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"stateMutability": "view",
|
|
43
|
+
"type": "function"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"inputs": [],
|
|
47
|
+
"name": "OPP_RECEIVER_TYPE",
|
|
48
|
+
"outputs": [
|
|
49
|
+
{
|
|
50
|
+
"internalType": "uint64",
|
|
51
|
+
"name": "",
|
|
52
|
+
"type": "uint64"
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"stateMutability": "view",
|
|
56
|
+
"type": "function"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"inputs": [],
|
|
60
|
+
"name": "OPP_SENDER_ROLE",
|
|
61
|
+
"outputs": [
|
|
62
|
+
{
|
|
63
|
+
"internalType": "uint64",
|
|
64
|
+
"name": "",
|
|
65
|
+
"type": "uint64"
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
"stateMutability": "view",
|
|
69
|
+
"type": "function"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"inputs": [],
|
|
73
|
+
"name": "OPP_SENDER_TYPE",
|
|
74
|
+
"outputs": [
|
|
75
|
+
{
|
|
76
|
+
"internalType": "uint64",
|
|
77
|
+
"name": "",
|
|
78
|
+
"type": "uint64"
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"stateMutability": "view",
|
|
82
|
+
"type": "function"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"inputs": [],
|
|
86
|
+
"name": "OPP_TESTER_ROLE",
|
|
87
|
+
"outputs": [
|
|
88
|
+
{
|
|
89
|
+
"internalType": "uint64",
|
|
90
|
+
"name": "",
|
|
91
|
+
"type": "uint64"
|
|
92
|
+
}
|
|
93
|
+
],
|
|
94
|
+
"stateMutability": "view",
|
|
95
|
+
"type": "function"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"inputs": [],
|
|
99
|
+
"name": "RECEIPT_BURNER_ROLE",
|
|
100
|
+
"outputs": [
|
|
101
|
+
{
|
|
102
|
+
"internalType": "uint64",
|
|
103
|
+
"name": "",
|
|
104
|
+
"type": "uint64"
|
|
105
|
+
}
|
|
106
|
+
],
|
|
107
|
+
"stateMutability": "view",
|
|
108
|
+
"type": "function"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"inputs": [],
|
|
112
|
+
"name": "RECEIPT_MINTER_ROLE",
|
|
113
|
+
"outputs": [
|
|
114
|
+
{
|
|
115
|
+
"internalType": "uint64",
|
|
116
|
+
"name": "",
|
|
117
|
+
"type": "uint64"
|
|
118
|
+
}
|
|
119
|
+
],
|
|
120
|
+
"stateMutability": "view",
|
|
121
|
+
"type": "function"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"inputs": [],
|
|
125
|
+
"name": "RECEIPT_TRANSFER_ROLE",
|
|
126
|
+
"outputs": [
|
|
127
|
+
{
|
|
128
|
+
"internalType": "uint64",
|
|
129
|
+
"name": "",
|
|
130
|
+
"type": "uint64"
|
|
131
|
+
}
|
|
132
|
+
],
|
|
133
|
+
"stateMutability": "view",
|
|
134
|
+
"type": "function"
|
|
135
|
+
}
|
|
136
|
+
],
|
|
137
|
+
"bytecode": "0x6080806040523460155761020f908161001b8239f35b600080fdfe60806040818152600436101561001457600080fd5b600091823560e01c9081633a7016d4146101b7575080634db51f5e146101955780636d1a74731461017a578063743112cd146101585780638293ace014610136578063a80e2a2214610114578063b12ed45e146100f2578063cd3c3f5e146100d7578063d22a40d0146100b55763efac70341461009057600080fd5b346100b157816003193601126100b1576020905167c58ec56834342af58152f35b5080fd5b50346100b157816003193601126100b1576020905167ae92c175e0db63cd8152f35b50346100b157816003193601126100b1576020905160018152f35b50346100b157816003193601126100b15760209051670b49c88cd3d1ba3c8152f35b50346100b157816003193601126100b157602090516711d8f2d2caa4286e8152f35b50346100b157816003193601126100b1576020905167973871d7e74f37488152f35b50346100b157816003193601126100b1576020905167054ed88267a063458152f35b50346100b157816003193601126100b1576020905160028152f35b50346100b157816003193601126100b1576020905167bf1faa41f651ca3a8152f35b8390346100b157816003193601126100b1578067fcf45a9de1e9ce3460209252f3fea2646970667358221220d7ede03d4f660f6326df6fc95649ed5c2e4ceae706eb9be4aa7107f8644e89c264736f6c63430008190033",
|
|
138
|
+
"deployedBytecode": "0x60806040818152600436101561001457600080fd5b600091823560e01c9081633a7016d4146101b7575080634db51f5e146101955780636d1a74731461017a578063743112cd146101585780638293ace014610136578063a80e2a2214610114578063b12ed45e146100f2578063cd3c3f5e146100d7578063d22a40d0146100b55763efac70341461009057600080fd5b346100b157816003193601126100b1576020905167c58ec56834342af58152f35b5080fd5b50346100b157816003193601126100b1576020905167ae92c175e0db63cd8152f35b50346100b157816003193601126100b1576020905160018152f35b50346100b157816003193601126100b15760209051670b49c88cd3d1ba3c8152f35b50346100b157816003193601126100b157602090516711d8f2d2caa4286e8152f35b50346100b157816003193601126100b1576020905167973871d7e74f37488152f35b50346100b157816003193601126100b1576020905167054ed88267a063458152f35b50346100b157816003193601126100b1576020905160028152f35b50346100b157816003193601126100b1576020905167bf1faa41f651ca3a8152f35b8390346100b157816003193601126100b1578067fcf45a9de1e9ce3460209252f3fea2646970667358221220d7ede03d4f660f6326df6fc95649ed5c2e4ceae706eb9be4aa7107f8644e89c264736f6c63430008190033",
|
|
139
|
+
"linkReferences": {},
|
|
140
|
+
"deployedLinkReferences": {}
|
|
141
|
+
}
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "OutpostOwnable",
|
|
4
|
+
"sourceName": "contracts/outpost/OutpostOwnable.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "address",
|
|
10
|
+
"name": "target",
|
|
11
|
+
"type": "address"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"name": "AddressEmptyCode",
|
|
15
|
+
"type": "error"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"inputs": [
|
|
19
|
+
{
|
|
20
|
+
"internalType": "address",
|
|
21
|
+
"name": "implementation",
|
|
22
|
+
"type": "address"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"name": "ERC1967InvalidImplementation",
|
|
26
|
+
"type": "error"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"inputs": [],
|
|
30
|
+
"name": "ERC1967NonPayable",
|
|
31
|
+
"type": "error"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"inputs": [],
|
|
35
|
+
"name": "FailedCall",
|
|
36
|
+
"type": "error"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"inputs": [],
|
|
40
|
+
"name": "InvalidInitialization",
|
|
41
|
+
"type": "error"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"inputs": [],
|
|
45
|
+
"name": "NotInitializing",
|
|
46
|
+
"type": "error"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"inputs": [
|
|
50
|
+
{
|
|
51
|
+
"internalType": "address",
|
|
52
|
+
"name": "owner",
|
|
53
|
+
"type": "address"
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"name": "OwnableInvalidOwner",
|
|
57
|
+
"type": "error"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"inputs": [
|
|
61
|
+
{
|
|
62
|
+
"internalType": "address",
|
|
63
|
+
"name": "account",
|
|
64
|
+
"type": "address"
|
|
65
|
+
}
|
|
66
|
+
],
|
|
67
|
+
"name": "OwnableUnauthorizedAccount",
|
|
68
|
+
"type": "error"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"inputs": [],
|
|
72
|
+
"name": "UUPSUnauthorizedCallContext",
|
|
73
|
+
"type": "error"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"inputs": [
|
|
77
|
+
{
|
|
78
|
+
"internalType": "bytes32",
|
|
79
|
+
"name": "slot",
|
|
80
|
+
"type": "bytes32"
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"name": "UUPSUnsupportedProxiableUUID",
|
|
84
|
+
"type": "error"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"anonymous": false,
|
|
88
|
+
"inputs": [
|
|
89
|
+
{
|
|
90
|
+
"indexed": false,
|
|
91
|
+
"internalType": "uint64",
|
|
92
|
+
"name": "version",
|
|
93
|
+
"type": "uint64"
|
|
94
|
+
}
|
|
95
|
+
],
|
|
96
|
+
"name": "Initialized",
|
|
97
|
+
"type": "event"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"anonymous": false,
|
|
101
|
+
"inputs": [
|
|
102
|
+
{
|
|
103
|
+
"indexed": true,
|
|
104
|
+
"internalType": "address",
|
|
105
|
+
"name": "previousOwner",
|
|
106
|
+
"type": "address"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"indexed": true,
|
|
110
|
+
"internalType": "address",
|
|
111
|
+
"name": "newOwner",
|
|
112
|
+
"type": "address"
|
|
113
|
+
}
|
|
114
|
+
],
|
|
115
|
+
"name": "OwnershipTransferred",
|
|
116
|
+
"type": "event"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"anonymous": false,
|
|
120
|
+
"inputs": [
|
|
121
|
+
{
|
|
122
|
+
"indexed": true,
|
|
123
|
+
"internalType": "address",
|
|
124
|
+
"name": "implementation",
|
|
125
|
+
"type": "address"
|
|
126
|
+
}
|
|
127
|
+
],
|
|
128
|
+
"name": "Upgraded",
|
|
129
|
+
"type": "event"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"inputs": [],
|
|
133
|
+
"name": "UPGRADE_INTERFACE_VERSION",
|
|
134
|
+
"outputs": [
|
|
135
|
+
{
|
|
136
|
+
"internalType": "string",
|
|
137
|
+
"name": "",
|
|
138
|
+
"type": "string"
|
|
139
|
+
}
|
|
140
|
+
],
|
|
141
|
+
"stateMutability": "view",
|
|
142
|
+
"type": "function"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"inputs": [],
|
|
146
|
+
"name": "owner",
|
|
147
|
+
"outputs": [
|
|
148
|
+
{
|
|
149
|
+
"internalType": "address",
|
|
150
|
+
"name": "",
|
|
151
|
+
"type": "address"
|
|
152
|
+
}
|
|
153
|
+
],
|
|
154
|
+
"stateMutability": "view",
|
|
155
|
+
"type": "function"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"inputs": [],
|
|
159
|
+
"name": "proxiableUUID",
|
|
160
|
+
"outputs": [
|
|
161
|
+
{
|
|
162
|
+
"internalType": "bytes32",
|
|
163
|
+
"name": "",
|
|
164
|
+
"type": "bytes32"
|
|
165
|
+
}
|
|
166
|
+
],
|
|
167
|
+
"stateMutability": "view",
|
|
168
|
+
"type": "function"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"inputs": [],
|
|
172
|
+
"name": "renounceOwnership",
|
|
173
|
+
"outputs": [],
|
|
174
|
+
"stateMutability": "nonpayable",
|
|
175
|
+
"type": "function"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"inputs": [
|
|
179
|
+
{
|
|
180
|
+
"internalType": "address",
|
|
181
|
+
"name": "newOwner",
|
|
182
|
+
"type": "address"
|
|
183
|
+
}
|
|
184
|
+
],
|
|
185
|
+
"name": "transferOwnership",
|
|
186
|
+
"outputs": [],
|
|
187
|
+
"stateMutability": "nonpayable",
|
|
188
|
+
"type": "function"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"inputs": [
|
|
192
|
+
{
|
|
193
|
+
"internalType": "address",
|
|
194
|
+
"name": "newImplementation",
|
|
195
|
+
"type": "address"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"internalType": "bytes",
|
|
199
|
+
"name": "data",
|
|
200
|
+
"type": "bytes"
|
|
201
|
+
}
|
|
202
|
+
],
|
|
203
|
+
"name": "upgradeToAndCall",
|
|
204
|
+
"outputs": [],
|
|
205
|
+
"stateMutability": "payable",
|
|
206
|
+
"type": "function"
|
|
207
|
+
}
|
|
208
|
+
],
|
|
209
|
+
"bytecode": "0x60a08060405234602957306080526106a3908161002f823960805181818161025601526105760152f35b600080fdfe6040608081526004908136101561001557600080fd5b600091823560e01c80634f1ef286146102ba57806352d1902d14610241578063715018a6146101d45780638da5cb5b1461019a578063ad3cb1cc146100fc5763f2fde38b1461006357600080fd5b346100f85760203660031901126100f85761007c6104c4565b90610085610533565b6001600160a01b039182169283156100e257505060008051602061064e83398151915280546001600160a01b031981168417909155167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b51631e4fbdf760e01b8152908101849052602490fd5b8280fd5b50346100f857826003193601126100f8578151908282019082821067ffffffffffffffff8311176101875750825260058152602090640352e302e360dc1b6020820152825193849260208452825192836020860152825b84811061017157505050828201840152601f01601f19168101030190f35b8181018301518882018801528795508201610153565b634e487b7160e01b855260419052602484fd5b5050346101d057816003193601126101d05760008051602061064e8339815191525490516001600160a01b039091168152602090f35b5080fd5b833461023e578060031936011261023e576101ed610533565b60008051602061064e83398151915280546001600160a01b0319811690915581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b80fd5b50913461023e578060031936011261023e57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031630036102ad57602090517f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8152f35b5163703e46dd60e11b8152fd5b5090806003193601126100f8576102cf6104c4565b90602493843567ffffffffffffffff81116101d057366023820112156101d057808501356102fc81610517565b94610309855196876104df565b81865260209182870193368a83830101116104c0578186928b86930187378801015261033361056c565b61033b610533565b61034361056c565b84516352d1902d60e01b81526001600160a01b038216969083818a818b5afa86918161048d575b50610386575050505050505191634c9c8ce360e01b8352820152fd5b9088888894938c7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc918281036104785750853b15610464575080546001600160a01b031916821790558451889392917fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b8580a28251156104465750506104389582915190845af4913d1561043c573d61042a61042182610517565b925192836104df565b81528581943d92013e6105ea565b5080f35b50606092506105ea565b95509550505050503461045857505080f35b63b398979f60e01b8152fd5b8651634c9c8ce360e01b8152808501849052fd5b8751632a87526960e21b815280860191909152fd5b9091508481813d83116104b9575b6104a581836104df565b810103126104b55751903861036a565b8680fd5b503d61049b565b8580fd5b600435906001600160a01b03821682036104da57565b600080fd5b90601f8019910116810190811067ffffffffffffffff82111761050157604052565b634e487b7160e01b600052604160045260246000fd5b67ffffffffffffffff811161050157601f01601f191660200190565b60008051602061064e833981519152546001600160a01b0316330361055457565b60405163118cdaa760e01b8152336004820152602490fd5b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081163081149182156105bc575b50506105aa57565b60405163703e46dd60e11b8152600490fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc54161415905038806105a2565b9061061157508051156105ff57602081519101fd5b60405163d6bda27560e01b8152600490fd5b81511580610644575b610622575090565b604051639996b31560e01b81526001600160a01b039091166004820152602490fd5b50803b1561061a56fe9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300a264697066735822122086e618c871d3ebf28632bbff36aa2aa2ff178f76868b5b3a1c93eb8f4063a07764736f6c63430008190033",
|
|
210
|
+
"deployedBytecode": "0x6040608081526004908136101561001557600080fd5b600091823560e01c80634f1ef286146102ba57806352d1902d14610241578063715018a6146101d45780638da5cb5b1461019a578063ad3cb1cc146100fc5763f2fde38b1461006357600080fd5b346100f85760203660031901126100f85761007c6104c4565b90610085610533565b6001600160a01b039182169283156100e257505060008051602061064e83398151915280546001600160a01b031981168417909155167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b51631e4fbdf760e01b8152908101849052602490fd5b8280fd5b50346100f857826003193601126100f8578151908282019082821067ffffffffffffffff8311176101875750825260058152602090640352e302e360dc1b6020820152825193849260208452825192836020860152825b84811061017157505050828201840152601f01601f19168101030190f35b8181018301518882018801528795508201610153565b634e487b7160e01b855260419052602484fd5b5050346101d057816003193601126101d05760008051602061064e8339815191525490516001600160a01b039091168152602090f35b5080fd5b833461023e578060031936011261023e576101ed610533565b60008051602061064e83398151915280546001600160a01b0319811690915581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b80fd5b50913461023e578060031936011261023e57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031630036102ad57602090517f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8152f35b5163703e46dd60e11b8152fd5b5090806003193601126100f8576102cf6104c4565b90602493843567ffffffffffffffff81116101d057366023820112156101d057808501356102fc81610517565b94610309855196876104df565b81865260209182870193368a83830101116104c0578186928b86930187378801015261033361056c565b61033b610533565b61034361056c565b84516352d1902d60e01b81526001600160a01b038216969083818a818b5afa86918161048d575b50610386575050505050505191634c9c8ce360e01b8352820152fd5b9088888894938c7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc918281036104785750853b15610464575080546001600160a01b031916821790558451889392917fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b8580a28251156104465750506104389582915190845af4913d1561043c573d61042a61042182610517565b925192836104df565b81528581943d92013e6105ea565b5080f35b50606092506105ea565b95509550505050503461045857505080f35b63b398979f60e01b8152fd5b8651634c9c8ce360e01b8152808501849052fd5b8751632a87526960e21b815280860191909152fd5b9091508481813d83116104b9575b6104a581836104df565b810103126104b55751903861036a565b8680fd5b503d61049b565b8580fd5b600435906001600160a01b03821682036104da57565b600080fd5b90601f8019910116810190811067ffffffffffffffff82111761050157604052565b634e487b7160e01b600052604160045260246000fd5b67ffffffffffffffff811161050157601f01601f191660200190565b60008051602061064e833981519152546001600160a01b0316330361055457565b60405163118cdaa760e01b8152336004820152602490fd5b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081163081149182156105bc575b50506105aa57565b60405163703e46dd60e11b8152600490fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc54161415905038806105a2565b9061061157508051156105ff57602081519101fd5b60405163d6bda27560e01b8152600490fd5b81511580610644575b610622575090565b604051639996b31560e01b81526001600160a01b039091166004820152602490fd5b50803b1561061a56fe9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300a264697066735822122086e618c871d3ebf28632bbff36aa2aa2ff178f76868b5b3a1c93eb8f4063a07764736f6c63430008190033",
|
|
211
|
+
"linkReferences": {},
|
|
212
|
+
"deployedLinkReferences": {}
|
|
213
|
+
}
|