PreMarket
Verified contract
Implementation
Active on
Base with 0 txns
Inferred storage
Map
Table
Raw
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "PreMarket"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "PreMarket"
ABI
ABI objects
Getter at block 22918756
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
OPERATOR_ROLE() view returns (bytes32)
0x97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929
config() view returns (struct Config)
(0, 0, 0, 0x0000000000000000000000000000000000000000)
lastOfferId() view returns (uint256)
0
lastOrderId() view returns (uint256)
0
owner() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
isAcceptedToken(address token) view returns (bool)
isBuyOffer(uint256 offerId) view returns (bool)
isSellOffer(uint256 offerId) view returns (bool)
offerAmount(uint256 offerId) view returns (uint256)
offerAmountAvailable(uint256 offerId) view returns (uint256)
offerExToken(uint256 offerId) view returns (address)
offerStatus(uint256 offerId) view returns (uint256)
offerValue(uint256 offerId) view returns (uint256)
offers(uint256 id) view returns (struct Offer)
orderStatus(uint256 orderId) view returns (uint256)
orders(uint256 id) view returns (struct Order)
supportsInterface(bytes4 interfaceId) view returns (bool)
tokens(bytes32 tokenId) view returns (struct Token)
State-modifying
Events cancelOffer(uint256 offerId)
cancelOffers(uint256[] offerIds)
createToken(bytes32 tokenId, uint48 settleDuration)
fillOffer(uint256 offerId, uint256 amount)
fillOfferETH(uint256 offerId, uint256 amount) payable
forceCancelOrder(uint256 orderId)
forceCancelOrders(uint256[] orderIds)
grantRole(bytes32 role, address account)
initialize()
newOffer(uint8 offerType, bytes32 tokenId, uint256 amount, uint256 value, address exToken, bool fullMatch)
newOfferETH(uint8 offerType, bytes32 tokenId, uint256 amount, uint256 value, bool fullMatch) payable
renounceOwnership()
renounceRole(bytes32 role, address callerConfirmation)
revokeRole(bytes32 role, address account)
setAcceptedTokens(address[] tokenAddresses, bool isAccepted)
settle2Steps(uint256 orderId, bytes32 hash)
settle2StepsBatch(uint256[] orderIds, bytes32[] hashes)
settleCancelled(uint256 orderId)
settleCancelleds(uint256[] orderIds)
settleFilled(uint256 orderId)
settleFilleds(uint256[] orderIds)
tokenForceCancelSettlePhase(bytes32 tokenId)
tokenToSettlePhase(bytes32 tokenId, address tokenAddress, uint152 settleRate)
tokenToggleActivation(bytes32 tokenId)
transferOwnership(address newOwner)
updateConfig(address feeWallet_, uint256 feeSettle_, uint256 feeRefund_, uint256 pledgeRate_)
updateSettleDuration(bytes32 tokenId, uint48 newValue)
withdrawStuckToken(address _token, address _to)
CancelOffer(uint256 offerId, uint256 refundValue, uint256 refundFee, address doer)
CancelOrder(uint256 orderId, address doer)
CloseOffer(uint256 offerId, uint256 refundAmount)
Initialized(uint64 version)
NewOffer(uint256 id, uint8 offerType, bytes32 tokenId, address exToken, uint256 amount, uint256 value, uint256 collateral, bool fullMatch, address doer)
NewOrder(uint256 id, uint256 offerId, uint256 amount, address seller, address buyer)
NewToken(bytes32 tokenId, uint256 settleDuration)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
Settle2Steps(uint256 orderId, bytes32 hash, address doer)
SettleCancelled(uint256 orderId, uint256 value, uint256 fee, address doer)
SettleFilled(uint256 orderId, uint256 value, uint256 fee, address doer)
TokenForceCancelSettlePhase(bytes32 tokenId)
TokenToSettlePhase(bytes32 tokenId, address token, uint256 settleRate, uint256 settleTime)
UpdateAcceptedTokens(address[] tokens, bool isAccepted)
UpdateConfig(address oldFeeWallet, uint256 oldFeeSettle, uint256 oldFeeRefund, uint256 oldPledgeRate, address newFeeWallet, uint256 newFeeSettle, uint256 newFeeRefund, uint256 newPledgeRate)
UpdateTokenSettleDuration(bytes32 tokenId, uint48 oldValue, uint48 newValue)
UpdateTokenStatus(bytes32 tokenId, uint8 oldValue, uint8 newValue)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
AccessControlBadConfirmation()
AccessControlUnauthorizedAccount(address account, bytes32 neededRole)
AddressEmptyCode(address target)
AddressInsufficientBalance(address account)
FailedInnerCall()
InvalidInitialization()
NotInitializing()
OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount(address account)
ReentrancyGuardReentrantCall()
SafeERC20FailedOperation(address token)