This repository has been archived by the owner on Jul 14, 2020. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add basic 'create dummy product' feature
- Loading branch information
Maxime Vaillancourt
committed
Feb 9, 2018
1 parent
f44baad
commit 38b4725
Showing
14 changed files
with
4,111 additions
and
825 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,153 @@ | ||
{ | ||
"contractName": "PassageHelper", | ||
"abi": [ | ||
{ | ||
"constant": true, | ||
"inputs": [], | ||
"name": "owner", | ||
"outputs": [ | ||
{ | ||
"name": "", | ||
"type": "address" | ||
} | ||
], | ||
"payable": false, | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": false, | ||
"inputs": [ | ||
{ | ||
"name": "newOwner", | ||
"type": "address" | ||
} | ||
], | ||
"name": "transferOwnership", | ||
"outputs": [], | ||
"payable": false, | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"name": "previousOwner", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"name": "newOwner", | ||
"type": "address" | ||
} | ||
], | ||
"name": "OwnershipTransferred", | ||
"type": "event" | ||
} | ||
], | ||
"bytecode": "0x6060604052336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610285806100536000396000f30060606040526004361061004c576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680638da5cb5b14610051578063f2fde38b146100a6575b600080fd5b341561005c57600080fd5b6100646100df565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156100b157600080fd5b6100dd600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610104565b005b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561015f57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561019b57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505600a165627a7a7230582079ae0ffe7f391be7dcd81631647d3bad1c4a2fd8c044a589ae85b7852968d8e30029", | ||
"deployedBytecode": "0x60606040526004361061004c576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680638da5cb5b14610051578063f2fde38b146100a6575b600080fd5b341561005c57600080fd5b6100646100df565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156100b157600080fd5b6100dd600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610104565b005b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561015f57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561019b57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505600a165627a7a7230582079ae0ffe7f391be7dcd81631647d3bad1c4a2fd8c044a589ae85b7852968d8e30029", | ||
"sourceMap": "51:152:1:-;;;524:10:0;516:5;;:18;;;;;;;;;;;;;;;;;;51:152:1;;;;;;", | ||
"deployedSourceMap": "51:152:1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;239:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;879:183;;;;;;;;;;;;;;;;;;;;;;;;;;;;239:20;;;;;;;;;;;;;:::o;879:183::-;683:5;;;;;;;;;;;669:19;;:10;:19;;;661:28;;;;;;;;979:1;959:22;;:8;:22;;;;951:31;;;;;;;;1020:8;992:37;;1013:5;;;;;;;;;;;992:37;;;;;;;;;;;;1047:8;1039:5;;:16;;;;;;;;;;;;;;;;;;879:183;:::o", | ||
"source": "pragma solidity ^0.4.19;\n\nimport \"./Ownable.sol\";\n\ncontract PassageHelper is Ownable {\n // Required modifiers:\n // OnlyPassageTeam\n // OnlyIndustry\n // OnlyPublic\n // OnlyGovernment\n \n}", | ||
"sourcePath": "/home/mv/edu/usherbrooke/s5-h18/ige592/Passage_Project/contracts/PassageHelper.sol", | ||
"ast": { | ||
"attributes": { | ||
"absolutePath": "/home/mv/edu/usherbrooke/s5-h18/ige592/Passage_Project/contracts/PassageHelper.sol", | ||
"exportedSymbols": { | ||
"PassageHelper": [ | ||
61 | ||
] | ||
} | ||
}, | ||
"children": [ | ||
{ | ||
"attributes": { | ||
"literals": [ | ||
"solidity", | ||
"^", | ||
"0.4", | ||
".19" | ||
] | ||
}, | ||
"id": 57, | ||
"name": "PragmaDirective", | ||
"src": "0:24:1" | ||
}, | ||
{ | ||
"attributes": { | ||
"SourceUnit": 56, | ||
"absolutePath": "/home/mv/edu/usherbrooke/s5-h18/ige592/Passage_Project/contracts/Ownable.sol", | ||
"file": "./Ownable.sol", | ||
"scope": 62, | ||
"symbolAliases": [ | ||
null | ||
], | ||
"unitAlias": "" | ||
}, | ||
"id": 58, | ||
"name": "ImportDirective", | ||
"src": "26:23:1" | ||
}, | ||
{ | ||
"attributes": { | ||
"contractDependencies": [ | ||
55 | ||
], | ||
"contractKind": "contract", | ||
"documentation": null, | ||
"fullyImplemented": true, | ||
"linearizedBaseContracts": [ | ||
61, | ||
55 | ||
], | ||
"name": "PassageHelper", | ||
"nodes": [ | ||
null | ||
], | ||
"scope": 62 | ||
}, | ||
"children": [ | ||
{ | ||
"attributes": { | ||
"arguments": [ | ||
null | ||
] | ||
}, | ||
"children": [ | ||
{ | ||
"attributes": { | ||
"contractScope": null, | ||
"name": "Ownable", | ||
"referencedDeclaration": 55, | ||
"type": "contract Ownable" | ||
}, | ||
"id": 59, | ||
"name": "UserDefinedTypeName", | ||
"src": "77:7:1" | ||
} | ||
], | ||
"id": 60, | ||
"name": "InheritanceSpecifier", | ||
"src": "77:7:1" | ||
} | ||
], | ||
"id": 61, | ||
"name": "ContractDefinition", | ||
"src": "51:152:1" | ||
} | ||
], | ||
"id": 62, | ||
"name": "SourceUnit", | ||
"src": "0:203:1" | ||
}, | ||
"compiler": { | ||
"name": "solc", | ||
"version": "0.4.19+commit.c4cbbb05.Emscripten.clang" | ||
}, | ||
"networks": {}, | ||
"schemaVersion": "1.0.1", | ||
"updatedAt": "2018-02-09T00:58:14.769Z" | ||
} |
Oops, something went wrong.