predikt/oracle/web/lib/onchain/abi/CTFExchange.json
caelum0x 2b68bde5d5 Predikt: full Polymarket-style prediction market — web + mobile + on-chain + bots
Working tree is now the canonical repo. Off-chain play-money + trustless on-chain
(FPMM AMM + CLOB via UMA settlement), AI market factory, creator/social/distribution,
mobile shell + push, one-command demo + deploy-kit. Secrets excluded (see ENV-AND-KEYS.md).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-06 23:29:50 +03:00

1853 lines
33 KiB
JSON

{
"abi": [
{
"type": "constructor",
"inputs": [
{
"name": "_collateral",
"type": "address",
"internalType": "address"
},
{
"name": "_ctf",
"type": "address",
"internalType": "address"
},
{
"name": "_proxyFactory",
"type": "address",
"internalType": "address"
},
{
"name": "_safeFactory",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "addAdmin",
"inputs": [
{
"name": "admin_",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "addOperator",
"inputs": [
{
"name": "operator_",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "admins",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "cancelOrder",
"inputs": [
{
"name": "order",
"type": "tuple",
"internalType": "struct Order",
"components": [
{
"name": "salt",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "maker",
"type": "address",
"internalType": "address"
},
{
"name": "signer",
"type": "address",
"internalType": "address"
},
{
"name": "taker",
"type": "address",
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "makerAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "takerAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "expiration",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "nonce",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "feeRateBps",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "side",
"type": "uint8",
"internalType": "enum Side"
},
{
"name": "signatureType",
"type": "uint8",
"internalType": "enum SignatureType"
},
{
"name": "signature",
"type": "bytes",
"internalType": "bytes"
}
]
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "cancelOrders",
"inputs": [
{
"name": "orders",
"type": "tuple[]",
"internalType": "struct Order[]",
"components": [
{
"name": "salt",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "maker",
"type": "address",
"internalType": "address"
},
{
"name": "signer",
"type": "address",
"internalType": "address"
},
{
"name": "taker",
"type": "address",
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "makerAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "takerAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "expiration",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "nonce",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "feeRateBps",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "side",
"type": "uint8",
"internalType": "enum Side"
},
{
"name": "signatureType",
"type": "uint8",
"internalType": "enum SignatureType"
},
{
"name": "signature",
"type": "bytes",
"internalType": "bytes"
}
]
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "domainSeparator",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "fillOrder",
"inputs": [
{
"name": "order",
"type": "tuple",
"internalType": "struct Order",
"components": [
{
"name": "salt",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "maker",
"type": "address",
"internalType": "address"
},
{
"name": "signer",
"type": "address",
"internalType": "address"
},
{
"name": "taker",
"type": "address",
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "makerAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "takerAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "expiration",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "nonce",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "feeRateBps",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "side",
"type": "uint8",
"internalType": "enum Side"
},
{
"name": "signatureType",
"type": "uint8",
"internalType": "enum SignatureType"
},
{
"name": "signature",
"type": "bytes",
"internalType": "bytes"
}
]
},
{
"name": "fillAmount",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "fillOrders",
"inputs": [
{
"name": "orders",
"type": "tuple[]",
"internalType": "struct Order[]",
"components": [
{
"name": "salt",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "maker",
"type": "address",
"internalType": "address"
},
{
"name": "signer",
"type": "address",
"internalType": "address"
},
{
"name": "taker",
"type": "address",
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "makerAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "takerAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "expiration",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "nonce",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "feeRateBps",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "side",
"type": "uint8",
"internalType": "enum Side"
},
{
"name": "signatureType",
"type": "uint8",
"internalType": "enum SignatureType"
},
{
"name": "signature",
"type": "bytes",
"internalType": "bytes"
}
]
},
{
"name": "fillAmounts",
"type": "uint256[]",
"internalType": "uint256[]"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "getCollateral",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getComplement",
"inputs": [
{
"name": "token",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getConditionId",
"inputs": [
{
"name": "token",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getCtf",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getMaxFeeRate",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "pure"
},
{
"type": "function",
"name": "getOrderStatus",
"inputs": [
{
"name": "orderHash",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [
{
"name": "",
"type": "tuple",
"internalType": "struct OrderStatus",
"components": [
{
"name": "isFilledOrCancelled",
"type": "bool",
"internalType": "bool"
},
{
"name": "remaining",
"type": "uint256",
"internalType": "uint256"
}
]
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getPolyProxyFactoryImplementation",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getPolyProxyWalletAddress",
"inputs": [
{
"name": "_addr",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getProxyFactory",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getSafeAddress",
"inputs": [
{
"name": "_addr",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getSafeFactory",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getSafeFactoryImplementation",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "hashOrder",
"inputs": [
{
"name": "order",
"type": "tuple",
"internalType": "struct Order",
"components": [
{
"name": "salt",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "maker",
"type": "address",
"internalType": "address"
},
{
"name": "signer",
"type": "address",
"internalType": "address"
},
{
"name": "taker",
"type": "address",
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "makerAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "takerAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "expiration",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "nonce",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "feeRateBps",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "side",
"type": "uint8",
"internalType": "enum Side"
},
{
"name": "signatureType",
"type": "uint8",
"internalType": "enum SignatureType"
},
{
"name": "signature",
"type": "bytes",
"internalType": "bytes"
}
]
}
],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "incrementNonce",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "isAdmin",
"inputs": [
{
"name": "usr",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "isOperator",
"inputs": [
{
"name": "usr",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "isValidNonce",
"inputs": [
{
"name": "usr",
"type": "address",
"internalType": "address"
},
{
"name": "nonce",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "matchOrders",
"inputs": [
{
"name": "takerOrder",
"type": "tuple",
"internalType": "struct Order",
"components": [
{
"name": "salt",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "maker",
"type": "address",
"internalType": "address"
},
{
"name": "signer",
"type": "address",
"internalType": "address"
},
{
"name": "taker",
"type": "address",
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "makerAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "takerAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "expiration",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "nonce",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "feeRateBps",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "side",
"type": "uint8",
"internalType": "enum Side"
},
{
"name": "signatureType",
"type": "uint8",
"internalType": "enum SignatureType"
},
{
"name": "signature",
"type": "bytes",
"internalType": "bytes"
}
]
},
{
"name": "makerOrders",
"type": "tuple[]",
"internalType": "struct Order[]",
"components": [
{
"name": "salt",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "maker",
"type": "address",
"internalType": "address"
},
{
"name": "signer",
"type": "address",
"internalType": "address"
},
{
"name": "taker",
"type": "address",
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "makerAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "takerAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "expiration",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "nonce",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "feeRateBps",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "side",
"type": "uint8",
"internalType": "enum Side"
},
{
"name": "signatureType",
"type": "uint8",
"internalType": "enum SignatureType"
},
{
"name": "signature",
"type": "bytes",
"internalType": "bytes"
}
]
},
{
"name": "takerFillAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "makerFillAmounts",
"type": "uint256[]",
"internalType": "uint256[]"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "nonces",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "onERC1155BatchReceived",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
},
{
"name": "",
"type": "address",
"internalType": "address"
},
{
"name": "",
"type": "uint256[]",
"internalType": "uint256[]"
},
{
"name": "",
"type": "uint256[]",
"internalType": "uint256[]"
},
{
"name": "",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [
{
"name": "",
"type": "bytes4",
"internalType": "bytes4"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "onERC1155Received",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
},
{
"name": "",
"type": "address",
"internalType": "address"
},
{
"name": "",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [
{
"name": "",
"type": "bytes4",
"internalType": "bytes4"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "operators",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "orderStatus",
"inputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [
{
"name": "isFilledOrCancelled",
"type": "bool",
"internalType": "bool"
},
{
"name": "remaining",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "parentCollectionId",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "pauseTrading",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "paused",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "proxyFactory",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "registerToken",
"inputs": [
{
"name": "token",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "complement",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "conditionId",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "registry",
"inputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "complement",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "conditionId",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "removeAdmin",
"inputs": [
{
"name": "admin",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "removeOperator",
"inputs": [
{
"name": "operator",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "renounceAdminRole",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "renounceOperatorRole",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "safeFactory",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "setProxyFactory",
"inputs": [
{
"name": "_newProxyFactory",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "setSafeFactory",
"inputs": [
{
"name": "_newSafeFactory",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "supportsInterface",
"inputs": [
{
"name": "interfaceId",
"type": "bytes4",
"internalType": "bytes4"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "unpauseTrading",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "validateComplement",
"inputs": [
{
"name": "token",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "complement",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "view"
},
{
"type": "function",
"name": "validateOrder",
"inputs": [
{
"name": "order",
"type": "tuple",
"internalType": "struct Order",
"components": [
{
"name": "salt",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "maker",
"type": "address",
"internalType": "address"
},
{
"name": "signer",
"type": "address",
"internalType": "address"
},
{
"name": "taker",
"type": "address",
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "makerAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "takerAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "expiration",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "nonce",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "feeRateBps",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "side",
"type": "uint8",
"internalType": "enum Side"
},
{
"name": "signatureType",
"type": "uint8",
"internalType": "enum SignatureType"
},
{
"name": "signature",
"type": "bytes",
"internalType": "bytes"
}
]
}
],
"outputs": [],
"stateMutability": "view"
},
{
"type": "function",
"name": "validateOrderSignature",
"inputs": [
{
"name": "orderHash",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "order",
"type": "tuple",
"internalType": "struct Order",
"components": [
{
"name": "salt",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "maker",
"type": "address",
"internalType": "address"
},
{
"name": "signer",
"type": "address",
"internalType": "address"
},
{
"name": "taker",
"type": "address",
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "makerAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "takerAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "expiration",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "nonce",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "feeRateBps",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "side",
"type": "uint8",
"internalType": "enum Side"
},
{
"name": "signatureType",
"type": "uint8",
"internalType": "enum SignatureType"
},
{
"name": "signature",
"type": "bytes",
"internalType": "bytes"
}
]
}
],
"outputs": [],
"stateMutability": "view"
},
{
"type": "function",
"name": "validateTokenId",
"inputs": [
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "view"
},
{
"type": "event",
"name": "FeeCharged",
"inputs": [
{
"name": "receiver",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "amount",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"type": "event",
"name": "NewAdmin",
"inputs": [
{
"name": "newAdminAddress",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "admin",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"type": "event",
"name": "NewOperator",
"inputs": [
{
"name": "newOperatorAddress",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "admin",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"type": "event",
"name": "OrderCancelled",
"inputs": [
{
"name": "orderHash",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
}
],
"anonymous": false
},
{
"type": "event",
"name": "OrderFilled",
"inputs": [
{
"name": "orderHash",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
},
{
"name": "maker",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "taker",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "makerAssetId",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "takerAssetId",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "makerAmountFilled",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "takerAmountFilled",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "fee",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"type": "event",
"name": "OrdersMatched",
"inputs": [
{
"name": "takerOrderHash",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
},
{
"name": "takerOrderMaker",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "makerAssetId",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "takerAssetId",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "makerAmountFilled",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "takerAmountFilled",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"type": "event",
"name": "ProxyFactoryUpdated",
"inputs": [
{
"name": "oldProxyFactory",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "newProxyFactory",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"type": "event",
"name": "RemovedAdmin",
"inputs": [
{
"name": "removedAdmin",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "admin",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"type": "event",
"name": "RemovedOperator",
"inputs": [
{
"name": "removedOperator",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "admin",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"type": "event",
"name": "SafeFactoryUpdated",
"inputs": [
{
"name": "oldSafeFactory",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "newSafeFactory",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"type": "event",
"name": "TokenRegistered",
"inputs": [
{
"name": "token0",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
},
{
"name": "token1",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
},
{
"name": "conditionId",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
}
],
"anonymous": false
},
{
"type": "event",
"name": "TradingPaused",
"inputs": [
{
"name": "pauser",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"type": "event",
"name": "TradingUnpaused",
"inputs": [
{
"name": "pauser",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"type": "error",
"name": "AlreadyRegistered",
"inputs": []
},
{
"type": "error",
"name": "FeeTooHigh",
"inputs": []
},
{
"type": "error",
"name": "InvalidComplement",
"inputs": []
},
{
"type": "error",
"name": "InvalidNonce",
"inputs": []
},
{
"type": "error",
"name": "InvalidSignature",
"inputs": []
},
{
"type": "error",
"name": "InvalidTokenId",
"inputs": []
},
{
"type": "error",
"name": "MakingGtRemaining",
"inputs": []
},
{
"type": "error",
"name": "MismatchedTokenIds",
"inputs": []
},
{
"type": "error",
"name": "NotAdmin",
"inputs": []
},
{
"type": "error",
"name": "NotCrossing",
"inputs": []
},
{
"type": "error",
"name": "NotOperator",
"inputs": []
},
{
"type": "error",
"name": "NotOwner",
"inputs": []
},
{
"type": "error",
"name": "NotTaker",
"inputs": []
},
{
"type": "error",
"name": "OrderExpired",
"inputs": []
},
{
"type": "error",
"name": "OrderFilledOrCancelled",
"inputs": []
},
{
"type": "error",
"name": "Paused",
"inputs": []
},
{
"type": "error",
"name": "TooLittleTokensReceived",
"inputs": []
}
]
}