github.com/shyftnetwork/go-empyrean@v1.8.3-0.20191127201940-fbfca9338f04/shyft-config/shyft-cli/web3/transfer-through-master/build/contracts/Transfers2.json (about) 1 { 2 "contractName": "Transfers2", 3 "abi": [ 4 { 5 "constant": false, 6 "inputs": [ 7 { 8 "name": "_addr", 9 "type": "address" 10 } 11 ], 12 "name": "transfer", 13 "outputs": [], 14 "payable": true, 15 "stateMutability": "payable", 16 "type": "function" 17 } 18 ], 19 "bytecode": "0x608060405234801561001057600080fd5b5060ed8061001f6000396000f300608060405260043610603f576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680631a695230146044575b600080fd5b6076600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506078565b005b8073ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f1935050505015801560bd573d6000803e3d6000fd5b50505600a165627a7a72305820ae0994c7eb91cd4004c210b54de7b64d29752b9044707f7362e662dcd6d19ee40029", 20 "deployedBytecode": "0x608060405260043610603f576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680631a695230146044575b600080fd5b6076600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506078565b005b8073ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f1935050505015801560bd573d6000803e3d6000fd5b50505600a165627a7a72305820ae0994c7eb91cd4004c210b54de7b64d29752b9044707f7362e662dcd6d19ee40029", 21 "sourceMap": "26:106:2:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;26:106:2;;;;;;;", 22 "deployedSourceMap": "26:106:2:-;;;;;;;;;;;;;;;;;;;;;;;;49:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;101:5;:14;;:25;116:9;101:25;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;101:25:2;49:81;:::o", 23 "source": "pragma solidity ^0.4.19;\n\ncontract Transfers2 {\n\tfunction transfer(address _addr) public payable {\n\t\t_addr.transfer(msg.value);\n\t}\n}", 24 "sourcePath": "/Users/dustinbrickwood/go/src/github.com/ShyftNetwork/go-empyrean/shyft-cli/web3/transfer-through-master/contracts/Transfers2.sol", 25 "ast": { 26 "absolutePath": "/Users/dustinbrickwood/go/src/github.com/ShyftNetwork/go-empyrean/shyft-cli/web3/transfer-through-master/contracts/Transfers2.sol", 27 "exportedSymbols": { 28 "Transfers2": [ 29 249 30 ] 31 }, 32 "id": 250, 33 "nodeType": "SourceUnit", 34 "nodes": [ 35 { 36 "id": 235, 37 "literals": [ 38 "solidity", 39 "^", 40 "0.4", 41 ".19" 42 ], 43 "nodeType": "PragmaDirective", 44 "src": "0:24:2" 45 }, 46 { 47 "baseContracts": [], 48 "contractDependencies": [], 49 "contractKind": "contract", 50 "documentation": null, 51 "fullyImplemented": true, 52 "id": 249, 53 "linearizedBaseContracts": [ 54 249 55 ], 56 "name": "Transfers2", 57 "nodeType": "ContractDefinition", 58 "nodes": [ 59 { 60 "body": { 61 "id": 247, 62 "nodeType": "Block", 63 "src": "97:33:2", 64 "statements": [ 65 { 66 "expression": { 67 "argumentTypes": null, 68 "arguments": [ 69 { 70 "argumentTypes": null, 71 "expression": { 72 "argumentTypes": null, 73 "id": 243, 74 "name": "msg", 75 "nodeType": "Identifier", 76 "overloadedDeclarations": [], 77 "referencedDeclaration": 264, 78 "src": "116:3:2", 79 "typeDescriptions": { 80 "typeIdentifier": "t_magic_message", 81 "typeString": "msg" 82 } 83 }, 84 "id": 244, 85 "isConstant": false, 86 "isLValue": false, 87 "isPure": false, 88 "lValueRequested": false, 89 "memberName": "value", 90 "nodeType": "MemberAccess", 91 "referencedDeclaration": null, 92 "src": "116:9:2", 93 "typeDescriptions": { 94 "typeIdentifier": "t_uint256", 95 "typeString": "uint256" 96 } 97 } 98 ], 99 "expression": { 100 "argumentTypes": [ 101 { 102 "typeIdentifier": "t_uint256", 103 "typeString": "uint256" 104 } 105 ], 106 "expression": { 107 "argumentTypes": null, 108 "id": 240, 109 "name": "_addr", 110 "nodeType": "Identifier", 111 "overloadedDeclarations": [], 112 "referencedDeclaration": 237, 113 "src": "101:5:2", 114 "typeDescriptions": { 115 "typeIdentifier": "t_address", 116 "typeString": "address" 117 } 118 }, 119 "id": 242, 120 "isConstant": false, 121 "isLValue": false, 122 "isPure": false, 123 "lValueRequested": false, 124 "memberName": "transfer", 125 "nodeType": "MemberAccess", 126 "referencedDeclaration": null, 127 "src": "101:14:2", 128 "typeDescriptions": { 129 "typeIdentifier": "t_function_transfer_nonpayable$_t_uint256_$returns$__$", 130 "typeString": "function (uint256)" 131 } 132 }, 133 "id": 245, 134 "isConstant": false, 135 "isLValue": false, 136 "isPure": false, 137 "kind": "functionCall", 138 "lValueRequested": false, 139 "names": [], 140 "nodeType": "FunctionCall", 141 "src": "101:25:2", 142 "typeDescriptions": { 143 "typeIdentifier": "t_tuple$__$", 144 "typeString": "tuple()" 145 } 146 }, 147 "id": 246, 148 "nodeType": "ExpressionStatement", 149 "src": "101:25:2" 150 } 151 ] 152 }, 153 "documentation": null, 154 "id": 248, 155 "implemented": true, 156 "isConstructor": false, 157 "isDeclaredConst": false, 158 "modifiers": [], 159 "name": "transfer", 160 "nodeType": "FunctionDefinition", 161 "parameters": { 162 "id": 238, 163 "nodeType": "ParameterList", 164 "parameters": [ 165 { 166 "constant": false, 167 "id": 237, 168 "name": "_addr", 169 "nodeType": "VariableDeclaration", 170 "scope": 248, 171 "src": "67:13:2", 172 "stateVariable": false, 173 "storageLocation": "default", 174 "typeDescriptions": { 175 "typeIdentifier": "t_address", 176 "typeString": "address" 177 }, 178 "typeName": { 179 "id": 236, 180 "name": "address", 181 "nodeType": "ElementaryTypeName", 182 "src": "67:7:2", 183 "typeDescriptions": { 184 "typeIdentifier": "t_address", 185 "typeString": "address" 186 } 187 }, 188 "value": null, 189 "visibility": "internal" 190 } 191 ], 192 "src": "66:15:2" 193 }, 194 "payable": true, 195 "returnParameters": { 196 "id": 239, 197 "nodeType": "ParameterList", 198 "parameters": [], 199 "src": "97:0:2" 200 }, 201 "scope": 249, 202 "src": "49:81:2", 203 "stateMutability": "payable", 204 "superFunction": null, 205 "visibility": "public" 206 } 207 ], 208 "scope": 250, 209 "src": "26:106:2" 210 } 211 ], 212 "src": "0:132:2" 213 }, 214 "legacyAST": { 215 "absolutePath": "/Users/dustinbrickwood/go/src/github.com/ShyftNetwork/go-empyrean/shyft-cli/web3/transfer-through-master/contracts/Transfers2.sol", 216 "exportedSymbols": { 217 "Transfers2": [ 218 249 219 ] 220 }, 221 "id": 250, 222 "nodeType": "SourceUnit", 223 "nodes": [ 224 { 225 "id": 235, 226 "literals": [ 227 "solidity", 228 "^", 229 "0.4", 230 ".19" 231 ], 232 "nodeType": "PragmaDirective", 233 "src": "0:24:2" 234 }, 235 { 236 "baseContracts": [], 237 "contractDependencies": [], 238 "contractKind": "contract", 239 "documentation": null, 240 "fullyImplemented": true, 241 "id": 249, 242 "linearizedBaseContracts": [ 243 249 244 ], 245 "name": "Transfers2", 246 "nodeType": "ContractDefinition", 247 "nodes": [ 248 { 249 "body": { 250 "id": 247, 251 "nodeType": "Block", 252 "src": "97:33:2", 253 "statements": [ 254 { 255 "expression": { 256 "argumentTypes": null, 257 "arguments": [ 258 { 259 "argumentTypes": null, 260 "expression": { 261 "argumentTypes": null, 262 "id": 243, 263 "name": "msg", 264 "nodeType": "Identifier", 265 "overloadedDeclarations": [], 266 "referencedDeclaration": 264, 267 "src": "116:3:2", 268 "typeDescriptions": { 269 "typeIdentifier": "t_magic_message", 270 "typeString": "msg" 271 } 272 }, 273 "id": 244, 274 "isConstant": false, 275 "isLValue": false, 276 "isPure": false, 277 "lValueRequested": false, 278 "memberName": "value", 279 "nodeType": "MemberAccess", 280 "referencedDeclaration": null, 281 "src": "116:9:2", 282 "typeDescriptions": { 283 "typeIdentifier": "t_uint256", 284 "typeString": "uint256" 285 } 286 } 287 ], 288 "expression": { 289 "argumentTypes": [ 290 { 291 "typeIdentifier": "t_uint256", 292 "typeString": "uint256" 293 } 294 ], 295 "expression": { 296 "argumentTypes": null, 297 "id": 240, 298 "name": "_addr", 299 "nodeType": "Identifier", 300 "overloadedDeclarations": [], 301 "referencedDeclaration": 237, 302 "src": "101:5:2", 303 "typeDescriptions": { 304 "typeIdentifier": "t_address", 305 "typeString": "address" 306 } 307 }, 308 "id": 242, 309 "isConstant": false, 310 "isLValue": false, 311 "isPure": false, 312 "lValueRequested": false, 313 "memberName": "transfer", 314 "nodeType": "MemberAccess", 315 "referencedDeclaration": null, 316 "src": "101:14:2", 317 "typeDescriptions": { 318 "typeIdentifier": "t_function_transfer_nonpayable$_t_uint256_$returns$__$", 319 "typeString": "function (uint256)" 320 } 321 }, 322 "id": 245, 323 "isConstant": false, 324 "isLValue": false, 325 "isPure": false, 326 "kind": "functionCall", 327 "lValueRequested": false, 328 "names": [], 329 "nodeType": "FunctionCall", 330 "src": "101:25:2", 331 "typeDescriptions": { 332 "typeIdentifier": "t_tuple$__$", 333 "typeString": "tuple()" 334 } 335 }, 336 "id": 246, 337 "nodeType": "ExpressionStatement", 338 "src": "101:25:2" 339 } 340 ] 341 }, 342 "documentation": null, 343 "id": 248, 344 "implemented": true, 345 "isConstructor": false, 346 "isDeclaredConst": false, 347 "modifiers": [], 348 "name": "transfer", 349 "nodeType": "FunctionDefinition", 350 "parameters": { 351 "id": 238, 352 "nodeType": "ParameterList", 353 "parameters": [ 354 { 355 "constant": false, 356 "id": 237, 357 "name": "_addr", 358 "nodeType": "VariableDeclaration", 359 "scope": 248, 360 "src": "67:13:2", 361 "stateVariable": false, 362 "storageLocation": "default", 363 "typeDescriptions": { 364 "typeIdentifier": "t_address", 365 "typeString": "address" 366 }, 367 "typeName": { 368 "id": 236, 369 "name": "address", 370 "nodeType": "ElementaryTypeName", 371 "src": "67:7:2", 372 "typeDescriptions": { 373 "typeIdentifier": "t_address", 374 "typeString": "address" 375 } 376 }, 377 "value": null, 378 "visibility": "internal" 379 } 380 ], 381 "src": "66:15:2" 382 }, 383 "payable": true, 384 "returnParameters": { 385 "id": 239, 386 "nodeType": "ParameterList", 387 "parameters": [], 388 "src": "97:0:2" 389 }, 390 "scope": 249, 391 "src": "49:81:2", 392 "stateMutability": "payable", 393 "superFunction": null, 394 "visibility": "public" 395 } 396 ], 397 "scope": 250, 398 "src": "26:106:2" 399 } 400 ], 401 "src": "0:132:2" 402 }, 403 "compiler": { 404 "name": "solc", 405 "version": "0.4.24+commit.e67f0147.Emscripten.clang" 406 }, 407 "networks": { 408 "1": { 409 "events": {}, 410 "links": {}, 411 "address": "0xa863f8203ad95e9078f6300e7857a4cca4fb4c60", 412 "transactionHash": "0x7d4888a4f369e8b635a8418deb115db390b4ef963da86ade26feff951cf25d7c" 413 }, 414 "2147483647": { 415 "events": {}, 416 "links": {}, 417 "address": "0xa863f8203ad95e9078f6300e7857a4cca4fb4c60", 418 "transactionHash": "0x5d0be5b25dfad3dfb9ddc40fcaa1fd78c1d519de22fce93ad0d26fe68f50a7c2" 419 }, 420 "1528420224459": { 421 "events": {}, 422 "links": {}, 423 "address": "0x411410538c50b116663acd654e34dc6bed601cf0", 424 "transactionHash": "0x43f3fed1df72adfe12dd0c2432f0625b4b50b0c151f9583a166722ed74786ce3" 425 } 426 }, 427 "schemaVersion": "2.0.1", 428 "updatedAt": "2018-11-13T22:16:42.088Z" 429 }