Static Readonly abi
abi: readonly [{
inputs: readonly [];
name: "ERC1155Base__ArrayLengthMismatch";
type: "error";
}, {
inputs: readonly [];
name: "ERC1155Base__BalanceQueryZeroAddress";
type: "error";
}, {
inputs: readonly [];
name: "ERC1155Base__BurnExceedsBalance";
type: "error";
}, {
inputs: readonly [];
name: "ERC1155Base__BurnFromZeroAddress";
type: "error";
}, {
inputs: readonly [];
name: "ERC1155Base__ERC1155ReceiverNotImplemented";
type: "error";
}, {
inputs: readonly [];
name: "ERC1155Base__ERC1155ReceiverRejected";
type: "error";
}, {
inputs: readonly [];
name: "ERC1155Base__MintToZeroAddress";
type: "error";
}, {
inputs: readonly [];
name: "ERC1155Base__NotOwnerOrApproved";
type: "error";
}, {
inputs: readonly [];
name: "ERC1155Base__SelfApproval";
type: "error";
}, {
inputs: readonly [];
name: "ERC1155Base__TransferExceedsBalance";
type: "error";
}, {
inputs: readonly [];
name: "ERC1155Base__TransferToZeroAddress";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "maturity";
type: "uint256";
}];
name: "OptionPS__OptionExpired";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "maturity";
type: "uint256";
}];
name: "OptionPS__OptionMaturityNot8UTC";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "maturity";
type: "uint256";
}];
name: "OptionPS__OptionNotExpired";
type: "error";
}, {
inputs: readonly [{
internalType: "UD60x18";
name: "strike";
type: "uint256";
}, {
internalType: "UD60x18";
name: "strikeInterval";
type: "uint256";
}];
name: "OptionPS__StrikeNotMultipleOfStrikeInterval";
type: "error";
}, {
anonymous: false;
inputs: readonly [{
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: readonly [{
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: readonly [{
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: readonly [{
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: readonly [{
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: readonly [{
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: readonly [{
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: readonly [{
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: readonly [{
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: readonly [{
internalType: "uint256";
name: "id";
type: "uint256";
}];
name: "accountsByToken";
outputs: readonly [{
internalType: "address[]";
name: "";
type: "address[]";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "UD60x18";
name: "strike";
type: "uint256";
}, {
internalType: "uint64";
name: "maturity";
type: "uint64";
}, {
internalType: "UD60x18";
name: "contractSize";
type: "uint256";
}];
name: "annihilate";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "account";
type: "address";
}, {
internalType: "uint256";
name: "id";
type: "uint256";
}];
name: "balanceOf";
outputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "address[]";
name: "accounts";
type: "address[]";
}, {
internalType: "uint256[]";
name: "ids";
type: "uint256[]";
}];
name: "balanceOfBatch";
outputs: readonly [{
internalType: "uint256[]";
name: "";
type: "uint256[]";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "UD60x18";
name: "strike";
type: "uint256";
}, {
internalType: "uint64";
name: "maturity";
type: "uint64";
}, {
internalType: "UD60x18";
name: "contractSize";
type: "uint256";
}];
name: "cancelExercise";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "UD60x18";
name: "strike";
type: "uint256";
}, {
internalType: "uint64";
name: "maturity";
type: "uint64";
}, {
internalType: "UD60x18";
name: "contractSize";
type: "uint256";
}];
name: "exercise";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "UD60x18";
name: "strike";
type: "uint256";
}, {
internalType: "UD60x18";
name: "contractSize";
type: "uint256";
}];
name: "getExerciseCost";
outputs: readonly [{
internalType: "uint256";
name: "totalExerciseCost";
type: "uint256";
}, {
internalType: "uint256";
name: "fee";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "UD60x18";
name: "strike";
type: "uint256";
}, {
internalType: "UD60x18";
name: "contractSize";
type: "uint256";
}];
name: "getExerciseValue";
outputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "getSettings";
outputs: readonly [{
internalType: "address";
name: "base";
type: "address";
}, {
internalType: "address";
name: "quote";
type: "address";
}, {
internalType: "bool";
name: "isCall";
type: "bool";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "getTokenIds";
outputs: readonly [{
internalType: "uint256[]";
name: "";
type: "uint256[]";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "account";
type: "address";
}, {
internalType: "address";
name: "operator";
type: "address";
}];
name: "isApprovedForAll";
outputs: readonly [{
internalType: "bool";
name: "";
type: "bool";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "name";
outputs: readonly [{
internalType: "string";
name: "";
type: "string";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
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: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
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: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "operator";
type: "address";
}, {
internalType: "bool";
name: "status";
type: "bool";
}];
name: "setApprovalForAll";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "UD60x18";
name: "strike";
type: "uint256";
}, {
internalType: "uint64";
name: "maturity";
type: "uint64";
}, {
internalType: "UD60x18";
name: "contractSize";
type: "uint256";
}];
name: "settleLong";
outputs: readonly [{
internalType: "uint256";
name: "exerciseValue";
type: "uint256";
}];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "UD60x18";
name: "strike";
type: "uint256";
}, {
internalType: "uint64";
name: "maturity";
type: "uint64";
}, {
internalType: "UD60x18";
name: "contractSize";
type: "uint256";
}];
name: "settleShort";
outputs: readonly [{
internalType: "uint256";
name: "collateralAmount";
type: "uint256";
}, {
internalType: "uint256";
name: "exerciseTokenAmount";
type: "uint256";
}];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "bytes4";
name: "interfaceId";
type: "bytes4";
}];
name: "supportsInterface";
outputs: readonly [{
internalType: "bool";
name: "";
type: "bool";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "symbol";
outputs: readonly [{
internalType: "string";
name: "";
type: "string";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "account";
type: "address";
}];
name: "tokensByAccount";
outputs: readonly [{
internalType: "uint256[]";
name: "";
type: "uint256[]";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "uint256";
name: "id";
type: "uint256";
}];
name: "totalHolders";
outputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "uint256";
name: "id";
type: "uint256";
}];
name: "totalSupply";
outputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
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: readonly [];
stateMutability: "nonpayable";
type: "function";
}]