UNPKG

@materia-dex/materia-contracts-proxy

Version:

Proxy contract for the Materia protocol

427 lines 7.25 kB
{ "deploy": { "VM:-": { "linkReferences": {}, "autoDeployLib": true }, "main:1": { "linkReferences": {}, "autoDeployLib": true }, "ropsten:3": { "linkReferences": {}, "autoDeployLib": true }, "rinkeby:4": { "linkReferences": {}, "autoDeployLib": true }, "kovan:42": { "linkReferences": {}, "autoDeployLib": true }, "görli:5": { "linkReferences": {}, "autoDeployLib": true }, "Custom": { "linkReferences": {}, "autoDeployLib": true } }, "data": { "bytecode": { "generatedSources": [], "linkReferences": {}, "object": "", "opcodes": "", "sourceMap": "" }, "deployedBytecode": { "generatedSources": [], "immutableReferences": {}, "linkReferences": {}, "object": "", "opcodes": "", "sourceMap": "" }, "gasEstimates": null, "methodIdentifiers": { "clear(string)": "16cf503e", "exists(string)": "261a323e", "getAddress(string)": "bf40fac1", "getBool(string)": "9535ce12", "getBytes(string)": "d8de899d", "getDataType(string)": "eaaf7a94", "getProxy()": "933a9ce8", "getStateSize()": "b5b8df05", "getString(string)": "9c981fcb", "getUint256(string)": "0bb687e3", "init()": "e1c7392a", "setAddress(string,address)": "9b2ea4bd", "setBool(string,bool)": "b8b2bdad", "setBytes(string,bytes)": "68d8641a", "setProxy()": "3914a04f", "setString(string,string)": "6e1a1336", "setUint256(string,uint256)": "825de8af", "toJSON()": "16375cb3", "toJSON(uint256,uint256)": "0e1211ea" } }, "abi": [ { "inputs": [ { "internalType": "string", "name": "varName", "type": "string" } ], "name": "clear", "outputs": [ { "internalType": "string", "name": "oldDataType", "type": "string" }, { "internalType": "bytes", "name": "oldVal", "type": "bytes" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "varName", "type": "string" } ], "name": "exists", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "varName", "type": "string" } ], "name": "getAddress", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "varName", "type": "string" } ], "name": "getBool", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "varName", "type": "string" } ], "name": "getBytes", "outputs": [ { "internalType": "bytes", "name": "", "type": "bytes" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "varName", "type": "string" } ], "name": "getDataType", "outputs": [ { "internalType": "string", "name": "dataType", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getProxy", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getStateSize", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "varName", "type": "string" } ], "name": "getString", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "varName", "type": "string" } ], "name": "getUint256", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "init", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "varName", "type": "string" }, { "internalType": "address", "name": "val", "type": "address" } ], "name": "setAddress", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "varName", "type": "string" }, { "internalType": "bool", "name": "val", "type": "bool" } ], "name": "setBool", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "varName", "type": "string" }, { "internalType": "bytes", "name": "val", "type": "bytes" } ], "name": "setBytes", "outputs": [ { "internalType": "bytes", "name": "", "type": "bytes" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "setProxy", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "varName", "type": "string" }, { "internalType": "string", "name": "val", "type": "string" } ], "name": "setString", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "varName", "type": "string" }, { "internalType": "uint256", "name": "val", "type": "uint256" } ], "name": "setUint256", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "start", "type": "uint256" }, { "internalType": "uint256", "name": "l", "type": "uint256" } ], "name": "toJSON", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "toJSON", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" } ] }