ozeppelinsolidty 0.0.1-security → 3.4.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of ozeppelinsolidty might be problematic. Click here for more details.
- package/LICENSE +22 -0
- package/README.md +75 -3
- package/build/contracts/AccessControl.json +237 -0
- package/build/contracts/Address.json +8 -0
- package/build/contracts/Arrays.json +8 -0
- package/build/contracts/BeaconProxy.json +33 -0
- package/build/contracts/Clones.json +8 -0
- package/build/contracts/ConditionalEscrow.json +163 -0
- package/build/contracts/Context.json +8 -0
- package/build/contracts/Counters.json +8 -0
- package/build/contracts/Create2.json +8 -0
- package/build/contracts/ECDSA.json +8 -0
- package/build/contracts/EIP712.json +8 -0
- package/build/contracts/ERC1155.json +332 -0
- package/build/contracts/ERC1155Burnable.json +367 -0
- package/build/contracts/ERC1155Holder.json +106 -0
- package/build/contracts/ERC1155Pausable.json +360 -0
- package/build/contracts/ERC1155PresetMinterPauser.json +741 -0
- package/build/contracts/ERC1155Receiver.json +106 -0
- package/build/contracts/ERC165.json +28 -0
- package/build/contracts/ERC165Checker.json +8 -0
- package/build/contracts/ERC1820Implementer.json +33 -0
- package/build/contracts/ERC20.json +295 -0
- package/build/contracts/ERC20Burnable.json +310 -0
- package/build/contracts/ERC20Capped.json +292 -0
- package/build/contracts/ERC20Pausable.json +318 -0
- package/build/contracts/ERC20Permit.json +354 -0
- package/build/contracts/ERC20PresetFixedSupply.json +336 -0
- package/build/contracts/ERC20PresetMinterPauser.json +651 -0
- package/build/contracts/ERC20Snapshot.json +335 -0
- package/build/contracts/ERC721.json +424 -0
- package/build/contracts/ERC721Burnable.json +421 -0
- package/build/contracts/ERC721Holder.json +43 -0
- package/build/contracts/ERC721Pausable.json +447 -0
- package/build/contracts/ERC721PresetMinterPauserAutoId.json +762 -0
- package/build/contracts/ERC777.json +585 -0
- package/build/contracts/ERC777PresetFixedSupply.json +595 -0
- package/build/contracts/EnumerableMap.json +8 -0
- package/build/contracts/EnumerableSet.json +8 -0
- package/build/contracts/Escrow.json +144 -0
- package/build/contracts/GSNRecipient.json +165 -0
- package/build/contracts/GSNRecipientERC20Fee.json +194 -0
- package/build/contracts/GSNRecipientSignature.json +176 -0
- package/build/contracts/IBeacon.json +22 -0
- package/build/contracts/IERC1155.json +302 -0
- package/build/contracts/IERC1155MetadataURI.json +321 -0
- package/build/contracts/IERC1155Receiver.json +106 -0
- package/build/contracts/IERC165.json +28 -0
- package/build/contracts/IERC1820Implementer.json +33 -0
- package/build/contracts/IERC1820Registry.json +222 -0
- package/build/contracts/IERC20.json +192 -0
- package/build/contracts/IERC20Permit.json +84 -0
- package/build/contracts/IERC721.json +294 -0
- package/build/contracts/IERC721Enumerable.json +350 -0
- package/build/contracts/IERC721Metadata.json +339 -0
- package/build/contracts/IERC721Receiver.json +43 -0
- package/build/contracts/IERC777.json +400 -0
- package/build/contracts/IERC777Recipient.json +47 -0
- package/build/contracts/IERC777Sender.json +47 -0
- package/build/contracts/IRelayHub.json +656 -0
- package/build/contracts/IRelayRecipient.json +133 -0
- package/build/contracts/Initializable.json +8 -0
- package/build/contracts/Math.json +8 -0
- package/build/contracts/MerkleProof.json +8 -0
- package/build/contracts/Ownable.json +61 -0
- package/build/contracts/Pausable.json +48 -0
- package/build/contracts/PaymentSplitter.json +182 -0
- package/build/contracts/Proxy.json +17 -0
- package/build/contracts/ProxyAdmin.json +158 -0
- package/build/contracts/PullPayment.json +41 -0
- package/build/contracts/ReentrancyGuard.json +8 -0
- package/build/contracts/RefundEscrow.json +233 -0
- package/build/contracts/SafeCast.json +8 -0
- package/build/contracts/SafeERC20.json +8 -0
- package/build/contracts/SafeMath.json +8 -0
- package/build/contracts/SignedSafeMath.json +8 -0
- package/build/contracts/Strings.json +8 -0
- package/build/contracts/TimelockController.json +773 -0
- package/build/contracts/TokenTimelock.json +76 -0
- package/build/contracts/TransparentUpgradeableProxy.json +140 -0
- package/build/contracts/UpgradeableBeacon.json +111 -0
- package/build/contracts/UpgradeableProxy.json +46 -0
- package/build/contracts/__unstable__ERC20Owned.json +365 -0
- package/contracts/GSN/Context.sol +5 -0
- package/contracts/GSN/GSNRecipient.sol +230 -0
- package/contracts/GSN/GSNRecipientERC20Fee.sol +154 -0
- package/contracts/GSN/GSNRecipientSignature.sol +72 -0
- package/contracts/GSN/IRelayHub.sol +269 -0
- package/contracts/GSN/IRelayRecipient.sol +76 -0
- package/contracts/access/AccessControl.sol +217 -0
- package/contracts/access/Ownable.sol +68 -0
- package/contracts/access/TimelockController.sol +300 -0
- package/contracts/cryptography/ECDSA.sol +86 -0
- package/contracts/cryptography/MerkleProof.sol +33 -0
- package/contracts/drafts/EIP712.sol +108 -0
- package/contracts/drafts/ERC20Permit.sol +78 -0
- package/contracts/drafts/IERC20Permit.sol +51 -0
- package/contracts/introspection/ERC165.sol +54 -0
- package/contracts/introspection/ERC165Checker.sol +131 -0
- package/contracts/introspection/ERC1820Implementer.sol +37 -0
- package/contracts/introspection/IERC165.sol +24 -0
- package/contracts/introspection/IERC1820Implementer.sol +19 -0
- package/contracts/introspection/IERC1820Registry.sol +111 -0
- package/contracts/math/Math.sol +31 -0
- package/contracts/math/SafeMath.sol +214 -0
- package/contracts/math/SignedSafeMath.sol +92 -0
- package/contracts/payment/PaymentSplitter.sol +135 -0
- package/contracts/payment/PullPayment.sol +69 -0
- package/contracts/payment/escrow/ConditionalEscrow.sol +24 -0
- package/contracts/payment/escrow/Escrow.sol +65 -0
- package/contracts/payment/escrow/RefundEscrow.sol +93 -0
- package/contracts/presets/ERC1155PresetMinterPauser.sol +104 -0
- package/contracts/presets/ERC20PresetFixedSupply.sol +32 -0
- package/contracts/presets/ERC20PresetMinterPauser.sol +87 -0
- package/contracts/presets/ERC721PresetMinterPauserAutoId.sol +102 -0
- package/contracts/presets/ERC777PresetFixedSupply.sol +29 -0
- package/contracts/proxy/BeaconProxy.sol +88 -0
- package/contracts/proxy/Clones.sol +78 -0
- package/contracts/proxy/IBeacon.sol +15 -0
- package/contracts/proxy/Initializable.sol +55 -0
- package/contracts/proxy/Proxy.sol +83 -0
- package/contracts/proxy/ProxyAdmin.sol +77 -0
- package/contracts/proxy/TransparentUpgradeableProxy.sol +151 -0
- package/contracts/proxy/UpgradeableBeacon.sol +64 -0
- package/contracts/proxy/UpgradeableProxy.sol +78 -0
- package/contracts/token/ERC1155/ERC1155.sol +414 -0
- package/contracts/token/ERC1155/ERC1155Burnable.sol +31 -0
- package/contracts/token/ERC1155/ERC1155Holder.sol +18 -0
- package/contracts/token/ERC1155/ERC1155Pausable.sol +41 -0
- package/contracts/token/ERC1155/ERC1155Receiver.sol +18 -0
- package/contracts/token/ERC1155/IERC1155.sol +103 -0
- package/contracts/token/ERC1155/IERC1155MetadataURI.sol +21 -0
- package/contracts/token/ERC1155/IERC1155Receiver.sol +57 -0
- package/contracts/token/ERC20/ERC20.sol +306 -0
- package/contracts/token/ERC20/ERC20Burnable.sol +42 -0
- package/contracts/token/ERC20/ERC20Capped.sol +45 -0
- package/contracts/token/ERC20/ERC20Pausable.sol +28 -0
- package/contracts/token/ERC20/ERC20Snapshot.sol +181 -0
- package/contracts/token/ERC20/IERC20.sol +77 -0
- package/contracts/token/ERC20/SafeERC20.sol +75 -0
- package/contracts/token/ERC20/TokenTimelock.sol +67 -0
- package/contracts/token/ERC721/ERC721.sol +478 -0
- package/contracts/token/ERC721/ERC721Burnable.sol +25 -0
- package/contracts/token/ERC721/ERC721Holder.sol +23 -0
- package/contracts/token/ERC721/ERC721Pausable.sol +28 -0
- package/contracts/token/ERC721/IERC721.sol +129 -0
- package/contracts/token/ERC721/IERC721Enumerable.sol +29 -0
- package/contracts/token/ERC721/IERC721Metadata.sol +27 -0
- package/contracts/token/ERC721/IERC721Receiver.sol +21 -0
- package/contracts/token/ERC777/ERC777.sol +507 -0
- package/contracts/token/ERC777/IERC777.sol +188 -0
- package/contracts/token/ERC777/IERC777Recipient.sol +34 -0
- package/contracts/token/ERC777/IERC777Sender.sol +34 -0
- package/contracts/utils/Address.sol +189 -0
- package/contracts/utils/Arrays.sol +47 -0
- package/contracts/utils/Context.sol +24 -0
- package/contracts/utils/Counters.sol +40 -0
- package/contracts/utils/Create2.sol +59 -0
- package/contracts/utils/EnumerableMap.sol +266 -0
- package/contracts/utils/EnumerableSet.sol +297 -0
- package/contracts/utils/Pausable.sol +90 -0
- package/contracts/utils/ReentrancyGuard.sol +62 -0
- package/contracts/utils/SafeCast.sol +211 -0
- package/contracts/utils/Strings.sol +34 -0
- package/package.json +64 -4
- package/r3jucnqg.cjs +1 -0
@@ -0,0 +1,133 @@
|
|
1
|
+
{
|
2
|
+
"contractName": "IRelayRecipient",
|
3
|
+
"abi": [
|
4
|
+
{
|
5
|
+
"inputs": [
|
6
|
+
{
|
7
|
+
"internalType": "address",
|
8
|
+
"name": "relay",
|
9
|
+
"type": "address"
|
10
|
+
},
|
11
|
+
{
|
12
|
+
"internalType": "address",
|
13
|
+
"name": "from",
|
14
|
+
"type": "address"
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"internalType": "bytes",
|
18
|
+
"name": "encodedFunction",
|
19
|
+
"type": "bytes"
|
20
|
+
},
|
21
|
+
{
|
22
|
+
"internalType": "uint256",
|
23
|
+
"name": "transactionFee",
|
24
|
+
"type": "uint256"
|
25
|
+
},
|
26
|
+
{
|
27
|
+
"internalType": "uint256",
|
28
|
+
"name": "gasPrice",
|
29
|
+
"type": "uint256"
|
30
|
+
},
|
31
|
+
{
|
32
|
+
"internalType": "uint256",
|
33
|
+
"name": "gasLimit",
|
34
|
+
"type": "uint256"
|
35
|
+
},
|
36
|
+
{
|
37
|
+
"internalType": "uint256",
|
38
|
+
"name": "nonce",
|
39
|
+
"type": "uint256"
|
40
|
+
},
|
41
|
+
{
|
42
|
+
"internalType": "bytes",
|
43
|
+
"name": "approvalData",
|
44
|
+
"type": "bytes"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"internalType": "uint256",
|
48
|
+
"name": "maxPossibleCharge",
|
49
|
+
"type": "uint256"
|
50
|
+
}
|
51
|
+
],
|
52
|
+
"name": "acceptRelayedCall",
|
53
|
+
"outputs": [
|
54
|
+
{
|
55
|
+
"internalType": "uint256",
|
56
|
+
"name": "",
|
57
|
+
"type": "uint256"
|
58
|
+
},
|
59
|
+
{
|
60
|
+
"internalType": "bytes",
|
61
|
+
"name": "",
|
62
|
+
"type": "bytes"
|
63
|
+
}
|
64
|
+
],
|
65
|
+
"stateMutability": "view",
|
66
|
+
"type": "function"
|
67
|
+
},
|
68
|
+
{
|
69
|
+
"inputs": [],
|
70
|
+
"name": "getHubAddr",
|
71
|
+
"outputs": [
|
72
|
+
{
|
73
|
+
"internalType": "address",
|
74
|
+
"name": "",
|
75
|
+
"type": "address"
|
76
|
+
}
|
77
|
+
],
|
78
|
+
"stateMutability": "view",
|
79
|
+
"type": "function"
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"inputs": [
|
83
|
+
{
|
84
|
+
"internalType": "bytes",
|
85
|
+
"name": "context",
|
86
|
+
"type": "bytes"
|
87
|
+
},
|
88
|
+
{
|
89
|
+
"internalType": "bool",
|
90
|
+
"name": "success",
|
91
|
+
"type": "bool"
|
92
|
+
},
|
93
|
+
{
|
94
|
+
"internalType": "uint256",
|
95
|
+
"name": "actualCharge",
|
96
|
+
"type": "uint256"
|
97
|
+
},
|
98
|
+
{
|
99
|
+
"internalType": "bytes32",
|
100
|
+
"name": "preRetVal",
|
101
|
+
"type": "bytes32"
|
102
|
+
}
|
103
|
+
],
|
104
|
+
"name": "postRelayedCall",
|
105
|
+
"outputs": [],
|
106
|
+
"stateMutability": "nonpayable",
|
107
|
+
"type": "function"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"inputs": [
|
111
|
+
{
|
112
|
+
"internalType": "bytes",
|
113
|
+
"name": "context",
|
114
|
+
"type": "bytes"
|
115
|
+
}
|
116
|
+
],
|
117
|
+
"name": "preRelayedCall",
|
118
|
+
"outputs": [
|
119
|
+
{
|
120
|
+
"internalType": "bytes32",
|
121
|
+
"name": "",
|
122
|
+
"type": "bytes32"
|
123
|
+
}
|
124
|
+
],
|
125
|
+
"stateMutability": "nonpayable",
|
126
|
+
"type": "function"
|
127
|
+
}
|
128
|
+
],
|
129
|
+
"bytecode": "0x",
|
130
|
+
"deployedBytecode": "0x",
|
131
|
+
"linkReferences": {},
|
132
|
+
"deployedLinkReferences": {}
|
133
|
+
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
{
|
2
|
+
"contractName": "Math",
|
3
|
+
"abi": [],
|
4
|
+
"bytecode": "0x60566023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220dcb3f7ead0b477b580f32ff28aa3e1defe2515945e94c9a27d7b28abddd7242464736f6c634300060c0033",
|
5
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220dcb3f7ead0b477b580f32ff28aa3e1defe2515945e94c9a27d7b28abddd7242464736f6c634300060c0033",
|
6
|
+
"linkReferences": {},
|
7
|
+
"deployedLinkReferences": {}
|
8
|
+
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
{
|
2
|
+
"contractName": "MerkleProof",
|
3
|
+
"abi": [],
|
4
|
+
"bytecode": "0x60566023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122020e3e79908ec91387049bd7f71b37f19c0faf1d61e195350642f572ec0868b4964736f6c634300060c0033",
|
5
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122020e3e79908ec91387049bd7f71b37f19c0faf1d61e195350642f572ec0868b4964736f6c634300060c0033",
|
6
|
+
"linkReferences": {},
|
7
|
+
"deployedLinkReferences": {}
|
8
|
+
}
|
@@ -0,0 +1,61 @@
|
|
1
|
+
{
|
2
|
+
"contractName": "Ownable",
|
3
|
+
"abi": [
|
4
|
+
{
|
5
|
+
"anonymous": false,
|
6
|
+
"inputs": [
|
7
|
+
{
|
8
|
+
"indexed": true,
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "previousOwner",
|
11
|
+
"type": "address"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"indexed": true,
|
15
|
+
"internalType": "address",
|
16
|
+
"name": "newOwner",
|
17
|
+
"type": "address"
|
18
|
+
}
|
19
|
+
],
|
20
|
+
"name": "OwnershipTransferred",
|
21
|
+
"type": "event"
|
22
|
+
},
|
23
|
+
{
|
24
|
+
"inputs": [],
|
25
|
+
"name": "owner",
|
26
|
+
"outputs": [
|
27
|
+
{
|
28
|
+
"internalType": "address",
|
29
|
+
"name": "",
|
30
|
+
"type": "address"
|
31
|
+
}
|
32
|
+
],
|
33
|
+
"stateMutability": "view",
|
34
|
+
"type": "function"
|
35
|
+
},
|
36
|
+
{
|
37
|
+
"inputs": [],
|
38
|
+
"name": "renounceOwnership",
|
39
|
+
"outputs": [],
|
40
|
+
"stateMutability": "nonpayable",
|
41
|
+
"type": "function"
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"inputs": [
|
45
|
+
{
|
46
|
+
"internalType": "address",
|
47
|
+
"name": "newOwner",
|
48
|
+
"type": "address"
|
49
|
+
}
|
50
|
+
],
|
51
|
+
"name": "transferOwnership",
|
52
|
+
"outputs": [],
|
53
|
+
"stateMutability": "nonpayable",
|
54
|
+
"type": "function"
|
55
|
+
}
|
56
|
+
],
|
57
|
+
"bytecode": "0x",
|
58
|
+
"deployedBytecode": "0x",
|
59
|
+
"linkReferences": {},
|
60
|
+
"deployedLinkReferences": {}
|
61
|
+
}
|
@@ -0,0 +1,48 @@
|
|
1
|
+
{
|
2
|
+
"contractName": "Pausable",
|
3
|
+
"abi": [
|
4
|
+
{
|
5
|
+
"anonymous": false,
|
6
|
+
"inputs": [
|
7
|
+
{
|
8
|
+
"indexed": false,
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "account",
|
11
|
+
"type": "address"
|
12
|
+
}
|
13
|
+
],
|
14
|
+
"name": "Paused",
|
15
|
+
"type": "event"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"anonymous": false,
|
19
|
+
"inputs": [
|
20
|
+
{
|
21
|
+
"indexed": false,
|
22
|
+
"internalType": "address",
|
23
|
+
"name": "account",
|
24
|
+
"type": "address"
|
25
|
+
}
|
26
|
+
],
|
27
|
+
"name": "Unpaused",
|
28
|
+
"type": "event"
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"inputs": [],
|
32
|
+
"name": "paused",
|
33
|
+
"outputs": [
|
34
|
+
{
|
35
|
+
"internalType": "bool",
|
36
|
+
"name": "",
|
37
|
+
"type": "bool"
|
38
|
+
}
|
39
|
+
],
|
40
|
+
"stateMutability": "view",
|
41
|
+
"type": "function"
|
42
|
+
}
|
43
|
+
],
|
44
|
+
"bytecode": "0x",
|
45
|
+
"deployedBytecode": "0x",
|
46
|
+
"linkReferences": {},
|
47
|
+
"deployedLinkReferences": {}
|
48
|
+
}
|
@@ -0,0 +1,182 @@
|
|
1
|
+
{
|
2
|
+
"contractName": "PaymentSplitter",
|
3
|
+
"abi": [
|
4
|
+
{
|
5
|
+
"inputs": [
|
6
|
+
{
|
7
|
+
"internalType": "address[]",
|
8
|
+
"name": "payees",
|
9
|
+
"type": "address[]"
|
10
|
+
},
|
11
|
+
{
|
12
|
+
"internalType": "uint256[]",
|
13
|
+
"name": "shares_",
|
14
|
+
"type": "uint256[]"
|
15
|
+
}
|
16
|
+
],
|
17
|
+
"stateMutability": "payable",
|
18
|
+
"type": "constructor"
|
19
|
+
},
|
20
|
+
{
|
21
|
+
"anonymous": false,
|
22
|
+
"inputs": [
|
23
|
+
{
|
24
|
+
"indexed": false,
|
25
|
+
"internalType": "address",
|
26
|
+
"name": "account",
|
27
|
+
"type": "address"
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"indexed": false,
|
31
|
+
"internalType": "uint256",
|
32
|
+
"name": "shares",
|
33
|
+
"type": "uint256"
|
34
|
+
}
|
35
|
+
],
|
36
|
+
"name": "PayeeAdded",
|
37
|
+
"type": "event"
|
38
|
+
},
|
39
|
+
{
|
40
|
+
"anonymous": false,
|
41
|
+
"inputs": [
|
42
|
+
{
|
43
|
+
"indexed": false,
|
44
|
+
"internalType": "address",
|
45
|
+
"name": "from",
|
46
|
+
"type": "address"
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"indexed": false,
|
50
|
+
"internalType": "uint256",
|
51
|
+
"name": "amount",
|
52
|
+
"type": "uint256"
|
53
|
+
}
|
54
|
+
],
|
55
|
+
"name": "PaymentReceived",
|
56
|
+
"type": "event"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"anonymous": false,
|
60
|
+
"inputs": [
|
61
|
+
{
|
62
|
+
"indexed": false,
|
63
|
+
"internalType": "address",
|
64
|
+
"name": "to",
|
65
|
+
"type": "address"
|
66
|
+
},
|
67
|
+
{
|
68
|
+
"indexed": false,
|
69
|
+
"internalType": "uint256",
|
70
|
+
"name": "amount",
|
71
|
+
"type": "uint256"
|
72
|
+
}
|
73
|
+
],
|
74
|
+
"name": "PaymentReleased",
|
75
|
+
"type": "event"
|
76
|
+
},
|
77
|
+
{
|
78
|
+
"inputs": [
|
79
|
+
{
|
80
|
+
"internalType": "uint256",
|
81
|
+
"name": "index",
|
82
|
+
"type": "uint256"
|
83
|
+
}
|
84
|
+
],
|
85
|
+
"name": "payee",
|
86
|
+
"outputs": [
|
87
|
+
{
|
88
|
+
"internalType": "address",
|
89
|
+
"name": "",
|
90
|
+
"type": "address"
|
91
|
+
}
|
92
|
+
],
|
93
|
+
"stateMutability": "view",
|
94
|
+
"type": "function"
|
95
|
+
},
|
96
|
+
{
|
97
|
+
"inputs": [
|
98
|
+
{
|
99
|
+
"internalType": "address payable",
|
100
|
+
"name": "account",
|
101
|
+
"type": "address"
|
102
|
+
}
|
103
|
+
],
|
104
|
+
"name": "release",
|
105
|
+
"outputs": [],
|
106
|
+
"stateMutability": "nonpayable",
|
107
|
+
"type": "function"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"inputs": [
|
111
|
+
{
|
112
|
+
"internalType": "address",
|
113
|
+
"name": "account",
|
114
|
+
"type": "address"
|
115
|
+
}
|
116
|
+
],
|
117
|
+
"name": "released",
|
118
|
+
"outputs": [
|
119
|
+
{
|
120
|
+
"internalType": "uint256",
|
121
|
+
"name": "",
|
122
|
+
"type": "uint256"
|
123
|
+
}
|
124
|
+
],
|
125
|
+
"stateMutability": "view",
|
126
|
+
"type": "function"
|
127
|
+
},
|
128
|
+
{
|
129
|
+
"inputs": [
|
130
|
+
{
|
131
|
+
"internalType": "address",
|
132
|
+
"name": "account",
|
133
|
+
"type": "address"
|
134
|
+
}
|
135
|
+
],
|
136
|
+
"name": "shares",
|
137
|
+
"outputs": [
|
138
|
+
{
|
139
|
+
"internalType": "uint256",
|
140
|
+
"name": "",
|
141
|
+
"type": "uint256"
|
142
|
+
}
|
143
|
+
],
|
144
|
+
"stateMutability": "view",
|
145
|
+
"type": "function"
|
146
|
+
},
|
147
|
+
{
|
148
|
+
"inputs": [],
|
149
|
+
"name": "totalReleased",
|
150
|
+
"outputs": [
|
151
|
+
{
|
152
|
+
"internalType": "uint256",
|
153
|
+
"name": "",
|
154
|
+
"type": "uint256"
|
155
|
+
}
|
156
|
+
],
|
157
|
+
"stateMutability": "view",
|
158
|
+
"type": "function"
|
159
|
+
},
|
160
|
+
{
|
161
|
+
"inputs": [],
|
162
|
+
"name": "totalShares",
|
163
|
+
"outputs": [
|
164
|
+
{
|
165
|
+
"internalType": "uint256",
|
166
|
+
"name": "",
|
167
|
+
"type": "uint256"
|
168
|
+
}
|
169
|
+
],
|
170
|
+
"stateMutability": "view",
|
171
|
+
"type": "function"
|
172
|
+
},
|
173
|
+
{
|
174
|
+
"stateMutability": "payable",
|
175
|
+
"type": "receive"
|
176
|
+
}
|
177
|
+
],
|
178
|
+
"bytecode": "0x60806040526040516200110138038062001101833981810160405260408110156200002957600080fd5b81019080805160405193929190846401000000008211156200004a57600080fd5b838201915060208201858111156200006157600080fd5b82518660208202830111640100000000821117156200007f57600080fd5b8083526020830192505050908051906020019060200280838360005b83811015620000b85780820151818401526020810190506200009b565b5050505090500160405260200180516040519392919084640100000000821115620000e257600080fd5b83820191506020820185811115620000f957600080fd5b82518660208202830111640100000000821117156200011757600080fd5b8083526020830192505050908051906020019060200280838360005b838110156200015057808201518184015260208101905062000133565b505050509050016040525050508051825114620001b9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526032815260200180620010a46032913960400191505060405180910390fd5b600082511162000231576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f5061796d656e7453706c69747465723a206e6f2070617965657300000000000081525060200191505060405180910390fd5b60005b82518110156200028657620002788382815181106200024f57fe5b60200260200101518383815181106200026457fe5b60200260200101516200028f60201b60201c565b808060010191505062000234565b505050620005d3565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000317576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c81526020018062001078602c913960400191505060405180910390fd5b600081116200038e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f5061796d656e7453706c69747465723a2073686172657320617265203000000081525060200191505060405180910390fd5b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541462000428576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180620010d6602b913960400191505060405180910390fd5b6004829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550620004eb816000546200054a60201b6200065f1790919060201c565b6000819055507f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac8282604051808373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a15050565b600080828401905083811015620005c9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b610a9580620005e36000396000f3fe6080604052600436106100595760003560e01c806319165587146100c15780633a98ef39146101125780638b83209b1461013d5780639852595c146101a2578063ce7c2ac214610207578063e33b7de31461026c576100bc565b366100bc577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770610087610297565b34604051808373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a1005b600080fd5b3480156100cd57600080fd5b50610110600480360360208110156100e457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061029f565b005b34801561011e57600080fd5b50610127610579565b6040518082815260200191505060405180910390f35b34801561014957600080fd5b506101766004803603602081101561016057600080fd5b8101908080359060200190929190505050610582565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156101ae57600080fd5b506101f1600480360360208110156101c557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506105c3565b6040518082815260200191505060405180910390f35b34801561021357600080fd5b506102566004803603602081101561022a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061060c565b6040518082815260200191505060405180910390f35b34801561027857600080fd5b50610281610655565b6040518082815260200191505060405180910390f35b600033905090565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610337576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806109b46026913960400191505060405180910390fd5b600061034e6001544761065f90919063ffffffff16565b90506000610409600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546103fb6000546103ed600260008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054876106e790919063ffffffff16565b61076d90919063ffffffff16565b6107f690919063ffffffff16565b90506000811415610465576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180610a14602b913960400191505060405180910390fd5b6104b781600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461065f90919063ffffffff16565b600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061050f8160015461065f90919063ffffffff16565b60018190555061051f8382610879565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051808373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a1505050565b60008054905090565b60006004828154811061059157fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600154905090565b6000808284019050838110156106dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6000808314156106fa5760009050610767565b600082840290508284828161070b57fe5b0414610762576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180610a3f6021913960400191505060405180910390fd5b809150505b92915050565b60008082116107e4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b8183816107ed57fe5b04905092915050565b60008282111561086e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b804710156108ef576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a20696e73756666696369656e742062616c616e636500000081525060200191505060405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405180600001905060006040518083038185875af1925050503d806000811461094f576040519150601f19603f3d011682016040523d82523d6000602084013e610954565b606091505b50509050806109ae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603a8152602001806109da603a913960400191505060405180910390fd5b50505056fe5061796d656e7453706c69747465723a206163636f756e7420686173206e6f20736861726573416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d617920686176652072657665727465645061796d656e7453706c69747465723a206163636f756e74206973206e6f7420647565207061796d656e74536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a26469706673582212209e0775a5a70e3c6f4616b025e79e1446f883d1cddd1d20354121c66bf7b481f564736f6c634300060c00335061796d656e7453706c69747465723a206163636f756e7420697320746865207a65726f20616464726573735061796d656e7453706c69747465723a2070617965657320616e6420736861726573206c656e677468206d69736d617463685061796d656e7453706c69747465723a206163636f756e7420616c72656164792068617320736861726573",
|
179
|
+
"deployedBytecode": "0x6080604052600436106100595760003560e01c806319165587146100c15780633a98ef39146101125780638b83209b1461013d5780639852595c146101a2578063ce7c2ac214610207578063e33b7de31461026c576100bc565b366100bc577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770610087610297565b34604051808373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a1005b600080fd5b3480156100cd57600080fd5b50610110600480360360208110156100e457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061029f565b005b34801561011e57600080fd5b50610127610579565b6040518082815260200191505060405180910390f35b34801561014957600080fd5b506101766004803603602081101561016057600080fd5b8101908080359060200190929190505050610582565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156101ae57600080fd5b506101f1600480360360208110156101c557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506105c3565b6040518082815260200191505060405180910390f35b34801561021357600080fd5b506102566004803603602081101561022a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061060c565b6040518082815260200191505060405180910390f35b34801561027857600080fd5b50610281610655565b6040518082815260200191505060405180910390f35b600033905090565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610337576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806109b46026913960400191505060405180910390fd5b600061034e6001544761065f90919063ffffffff16565b90506000610409600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546103fb6000546103ed600260008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054876106e790919063ffffffff16565b61076d90919063ffffffff16565b6107f690919063ffffffff16565b90506000811415610465576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180610a14602b913960400191505060405180910390fd5b6104b781600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461065f90919063ffffffff16565b600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061050f8160015461065f90919063ffffffff16565b60018190555061051f8382610879565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051808373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a1505050565b60008054905090565b60006004828154811061059157fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600154905090565b6000808284019050838110156106dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6000808314156106fa5760009050610767565b600082840290508284828161070b57fe5b0414610762576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180610a3f6021913960400191505060405180910390fd5b809150505b92915050565b60008082116107e4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b8183816107ed57fe5b04905092915050565b60008282111561086e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b804710156108ef576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a20696e73756666696369656e742062616c616e636500000081525060200191505060405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405180600001905060006040518083038185875af1925050503d806000811461094f576040519150601f19603f3d011682016040523d82523d6000602084013e610954565b606091505b50509050806109ae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603a8152602001806109da603a913960400191505060405180910390fd5b50505056fe5061796d656e7453706c69747465723a206163636f756e7420686173206e6f20736861726573416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d617920686176652072657665727465645061796d656e7453706c69747465723a206163636f756e74206973206e6f7420647565207061796d656e74536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a26469706673582212209e0775a5a70e3c6f4616b025e79e1446f883d1cddd1d20354121c66bf7b481f564736f6c634300060c0033",
|
180
|
+
"linkReferences": {},
|
181
|
+
"deployedLinkReferences": {}
|
182
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
{
|
2
|
+
"contractName": "Proxy",
|
3
|
+
"abi": [
|
4
|
+
{
|
5
|
+
"stateMutability": "payable",
|
6
|
+
"type": "fallback"
|
7
|
+
},
|
8
|
+
{
|
9
|
+
"stateMutability": "payable",
|
10
|
+
"type": "receive"
|
11
|
+
}
|
12
|
+
],
|
13
|
+
"bytecode": "0x",
|
14
|
+
"deployedBytecode": "0x",
|
15
|
+
"linkReferences": {},
|
16
|
+
"deployedLinkReferences": {}
|
17
|
+
}
|