mirror of
https://github.com/miky-kr5/CEIDEC-Pong-Web.git
synced 2023-01-29 18:47:06 +00:00
Now with 100% more Blockchain!
This commit is contained in:
1393
build/contracts/Migrations.json
Normal file
1393
build/contracts/Migrations.json
Normal file
File diff suppressed because it is too large
Load Diff
614
build/contracts/Ownable.json
Normal file
614
build/contracts/Ownable.json
Normal file
@@ -0,0 +1,614 @@
|
||||
{
|
||||
"contractName": "Ownable",
|
||||
"abi": [
|
||||
{
|
||||
"inputs": [],
|
||||
"payable": false,
|
||||
"stateMutability": "nonpayable",
|
||||
"type": "constructor"
|
||||
}
|
||||
],
|
||||
"bytecode": "0x6080604052348015600f57600080fd5b50336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550603580605d6000396000f3006080604052600080fd00a165627a7a72305820629a36d6fc1082985acd0c13429616c48678a6c3a9219ea0df2bfd67cc94be130029",
|
||||
"deployedBytecode": "0x6080604052600080fd00a165627a7a72305820629a36d6fc1082985acd0c13429616c48678a6c3a9219ea0df2bfd67cc94be130029",
|
||||
"sourceMap": "26:2580:1:-;;;2554:50;8:9:-1;5:2;;;30:1;27;20:12;5:2;2554:50:1;2589:10;2581:5;;:18;;;;;;;;;;;;;;;;;;26:2580;;;;;;",
|
||||
"deployedSourceMap": "26:2580:1:-;;;;;",
|
||||
"source": "pragma solidity ^0.4.24;\n\ncontract Ownable {\n // .d8888b. 888 888 d8b 888 888 \n // d88P Y88b 888 888 Y8P 888 888 \n // Y88b. 888 888 888 888 \n // \"Y888b. 888888 8888b. 888888 .d88b. 888 888 8888b. 888d888 888 8888b. 88888b. 888 .d88b. .d8888b \n // \"Y88b. 888 \"88b 888 d8P Y8b 888 888 \"88b 888P\" 888 \"88b 888 \"88b 888 d8P Y8b 88K \n // \"888 888 .d888888 888 88888888 Y88 88P .d888888 888 888 .d888888 888 888 888 88888888 \"Y8888b. \n // Y88b d88P Y88b. 888 888 Y88b. Y8b. Y8bd8P 888 888 888 888 888 888 888 d88P 888 Y8b. X88 \n // \"Y8888P\" \"Y888 \"Y888888 \"Y888 \"Y8888 Y88P \"Y888888 888 888 \"Y888888 88888P\" 888 \"Y8888 88888P' \n\n address owner;\n\n \n // 888b d888 888 d8b .d888 d8b \n // 8888b d8888 888 Y8P d88P\" Y8P \n // 88888b.d88888 888 888 \n // 888Y88888P888 .d88b. .d88888 888 888888 888 .d88b. 888d888 .d8888b \n // 888 Y888P 888 d88\"\"88b d88\" 888 888 888 888 d8P Y8b 888P\" 88K \n // 888 Y8P 888 888 888 888 888 888 888 888 88888888 888 \"Y8888b. \n // 888 \" 888 Y88..88P Y88b 888 888 888 888 Y8b. 888 X88 \n // 888 888 \"Y88P\" \"Y88888 888 888 888 \"Y8888 888 88888P' \n \n modifier onlyOwner() {\n require(msg.sender == owner);\n _;\n }\n\n // 888 888 \n // 888 888 \n // 888 888 \n // .d8888b .d88b. 88888b. .d8888b 888888 888d888 888 888 .d8888b 888888 .d88b. 888d888 \n // d88P\" d88\"\"88b 888 \"88b 88K 888 888P\" 888 888 d88P\" 888 d88\"\"88b 888P\" \n // 888 888 888 888 888 \"Y8888b. 888 888 888 888 888 888 888 888 888 \n // Y88b. Y88..88P 888 888 X88 Y88b. 888 Y88b 888 Y88b. Y88b. Y88..88P 888 \n // \"Y8888P \"Y88P\" 888 888 88888P' \"Y888 888 \"Y88888 \"Y8888P \"Y888 \"Y88P\" 888 \n \n constructor() public {\n owner = msg.sender;\n }\n}\n",
|
||||
"sourcePath": "/home/miky/Documentos/Game/contracts/Ownable.sol",
|
||||
"ast": {
|
||||
"absolutePath": "/home/miky/Documentos/Game/contracts/Ownable.sol",
|
||||
"exportedSymbols": {
|
||||
"Ownable": [
|
||||
81
|
||||
]
|
||||
},
|
||||
"id": 82,
|
||||
"nodeType": "SourceUnit",
|
||||
"nodes": [
|
||||
{
|
||||
"id": 58,
|
||||
"literals": [
|
||||
"solidity",
|
||||
"^",
|
||||
"0.4",
|
||||
".24"
|
||||
],
|
||||
"nodeType": "PragmaDirective",
|
||||
"src": "0:24:1"
|
||||
},
|
||||
{
|
||||
"baseContracts": [],
|
||||
"contractDependencies": [],
|
||||
"contractKind": "contract",
|
||||
"documentation": null,
|
||||
"fullyImplemented": true,
|
||||
"id": 81,
|
||||
"linearizedBaseContracts": [
|
||||
81
|
||||
],
|
||||
"name": "Ownable",
|
||||
"nodeType": "ContractDefinition",
|
||||
"nodes": [
|
||||
{
|
||||
"constant": false,
|
||||
"id": 60,
|
||||
"name": "owner",
|
||||
"nodeType": "VariableDeclaration",
|
||||
"scope": 81,
|
||||
"src": "1032:13:1",
|
||||
"stateVariable": true,
|
||||
"storageLocation": "default",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_address",
|
||||
"typeString": "address"
|
||||
},
|
||||
"typeName": {
|
||||
"id": 59,
|
||||
"name": "address",
|
||||
"nodeType": "ElementaryTypeName",
|
||||
"src": "1032:7:1",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_address",
|
||||
"typeString": "address"
|
||||
}
|
||||
},
|
||||
"value": null,
|
||||
"visibility": "internal"
|
||||
},
|
||||
{
|
||||
"body": {
|
||||
"id": 70,
|
||||
"nodeType": "Block",
|
||||
"src": "1709:46:1",
|
||||
"statements": [
|
||||
{
|
||||
"expression": {
|
||||
"argumentTypes": null,
|
||||
"arguments": [
|
||||
{
|
||||
"argumentTypes": null,
|
||||
"commonType": {
|
||||
"typeIdentifier": "t_address",
|
||||
"typeString": "address"
|
||||
},
|
||||
"id": 66,
|
||||
"isConstant": false,
|
||||
"isLValue": false,
|
||||
"isPure": false,
|
||||
"lValueRequested": false,
|
||||
"leftExpression": {
|
||||
"argumentTypes": null,
|
||||
"expression": {
|
||||
"argumentTypes": null,
|
||||
"id": 63,
|
||||
"name": "msg",
|
||||
"nodeType": "Identifier",
|
||||
"overloadedDeclarations": [],
|
||||
"referencedDeclaration": 161,
|
||||
"src": "1723:3:1",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_magic_message",
|
||||
"typeString": "msg"
|
||||
}
|
||||
},
|
||||
"id": 64,
|
||||
"isConstant": false,
|
||||
"isLValue": false,
|
||||
"isPure": false,
|
||||
"lValueRequested": false,
|
||||
"memberName": "sender",
|
||||
"nodeType": "MemberAccess",
|
||||
"referencedDeclaration": null,
|
||||
"src": "1723:10:1",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_address",
|
||||
"typeString": "address"
|
||||
}
|
||||
},
|
||||
"nodeType": "BinaryOperation",
|
||||
"operator": "==",
|
||||
"rightExpression": {
|
||||
"argumentTypes": null,
|
||||
"id": 65,
|
||||
"name": "owner",
|
||||
"nodeType": "Identifier",
|
||||
"overloadedDeclarations": [],
|
||||
"referencedDeclaration": 60,
|
||||
"src": "1737:5:1",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_address",
|
||||
"typeString": "address"
|
||||
}
|
||||
},
|
||||
"src": "1723:19:1",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_bool",
|
||||
"typeString": "bool"
|
||||
}
|
||||
}
|
||||
],
|
||||
"expression": {
|
||||
"argumentTypes": [
|
||||
{
|
||||
"typeIdentifier": "t_bool",
|
||||
"typeString": "bool"
|
||||
}
|
||||
],
|
||||
"id": 62,
|
||||
"name": "require",
|
||||
"nodeType": "Identifier",
|
||||
"overloadedDeclarations": [
|
||||
164,
|
||||
165
|
||||
],
|
||||
"referencedDeclaration": 164,
|
||||
"src": "1715:7:1",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
|
||||
"typeString": "function (bool) pure"
|
||||
}
|
||||
},
|
||||
"id": 67,
|
||||
"isConstant": false,
|
||||
"isLValue": false,
|
||||
"isPure": false,
|
||||
"kind": "functionCall",
|
||||
"lValueRequested": false,
|
||||
"names": [],
|
||||
"nodeType": "FunctionCall",
|
||||
"src": "1715:28:1",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_tuple$__$",
|
||||
"typeString": "tuple()"
|
||||
}
|
||||
},
|
||||
"id": 68,
|
||||
"nodeType": "ExpressionStatement",
|
||||
"src": "1715:28:1"
|
||||
},
|
||||
{
|
||||
"id": 69,
|
||||
"nodeType": "PlaceholderStatement",
|
||||
"src": "1749:1:1"
|
||||
}
|
||||
]
|
||||
},
|
||||
"documentation": null,
|
||||
"id": 71,
|
||||
"name": "onlyOwner",
|
||||
"nodeType": "ModifierDefinition",
|
||||
"parameters": {
|
||||
"id": 61,
|
||||
"nodeType": "ParameterList",
|
||||
"parameters": [],
|
||||
"src": "1706:2:1"
|
||||
},
|
||||
"src": "1688:67:1",
|
||||
"visibility": "internal"
|
||||
},
|
||||
{
|
||||
"body": {
|
||||
"id": 79,
|
||||
"nodeType": "Block",
|
||||
"src": "2575:29:1",
|
||||
"statements": [
|
||||
{
|
||||
"expression": {
|
||||
"argumentTypes": null,
|
||||
"id": 77,
|
||||
"isConstant": false,
|
||||
"isLValue": false,
|
||||
"isPure": false,
|
||||
"lValueRequested": false,
|
||||
"leftHandSide": {
|
||||
"argumentTypes": null,
|
||||
"id": 74,
|
||||
"name": "owner",
|
||||
"nodeType": "Identifier",
|
||||
"overloadedDeclarations": [],
|
||||
"referencedDeclaration": 60,
|
||||
"src": "2581:5:1",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_address",
|
||||
"typeString": "address"
|
||||
}
|
||||
},
|
||||
"nodeType": "Assignment",
|
||||
"operator": "=",
|
||||
"rightHandSide": {
|
||||
"argumentTypes": null,
|
||||
"expression": {
|
||||
"argumentTypes": null,
|
||||
"id": 75,
|
||||
"name": "msg",
|
||||
"nodeType": "Identifier",
|
||||
"overloadedDeclarations": [],
|
||||
"referencedDeclaration": 161,
|
||||
"src": "2589:3:1",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_magic_message",
|
||||
"typeString": "msg"
|
||||
}
|
||||
},
|
||||
"id": 76,
|
||||
"isConstant": false,
|
||||
"isLValue": false,
|
||||
"isPure": false,
|
||||
"lValueRequested": false,
|
||||
"memberName": "sender",
|
||||
"nodeType": "MemberAccess",
|
||||
"referencedDeclaration": null,
|
||||
"src": "2589:10:1",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_address",
|
||||
"typeString": "address"
|
||||
}
|
||||
},
|
||||
"src": "2581:18:1",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_address",
|
||||
"typeString": "address"
|
||||
}
|
||||
},
|
||||
"id": 78,
|
||||
"nodeType": "ExpressionStatement",
|
||||
"src": "2581:18:1"
|
||||
}
|
||||
]
|
||||
},
|
||||
"documentation": null,
|
||||
"id": 80,
|
||||
"implemented": true,
|
||||
"isConstructor": true,
|
||||
"isDeclaredConst": false,
|
||||
"modifiers": [],
|
||||
"name": "",
|
||||
"nodeType": "FunctionDefinition",
|
||||
"parameters": {
|
||||
"id": 72,
|
||||
"nodeType": "ParameterList",
|
||||
"parameters": [],
|
||||
"src": "2565:2:1"
|
||||
},
|
||||
"payable": false,
|
||||
"returnParameters": {
|
||||
"id": 73,
|
||||
"nodeType": "ParameterList",
|
||||
"parameters": [],
|
||||
"src": "2575:0:1"
|
||||
},
|
||||
"scope": 81,
|
||||
"src": "2554:50:1",
|
||||
"stateMutability": "nonpayable",
|
||||
"superFunction": null,
|
||||
"visibility": "public"
|
||||
}
|
||||
],
|
||||
"scope": 82,
|
||||
"src": "26:2580:1"
|
||||
}
|
||||
],
|
||||
"src": "0:2607:1"
|
||||
},
|
||||
"legacyAST": {
|
||||
"absolutePath": "/home/miky/Documentos/Game/contracts/Ownable.sol",
|
||||
"exportedSymbols": {
|
||||
"Ownable": [
|
||||
81
|
||||
]
|
||||
},
|
||||
"id": 82,
|
||||
"nodeType": "SourceUnit",
|
||||
"nodes": [
|
||||
{
|
||||
"id": 58,
|
||||
"literals": [
|
||||
"solidity",
|
||||
"^",
|
||||
"0.4",
|
||||
".24"
|
||||
],
|
||||
"nodeType": "PragmaDirective",
|
||||
"src": "0:24:1"
|
||||
},
|
||||
{
|
||||
"baseContracts": [],
|
||||
"contractDependencies": [],
|
||||
"contractKind": "contract",
|
||||
"documentation": null,
|
||||
"fullyImplemented": true,
|
||||
"id": 81,
|
||||
"linearizedBaseContracts": [
|
||||
81
|
||||
],
|
||||
"name": "Ownable",
|
||||
"nodeType": "ContractDefinition",
|
||||
"nodes": [
|
||||
{
|
||||
"constant": false,
|
||||
"id": 60,
|
||||
"name": "owner",
|
||||
"nodeType": "VariableDeclaration",
|
||||
"scope": 81,
|
||||
"src": "1032:13:1",
|
||||
"stateVariable": true,
|
||||
"storageLocation": "default",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_address",
|
||||
"typeString": "address"
|
||||
},
|
||||
"typeName": {
|
||||
"id": 59,
|
||||
"name": "address",
|
||||
"nodeType": "ElementaryTypeName",
|
||||
"src": "1032:7:1",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_address",
|
||||
"typeString": "address"
|
||||
}
|
||||
},
|
||||
"value": null,
|
||||
"visibility": "internal"
|
||||
},
|
||||
{
|
||||
"body": {
|
||||
"id": 70,
|
||||
"nodeType": "Block",
|
||||
"src": "1709:46:1",
|
||||
"statements": [
|
||||
{
|
||||
"expression": {
|
||||
"argumentTypes": null,
|
||||
"arguments": [
|
||||
{
|
||||
"argumentTypes": null,
|
||||
"commonType": {
|
||||
"typeIdentifier": "t_address",
|
||||
"typeString": "address"
|
||||
},
|
||||
"id": 66,
|
||||
"isConstant": false,
|
||||
"isLValue": false,
|
||||
"isPure": false,
|
||||
"lValueRequested": false,
|
||||
"leftExpression": {
|
||||
"argumentTypes": null,
|
||||
"expression": {
|
||||
"argumentTypes": null,
|
||||
"id": 63,
|
||||
"name": "msg",
|
||||
"nodeType": "Identifier",
|
||||
"overloadedDeclarations": [],
|
||||
"referencedDeclaration": 161,
|
||||
"src": "1723:3:1",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_magic_message",
|
||||
"typeString": "msg"
|
||||
}
|
||||
},
|
||||
"id": 64,
|
||||
"isConstant": false,
|
||||
"isLValue": false,
|
||||
"isPure": false,
|
||||
"lValueRequested": false,
|
||||
"memberName": "sender",
|
||||
"nodeType": "MemberAccess",
|
||||
"referencedDeclaration": null,
|
||||
"src": "1723:10:1",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_address",
|
||||
"typeString": "address"
|
||||
}
|
||||
},
|
||||
"nodeType": "BinaryOperation",
|
||||
"operator": "==",
|
||||
"rightExpression": {
|
||||
"argumentTypes": null,
|
||||
"id": 65,
|
||||
"name": "owner",
|
||||
"nodeType": "Identifier",
|
||||
"overloadedDeclarations": [],
|
||||
"referencedDeclaration": 60,
|
||||
"src": "1737:5:1",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_address",
|
||||
"typeString": "address"
|
||||
}
|
||||
},
|
||||
"src": "1723:19:1",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_bool",
|
||||
"typeString": "bool"
|
||||
}
|
||||
}
|
||||
],
|
||||
"expression": {
|
||||
"argumentTypes": [
|
||||
{
|
||||
"typeIdentifier": "t_bool",
|
||||
"typeString": "bool"
|
||||
}
|
||||
],
|
||||
"id": 62,
|
||||
"name": "require",
|
||||
"nodeType": "Identifier",
|
||||
"overloadedDeclarations": [
|
||||
164,
|
||||
165
|
||||
],
|
||||
"referencedDeclaration": 164,
|
||||
"src": "1715:7:1",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
|
||||
"typeString": "function (bool) pure"
|
||||
}
|
||||
},
|
||||
"id": 67,
|
||||
"isConstant": false,
|
||||
"isLValue": false,
|
||||
"isPure": false,
|
||||
"kind": "functionCall",
|
||||
"lValueRequested": false,
|
||||
"names": [],
|
||||
"nodeType": "FunctionCall",
|
||||
"src": "1715:28:1",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_tuple$__$",
|
||||
"typeString": "tuple()"
|
||||
}
|
||||
},
|
||||
"id": 68,
|
||||
"nodeType": "ExpressionStatement",
|
||||
"src": "1715:28:1"
|
||||
},
|
||||
{
|
||||
"id": 69,
|
||||
"nodeType": "PlaceholderStatement",
|
||||
"src": "1749:1:1"
|
||||
}
|
||||
]
|
||||
},
|
||||
"documentation": null,
|
||||
"id": 71,
|
||||
"name": "onlyOwner",
|
||||
"nodeType": "ModifierDefinition",
|
||||
"parameters": {
|
||||
"id": 61,
|
||||
"nodeType": "ParameterList",
|
||||
"parameters": [],
|
||||
"src": "1706:2:1"
|
||||
},
|
||||
"src": "1688:67:1",
|
||||
"visibility": "internal"
|
||||
},
|
||||
{
|
||||
"body": {
|
||||
"id": 79,
|
||||
"nodeType": "Block",
|
||||
"src": "2575:29:1",
|
||||
"statements": [
|
||||
{
|
||||
"expression": {
|
||||
"argumentTypes": null,
|
||||
"id": 77,
|
||||
"isConstant": false,
|
||||
"isLValue": false,
|
||||
"isPure": false,
|
||||
"lValueRequested": false,
|
||||
"leftHandSide": {
|
||||
"argumentTypes": null,
|
||||
"id": 74,
|
||||
"name": "owner",
|
||||
"nodeType": "Identifier",
|
||||
"overloadedDeclarations": [],
|
||||
"referencedDeclaration": 60,
|
||||
"src": "2581:5:1",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_address",
|
||||
"typeString": "address"
|
||||
}
|
||||
},
|
||||
"nodeType": "Assignment",
|
||||
"operator": "=",
|
||||
"rightHandSide": {
|
||||
"argumentTypes": null,
|
||||
"expression": {
|
||||
"argumentTypes": null,
|
||||
"id": 75,
|
||||
"name": "msg",
|
||||
"nodeType": "Identifier",
|
||||
"overloadedDeclarations": [],
|
||||
"referencedDeclaration": 161,
|
||||
"src": "2589:3:1",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_magic_message",
|
||||
"typeString": "msg"
|
||||
}
|
||||
},
|
||||
"id": 76,
|
||||
"isConstant": false,
|
||||
"isLValue": false,
|
||||
"isPure": false,
|
||||
"lValueRequested": false,
|
||||
"memberName": "sender",
|
||||
"nodeType": "MemberAccess",
|
||||
"referencedDeclaration": null,
|
||||
"src": "2589:10:1",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_address",
|
||||
"typeString": "address"
|
||||
}
|
||||
},
|
||||
"src": "2581:18:1",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_address",
|
||||
"typeString": "address"
|
||||
}
|
||||
},
|
||||
"id": 78,
|
||||
"nodeType": "ExpressionStatement",
|
||||
"src": "2581:18:1"
|
||||
}
|
||||
]
|
||||
},
|
||||
"documentation": null,
|
||||
"id": 80,
|
||||
"implemented": true,
|
||||
"isConstructor": true,
|
||||
"isDeclaredConst": false,
|
||||
"modifiers": [],
|
||||
"name": "",
|
||||
"nodeType": "FunctionDefinition",
|
||||
"parameters": {
|
||||
"id": 72,
|
||||
"nodeType": "ParameterList",
|
||||
"parameters": [],
|
||||
"src": "2565:2:1"
|
||||
},
|
||||
"payable": false,
|
||||
"returnParameters": {
|
||||
"id": 73,
|
||||
"nodeType": "ParameterList",
|
||||
"parameters": [],
|
||||
"src": "2575:0:1"
|
||||
},
|
||||
"scope": 81,
|
||||
"src": "2554:50:1",
|
||||
"stateMutability": "nonpayable",
|
||||
"superFunction": null,
|
||||
"visibility": "public"
|
||||
}
|
||||
],
|
||||
"scope": 82,
|
||||
"src": "26:2580:1"
|
||||
}
|
||||
],
|
||||
"src": "0:2607:1"
|
||||
},
|
||||
"compiler": {
|
||||
"name": "solc",
|
||||
"version": "0.4.24+commit.e67f0147.Emscripten.clang"
|
||||
},
|
||||
"networks": {},
|
||||
"schemaVersion": "2.0.1",
|
||||
"updatedAt": "2018-10-31T09:33:41.481Z"
|
||||
}
|
1621
build/contracts/Pong.json
Normal file
1621
build/contracts/Pong.json
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user