@muffinfi/muffin-contracts
Version:
Smart contracts of Muffin Protocol
120 lines (119 loc) • 2.38 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "MuffinHubBase",
"sourceName": "contracts/MuffinHubBase.sol",
"abi": [
{
"inputs": [],
"name": "FailedBalanceOf",
"type": "error"
},
{
"inputs": [],
"name": "NotEnoughTokenInput",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"name": "accounts",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "governance",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "maxNumOfTiers",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "tokens",
"outputs": [
{
"internalType": "uint8",
"name": "locked",
"type": "uint8"
},
{
"internalType": "uint248",
"name": "protocolFeeAmt",
"type": "uint248"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"name": "underlyings",
"outputs": [
{
"internalType": "address",
"name": "token0",
"type": "address"
},
{
"internalType": "address",
"name": "token1",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
}
],
"bytecode": "0x",
"deployedBytecode": "0x",
"linkReferences": {},
"deployedLinkReferences": {}
}