forked from ciaranmcveigh5/ethernaut-x-foundry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAlienCodex.json
164 lines (164 loc) · 10.1 KB
/
AlienCodex.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
{
"abi": [
{
"type": "function",
"name": "codex",
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"constant": true,
"stateMutability": "view"
},
{
"type": "function",
"name": "contact",
"inputs": [],
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"constant": true,
"stateMutability": "view"
},
{
"type": "function",
"name": "isOwner",
"inputs": [],
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"constant": true,
"stateMutability": "view"
},
{
"type": "function",
"name": "make_contact",
"inputs": [],
"outputs": [],
"constant": false,
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "owner",
"inputs": [],
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"constant": true,
"stateMutability": "view"
},
{
"type": "function",
"name": "record",
"inputs": [
{
"internalType": "bytes32",
"name": "_content",
"type": "bytes32"
}
],
"outputs": [],
"constant": false,
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "renounceOwnership",
"inputs": [],
"outputs": [],
"constant": false,
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "retract",
"inputs": [],
"outputs": [],
"constant": false,
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "revise",
"inputs": [
{
"internalType": "uint256",
"name": "i",
"type": "uint256"
},
{
"internalType": "bytes32",
"name": "_content",
"type": "bytes32"
}
],
"outputs": [],
"constant": false,
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "transferOwnership",
"inputs": [
{
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"outputs": [],
"constant": false,
"stateMutability": "nonpayable"
},
{
"type": "event",
"name": "OwnershipTransferred",
"inputs": [
{
"name": "previousOwner",
"type": "address",
"indexed": true
},
{
"name": "newOwner",
"type": "address",
"indexed": true
}
],
"anonymous": false
}
],
"bytecode": {
"object": "0x6080604052600080546001600160a01b031916331790556104e1806100256000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c80638da5cb5b116100665780638da5cb5b146100fc5780638f32d59b1461012057806394bd756914610128578063b5c645bd14610157578063f2fde38b146101745761009e565b80630339f300146100a357806333a8c45a146100c857806347f57b32146100e457806358699c55146100ec578063715018a6146100f4575b600080fd5b6100c6600480360360408110156100b957600080fd5b508035906020013561019a565b005b6100d06101cb565b604080519115158252519081900360200190f35b6100c66101db565b6100c6610204565b6100c6610219565b6101046102bc565b604080516001600160a01b039092168252519081900360200190f35b6100d06102cc565b6101456004803603602081101561013e57600080fd5b50356102dd565b60408051918252519081900360200190f35b6100c66004803603602081101561016d57600080fd5b50356102fb565b6100c66004803603602081101561018a57600080fd5b50356001600160a01b0316610342565b600054600160a01b900460ff166101ad57fe5b80600183815481106101bb57fe5b6000918252602090912001555050565b600054600160a01b900460ff1681565b600054600160a01b900460ff166101ee57fe5b600180549061020190600019830161043f565b50565b6000805460ff60a01b1916600160a01b179055565b6102216102cc565b610272576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b03165b90565b6000546001600160a01b0316331490565b600181815481106102ea57fe5b600091825260209091200154905081565b600054600160a01b900460ff1661030e57fe5b6001805480820182556000919091527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf60155565b61034a6102cc565b61039b576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610201816001600160a01b0381166103e45760405162461bcd60e51b81526004018080602001828103825260268152602001806104876026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b81548183558181111561046357600083815260209020610463918101908301610468565b505050565b6102c991905b80821115610482576000815560010161046e565b509056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373a265627a7a72315820832223b82fb54b9cc6a33b74a50e8277e88d31349d4b61c640c2422d3fb4f6bd64736f6c63430005110032",
"sourceMap": "85:447:0:-;;;657:6:3;:19;;-1:-1:-1;;;;;;657:19:3;666:10;657:19;;;-1:-1:-1;;;;85:447:0;;;;",
"linkReferences": {}
},
"deployed_bytecode": {
"object": "0x608060405234801561001057600080fd5b506004361061009e5760003560e01c80638da5cb5b116100665780638da5cb5b146100fc5780638f32d59b1461012057806394bd756914610128578063b5c645bd14610157578063f2fde38b146101745761009e565b80630339f300146100a357806333a8c45a146100c857806347f57b32146100e457806358699c55146100ec578063715018a6146100f4575b600080fd5b6100c6600480360360408110156100b957600080fd5b508035906020013561019a565b005b6100d06101cb565b604080519115158252519081900360200190f35b6100c66101db565b6100c6610204565b6100c6610219565b6101046102bc565b604080516001600160a01b039092168252519081900360200190f35b6100d06102cc565b6101456004803603602081101561013e57600080fd5b50356102dd565b60408051918252519081900360200190f35b6100c66004803603602081101561016d57600080fd5b50356102fb565b6100c66004803603602081101561018a57600080fd5b50356001600160a01b0316610342565b600054600160a01b900460ff166101ad57fe5b80600183815481106101bb57fe5b6000918252602090912001555050565b600054600160a01b900460ff1681565b600054600160a01b900460ff166101ee57fe5b600180549061020190600019830161043f565b50565b6000805460ff60a01b1916600160a01b179055565b6102216102cc565b610272576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b03165b90565b6000546001600160a01b0316331490565b600181815481106102ea57fe5b600091825260209091200154905081565b600054600160a01b900460ff1661030e57fe5b6001805480820182556000919091527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf60155565b61034a6102cc565b61039b576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610201816001600160a01b0381166103e45760405162461bcd60e51b81526004018080602001828103825260268152602001806104876026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b81548183558181111561046357600083815260209020610463918101908301610468565b505050565b6102c991905b80821115610482576000815560010161046e565b509056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373a265627a7a72315820832223b82fb54b9cc6a33b74a50e8277e88d31349d4b61c640c2422d3fb4f6bd64736f6c63430005110032",
"sourceMap": "85:447:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;85:447:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;441:89;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;441:89:0;;;;;;;:::i;:::-;;121:19;;;:::i;:::-;;;;;;;;;;;;;;;;;;376:61;;;:::i;231:56::-;;;:::i;1544:137:3:-;;;:::i;759:77::-;;;:::i;:::-;;;;-1:-1:-1;;;;;759:77:3;;;;;;;;;;;;;;1110:90;;;:::i;144:22:0:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;144:22:0;;:::i;:::-;;;;;;;;;;;;;;;;291:81;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;291:81:0;;:::i;1830:107:3:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1830:107:3;-1:-1:-1;;;;;1830:107:3;;:::i;441:89:0:-;205:7;;-1:-1:-1;;;205:7:0;;;;198:15;;;;517:8;506:5;512:1;506:8;;;;;;;;;;;;;;;;;:19;-1:-1:-1;;441:89:0:o;121:19::-;;;-1:-1:-1;;;121:19:0;;;;;:::o;376:61::-;205:7;;-1:-1:-1;;;205:7:0;;;;198:15;;;;418:5;:14;;;;;-1:-1:-1;;418:14:0;;;:::i;:::-;;376:61::o;231:56::-;268:7;:14;;-1:-1:-1;;;;268:14:0;-1:-1:-1;;;268:14:0;;;231:56::o;1544:137:3:-;963:9;:7;:9::i;:::-;955:54;;;;;-1:-1:-1;;;955:54:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1642:1;1626:6;;1605:40;;-1:-1:-1;;;;;1626:6:3;;;;1605:40;;1642:1;;1605:40;1672:1;1655:19;;-1:-1:-1;;;;;;1655:19:3;;;1544:137::o;759:77::-;797:7;823:6;-1:-1:-1;;;;;823:6:3;759:77;;:::o;1110:90::-;1150:4;1187:6;-1:-1:-1;;;;;1187:6:3;1173:10;:20;;1110:90::o;144:22:0:-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;144:22:0;:::o;291:81::-;205:7;;-1:-1:-1;;;205:7:0;;;;198:15;;;;347:5;27:10:-1;;23:18;;;45:23;;-1:-1;347:20:0;;;;;;;291:81::o;1830:107:3:-;963:9;:7;:9::i;:::-;955:54;;;;;-1:-1:-1;;;955:54:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1902:28;1921:8;-1:-1:-1;;;;;2111:22:3;;2103:73;;;;-1:-1:-1;;;2103:73:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2212:6;;;2191:38;;-1:-1:-1;;;;;2191:38:3;;;;2212:6;;;2191:38;;;2239:6;:17;;-1:-1:-1;;;;;;2239:17:3;-1:-1:-1;;;;;2239:17:3;;;;;;;;;;2038:225::o;85:447:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;",
"linkReferences": {}
}
}