CTFExchange

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0xf37057d9 at 22050255
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 47 additional slots

No balances found for "CTFExchange"

No transactions found for "CTFExchange"


Functions
Getter at block 22754698
DOMAIN_SEPARATOR(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
PARENT_COLLECTION_ID(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
auth(view returns (address)
0x0000000000000000000000000000000000000000
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=, chainId=8453, verifyingContract=0x9c185edc5155a5bf6b4910ac8127a914ef89dd2a, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
getAdapter(view returns (address)
0x0000000000000000000000000000000000000000
getAuth(view returns (address)
0x0000000000000000000000000000000000000000
getCollateral(view returns (address)
0x0000000000000000000000000000000000000000
getMaxFeeRate(pure returns (uint256)
1000
implementation(view returns (address)
0x0000000000000000000000000000000000000000
paused(view returns (bool)
false
proxiableUUID(view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
Read-only
getComplement(uint256 token_view returns (uint256)
getConditionId(uint256 token_view returns (bytes32)
getOrderStatus(bytes32 orderHash_view returns (struct OrderStatus)
hashOrder(struct Order order_view returns (bytes32)
isValidNonce(address user_uint256 nonce_view returns (bool)
nonces(addressview returns (uint256)
orderStatus(bytes32view returns (bool isFilledOrCancelleduint256 remaining)
registry(uint256view returns (uint256 complementbytes32 conditionId)
supportsInterface(bytes4 interfaceIdview returns (bool)
validateComplement(uint256 token_uint256 complement_view 
validateOrder(struct Order order_view 
validateOrderSignature(bytes32 orderHash_struct Order order_view 
validateTokenId(uint256 tokenId_view 
State-modifying
__CTFExchange_init(address authModule_address collateral_address adapter_address conditionalTokens_
cancelOrder(struct Order order_
cancelOrders(struct Order[] orders_
fillOrder(struct Order order_uint256 fillAmount_
fillOrders(struct Order[] orders_uint256[] fillAmounts_
incrementNonce(
matchOrders(struct Order takerOrder_struct Order[] makerOrders_uint256 takerFillAmount_uint256[] makerFillAmounts_
onERC1155BatchReceived(addressaddressuint256[]uint256[]bytesreturns (bytes4)
onERC1155Received(addressaddressuint256uint256bytesreturns (bytes4)
pauseTrading(
registerToken(uint256 tokenuint256 complementbytes32 conditionId
unpauseTrading(
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
EIP712DomainChanged(
FeeCharged(address indexed receiveruint256 tokenIduint256 amount
Initialized(uint8 version
NonceUpdated(address indexed useruint256 nonce
OrderCancelled(bytes32 indexed orderHash
OrderFilled(bytes32 indexed orderHashaddress indexed makeraddress indexed takeruint256 makerAssetIduint256 takerAssetIduint256 makerAmountFilleduint256 takerAmountFilleduint256 fee
OrdersMatched(bytes32 indexed takerOrderHashaddress indexed takerOrderMakeruint256 makerAssetIduint256 takerAssetIduint256 makerAmountFilleduint256 takerAmountFilled
Paused(address account
TokenRegistered(uint256 indexed token0uint256 indexed token1bytes32 indexed conditionId
Unpaused(address account
Upgraded(address indexed implementation
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AlreadyRegistered(
FeeTooHigh(
InvalidAccount(address account
InvalidAdapter(
InvalidComplement(
InvalidNonce(
InvalidSignature(
InvalidTokenId(
MakingGtRemaining(
MismatchedTokenIds(uint256 takerAssetIduint256 makerAssetId
NotCrossing(
NotOwner(
NotTaker(
OrderExpired(
OrderFilledOrCancelled(
TooLittleTokensReceived(
Unauthorized(address callerbytes32 role