Skip to content

Instantly share code, notes, and snippets.

@ericbinet
Created June 21, 2018 01:35
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/9b40da5b9a192bcb3706aaf1d7a7916d to your computer and use it in GitHub Desktop.
Save ericbinet/9b40da5b9a192bcb3706aaf1d7a7916d to your computer and use it in GitHub Desktop.
[
{
"constant": true,
"inputs": [
{
"name": "i",
"type": "uint32"
}
],
"name": "getManager",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key",
"type": "bytes32"
}
],
"name": "deleteAddress",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "getApprovedAddressCount",
"outputs": [
{
"name": "",
"type": "uint32"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_approvedAddress",
"type": "address"
}
],
"name": "removeApprovedAddress",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_key",
"type": "bytes32"
}
],
"name": "getAddress",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key",
"type": "bytes32"
}
],
"name": "deleteBool",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_managerAddress",
"type": "address"
}
],
"name": "addManager",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key",
"type": "bytes32"
},
{
"name": "_value",
"type": "bytes"
}
],
"name": "setBytes",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_manager",
"type": "address"
}
],
"name": "getManagerIndex",
"outputs": [
{
"name": "",
"type": "uint32"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key",
"type": "bytes32"
},
{
"name": "_value",
"type": "int256"
}
],
"name": "setInt",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key",
"type": "bytes32"
}
],
"name": "deleteBytes",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "holdETH",
"outputs": [],
"payable": true,
"stateMutability": "payable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key",
"type": "bytes32"
},
{
"name": "_value",
"type": "string"
}
],
"name": "setString",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_key",
"type": "bytes32"
}
],
"name": "getBool",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_erc20TokenAddress",
"type": "address"
},
{
"name": "_to",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
}
],
"name": "releaseFunds",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key",
"type": "bytes32"
}
],
"name": "deleteInt",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_address",
"type": "address"
}
],
"name": "getApprovedAddressIndex",
"outputs": [
{
"name": "",
"type": "uint32"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_key",
"type": "bytes32"
}
],
"name": "getString",
"outputs": [
{
"name": "",
"type": "string"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "i",
"type": "uint32"
}
],
"name": "getApprovedAddress",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key",
"type": "bytes32"
},
{
"name": "_value",
"type": "bool"
}
],
"name": "setBool",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_managerAddress",
"type": "address"
}
],
"name": "removeManager",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_key",
"type": "bytes32"
}
],
"name": "getUint",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_key",
"type": "bytes32"
}
],
"name": "getBytes",
"outputs": [
{
"name": "",
"type": "bytes"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key",
"type": "bytes32"
},
{
"name": "_value",
"type": "address"
}
],
"name": "setAddress",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "getManagerCount",
"outputs": [
{
"name": "",
"type": "uint32"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_approvedAddress",
"type": "address"
}
],
"name": "addApprovedAddress",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_key",
"type": "bytes32"
}
],
"name": "getInt",
"outputs": [
{
"name": "",
"type": "int256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key",
"type": "bytes32"
},
{
"name": "_value",
"type": "uint256"
}
],
"name": "setUint",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key",
"type": "bytes32"
}
],
"name": "deleteUint",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_to",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
}
],
"name": "releaseETH",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key",
"type": "bytes32"
}
],
"name": "deleteString",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"name": "_managerAddress",
"type": "address"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"payable": false,
"stateMutability": "nonpayable",
"type": "fallback"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "_manager",
"type": "address"
},
{
"indexed": false,
"name": "_added",
"type": "bool"
}
],
"name": "ManagerUpdate",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "_address",
"type": "address"
},
{
"indexed": false,
"name": "_added",
"type": "bool"
}
],
"name": "ApprovedAddressUpdate",
"type": "event"
},
{
"constant": true,
"inputs": [],
"name": "getMinCostScale",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_value",
"type": "uint256"
}
],
"name": "setMinCostScale",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "getNonce",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "incNonce",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_key",
"type": "uint256"
}
],
"name": "getItem",
"outputs": [
{
"name": "_creator",
"type": "address"
},
{
"name": "_totalSupply",
"type": "uint256"
},
{
"name": "_meltValue",
"type": "uint256"
},
{
"name": "_createdTime",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key",
"type": "uint256"
}
],
"name": "deleteItem",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_key",
"type": "uint256"
}
],
"name": "getItemCreator",
"outputs": [
{
"name": "_value",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key",
"type": "uint256"
},
{
"name": "_value",
"type": "address"
}
],
"name": "setItemCreator",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_key",
"type": "uint256"
}
],
"name": "getItemNewCreator",
"outputs": [
{
"name": "_value",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key",
"type": "uint256"
},
{
"name": "_value",
"type": "address"
}
],
"name": "setItemNewCreator",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_key",
"type": "uint256"
}
],
"name": "getItemTotalSupply",
"outputs": [
{
"name": "_value",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key",
"type": "uint256"
},
{
"name": "_value",
"type": "uint256"
}
],
"name": "setItemTotalSupply",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_key",
"type": "uint256"
}
],
"name": "getItemMeltValue",
"outputs": [
{
"name": "_value",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key",
"type": "uint256"
},
{
"name": "_value",
"type": "uint256"
}
],
"name": "setItemMeltValue",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_key",
"type": "uint256"
}
],
"name": "getItemCreatedTime",
"outputs": [
{
"name": "_value",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_key",
"type": "uint256"
}
],
"name": "getSupplyModel",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_key",
"type": "uint256"
}
],
"name": "getTransferFeeType",
"outputs": [
{
"name": "",
"type": "uint8"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_key",
"type": "uint256"
}
],
"name": "getTransferFeeItem",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_key",
"type": "uint256"
}
],
"name": "getTransferFeeValue",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key",
"type": "uint256"
},
{
"name": "_value",
"type": "uint256"
}
],
"name": "setTransferFeeValue",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_key",
"type": "uint256"
}
],
"name": "getMaxTransferFeeValue",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key",
"type": "uint256"
},
{
"name": "_value",
"type": "uint256"
}
],
"name": "setMaxTransferFeeValue",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_key",
"type": "uint256"
}
],
"name": "getName",
"outputs": [
{
"name": "",
"type": "string"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key",
"type": "uint256"
},
{
"name": "_value",
"type": "string"
}
],
"name": "setName",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_key",
"type": "uint256"
}
],
"name": "getSymbol",
"outputs": [
{
"name": "",
"type": "string"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key",
"type": "uint256"
},
{
"name": "_value",
"type": "string"
}
],
"name": "setSymbol",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_key",
"type": "uint256"
}
],
"name": "getDecimals",
"outputs": [
{
"name": "",
"type": "uint8"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key",
"type": "uint256"
},
{
"name": "_value",
"type": "uint8"
}
],
"name": "setDecimals",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_key",
"type": "uint256"
}
],
"name": "getMaxMeltFee",
"outputs": [
{
"name": "",
"type": "uint8"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key",
"type": "uint256"
},
{
"name": "_value",
"type": "uint8"
}
],
"name": "setMaxMeltFee",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_key",
"type": "uint256"
}
],
"name": "getMeltFee",
"outputs": [
{
"name": "",
"type": "uint8"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key",
"type": "uint256"
},
{
"name": "_value",
"type": "uint8"
}
],
"name": "setMeltFee",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_key",
"type": "uint256"
}
],
"name": "getTransferable",
"outputs": [
{
"name": "",
"type": "uint8"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key",
"type": "uint256"
},
{
"name": "_value",
"type": "uint8"
}
],
"name": "setTransferable",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_key1",
"type": "uint256"
},
{
"name": "_key2",
"type": "address"
},
{
"name": "_key3",
"type": "address"
}
],
"name": "getPermanentApproval",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key1",
"type": "uint256"
},
{
"name": "_key2",
"type": "address"
},
{
"name": "_key3",
"type": "address"
},
{
"name": "_value",
"type": "bool"
}
],
"name": "setPermanentApproval",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_key1",
"type": "uint256"
},
{
"name": "_key2",
"type": "address"
},
{
"name": "_key3",
"type": "address"
}
],
"name": "getAllowance",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key1",
"type": "uint256"
},
{
"name": "_key2",
"type": "address"
},
{
"name": "_key3",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
}
],
"name": "setAllowance",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key1",
"type": "uint256"
},
{
"name": "_key2",
"type": "address"
},
{
"name": "_key3",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
}
],
"name": "decAllowance",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_key1",
"type": "uint256"
},
{
"name": "_key2",
"type": "address"
},
{
"name": "_key3",
"type": "address"
}
],
"name": "getWhitelisted",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key1",
"type": "uint256"
},
{
"name": "_key2",
"type": "address"
},
{
"name": "_key3",
"type": "address"
},
{
"name": "_value",
"type": "bool"
}
],
"name": "setWhitelisted",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_key1",
"type": "uint256"
},
{
"name": "_key2",
"type": "address"
}
],
"name": "getBalance",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key1",
"type": "uint256"
},
{
"name": "_key2",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
}
],
"name": "setBalance",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_key1",
"type": "uint256"
},
{
"name": "_key2",
"type": "address"
}
],
"name": "getAdapter",
"outputs": [
{
"name": "",
"type": "uint8"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key1",
"type": "uint256"
},
{
"name": "_key2",
"type": "address"
},
{
"name": "_value",
"type": "uint8"
},
{
"name": "isErc",
"type": "bool"
}
],
"name": "setAdapter",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key1",
"type": "uint256"
}
],
"name": "disableNewCustomAdapters",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_key1",
"type": "uint256"
}
],
"name": "getAllowsCustomAdapters",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_key1",
"type": "uint256"
}
],
"name": "getErcAdapter",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_key",
"type": "uint256"
}
],
"name": "getAdapterList",
"outputs": [
{
"name": "",
"type": "address[]"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key",
"type": "uint256"
},
{
"name": "_value",
"type": "address"
}
],
"name": "addToAdapterList",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key",
"type": "uint256"
},
{
"name": "_value",
"type": "address"
}
],
"name": "removeFromAdapterList",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key",
"type": "uint256"
},
{
"name": "_value",
"type": "address[]"
}
],
"name": "setAdapterList",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_key",
"type": "uint256"
}
],
"name": "getIsReplicated",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key",
"type": "uint256"
},
{
"name": "_value",
"type": "bool"
}
],
"name": "setIsReplicated",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_key",
"type": "address"
}
],
"name": "getAllowedNoReserve",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key",
"type": "address"
},
{
"name": "_value",
"type": "bool"
}
],
"name": "setAllowedNoReserve",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "getCryptoItemsAddress",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_value",
"type": "address"
}
],
"name": "setCryptoItemsAddress",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "getEnjinCoinAddress",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_value",
"type": "address"
}
],
"name": "setEnjinCoinAddress",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "getLoansAndSubscriptionsAddress",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_value",
"type": "address"
}
],
"name": "setLoansAndSubscriptionsAddress",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_key",
"type": "uint256"
}
],
"name": "getIsNonFungible",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_key",
"type": "uint256"
}
],
"name": "getNonFungibleOwner",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_key",
"type": "uint256"
}
],
"name": "getNonFungibleMaxIndex",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_key",
"type": "uint256"
}
],
"name": "getNonFungibleUnassigned",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_key",
"type": "uint256"
}
],
"name": "getItemURI",
"outputs": [
{
"name": "",
"type": "string"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key",
"type": "uint256"
},
{
"name": "_value",
"type": "string"
}
],
"name": "setItemURI",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key",
"type": "uint256"
},
{
"name": "_name",
"type": "string"
},
{
"name": "_creator",
"type": "address"
},
{
"name": "_totalSupply",
"type": "uint256"
},
{
"name": "_meltValue",
"type": "uint256"
},
{
"name": "_createdTime",
"type": "uint256"
}
],
"name": "setItem",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key",
"type": "uint256"
},
{
"name": "_supplyModel",
"type": "address"
},
{
"name": "_whitelist",
"type": "address"
},
{
"name": "_creator",
"type": "address"
},
{
"name": "_meltFeePercentage",
"type": "uint8"
},
{
"name": "_transferable",
"type": "uint8"
},
{
"name": "_transferFeeType",
"type": "uint8"
},
{
"name": "_isNonFungible",
"type": "bool"
},
{
"name": "_allowsCustomAdapters",
"type": "bool"
}
],
"name": "setItemExtra",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key",
"type": "uint256"
},
{
"name": "_value",
"type": "uint128"
}
],
"name": "setNonFungibleSupply",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key",
"type": "uint256"
},
{
"name": "_value",
"type": "uint128"
}
],
"name": "incNonFungibleSupply",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key1",
"type": "uint256"
},
{
"name": "_key2",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
}
],
"name": "incBalance",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key1",
"type": "uint256"
},
{
"name": "_key2",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
}
],
"name": "decBalance",
"outputs": [],
"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": "transferFungibleBalance",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
},
{
"name": "_from",
"type": "address"
},
{
"name": "_to",
"type": "address"
}
],
"name": "transferNonFungibleBalance",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_key",
"type": "uint256"
},
{
"name": "_feeItem",
"type": "uint256"
},
{
"name": "_feeValue",
"type": "uint128"
}
],
"name": "setTransferFees",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_itemId",
"type": "uint256"
},
{
"name": "_from",
"type": "address"
},
{
"name": "_to",
"type": "address"
}
],
"name": "checkWhitelist",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_to",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
}
],
"name": "releaseEscrowFunds",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "getTradeId",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_value",
"type": "uint256"
}
],
"name": "setTradeId",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "incTradeId",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_tradeId",
"type": "uint256"
},
{
"name": "_firstParty",
"type": "address"
},
{
"name": "_secondParty",
"type": "address"
},
{
"name": "_askingItems",
"type": "uint256[]"
},
{
"name": "_offeringItems",
"type": "uint256[]"
},
{
"name": "_askingValues",
"type": "uint128[]"
},
{
"name": "_offeringValues",
"type": "uint128[]"
}
],
"name": "setupTrade",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_tradeId",
"type": "uint256"
}
],
"name": "getTradeEscrowedENJ",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_tradeId",
"type": "uint256"
},
{
"name": "_value",
"type": "uint256"
}
],
"name": "setTradeEscrowedENJ",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_tradeId",
"type": "uint256"
}
],
"name": "getTradeFirstParty",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_tradeId",
"type": "uint256"
},
{
"name": "_firstParty",
"type": "address"
}
],
"name": "setTradeFirstParty",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_tradeId",
"type": "uint256"
}
],
"name": "getTradeSecondParty",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_tradeId",
"type": "uint256"
},
{
"name": "_secondParty",
"type": "address"
}
],
"name": "setTradeSecondParty",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_tradeId",
"type": "uint256"
}
],
"name": "getTradeAskingItemCount",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_tradeId",
"type": "uint256"
},
{
"name": "_n",
"type": "uint256"
}
],
"name": "getTradeAskingItem",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_tradeId",
"type": "uint256"
}
],
"name": "getTradeAskingItems",
"outputs": [
{
"name": "",
"type": "uint256[]"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_tradeId",
"type": "uint256"
},
{
"name": "_askingItems",
"type": "uint256[]"
}
],
"name": "setTradeAskingItems",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_tradeId",
"type": "uint256"
}
],
"name": "getTradeOfferingItemCount",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_tradeId",
"type": "uint256"
},
{
"name": "_n",
"type": "uint256"
}
],
"name": "getTradeOfferingItem",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_tradeId",
"type": "uint256"
}
],
"name": "getTradeOfferingItems",
"outputs": [
{
"name": "",
"type": "uint256[]"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_tradeId",
"type": "uint256"
},
{
"name": "_offeringItems",
"type": "uint256[]"
}
],
"name": "setTradeOfferingItems",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_tradeId",
"type": "uint256"
}
],
"name": "getTradeAskingValueCount",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_tradeId",
"type": "uint256"
},
{
"name": "_n",
"type": "uint256"
}
],
"name": "getTradeAskingValue",
"outputs": [
{
"name": "",
"type": "uint128"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_tradeId",
"type": "uint256"
}
],
"name": "getTradeAskingValues",
"outputs": [
{
"name": "",
"type": "uint128[]"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_tradeId",
"type": "uint256"
},
{
"name": "_askingValues",
"type": "uint128[]"
}
],
"name": "setTradeAskingValues",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_tradeId",
"type": "uint256"
}
],
"name": "getTradeOfferingValueCount",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_tradeId",
"type": "uint256"
},
{
"name": "_n",
"type": "uint256"
}
],
"name": "getTradeOfferingValue",
"outputs": [
{
"name": "",
"type": "uint128"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_tradeId",
"type": "uint256"
}
],
"name": "getTradeOfferingValues",
"outputs": [
{
"name": "",
"type": "uint128[]"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_tradeId",
"type": "uint256"
},
{
"name": "_offeringValues",
"type": "uint128[]"
}
],
"name": "setTradeOfferingValues",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_tradeId",
"type": "uint256"
}
],
"name": "getTradeState",
"outputs": [
{
"name": "",
"type": "uint8"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_tradeId",
"type": "uint256"
},
{
"name": "_state",
"type": "uint8"
}
],
"name": "setTradeState",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment