UNPKG

@materia-dex/materia-contracts-proxy

Version:

Proxy contract for the Materia protocol

80 lines 4.17 kB
{ "abi": [ { "inputs": [], "name": "doubleProxy", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "operator", "type": "address" } ], "name": "isAuthorizedOrchestrator", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newDoubleProxy", "type": "address" } ], "name": "setDoubleProxy", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" } ], "name": "supportsInterface", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" } ], "evm": { "bytecode": { "object": "", "sourceMap": "" }, "deployedBytecode": { "object": "", "sourceMap": "" } }, "metadata": "{\"compiler\":{\"version\":\"0.8.0+commit.c7dfd78e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"doubleProxy\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isAuthorizedOrchestrator\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newDoubleProxy\",\"type\":\"address\"}],\"name\":\"setDoubleProxy\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"doubleProxy()\":{\"details\":\"GET - The DoubleProxy of the DFO linked to this Contract\"},\"setDoubleProxy(address)\":{\"details\":\"SET - The DoubleProxy of the DFO linked to this Contract It can be done only by the Factory controller\",\"params\":{\"newDoubleProxy\":\"the new DoubleProxy address\"}},\"supportsInterface(bytes4)\":{\"details\":\"Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/interfaces/IEthItemOrchestratorDependantElement.sol\":\"IEthItemOrchestratorDependantElement\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":9999},\"remappings\":[]},\"sources\":{\"contracts/interfaces/IERC165.sol\":{\"keccak256\":\"0x1e37c0672c8b126c1962605427b70bdb93e6deb37bb086bfa91355072449f810\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://de7b376c2da4c1ad9fe9e37c31871228778e27a43d7bf9de4a8d8a9a9712f46a\",\"dweb:/ipfs/QmPd41MzMckfbxvf2g9W1GPLzFeZt39LCmS4GXGD7AEUbr\"]},\"contracts/interfaces/IEthItemOrchestratorDependantElement.sol\":{\"keccak256\":\"0x87d71a0eaa12d94a86f58873f0056c34cfca791de4526cffa914b91b853a89d5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b9b0e575d297e39bb37d542c06c6bc29c480f3f36a7bf5738f26a2dd206573a1\",\"dweb:/ipfs/QmU9Y6uMvx2KAgoFPqVhSxemnqVmh3yeTJQ7E6xW6Az96o\"]}},\"version\":1}", "bytecode": "" }