[
    {
        "inputs": [],
        "name": "ERC1155Base__ArrayLengthMismatch",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "ERC1155Base__BalanceQueryZeroAddress",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "ERC1155Base__BurnExceedsBalance",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "ERC1155Base__BurnFromZeroAddress",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "ERC1155Base__ERC1155ReceiverNotImplemented",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "ERC1155Base__ERC1155ReceiverRejected",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "ERC1155Base__MintToZeroAddress",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "ERC1155Base__NotOwnerOrApproved",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "ERC1155Base__SelfApproval",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "ERC1155Base__TransferExceedsBalance",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "ERC1155Base__TransferToZeroAddress",
        "type": "error"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "maturity",
                "type": "uint256"
            }
        ],
        "name": "OptionPS__OptionExpired",
        "type": "error"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "maturity",
                "type": "uint256"
            }
        ],
        "name": "OptionPS__OptionMaturityNot8UTC",
        "type": "error"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "maturity",
                "type": "uint256"
            }
        ],
        "name": "OptionPS__OptionNotExpired",
        "type": "error"
    },
    {
        "inputs": [
            {
                "internalType": "UD60x18",
                "name": "strike",
                "type": "uint256"
            },
            {
                "internalType": "UD60x18",
                "name": "strikeInterval",
                "type": "uint256"
            }
        ],
        "name": "OptionPS__StrikeNotMultipleOfStrikeInterval",
        "type": "error"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "address",
                "name": "annihilator",
                "type": "address"
            },
            {
                "indexed": false,
                "internalType": "UD60x18",
                "name": "strike",
                "type": "uint256"
            },
            {
                "indexed": false,
                "internalType": "uint256",
                "name": "maturity",
                "type": "uint256"
            },
            {
                "indexed": false,
                "internalType": "UD60x18",
                "name": "contractSize",
                "type": "uint256"
            }
        ],
        "name": "Annihilate",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "address",
                "name": "account",
                "type": "address"
            },
            {
                "indexed": true,
                "internalType": "address",
                "name": "operator",
                "type": "address"
            },
            {
                "indexed": false,
                "internalType": "bool",
                "name": "approved",
                "type": "bool"
            }
        ],
        "name": "ApprovalForAll",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "address",
                "name": "user",
                "type": "address"
            },
            {
                "indexed": false,
                "internalType": "UD60x18",
                "name": "strike",
                "type": "uint256"
            },
            {
                "indexed": false,
                "internalType": "uint256",
                "name": "maturity",
                "type": "uint256"
            },
            {
                "indexed": false,
                "internalType": "UD60x18",
                "name": "contractSize",
                "type": "uint256"
            },
            {
                "indexed": false,
                "internalType": "UD60x18",
                "name": "exerciseCostRefunded",
                "type": "uint256"
            }
        ],
        "name": "CancelExercise",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "address",
                "name": "user",
                "type": "address"
            },
            {
                "indexed": false,
                "internalType": "UD60x18",
                "name": "strike",
                "type": "uint256"
            },
            {
                "indexed": false,
                "internalType": "uint256",
                "name": "maturity",
                "type": "uint256"
            },
            {
                "indexed": false,
                "internalType": "UD60x18",
                "name": "contractSize",
                "type": "uint256"
            },
            {
                "indexed": false,
                "internalType": "UD60x18",
                "name": "exerciseCost",
                "type": "uint256"
            },
            {
                "indexed": false,
                "internalType": "UD60x18",
                "name": "fee",
                "type": "uint256"
            }
        ],
        "name": "Exercise",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "address",
                "name": "user",
                "type": "address"
            },
            {
                "indexed": false,
                "internalType": "UD60x18",
                "name": "strike",
                "type": "uint256"
            },
            {
                "indexed": false,
                "internalType": "uint256",
                "name": "maturity",
                "type": "uint256"
            },
            {
                "indexed": false,
                "internalType": "UD60x18",
                "name": "contractSize",
                "type": "uint256"
            },
            {
                "indexed": false,
                "internalType": "UD60x18",
                "name": "exerciseValue",
                "type": "uint256"
            }
        ],
        "name": "SettleLong",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "address",
                "name": "user",
                "type": "address"
            },
            {
                "indexed": false,
                "internalType": "UD60x18",
                "name": "strike",
                "type": "uint256"
            },
            {
                "indexed": false,
                "internalType": "uint256",
                "name": "maturity",
                "type": "uint256"
            },
            {
                "indexed": false,
                "internalType": "UD60x18",
                "name": "contractSize",
                "type": "uint256"
            },
            {
                "indexed": false,
                "internalType": "UD60x18",
                "name": "collateralAmount",
                "type": "uint256"
            },
            {
                "indexed": false,
                "internalType": "UD60x18",
                "name": "exerciseTokenAmount",
                "type": "uint256"
            }
        ],
        "name": "SettleShort",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "address",
                "name": "operator",
                "type": "address"
            },
            {
                "indexed": true,
                "internalType": "address",
                "name": "from",
                "type": "address"
            },
            {
                "indexed": true,
                "internalType": "address",
                "name": "to",
                "type": "address"
            },
            {
                "indexed": false,
                "internalType": "uint256[]",
                "name": "ids",
                "type": "uint256[]"
            },
            {
                "indexed": false,
                "internalType": "uint256[]",
                "name": "values",
                "type": "uint256[]"
            }
        ],
        "name": "TransferBatch",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "address",
                "name": "operator",
                "type": "address"
            },
            {
                "indexed": true,
                "internalType": "address",
                "name": "from",
                "type": "address"
            },
            {
                "indexed": true,
                "internalType": "address",
                "name": "to",
                "type": "address"
            },
            {
                "indexed": false,
                "internalType": "uint256",
                "name": "id",
                "type": "uint256"
            },
            {
                "indexed": false,
                "internalType": "uint256",
                "name": "value",
                "type": "uint256"
            }
        ],
        "name": "TransferSingle",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "address",
                "name": "underwriter",
                "type": "address"
            },
            {
                "indexed": true,
                "internalType": "address",
                "name": "longReceiver",
                "type": "address"
            },
            {
                "indexed": false,
                "internalType": "UD60x18",
                "name": "strike",
                "type": "uint256"
            },
            {
                "indexed": false,
                "internalType": "uint256",
                "name": "maturity",
                "type": "uint256"
            },
            {
                "indexed": false,
                "internalType": "UD60x18",
                "name": "contractSize",
                "type": "uint256"
            }
        ],
        "name": "Underwrite",
        "type": "event"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "id",
                "type": "uint256"
            }
        ],
        "name": "accountsByToken",
        "outputs": [
            {
                "internalType": "address[]",
                "name": "",
                "type": "address[]"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "UD60x18",
                "name": "strike",
                "type": "uint256"
            },
            {
                "internalType": "uint64",
                "name": "maturity",
                "type": "uint64"
            },
            {
                "internalType": "UD60x18",
                "name": "contractSize",
                "type": "uint256"
            }
        ],
        "name": "annihilate",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "account",
                "type": "address"
            },
            {
                "internalType": "uint256",
                "name": "id",
                "type": "uint256"
            }
        ],
        "name": "balanceOf",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address[]",
                "name": "accounts",
                "type": "address[]"
            },
            {
                "internalType": "uint256[]",
                "name": "ids",
                "type": "uint256[]"
            }
        ],
        "name": "balanceOfBatch",
        "outputs": [
            {
                "internalType": "uint256[]",
                "name": "",
                "type": "uint256[]"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "UD60x18",
                "name": "strike",
                "type": "uint256"
            },
            {
                "internalType": "uint64",
                "name": "maturity",
                "type": "uint64"
            },
            {
                "internalType": "UD60x18",
                "name": "contractSize",
                "type": "uint256"
            }
        ],
        "name": "cancelExercise",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "UD60x18",
                "name": "strike",
                "type": "uint256"
            },
            {
                "internalType": "uint64",
                "name": "maturity",
                "type": "uint64"
            },
            {
                "internalType": "UD60x18",
                "name": "contractSize",
                "type": "uint256"
            }
        ],
        "name": "exercise",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "UD60x18",
                "name": "strike",
                "type": "uint256"
            },
            {
                "internalType": "UD60x18",
                "name": "contractSize",
                "type": "uint256"
            }
        ],
        "name": "getExerciseCost",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "totalExerciseCost",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "fee",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "UD60x18",
                "name": "strike",
                "type": "uint256"
            },
            {
                "internalType": "UD60x18",
                "name": "contractSize",
                "type": "uint256"
            }
        ],
        "name": "getExerciseValue",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "getSettings",
        "outputs": [
            {
                "internalType": "address",
                "name": "base",
                "type": "address"
            },
            {
                "internalType": "address",
                "name": "quote",
                "type": "address"
            },
            {
                "internalType": "bool",
                "name": "isCall",
                "type": "bool"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "getTokenIds",
        "outputs": [
            {
                "internalType": "uint256[]",
                "name": "",
                "type": "uint256[]"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "account",
                "type": "address"
            },
            {
                "internalType": "address",
                "name": "operator",
                "type": "address"
            }
        ],
        "name": "isApprovedForAll",
        "outputs": [
            {
                "internalType": "bool",
                "name": "",
                "type": "bool"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "from",
                "type": "address"
            },
            {
                "internalType": "address",
                "name": "to",
                "type": "address"
            },
            {
                "internalType": "uint256[]",
                "name": "ids",
                "type": "uint256[]"
            },
            {
                "internalType": "uint256[]",
                "name": "amounts",
                "type": "uint256[]"
            },
            {
                "internalType": "bytes",
                "name": "data",
                "type": "bytes"
            }
        ],
        "name": "safeBatchTransferFrom",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "from",
                "type": "address"
            },
            {
                "internalType": "address",
                "name": "to",
                "type": "address"
            },
            {
                "internalType": "uint256",
                "name": "id",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "amount",
                "type": "uint256"
            },
            {
                "internalType": "bytes",
                "name": "data",
                "type": "bytes"
            }
        ],
        "name": "safeTransferFrom",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "operator",
                "type": "address"
            },
            {
                "internalType": "bool",
                "name": "status",
                "type": "bool"
            }
        ],
        "name": "setApprovalForAll",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "UD60x18",
                "name": "strike",
                "type": "uint256"
            },
            {
                "internalType": "uint64",
                "name": "maturity",
                "type": "uint64"
            },
            {
                "internalType": "UD60x18",
                "name": "contractSize",
                "type": "uint256"
            }
        ],
        "name": "settleLong",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "exerciseValue",
                "type": "uint256"
            }
        ],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "UD60x18",
                "name": "strike",
                "type": "uint256"
            },
            {
                "internalType": "uint64",
                "name": "maturity",
                "type": "uint64"
            },
            {
                "internalType": "UD60x18",
                "name": "contractSize",
                "type": "uint256"
            }
        ],
        "name": "settleShort",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "collateralAmount",
                "type": "uint256"
            },
            {
                "internalType": "uint256",
                "name": "exerciseTokenAmount",
                "type": "uint256"
            }
        ],
        "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": "account",
                "type": "address"
            }
        ],
        "name": "tokensByAccount",
        "outputs": [
            {
                "internalType": "uint256[]",
                "name": "",
                "type": "uint256[]"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "id",
                "type": "uint256"
            }
        ],
        "name": "totalHolders",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "uint256",
                "name": "id",
                "type": "uint256"
            }
        ],
        "name": "totalSupply",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "UD60x18",
                "name": "strike",
                "type": "uint256"
            },
            {
                "internalType": "uint64",
                "name": "maturity",
                "type": "uint64"
            },
            {
                "internalType": "address",
                "name": "longReceiver",
                "type": "address"
            },
            {
                "internalType": "UD60x18",
                "name": "contractSize",
                "type": "uint256"
            }
        ],
        "name": "underwrite",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    }
]
