Skip to content

Instantly share code, notes, and snippets.

@ericbinet
Created June 21, 2018 01:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ericbinet/4223d8cae05e16b29ea15aba67f8183c to your computer and use it in GitHub Desktop.
Save ericbinet/4223d8cae05e16b29ea15aba67f8183c to your computer and use it in GitHub Desktop.
[
{
"inputs": [
{
"name": "_manager",
"type": "address"
},
{
"name": "_storageAddress",
"type": "address"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"payable": false,
"stateMutability": "nonpayable",
"type": "fallback"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_itemId",
"type": "uint256"
},
{
"indexed": true,
"name": "_from",
"type": "address"
},
{
"indexed": false,
"name": "_data",
"type": "string"
}
],
"name": "Log",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_itemId",
"type": "uint256"
},
{
"indexed": true,
"name": "_from",
"type": "address"
},
{
"indexed": true,
"name": "_to",
"type": "address"
}
],
"name": "Assign",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_itemId",
"type": "uint256"
},
{
"indexed": true,
"name": "_creator",
"type": "address"
}
],
"name": "AcceptAssignment",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_itemId",
"type": "uint256"
},
{
"indexed": true,
"name": "_sender",
"type": "address"
}
],
"name": "DeployERCAdapter",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "_prevManager",
"type": "address"
},
{
"indexed": false,
"name": "_newManager",
"type": "address"
}
],
"name": "ManagerUpdate",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_itemId",
"type": "uint256"
}
],
"name": "UpdateDecimals",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_itemId",
"type": "uint256"
}
],
"name": "UpdateName",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_itemId",
"type": "uint256"
}
],
"name": "UpdateSymbol",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_itemId",
"type": "uint256"
},
{
"indexed": false,
"name": "_address",
"type": "address"
},
{
"indexed": false,
"name": "_add",
"type": "bool"
}
],
"name": "Adapter",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_address",
"type": "address"
},
{
"indexed": false,
"name": "_value",
"type": "bool"
}
],
"name": "AllowedNoReserve",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_itemId",
"type": "uint256"
},
{
"indexed": true,
"name": "_owner",
"type": "address"
},
{
"indexed": true,
"name": "_spender",
"type": "address"
},
{
"indexed": false,
"name": "_value",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_itemId",
"type": "uint256"
},
{
"indexed": true,
"name": "_creator",
"type": "address"
},
{
"indexed": false,
"name": "_isNonFungible",
"type": "bool"
}
],
"name": "Create",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_itemId",
"type": "uint256"
},
{
"indexed": true,
"name": "_owner",
"type": "address"
},
{
"indexed": true,
"name": "_operator",
"type": "address"
},
{
"indexed": false,
"name": "_approved",
"type": "bool"
}
],
"name": "PermanentApproval",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_itemId",
"type": "uint256"
},
{
"indexed": true,
"name": "_from",
"type": "address"
},
{
"indexed": true,
"name": "_to",
"type": "address"
},
{
"indexed": false,
"name": "_value",
"type": "uint256"
}
],
"name": "Transfer",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_itemId",
"type": "uint256"
}
],
"name": "UpdateTransferFee",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_itemId",
"type": "uint256"
}
],
"name": "UpdateMaxTransferFee",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_itemId",
"type": "uint256"
},
{
"indexed": true,
"name": "_creator",
"type": "address"
}
],
"name": "Delete",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_itemId",
"type": "uint256"
},
{
"indexed": true,
"name": "_owner",
"type": "address"
},
{
"indexed": false,
"name": "_value",
"type": "uint256"
}
],
"name": "Melt",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_itemId",
"type": "uint256"
},
{
"indexed": false,
"name": "_value",
"type": "uint256"
}
],
"name": "Mint",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_itemId",
"type": "uint256"
}
],
"name": "UpdateMaxMeltFee",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_itemId",
"type": "uint256"
}
],
"name": "UpdateMeltFee",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_itemId",
"type": "uint256"
}
],
"name": "UpdateTransferable",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_itemId",
"type": "uint256"
},
{
"indexed": true,
"name": "_account",
"type": "address"
},
{
"indexed": false,
"name": "_whitelisted",
"type": "address"
},
{
"indexed": false,
"name": "_on",
"type": "bool"
}
],
"name": "Whitelist",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_itemId",
"type": "uint256"
},
{
"indexed": false,
"name": "_uri",
"type": "string"
}
],
"name": "URI",
"type": "event"
},
{
"constant": false,
"inputs": [
{
"name": "_enjinCoinAddress",
"type": "address"
},
{
"name": "_minCostScale",
"type": "uint256"
}
],
"name": "initialize",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_address",
"type": "address"
}
],
"name": "setLoansAndSubscriptionsAddress",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_name",
"type": "string"
},
{
"name": "_totalSupply",
"type": "uint256"
},
{
"name": "_initialSupply",
"type": "uint256"
},
{
"name": "_supplyModel",
"type": "address"
},
{
"name": "_meltValue",
"type": "uint256"
},
{
"name": "_meltFeePercentage",
"type": "uint8"
},
{
"name": "_transferable",
"type": "uint8"
},
{
"name": "_transferFeeSettings",
"type": "uint256[3]"
},
{
"name": "_allowsCustomAdapters",
"type": "bool"
}
],
"name": "createItems",
"outputs": [
{
"name": "itemId",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_name",
"type": "string"
},
{
"name": "_totalSupply",
"type": "uint128"
},
{
"name": "_initialSupply",
"type": "uint128"
},
{
"name": "_supplyModel",
"type": "address"
},
{
"name": "_meltValue",
"type": "uint256"
},
{
"name": "_meltFeePercentage",
"type": "uint8"
},
{
"name": "_transferable",
"type": "uint8"
},
{
"name": "_transferFeeSettings",
"type": "uint256[3]"
},
{
"name": "_allowsCustomAdapters",
"type": "bool"
}
],
"name": "createNonFungibleItems",
"outputs": [
{
"name": "itemId",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
}
],
"name": "isNonFungibleItem",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_itemId",
"type": "uint256[]"
},
{
"name": "_value",
"type": "uint256[]"
}
],
"name": "meltItems",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
},
{
"name": "_data",
"type": "string"
}
],
"name": "addLog",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "minCostScale",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
},
{
"name": "_value",
"type": "uint256"
}
],
"name": "mintItems",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
}
],
"name": "deleteItem",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
},
{
"name": "_name",
"type": "string"
}
],
"name": "updateName",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
},
{
"name": "_decimals",
"type": "uint8"
}
],
"name": "updateDecimals",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
},
{
"name": "_symbol",
"type": "string"
}
],
"name": "updateSymbol",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
},
{
"name": "_creator",
"type": "address"
}
],
"name": "assign",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
}
],
"name": "acceptAssignment",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
},
{
"name": "_account",
"type": "address"
},
{
"name": "_whitelisted",
"type": "address"
},
{
"name": "_on",
"type": "bool"
}
],
"name": "setWhitelisted",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
},
{
"name": "_account",
"type": "address"
},
{
"name": "_whitelisted",
"type": "address"
}
],
"name": "whitelisted",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
},
{
"name": "_transferable",
"type": "uint8"
}
],
"name": "setTransferable",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
},
{
"name": "_fee",
"type": "uint8"
}
],
"name": "setMeltFee",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
},
{
"name": "_fee",
"type": "uint8"
}
],
"name": "decreaseMaxMeltFee",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
},
{
"name": "_decimals",
"type": "uint8"
},
{
"name": "_symbol",
"type": "string"
}
],
"name": "deployERC20Adapter",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
},
{
"name": "_symbol",
"type": "string"
}
],
"name": "deployERC721Adapter",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
},
{
"name": "_adapters",
"type": "address[]"
}
],
"name": "addCustomAdapters",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
},
{
"name": "_adapters",
"type": "address[]"
}
],
"name": "removeCustomAdapters",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
},
{
"name": "_adapter",
"type": "address"
}
],
"name": "getCustomAdapterType",
"outputs": [
{
"name": "",
"type": "uint8"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
}
],
"name": "disableNewCustomAdapters",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
}
],
"name": "itemData",
"outputs": [
{
"name": "_creator",
"type": "address"
},
{
"name": "_creationTime",
"type": "uint256"
},
{
"name": "_meltValue",
"type": "uint256"
},
{
"name": "_meltFeePercentage",
"type": "uint8"
},
{
"name": "_meltFeeMaxPercentage",
"type": "uint8"
},
{
"name": "_supplyModel",
"type": "address"
},
{
"name": "_adapters",
"type": "address[]"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
}
],
"name": "itemTransferSettingsData",
"outputs": [
{
"name": "_transferable",
"type": "uint8"
},
{
"name": "_transferFeeType",
"type": "uint8"
},
{
"name": "_transferFeeItem",
"type": "uint256"
},
{
"name": "_transferFeeValue",
"type": "uint256"
},
{
"name": "_transferFeeMaxValue",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
},
{
"name": "_creator",
"type": "address"
}
],
"name": "isCreatorOf",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
}
],
"name": "mintableSupply",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
}
],
"name": "circulatingSupply",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
}
],
"name": "getERC20Adaptor",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
}
],
"name": "getERC721Adaptor",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
}
],
"name": "allowsNewCustomAdaptors",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_scale",
"type": "uint256"
}
],
"name": "setMinCostScale",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_address",
"type": "address"
},
{
"name": "_value",
"type": "bool"
}
],
"name": "allowNoReserve",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_newManager",
"type": "address"
}
],
"name": "transferManager",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "acceptManager",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
}
],
"name": "name",
"outputs": [
{
"name": "",
"type": "string"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
}
],
"name": "decimals",
"outputs": [
{
"name": "",
"type": "uint8"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
}
],
"name": "symbol",
"outputs": [
{
"name": "",
"type": "string"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
}
],
"name": "totalSupply",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
},
{
"name": "_owner",
"type": "address"
}
],
"name": "balanceOf",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
},
{
"name": "_owner",
"type": "address"
},
{
"name": "_spender",
"type": "address"
}
],
"name": "allowance",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_itemId",
"type": "uint256[]"
},
{
"name": "_to",
"type": "address[]"
},
{
"name": "_value",
"type": "uint256[]"
},
{
"name": "_msgSender",
"type": "address"
}
],
"name": "transferAdapter",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_itemId",
"type": "uint256[]"
},
{
"name": "_from",
"type": "address[]"
},
{
"name": "_to",
"type": "address[]"
},
{
"name": "_value",
"type": "uint256[]"
}
],
"name": "transferFrom",
"outputs": [
{
"name": "success",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_itemId",
"type": "uint256[]"
},
{
"name": "_from",
"type": "address[]"
},
{
"name": "_to",
"type": "address[]"
},
{
"name": "_value",
"type": "uint256[]"
},
{
"name": "_msgSender",
"type": "address"
}
],
"name": "transferFromAdapter",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_itemId",
"type": "uint256[]"
},
{
"name": "_spender",
"type": "address[]"
},
{
"name": "_value",
"type": "uint256[]"
},
{
"name": "_msgSender",
"type": "address"
}
],
"name": "approveAdapter",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_itemId",
"type": "uint256[]"
},
{
"name": "_spender",
"type": "address[]"
},
{
"name": "_addedValue",
"type": "uint256[]"
}
],
"name": "increaseApproval",
"outputs": [
{
"name": "success",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_itemId",
"type": "uint256[]"
},
{
"name": "_spender",
"type": "address[]"
},
{
"name": "_subtractedValue",
"type": "uint256[]"
}
],
"name": "decreaseApproval",
"outputs": [
{
"name": "success",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_itemId",
"type": "uint256[]"
},
{
"name": "_to",
"type": "address[]"
},
{
"name": "_value",
"type": "uint256[]"
}
],
"name": "transfer",
"outputs": [
{
"name": "success",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_itemId",
"type": "uint256[]"
},
{
"name": "_spender",
"type": "address[]"
},
{
"name": "_value",
"type": "uint256[]"
}
],
"name": "approve",
"outputs": [
{
"name": "success",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_itemId",
"type": "uint256[]"
},
{
"name": "_operator",
"type": "address[]"
},
{
"name": "_approved",
"type": "bool[]"
}
],
"name": "setPermanentApproval",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_itemId",
"type": "uint256[]"
},
{
"name": "_operator",
"type": "address[]"
},
{
"name": "_approved",
"type": "bool[]"
},
{
"name": "_msgSender",
"type": "address"
}
],
"name": "setPermanentApprovalAdapter",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
},
{
"name": "_owner",
"type": "address"
},
{
"name": "_operator",
"type": "address"
}
],
"name": "getPermanentApproval",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_askingItems",
"type": "uint256[]"
},
{
"name": "_askingValues",
"type": "uint128[]"
},
{
"name": "_offeringItems",
"type": "uint256[]"
},
{
"name": "_offeringValues",
"type": "uint128[]"
},
{
"name": "_secondParty",
"type": "address"
}
],
"name": "createTrade",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_id",
"type": "uint256"
}
],
"name": "completeTrade",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_id",
"type": "uint256"
}
],
"name": "cancelTrade",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
},
{
"name": "_fee",
"type": "uint256"
}
],
"name": "setTransferFee",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
},
{
"name": "_fee",
"type": "uint256"
}
],
"name": "decreaseMaxTransferFee",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
}
],
"name": "ownerOf",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
},
{
"name": "_uri",
"type": "string"
}
],
"name": "setItemURI",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
}
],
"name": "itemURI",
"outputs": [
{
"name": "",
"type": "string"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
},
{
"name": "_uri",
"type": "string"
}
],
"name": "setNonFungibleItemURI",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
},
{
"name": "_uri",
"type": "string"
},
{
"name": "_msgSender",
"type": "address"
}
],
"name": "setNonFungibleItemURIAdapter",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
}
],
"name": "nonFungibleItemURI",
"outputs": [
{
"name": "",
"type": "string"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
},
{
"name": "_index",
"type": "uint256"
}
],
"name": "itemByIndex",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
},
{
"name": "_owner",
"type": "address"
},
{
"name": "_index",
"type": "uint256"
}
],
"name": "itemOfOwnerByIndex",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment