@muffinfi/muffin-contracts
Version:
Smart contracts of Muffin Protocol
84 lines (83 loc) • 1.98 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "Pools",
"sourceName": "contracts/libraries/Pools.sol",
"abi": [
{
"inputs": [],
"name": "InvalidAmount",
"type": "error"
},
{
"inputs": [],
"name": "InvalidTick",
"type": "error"
},
{
"inputs": [],
"name": "InvalidTickRangeForLimitOrder",
"type": "error"
},
{
"inputs": [],
"name": "InvalidTierChoices",
"type": "error"
},
{
"inputs": [],
"name": "NoLiquidityForLimitOrder",
"type": "error"
},
{
"inputs": [],
"name": "PositionAlreadySettled",
"type": "error"
},
{
"inputs": [],
"name": "PositionNotSettled",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "poolId",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "uint8",
"name": "tierId",
"type": "uint8"
},
{
"indexed": true,
"internalType": "int24",
"name": "tickEnd",
"type": "int24"
},
{
"indexed": false,
"internalType": "int24",
"name": "tickStart",
"type": "int24"
},
{
"indexed": false,
"internalType": "uint96",
"name": "liquidityD8",
"type": "uint96"
}
],
"name": "Settle",
"type": "event"
}
],
"bytecode": "0x602d6037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c634300080a000a",
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c634300080a000a",
"linkReferences": {},
"deployedLinkReferences": {}
}