Skip to content
This repository has been archived by the owner on Jan 18, 2023. It is now read-only.

Commit

Permalink
Update types to be from set-protocol-utils (#158)
Browse files Browse the repository at this point in the history
* Use types from set-protocol-utils

* Use lower typescript version

* Update yarn.lock

* Update artifacts

* Use Bytes instead of Bytes32
  • Loading branch information
justinkchen committed Aug 10, 2018
1 parent 43e22fe commit 1f132f3
Show file tree
Hide file tree
Showing 135 changed files with 110,367 additions and 103,942 deletions.
2,108 changes: 1,054 additions & 1,054 deletions artifacts/json/Authorizable.json

Large diffs are not rendered by default.

1,028 changes: 514 additions & 514 deletions artifacts/json/BasicToken.json

Large diffs are not rendered by default.

188 changes: 78 additions & 110 deletions artifacts/json/CommonMath.json

Large diffs are not rendered by default.

518 changes: 279 additions & 239 deletions artifacts/json/Core.json

Large diffs are not rendered by default.

3,084 changes: 1,856 additions & 1,228 deletions artifacts/json/CoreAccounting.json

Large diffs are not rendered by default.

430 changes: 215 additions & 215 deletions artifacts/json/CoreExchangeDispatcher.json

Large diffs are not rendered by default.

1,060 changes: 530 additions & 530 deletions artifacts/json/CoreFactory.json

Large diffs are not rendered by default.

1,978 changes: 989 additions & 989 deletions artifacts/json/CoreInternal.json

Large diffs are not rendered by default.

17,472 changes: 9,311 additions & 8,161 deletions artifacts/json/CoreIssuance.json

Large diffs are not rendered by default.

28,130 changes: 14,710 additions & 13,420 deletions artifacts/json/CoreIssuanceOrder.json

Large diffs are not rendered by default.

1,464 changes: 732 additions & 732 deletions artifacts/json/CoreState.json

Large diffs are not rendered by default.

376 changes: 188 additions & 188 deletions artifacts/json/DetailedERC20.json

Large diffs are not rendered by default.

452 changes: 226 additions & 226 deletions artifacts/json/ERC20.json

Large diffs are not rendered by default.

328 changes: 164 additions & 164 deletions artifacts/json/ERC20Basic.json

Large diffs are not rendered by default.

1,748 changes: 874 additions & 874 deletions artifacts/json/ERC20Wrapper.json

Large diffs are not rendered by default.

406 changes: 203 additions & 203 deletions artifacts/json/ExchangeHandler.json

Large diffs are not rendered by default.

194 changes: 97 additions & 97 deletions artifacts/json/IAssetProxyDispatcher.json

Large diffs are not rendered by default.

2,742 changes: 1,963 additions & 779 deletions artifacts/json/ICore.json

Large diffs are not rendered by default.

162 changes: 81 additions & 81 deletions artifacts/json/ICoreAccounting.json

Large diffs are not rendered by default.

132 changes: 66 additions & 66 deletions artifacts/json/ICoreIssuance.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,73 +5,73 @@
"deployedBytecode": "0x",
"sourceMap": "",
"deployedSourceMap": "",
"source": "/*\n Copyright 2018 Set Labs Inc.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\n\npragma solidity 0.4.24;\n\n\n/**\n * @title ICoreIssuance\n * @author Set Protocol\n *\n * The ICoreIssuance Contract defines all the functions exposed in the CoreIssuance\n * extension.\n */\ncontract ICoreIssuance {\n\n /* ============ Internal Functions ============ */\n\n /**\n * Exchanges components for Set Tokens, accepting any owner\n *\n * @param _owner Address to issue set to\n * @param _set Address of set to issue\n * @param _quantity Quantity of set to issue\n */\n function issueInternal(\n address _owner,\n address _set,\n uint _quantity\n )\n internal;\n}",
"source": "/*\n Copyright 2018 Set Labs Inc.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\n\npragma solidity 0.4.24;\n\n\n/**\n * @title ICoreIssuance\n * @author Set Protocol\n *\n * The ICoreIssuance Contract defines all the functions exposed in the CoreIssuance\n * extension.\n */\ncontract ICoreIssuance {\n\n /* ============ Internal Functions ============ */\n\n /**\n * Exchanges components for Set Tokens, accepting any owner\n *\n * @param _owner Address to issue set to\n * @param _set Address of set to issue\n * @param _quantity Quantity of set to issue\n */\n function issueInternal(\n address _owner,\n address _set,\n uint256 _quantity\n )\n internal;\n}",
"sourcePath": "/Users/justinkchen/workspace/set-protocol-contracts/contracts/core/interfaces/ICoreIssuance.sol",
"ast": {
"absolutePath": "/Users/justinkchen/workspace/set-protocol-contracts/contracts/core/interfaces/ICoreIssuance.sol",
"exportedSymbols": {
"ICoreIssuance": [
2477
3599
]
},
"id": 2478,
"id": 3600,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 2467,
"id": 3589,
"literals": [
"solidity",
"0.4",
".24"
],
"nodeType": "PragmaDirective",
"src": "597:23:10"
"src": "597:23:17"
},
{
"baseContracts": [],
"contractDependencies": [],
"contractKind": "contract",
"documentation": "@title ICoreIssuance\n@author Set Protocol\n * The ICoreIssuance Contract defines all the functions exposed in the CoreIssuance\nextension.",
"fullyImplemented": false,
"id": 2477,
"id": 3599,
"linearizedBaseContracts": [
2477
3599
],
"name": "ICoreIssuance",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": "Exchanges components for Set Tokens, accepting any owner\n * @param _owner Address to issue set to\n@param _set Address of set to issue\n@param _quantity Quantity of set to issue",
"id": 2476,
"id": 3598,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "issueInternal",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 2474,
"id": 3596,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 2469,
"id": 3591,
"name": "_owner",
"nodeType": "VariableDeclaration",
"scope": 2476,
"src": "1145:14:10",
"scope": 3598,
"src": "1145:14:17",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 2468,
"id": 3590,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1145:7:10",
"src": "1145:7:17",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
Expand All @@ -82,22 +82,22 @@
},
{
"constant": false,
"id": 2471,
"id": 3593,
"name": "_set",
"nodeType": "VariableDeclaration",
"scope": 2476,
"src": "1169:12:10",
"scope": 3598,
"src": "1169:12:17",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 2470,
"id": 3592,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1169:7:10",
"src": "1169:7:17",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
Expand All @@ -108,22 +108,22 @@
},
{
"constant": false,
"id": 2473,
"id": 3595,
"name": "_quantity",
"nodeType": "VariableDeclaration",
"scope": 2476,
"src": "1191:14:10",
"scope": 3598,
"src": "1191:17:17",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 2472,
"name": "uint",
"id": 3594,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1191:4:10",
"src": "1191:7:17",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
Expand All @@ -133,93 +133,93 @@
"visibility": "internal"
}
],
"src": "1135:76:10"
"src": "1135:79:17"
},
"payable": false,
"returnParameters": {
"id": 2475,
"id": 3597,
"nodeType": "ParameterList",
"parameters": [],
"src": "1228:0:10"
"src": "1231:0:17"
},
"scope": 2477,
"src": "1113:116:10",
"scope": 3599,
"src": "1113:119:17",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "internal"
}
],
"scope": 2478,
"src": "780:451:10"
"scope": 3600,
"src": "780:454:17"
}
],
"src": "597:634:10"
"src": "597:637:17"
},
"legacyAST": {
"absolutePath": "/Users/justinkchen/workspace/set-protocol-contracts/contracts/core/interfaces/ICoreIssuance.sol",
"exportedSymbols": {
"ICoreIssuance": [
2477
3599
]
},
"id": 2478,
"id": 3600,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 2467,
"id": 3589,
"literals": [
"solidity",
"0.4",
".24"
],
"nodeType": "PragmaDirective",
"src": "597:23:10"
"src": "597:23:17"
},
{
"baseContracts": [],
"contractDependencies": [],
"contractKind": "contract",
"documentation": "@title ICoreIssuance\n@author Set Protocol\n * The ICoreIssuance Contract defines all the functions exposed in the CoreIssuance\nextension.",
"fullyImplemented": false,
"id": 2477,
"id": 3599,
"linearizedBaseContracts": [
2477
3599
],
"name": "ICoreIssuance",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": "Exchanges components for Set Tokens, accepting any owner\n * @param _owner Address to issue set to\n@param _set Address of set to issue\n@param _quantity Quantity of set to issue",
"id": 2476,
"id": 3598,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "issueInternal",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 2474,
"id": 3596,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 2469,
"id": 3591,
"name": "_owner",
"nodeType": "VariableDeclaration",
"scope": 2476,
"src": "1145:14:10",
"scope": 3598,
"src": "1145:14:17",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 2468,
"id": 3590,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1145:7:10",
"src": "1145:7:17",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
Expand All @@ -230,22 +230,22 @@
},
{
"constant": false,
"id": 2471,
"id": 3593,
"name": "_set",
"nodeType": "VariableDeclaration",
"scope": 2476,
"src": "1169:12:10",
"scope": 3598,
"src": "1169:12:17",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 2470,
"id": 3592,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1169:7:10",
"src": "1169:7:17",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
Expand All @@ -256,22 +256,22 @@
},
{
"constant": false,
"id": 2473,
"id": 3595,
"name": "_quantity",
"nodeType": "VariableDeclaration",
"scope": 2476,
"src": "1191:14:10",
"scope": 3598,
"src": "1191:17:17",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 2472,
"name": "uint",
"id": 3594,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1191:4:10",
"src": "1191:7:17",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
Expand All @@ -281,33 +281,33 @@
"visibility": "internal"
}
],
"src": "1135:76:10"
"src": "1135:79:17"
},
"payable": false,
"returnParameters": {
"id": 2475,
"id": 3597,
"nodeType": "ParameterList",
"parameters": [],
"src": "1228:0:10"
"src": "1231:0:17"
},
"scope": 2477,
"src": "1113:116:10",
"scope": 3599,
"src": "1113:119:17",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "internal"
}
],
"scope": 2478,
"src": "780:451:10"
"scope": 3600,
"src": "780:454:17"
}
],
"src": "597:634:10"
"src": "597:637:17"
},
"compiler": {
"name": "solc",
"version": "0.4.24+commit.e67f0147.Emscripten.clang"
},
"networks": {},
"schemaVersion": "2.0.0",
"updatedAt": "2018-08-08T05:31:02.864Z"
"updatedAt": "2018-08-10T03:42:05.739Z"
}
Loading

0 comments on commit 1f132f3

Please sign in to comment.