UNPKG

@materia-dex/materia-contracts-proxy

Version:

Proxy contract for the Materia protocol

111 lines 5.06 kB
{ "abi": [ { "inputs": [ { "internalType": "uint256", "name": "objectId", "type": "uint256" } ], "name": "decimals", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "objectId", "type": "uint256" } ], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "objectId", "type": "uint256" } ], "name": "symbol", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "objectId", "type": "uint256" } ], "name": "totalSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "objectId", "type": "uint256" } ], "name": "uri", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" } ], "evm": { "bytecode": { "object": "", "sourceMap": "" }, "deployedBytecode": { "object": "", "sourceMap": "" } }, "metadata": "{\"compiler\":{\"version\":\"0.8.0+commit.c7dfd78e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"objectId\",\"type\":\"uint256\"}],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"objectId\",\"type\":\"uint256\"}],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"objectId\",\"type\":\"uint256\"}],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"objectId\",\"type\":\"uint256\"}],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"objectId\",\"type\":\"uint256\"}],\"name\":\"uri\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"This interface introduces some additional capabilities for ERC-1155 Tokens.\",\"kind\":\"dev\",\"methods\":{\"decimals(uint256)\":{\"details\":\"Returns the decimals of the given token id\",\"params\":{\"objectId\":\"the id of the token whose decimals you want to know \"}},\"name(uint256)\":{\"details\":\"Returns the name of the given token id\",\"params\":{\"objectId\":\"the id of the token whose name you want to know \"}},\"symbol(uint256)\":{\"details\":\"Returns the symbol of the given token id\",\"params\":{\"objectId\":\"the id of the token whose symbol you want to know \"}},\"totalSupply(uint256)\":{\"details\":\"Returns the total supply of the given token id\",\"params\":{\"objectId\":\"the id of the token whose availability you want to know \"}},\"uri(uint256)\":{\"details\":\"Returns the uri of the given token id\",\"params\":{\"objectId\":\"the id of the token whose uri you want to know \"}}},\"title\":\"IERC1155Views - An optional utility interface to improve the ERC-1155 Standard.\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/interfaces/IERC1155Views.sol\":\"IERC1155Views\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":9999},\"remappings\":[]},\"sources\":{\"contracts/interfaces/IERC1155Views.sol\":{\"keccak256\":\"0x165133ed153e90263b5cff3656bce55e46aaefc682bed5a593427e9f99c01026\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8d8265b2c2503af1140b1bf5e4dd4ba36fdda7268b498288b9f9d40d156a122f\",\"dweb:/ipfs/QmNU2dX6ML4S5Kw1kemAxF6qTrcLj9btU5pGmRwAeTRZKC\"]}},\"version\":1}", "bytecode": "" }