Skip to content

Commit

Permalink
Merge pull request #118 from oceanprotocol/fix/Factory-naming
Browse files Browse the repository at this point in the history
rename factory contract
  • Loading branch information
Ahmed Ali committed Jul 1, 2020
2 parents 33ac2d1 + c171545 commit c2cebb3
Show file tree
Hide file tree
Showing 24 changed files with 143,662 additions and 6,750 deletions.
555 changes: 555 additions & 0 deletions artifacts/development/BBronze.json

Large diffs are not rendered by default.

555 changes: 555 additions & 0 deletions artifacts/development/BColor.json

Large diffs are not rendered by default.

2,931 changes: 2,931 additions & 0 deletions artifacts/development/BConst.json

Large diffs are not rendered by default.

16,572 changes: 16,572 additions & 0 deletions artifacts/development/BMath.json

Large diffs are not rendered by default.

13,069 changes: 13,069 additions & 0 deletions artifacts/development/BNum.json

Large diffs are not rendered by default.

15,642 changes: 15,642 additions & 0 deletions artifacts/development/BToken.json

Large diffs are not rendered by default.

15,425 changes: 15,425 additions & 0 deletions artifacts/development/BTokenBase.json

Large diffs are not rendered by default.

274 changes: 137 additions & 137 deletions artifacts/development/Context.json

Large diffs are not rendered by default.

974 changes: 487 additions & 487 deletions artifacts/development/Converter.json

Large diffs are not rendered by default.

4,612 changes: 4,612 additions & 0 deletions artifacts/development/DTFactory.json

Large diffs are not rendered by default.

3,146 changes: 1,573 additions & 1,573 deletions artifacts/development/DataTokenTemplate.json

Large diffs are not rendered by default.

306 changes: 153 additions & 153 deletions artifacts/development/Deployer.json

Large diffs are not rendered by default.

4,086 changes: 2,043 additions & 2,043 deletions artifacts/development/ERC20.json

Large diffs are not rendered by default.

1,322 changes: 661 additions & 661 deletions artifacts/development/ERC20Pausable.json

Large diffs are not rendered by default.

678 changes: 339 additions & 339 deletions artifacts/development/IERC20.json

Large diffs are not rendered by default.

