CTFExchange
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
10
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 47 additional slots
Balances ($0.00)
No balances found for "CTFExchange"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "CTFExchange"
ABI
ABI objects
Getter at block 22734237
DOMAIN_SEPARATOR() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
PARENT_COLLECTION_ID() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
auth() view returns (address)
0x0000000000000000000000000000000000000000
eip712Domain() view returns (bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] 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(address) view returns (uint256)
orderStatus(bytes32) view returns (bool isFilledOrCancelled, uint256 remaining)
registry(uint256) view returns (uint256 complement, bytes32 conditionId)
supportsInterface(bytes4 interfaceId) view 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
Events __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(address, address, uint256[], uint256[], bytes) returns (bytes4)
onERC1155Received(address, address, uint256, uint256, bytes) returns (bytes4)
pauseTrading()
registerToken(uint256 token, uint256 complement, bytes32 conditionId)
unpauseTrading()
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
EIP712DomainChanged()
FeeCharged(address indexed receiver, uint256 tokenId, uint256 amount)
Initialized(uint8 version)
NonceUpdated(address indexed user, uint256 nonce)
OrderCancelled(bytes32 indexed orderHash)
OrderFilled(bytes32 indexed orderHash, address indexed maker, address indexed taker, uint256 makerAssetId, uint256 takerAssetId, uint256 makerAmountFilled, uint256 takerAmountFilled, uint256 fee)
OrdersMatched(bytes32 indexed takerOrderHash, address indexed takerOrderMaker, uint256 makerAssetId, uint256 takerAssetId, uint256 makerAmountFilled, uint256 takerAmountFilled)
Paused(address account)
TokenRegistered(uint256 indexed token0, uint256 indexed token1, bytes32 indexed conditionId)
Unpaused(address account)
Upgraded(address indexed implementation)
constructor()
This contract contains no fallback and receive objects.
AlreadyRegistered()
FeeTooHigh()
InvalidAccount(address account)
InvalidAdapter()
InvalidComplement()
InvalidNonce()
InvalidSignature()
InvalidTokenId()
MakingGtRemaining()
MismatchedTokenIds(uint256 takerAssetId, uint256 makerAssetId)
NotCrossing()
NotOwner()
NotTaker()
OrderExpired()
OrderFilledOrCancelled()
TooLittleTokensReceived()
Unauthorized(address caller, bytes32 role)