-
Notifications
You must be signed in to change notification settings - Fork 0
/
Remix_Scenario_of_fix_for_v2.5.2.json
287 lines (287 loc) · 14.8 KB
/
Remix_Scenario_of_fix_for_v2.5.2.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
{
"accounts": {
"account{0}": "0xca35b7d915458ef540ade6068dfe2f44e8fa733c",
"account{1}": "0x14723a09acff6d2a60dcdf7aa4aff308fddc160c"
},
"linkReferences": {},
"transactions": [
{
"timestamp": 1564506007404,
"record": {
"value": "0",
"parameters": [],
"abi": "0xe8e77626586f73b955364c7b4bbf0bb7f7685ebd40e852b164633a4acbd3244c",
"contractName": "PartiallyOpaquedContract",
"bytecode": "608060405234801561001057600080fd5b506101c7806100206000396000f3fe6080604052600436106100295760003560e01c80633659cfe61461002e5780638f28397014610072575b600080fd5b6100706004803603602081101561004457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506100b6565b005b6100b46004803603602081101561008857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610124565b005b7f5142e8e2b8bfd5f7cc6d4b72ed6f330fe37baaeef367db33ee530c6bac4692658134604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a150565b7f5142e8e2b8bfd5f7cc6d4b72ed6f330fe37baaeef367db33ee530c6bac4692658134604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a15056fea265627a7a72305820c7f56cdf6e93f4e6706fe3d0940fee3045ffb28d9e4f4aae2a8a0167be58f52b64736f6c634300050a0032",
"linkReferences": {},
"name": "",
"inputs": "()",
"type": "constructor",
"from": "account{0}"
}
},
{
"timestamp": 1564506049503,
"record": {
"value": "0",
"parameters": [
"0x3835a9d2c465fc26597fd2bf6ddf18a9dd121a7e"
],
"to": "created{1564506007404}",
"abi": "0xe8e77626586f73b955364c7b4bbf0bb7f7685ebd40e852b164633a4acbd3244c",
"name": "changeAdmin",
"inputs": "(address)",
"type": "function",
"from": "account{0}"
}
},
{
"timestamp": 1564506059545,
"record": {
"value": "50",
"parameters": [
"0x3835a9d2c465fc26597fd2bf6ddf18a9dd121a7e"
],
"to": "created{1564506007404}",
"abi": "0xe8e77626586f73b955364c7b4bbf0bb7f7685ebd40e852b164633a4acbd3244c",
"name": "changeAdmin",
"inputs": "(address)",
"type": "function",
"from": "account{0}"
}
},
{
"timestamp": 1564506220313,
"record": {
"value": "0",
"parameters": [
"created{1564506007404}",
"0xca35b7d915458ef540ade6068dfe2f44e8fa733c",
"0x"
],
"abi": "0xad315e209dd62516ab8c7d1c2d8c3c206525501ebef91d12c34431f9ea255371",
"contractName": "AdminUpgradeabilityProxy",
"bytecode": "6080604052604051610e3a380380610e3a8339818101604052606081101561002657600080fd5b810190808051906020019092919080519060200190929190805164010000000081111561005257600080fd5b8281019050602081018481111561006857600080fd5b815185600182028301116401000000008211171561008557600080fd5b50509291905050508281600160405180807f656970313936372e70726f78792e696d706c656d656e746174696f6e00000000815250601c019050604051809103902060001c0360001b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b146100f957fe5b6101088261025760201b60201c565b6000815111156101d45760008273ffffffffffffffffffffffffffffffffffffffff16826040518082805190602001908083835b6020831061015f578051825260208201915060208101905060208303925061013c565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146101bf576040519150601f19603f3d011682016040523d82523d6000602084013e6101c4565b606091505b50509050806101d257600080fd5b505b5050600160405180807f656970313936372e70726f78792e61646d696e000000000000000000000000008152506013019050604051809103902060001c0360001b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610360001b1461024057fe5b61024f826102ee60201b60201c565b505050610330565b61026a8161031d60201b6109941760201c565b6102bf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603b815260200180610dff603b913960400191505060405180910390fd5b60007f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b90508181555050565b60007fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610360001b90508181555050565b600080823b905060008111915050919050565b610ac08061033f6000396000f3fe60806040526004361061004a5760003560e01c80633659cfe6146100545780634f1ef286146100985780635c60da1b146101315780638f2839701461017b578063f851a440146101bf575b610052610209565b005b6100966004803603602081101561006a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610223565b005b61012f600480360360408110156100ae57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001906401000000008111156100eb57600080fd5b8201836020820111156100fd57600080fd5b8035906020019184600183028401116401000000008311171561011f57600080fd5b90919293919293905050506102dc565b005b610139610416565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6101bd6004803603602081101561019157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506104d1565b005b6101c76106ae565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610211610769565b61022161021c6107ff565b610830565b565b600061022d610856565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156102cf57808061026c5750600034145b6102c1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526041815260200180610a4b6041913960600191505060405180910390fd5b6102ca82610887565b6102d8565b6102d7610209565b5b5050565b60016102e6610856565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156104075780806103255750600034145b61037a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526041815260200180610a4b6041913960600191505060405180910390fd5b61038384610887565b60008473ffffffffffffffffffffffffffffffffffffffff168484604051808383808284378083019250505092505050600060405180830381855af49150503d80600081146103ee576040519150601f19603f3d011682016040523d82523d6000602084013e6103f3565b606091505b505090508061040157600080fd5b50610410565b61040f610209565b5b50505050565b600080610421610856565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156104c45780806104605750600034145b6104b5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526041815260200180610a4b6041913960600191505060405180910390fd5b6104bd6107ff565b91506104cd565b6104cc610209565b5b5090565b60006104db610856565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156106a157808061051a5750600034145b61056f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526041815260200180610a4b6041913960600191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156105f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260368152602001806109da6036913960400191505060405180910390fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61061e610856565b83604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390a161069c826108d6565b6106aa565b6106a9610209565b5b5050565b6000806106b9610856565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561075c5780806106f85750600034145b61074d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526041815260200180610a4b6041913960600191505060405180910390fd5b610755610856565b9150610765565b610764610209565b5b5090565b610771610856565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156107f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001806109a86032913960400191505060405180910390fd5b6107fd610905565b565b6000807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b9050805491505090565b3660008037600080366000845af43d6000803e8060008114610851573d6000f35b3d6000fd5b6000807fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610360001b9050805491505090565b61089081610907565b8073ffffffffffffffffffffffffffffffffffffffff167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b60405160405180910390a250565b60007fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610360001b90508181555050565b565b61091081610994565b610965576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603b815260200180610a10603b913960400191505060405180910390fd5b60007f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b90508181555050565b600080823b90506000811191505091905056fe43616e6e6f742063616c6c2066616c6c6261636b2066756e6374696f6e2066726f6d207468652070726f78792061646d696e43616e6e6f74206368616e6765207468652061646d696e206f6620612070726f787920746f20746865207a65726f206164647265737343616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e74726163742061646472657373546869732061646d696e6973747261746976652070726f78792066756e6374696f6e20646f6573206e6f7420616363657074206e6574776f726b2076616c75652ea265627a7a723058200baead12e2555d0a471eb8d775b9a765cb0b9e0bce11273fee1710824d159d5a64736f6c634300050a003243616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e74726163742061646472657373",
"linkReferences": {},
"name": "",
"inputs": "(address,address,bytes)",
"type": "constructor",
"from": "account{0}"
}
},
{
"timestamp": 1564506270139,
"record": {
"value": "0",
"parameters": [
"0xca35b7d915458ef540ade6068dfe2f44e8fa733c"
],
"to": "created{1564506220313}",
"abi": "0xad315e209dd62516ab8c7d1c2d8c3c206525501ebef91d12c34431f9ea255371",
"name": "changeAdmin",
"inputs": "(address)",
"type": "function",
"from": "account{1}"
}
},
{
"timestamp": 1564506282436,
"record": {
"value": "50",
"parameters": [
"0xca35b7d915458ef540ade6068dfe2f44e8fa733c"
],
"to": "created{1564506220313}",
"abi": "0xad315e209dd62516ab8c7d1c2d8c3c206525501ebef91d12c34431f9ea255371",
"name": "changeAdmin",
"inputs": "(address)",
"type": "function",
"from": "account{1}"
}
}
],
"abis": {
"0xe8e77626586f73b955364c7b4bbf0bb7f7685ebd40e852b164633a4acbd3244c": [
{
"constant": false,
"inputs": [
{
"name": "newAdmin",
"type": "address"
}
],
"name": "changeAdmin",
"outputs": [],
"payable": true,
"stateMutability": "payable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "newImplementation",
"type": "address"
}
],
"name": "upgradeTo",
"outputs": [],
"payable": true,
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "some_address",
"type": "address"
},
{
"indexed": false,
"name": "eth_received",
"type": "uint256"
}
],
"name": "TestSucceeded",
"type": "event"
}
],
"0xad315e209dd62516ab8c7d1c2d8c3c206525501ebef91d12c34431f9ea255371": [
{
"constant": false,
"inputs": [],
"name": "admin",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": true,
"stateMutability": "payable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "newAdmin",
"type": "address"
}
],
"name": "changeAdmin",
"outputs": [],
"payable": true,
"stateMutability": "payable",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "implementation",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": true,
"stateMutability": "payable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "newImplementation",
"type": "address"
}
],
"name": "upgradeTo",
"outputs": [],
"payable": true,
"stateMutability": "payable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "newImplementation",
"type": "address"
},
{
"name": "data",
"type": "bytes"
}
],
"name": "upgradeToAndCall",
"outputs": [],
"payable": true,
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"name": "_logic",
"type": "address"
},
{
"name": "_admin",
"type": "address"
},
{
"name": "_data",
"type": "bytes"
}
],
"payable": true,
"stateMutability": "payable",
"type": "constructor"
},
{
"payable": true,
"stateMutability": "payable",
"type": "fallback"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "previousAdmin",
"type": "address"
},
{
"indexed": false,
"name": "newAdmin",
"type": "address"
}
],
"name": "AdminChanged",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "implementation",
"type": "address"
}
],
"name": "Upgraded",
"type": "event"
}
]
}
}