@materia-dex/materia-contracts-proxy
Version:
Proxy contract for the Materia protocol
242 lines • 4.29 kB
JSON
{
"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": {
"doubleProxy()": "4eb9b592",
"erc20Wrapper()": "1b5f58c8",
"erc20Wrappers()": "68c9ba27",
"isAuthorizedOrchestrator(address)": "88de5c36",
"isEthItem(address)": "47883c37",
"setDoubleProxy(address)": "cbd99d03",
"setERC20Wrapper(address)": "6f027d35",
"setEthItem(address)": "02a6e8d1",
"setWrapped(address,address)": "6f30048c",
"supportsInterface(bytes4)": "01ffc9a7",
"wrapper(address,uint256)": "8002a60d"
}
},
"abi": [
{
"inputs": [],
"name": "doubleProxy",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "erc20Wrapper",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "erc20Wrappers",
"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": "ethItem",
"type": "address"
}
],
"name": "isEthItem",
"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": "address",
"name": "newWrapper",
"type": "address"
}
],
"name": "setERC20Wrapper",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "ethItem",
"type": "address"
}
],
"name": "setEthItem",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "wrappedAddress",
"type": "address"
},
{
"internalType": "address",
"name": "ethItem",
"type": "address"
}
],
"name": "setWrapped",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4"
}
],
"name": "supportsInterface",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "wrappedAddress",
"type": "address"
},
{
"internalType": "uint256",
"name": "version",
"type": "uint256"
}
],
"name": "wrapper",
"outputs": [
{
"internalType": "address",
"name": "ethItem",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
}
]
}