aboutsummaryrefslogtreecommitdiffstats
path: root/packages/migrations/artifacts/2.0.0-beta-testnet/IAssetProxy.json
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-08-21 05:23:44 +0800
committerGitHub <noreply@github.com>2018-08-21 05:23:44 +0800
commita21bfc5f2c9e7e8b660f9ea6671e1dfd229ab75d (patch)
treefffbc9357d3f30dba4c887a2ac5fd839288c2fe8 /packages/migrations/artifacts/2.0.0-beta-testnet/IAssetProxy.json
parent254d88ffa094a6b4c7887c182298cbd786b1e87e (diff)
parent6405c70d0753dceaade9f8eef940bdfbdde45bb9 (diff)
downloaddexon-sol-tools-a21bfc5f2c9e7e8b660f9ea6671e1dfd229ab75d.tar
dexon-sol-tools-a21bfc5f2c9e7e8b660f9ea6671e1dfd229ab75d.tar.gz
dexon-sol-tools-a21bfc5f2c9e7e8b660f9ea6671e1dfd229ab75d.tar.bz2
dexon-sol-tools-a21bfc5f2c9e7e8b660f9ea6671e1dfd229ab75d.tar.lz
dexon-sol-tools-a21bfc5f2c9e7e8b660f9ea6671e1dfd229ab75d.tar.xz
dexon-sol-tools-a21bfc5f2c9e7e8b660f9ea6671e1dfd229ab75d.tar.zst
dexon-sol-tools-a21bfc5f2c9e7e8b660f9ea6671e1dfd229ab75d.zip
Merge pull request #976 from feuGeneA/remove-v2-artifacts
[migrations, 0x.js, contract-wrappers, fill-scenarios, order-utils, order-watcher] remove v2 contract artifacts
Diffstat (limited to 'packages/migrations/artifacts/2.0.0-beta-testnet/IAssetProxy.json')
-rw-r--r--packages/migrations/artifacts/2.0.0-beta-testnet/IAssetProxy.json175
1 files changed, 175 insertions, 0 deletions
diff --git a/packages/migrations/artifacts/2.0.0-beta-testnet/IAssetProxy.json b/packages/migrations/artifacts/2.0.0-beta-testnet/IAssetProxy.json
new file mode 100644
index 000000000..2959c35b8
--- /dev/null
+++ b/packages/migrations/artifacts/2.0.0-beta-testnet/IAssetProxy.json
@@ -0,0 +1,175 @@
+{
+ "schemaVersion": "2.0.0",
+ "contractName": "IAssetProxy",
+ "compilerOutput": {
+ "abi": [
+ {
+ "constant": false,
+ "inputs": [
+ {
+ "name": "target",
+ "type": "address"
+ }
+ ],
+ "name": "addAuthorizedAddress",
+ "outputs": [],
+ "payable": false,
+ "stateMutability": "nonpayable",
+ "type": "function"
+ },
+ {
+ "constant": false,
+ "inputs": [
+ {
+ "name": "target",
+ "type": "address"
+ }
+ ],
+ "name": "removeAuthorizedAddress",
+ "outputs": [],
+ "payable": false,
+ "stateMutability": "nonpayable",
+ "type": "function"
+ },
+ {
+ "constant": false,
+ "inputs": [
+ {
+ "name": "target",
+ "type": "address"
+ },
+ {
+ "name": "index",
+ "type": "uint256"
+ }
+ ],
+ "name": "removeAuthorizedAddressAtIndex",
+ "outputs": [],
+ "payable": false,
+ "stateMutability": "nonpayable",
+ "type": "function"
+ },
+ {
+ "constant": false,
+ "inputs": [
+ {
+ "name": "assetData",
+ "type": "bytes"
+ },
+ {
+ "name": "from",
+ "type": "address"
+ },
+ {
+ "name": "to",
+ "type": "address"
+ },
+ {
+ "name": "amount",
+ "type": "uint256"
+ }
+ ],
+ "name": "transferFrom",
+ "outputs": [],
+ "payable": false,
+ "stateMutability": "nonpayable",
+ "type": "function"
+ },
+ {
+ "constant": true,
+ "inputs": [],
+ "name": "getProxyId",
+ "outputs": [
+ {
+ "name": "",
+ "type": "bytes4"
+ }
+ ],
+ "payable": false,
+ "stateMutability": "pure",
+ "type": "function"
+ },
+ {
+ "constant": true,
+ "inputs": [],
+ "name": "getAuthorizedAddresses",
+ "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"
+ }
+ ],
+ "evm": {
+ "bytecode": {
+ "linkReferences": {},
+ "object": "0x",
+ "opcodes": "",
+ "sourceMap": ""
+ },
+ "deployedBytecode": {
+ "linkReferences": {},
+ "object": "0x",
+ "opcodes": "",
+ "sourceMap": ""
+ }
+ }
+ },
+ "sources": {
+ "2.0.0/protocol/AssetProxy/interfaces/IAssetProxy.sol": {
+ "id": 0
+ },
+ "2.0.0/protocol/AssetProxy/interfaces/IAuthorizable.sol": {
+ "id": 1
+ },
+ "2.0.0/utils/Ownable/IOwnable.sol": {
+ "id": 2
+ }
+ },
+ "sourceCodes": {
+ "2.0.0/protocol/AssetProxy/interfaces/IAssetProxy.sol": "/*\n\n Copyright 2018 ZeroEx Intl.\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*/\n\npragma solidity 0.4.24;\n\nimport \"./IAuthorizable.sol\";\n\n\ncontract IAssetProxy is\n IAuthorizable\n{\n\n /// @dev Transfers assets. Either succeeds or throws.\n /// @param assetData Byte array encoded for the respective asset proxy.\n /// @param from Address to transfer asset from.\n /// @param to Address to transfer asset to.\n /// @param amount Amount of asset to transfer.\n function transferFrom(\n bytes assetData,\n address from,\n address to,\n uint256 amount\n )\n external;\n \n /// @dev Gets the proxy id associated with the proxy address.\n /// @return Proxy id.\n function getProxyId()\n external\n pure\n returns (bytes4);\n}\n",
+ "2.0.0/protocol/AssetProxy/interfaces/IAuthorizable.sol": "/*\n\n Copyright 2018 ZeroEx Intl.\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*/\n\npragma solidity 0.4.24;\n\nimport \"../../../utils/Ownable/IOwnable.sol\";\n\n\ncontract IAuthorizable is\n IOwnable\n{\n\n /// @dev Authorizes an address.\n /// @param target Address to authorize.\n function addAuthorizedAddress(address target)\n external;\n\n /// @dev Removes authorizion of an address.\n /// @param target Address to remove authorization from.\n function removeAuthorizedAddress(address target)\n external;\n\n /// @dev Removes authorizion of an address.\n /// @param target Address to remove authorization from.\n /// @param index Index of target in authorities array.\n function removeAuthorizedAddressAtIndex(\n address target,\n uint256 index\n )\n external;\n \n /// @dev Gets all authorized addresses.\n /// @return Array of authorized addresses.\n function getAuthorizedAddresses()\n external\n view\n returns (address[] memory);\n}\n",
+ "2.0.0/utils/Ownable/IOwnable.sol": "pragma solidity 0.4.24;\n\n/*\n * Ownable\n *\n * Base contract with an owner.\n * Provides onlyOwner modifier, which prevents function from running if it is called by anyone other than the owner.\n */\n\ncontract IOwnable {\n function transferOwnership(address newOwner)\n public;\n}\n"
+ },
+ "sourceTreeHashHex": "0x436aae2314863ac0046cc1462a09e9aca7bf9a8b8eb9ac172bd86e74c38ce802",
+ "compiler": {
+ "name": "solc",
+ "version": "soljson-v0.4.24+commit.e67f0147.js",
+ "settings": {
+ "optimizer": {
+ "enabled": true,
+ "runs": 1000000
+ },
+ "outputSelection": {
+ "*": {
+ "*": [
+ "abi",
+ "evm.bytecode.object",
+ "evm.bytecode.sourceMap",
+ "evm.deployedBytecode.object",
+ "evm.deployedBytecode.sourceMap"
+ ]
+ }
+ }
+ }
+ },
+ "networks": {}
+} \ No newline at end of file