722 changes: 361 additions & 361 deletions artifacts/development/IERC20Template.json

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions artifacts/development/Migrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@
"type": "function"
}
],
"metadata": "{\"compiler\":{\"version\":\"0.5.7+commit.6da8b019\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":true,\"inputs\":[],\"name\":\"last_completed_migration\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"completed\",\"type\":\"uint256\"}],\"name\":\"setCompleted\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"}],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/Users/ahmedali/Desktop/work/Ocean/contracts/contracts/Migrations.sol\":\"Migrations\"},\"evmVersion\":\"byzantium\",\"libraries\":{},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/Users/ahmedali/Desktop/work/Ocean/contracts/contracts/Migrations.sol\":{\"keccak256\":\"0x7c53ff5172c2899c6ac1d858354fa7422822decfd8637c784ab6826f462f01aa\",\"urls\":[\"bzzr://9fd0496ac18ac67c0f2ebdc9b73cadfff96fb0a36beef0b60d1fdd6848b8e8df\"]}},\"version\":1}",
"bytecode": "0x608060405234801561001057600080fd5b50336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506101b0806100606000396000f3fe608060405234801561001057600080fd5b506004361061005e576000357c010000000000000000000000000000000000000000000000000000000090048063445df0ac146100635780638da5cb5b14610081578063fdacd576146100cb575b600080fd5b61006b6100f9565b6040518082815260200191505060405180910390f35b6100896100ff565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6100f7600480360360208110156100e157600080fd5b8101908080359060200190929190505050610124565b005b60015481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561018157806001819055505b5056fea165627a7a723058205256f34b86ed014230923eb4c3ca3e648b5bec0b0bc5ccef8ac13d7799463e000029",
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061005e576000357c010000000000000000000000000000000000000000000000000000000090048063445df0ac146100635780638da5cb5b14610081578063fdacd576146100cb575b600080fd5b61006b6100f9565b6040518082815260200191505060405180910390f35b6100896100ff565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6100f7600480360360208110156100e157600080fd5b8101908080359060200190929190505050610124565b005b60015481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561018157806001819055505b5056fea165627a7a723058205256f34b86ed014230923eb4c3ca3e648b5bec0b0bc5ccef8ac13d7799463e000029",
"metadata": "{\"compiler\":{\"version\":\"0.5.7+commit.6da8b019\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":true,\"inputs\":[],\"name\":\"last_completed_migration\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"completed\",\"type\":\"uint256\"}],\"name\":\"setCompleted\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"}],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/Users/ahmedali/Desktop/work/Ocean/ocean-contracts/contracts/Migrations.sol\":\"Migrations\"},\"evmVersion\":\"byzantium\",\"libraries\":{},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/Users/ahmedali/Desktop/work/Ocean/ocean-contracts/contracts/Migrations.sol\":{\"keccak256\":\"0x7c53ff5172c2899c6ac1d858354fa7422822decfd8637c784ab6826f462f01aa\",\"urls\":[\"bzzr://9fd0496ac18ac67c0f2ebdc9b73cadfff96fb0a36beef0b60d1fdd6848b8e8df\"]}},\"version\":1}",
"bytecode": "0x608060405234801561001057600080fd5b50336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506101b0806100606000396000f3fe608060405234801561001057600080fd5b506004361061005e576000357c010000000000000000000000000000000000000000000000000000000090048063445df0ac146100635780638da5cb5b14610081578063fdacd576146100cb575b600080fd5b61006b6100f9565b6040518082815260200191505060405180910390f35b6100896100ff565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6100f7600480360360208110156100e157600080fd5b8101908080359060200190929190505050610124565b005b60015481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561018157806001819055505b5056fea165627a7a723058207ea743520adb32d929182ef27c361565911681532fc43727675fdd42dc6f1c970029",
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061005e576000357c010000000000000000000000000000000000000000000000000000000090048063445df0ac146100635780638da5cb5b14610081578063fdacd576146100cb575b600080fd5b61006b6100f9565b6040518082815260200191505060405180910390f35b6100896100ff565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6100f7600480360360208110156100e157600080fd5b8101908080359060200190929190505050610124565b005b60015481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561018157806001819055505b5056fea165627a7a723058207ea743520adb32d929182ef27c361565911681532fc43727675fdd42dc6f1c970029",
"sourceMap": "34:351:1:-;;;134:56;8:9:-1;5:2;;;30:1;27;20:12;5:2;134:56:1;173:10;165:5;;:18;;;;;;;;;;;;;;;;;;34:351;;;;;;",
"deployedSourceMap": "34:351:1:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;34:351:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;89:36;;;:::i;:::-;;;;;;;;;;;;;;;;;;;63:20;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;274:109;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;274:109:1;;;;;;;;;;;;;;;;;:::i;:::-;;89:36;;;;:::o;63:20::-;;;;;;;;;;;;;:::o;274:109::-;249:5;;;;;;;;;;;235:19;;:10;:19;;;231:26;;;367:9;340:24;:36;;;;231:26;274:109;:::o",
"source": "pragma solidity >=0.4.21 <0.7.0;\n\ncontract Migrations {\n \n address public owner;\n uint public last_completed_migration;\n \n constructor() public {\n owner = msg.sender;\n }\n \n modifier restricted() { \n if (msg.sender == owner) _;\n }\n \n function setCompleted(uint completed) public restricted {\n last_completed_migration = completed;\n }\n}\n",
"sourcePath": "/Users/ahmedali/Desktop/work/Ocean/contracts/contracts/Migrations.sol",
"sourcePath": "/Users/ahmedali/Desktop/work/Ocean/ocean-contracts/contracts/Migrations.sol",
"ast": {
"absolutePath": "/Users/ahmedali/Desktop/work/Ocean/contracts/contracts/Migrations.sol",
"absolutePath": "/Users/ahmedali/Desktop/work/Ocean/ocean-contracts/contracts/Migrations.sol",
"exportedSymbols": {
"Migrations": [
198
Expand Down Expand Up @@ -184,7 +184,7 @@
"name": "msg",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 1526,
"referencedDeclaration": 5635,
"src": "173:3:1",
"typeDescriptions": {
"typeIdentifier": "t_magic_message",
Expand Down Expand Up @@ -268,7 +268,7 @@
"name": "msg",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 1526,
"referencedDeclaration": 5635,
"src": "235:3:1",
"typeDescriptions": {
"typeIdentifier": "t_magic_message",
Expand Down Expand Up @@ -469,7 +469,7 @@
"src": "0:386:1"
},
"legacyAST": {
"absolutePath": "/Users/ahmedali/Desktop/work/Ocean/contracts/contracts/Migrations.sol",
"absolutePath": "/Users/ahmedali/Desktop/work/Ocean/ocean-contracts/contracts/Migrations.sol",
"exportedSymbols": {
"Migrations": [
198
Expand Down Expand Up @@ -595,7 +595,7 @@
"name": "msg",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 1526,
"referencedDeclaration": 5635,
"src": "173:3:1",
"typeDescriptions": {
"typeIdentifier": "t_magic_message",
Expand Down Expand Up @@ -679,7 +679,7 @@
"name": "msg",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 1526,
"referencedDeclaration": 5635,
"src": "235:3:1",
"typeDescriptions": {
"typeIdentifier": "t_magic_message",
Expand Down Expand Up @@ -885,7 +885,7 @@
},
"networks": {},
"schemaVersion": "3.2.0",
"updatedAt": "2020-06-18T13:08:30.808Z",
"updatedAt": "2020-07-01T14:40:44.820Z",
"devdoc": {
"methods": {}
},
Expand Down

0 comments on commit c2cebb3

Please sign in to comment.