Exchange

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0xa8b6c1da at 21993252
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
-
variable spans 1 additional slot

No balances found for "Exchange"

No transactions found for "Exchange"


Functions
Getter at block 22807080
ORDER_TYPEHASH(view returns (bytes32)
0xa909e1366e04d35ecf518505ddda6a74b98f98910f14c392adb6ae212f072c51
REGISTER_TYPEHASH(view returns (bytes32)
0x21d72fc9d38a0772a55986998b4fb980bbc7acaa5fd38a454eb101d117940bc8
SIGN_KEY_TYPEHASH(view returns (bytes32)
0x2ff9e607f7eb3ff4057084887a1e540f46f1a773c72f756e09451eaf455c34fd
SWAP_TYPEHASH(view returns (bytes32)
0x786d0a9d1b549842da0a36aa2036499192da122b039be4b1734b009497b25cf9
UNIVERSAL_SIG_VALIDATOR(view returns (address)
0x3f72193b6687707bfaa5119a3910eb4e27108be8
WITHDRAW_TYPEHASH(view returns (bytes32)
0xf12e6f2ffcca16a138570423355ff2c5b74c548e012ae37330b35a01efb31587
access(view returns (address)
0x0000000000000000000000000000000000000000
book(view returns (address)
0x0000000000000000000000000000000000000000
canDeposit(view returns (bool)
false
canWithdraw(view returns (bool)
false
clearingService(view returns (address)
0x0000000000000000000000000000000000000000
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=, chainId=8453, verifyingContract=0xe815034695b9ec0231af6403c8ba028e2d905316, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
executedTransactionCounter(view returns (uint32)
0
feeRecipientAddress(view returns (address)
0x0000000000000000000000000000000000000000
 
getInsuranceFundBalance(view returns (uint256)
getSupportedTokenList(view returns (address[] tokenList)
[]
 
getTradingFees(view returns (int128)
lastFundingRateUpdate(view returns (uint256)
0
pauseBatchProcess(view returns (bool)
false
perpEngine(view returns (address)
0x0000000000000000000000000000000000000000
spotEngine(view returns (address)
0x0000000000000000000000000000000000000000
universalRouter(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
balanceOf(address useraddress tokenview returns (int256)
getSequencerFees(address tokenview returns (uint256)
isLiquidationNonceUsed(address accountuint256 liquidationNonceview returns (bool liquidated)
isRegisterSignerNonceUsed(address accountuint64 registerSignerNonceview returns (bool used)
isSigningWallet(address senderaddress signerview returns (bool)
isSupportedToken(address tokenview returns (bool)
isSwapNonceUsed(address accountuint256 swapNonceview returns (bool used)
isWithdrawNonceUsed(address accountuint64 withdrawNonceview returns (bool used)
State-modifying
addSupportedToken(address token
claimSequencerFees(
claimTradingFees(
deposit(address recipientaddress tokenuint128 amountpayable 
deposit(address tokenuint128 amountpayable 
depositInsuranceFund(uint256 amount
depositRaw(address recipientaddress tokenuint128 rawAmountpayable 
depositWithAuthorization(address tokenaddress depositoruint128 amountuint256 validAfteruint256 validBeforebytes32 noncebytes signature
innerLiquidation(struct ILiquidationLiquidationParams paramsreturns (uint8 status)
innerSwapWithPermit(struct ISwapSwapParams paramsreturns (uint256 amountOutX18)
liquidateCollateralBatch(struct ILiquidationLiquidationParams[] params
processBatch(bytes[] operations
registerSigningWallet(address accountaddress signerstring messageuint64 noncebytes walletSignaturebytes signerSignature
removeSupportedToken(address token
setCanDeposit(bool _canDeposit
setCanWithdraw(bool _canWithdraw
setPauseBatchProcess(bool _pauseBatchProcess
swapCollateralBatch(struct ISwapSwapParams[] params
unregisterSigningWallet(address accountaddress signer
updateFeeRecipientAddress(address _feeRecipientAddress
withdrawInsuranceFund(uint256 amount
Events
ClaimSequencerFees(address indexed claimeraddress indexed tokenuint256 amount
ClaimTradingFees(address indexed claimeruint256 amount
Deposit(address indexed tokenaddress indexed useruint256 amountuint256 balance
DepositInsuranceFund(uint256 depositAmountuint256 insuranceFund
EIP712DomainChanged(
Initialized(uint64 version
LiquidateAccount(address indexed accountuint256 indexed nonceuint8 status
LiquidateCollateral(address indexed accountuint256 indexed nonceaddress indexed collateraluint8 statusuint256 liquidationAmountuint256 receivedAmountuint256 feeAmount
RebateMaker(address indexed makeruint256 amount
RebateReferrer(address indexed referreruint256 amount
RegisterSigner(address indexed accountaddress indexed signeruint64 nonce
SupportedTokenAdded(address indexed token
SupportedTokenRemoved(address indexed token
SwapCollateral(address indexed accountuint256 indexed nonceaddress assetInuint256 amountInaddress assetOutuint256 amountOutaddress feeAssetuint256 feeAmountuint8 status
UpdateFundingRate(uint8 indexed productIndexint256 diffPriceint256 cummulativeFundingRate
WithdrawFailed(address indexed useruint64 indexed nonceuint128 amountint256 balance
WithdrawInfo(address indexed tokenaddress indexed useruint256 amountuint256 balanceuint64 nonceuint256 withdrawalSequencerFee
WithdrawInsuranceFund(uint256 withdrawAmountuint256 insuranceFund
WithdrawRejected(address senderuint64 nonceuint128 withdrawAmountint256 spotBalance
WithdrawSucceeded(address indexed tokenaddress indexed useruint64 indexed nonceuint256 amountuint256 balanceuint256 withdrawalSequencerFee
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
AccessControlUnauthorizedAccount(address accountbytes32 neededRole
AddressEmptyCode(address target
AddressInsufficientBalance(address account
ECDSAInvalidSignature(
ECDSAInvalidSignatureLength(uint256 length
ECDSAInvalidSignatureS(bytes32 s
Exchange_AddSigningWallet_UsedNonce(address accountuint64 nonce
Exchange_DisabledDeposit(
Exchange_DisabledWithdraw(
Exchange_ExceededMaxRebateRate(uint16 rateuint16 maxRate
Exchange_ExceededMaxWithdrawFee(uint128 feeuint128 maxFee
Exchange_InsufficientEth(
Exchange_InternalCall(
Exchange_InvalidFundingRateSequenceNumber(uint256 fundingRateSeqNumberuint256 currentFundingRateSeqNumber
Exchange_InvalidOperationType(
Exchange_InvalidSignature(address signer
Exchange_InvalidSignerSignature(address recoveredSigneraddress expectedSigner
Exchange_InvalidTransactionId(uint32 invalidTransactionIduint32 expectedTransactionId
Exchange_LiquidatedOrder(uint32 transactionId
Exchange_MakerLiquidatedOrder(uint32 transactionId
Exchange_NotLiquidatedOrder(uint32 transactionId
Exchange_PausedProcessBatch(
Exchange_ProductIdMismatch(
Exchange_TokenAlreadySupported(address token
Exchange_TokenNotSupported(address token
Exchange_UnauthorizedSigner(address accountaddress signer
Exchange_Withdraw_NonceUsed(address accountuint64 nonce
Exchange_ZeroAmount(
FailedInnerCall(
InvalidInitialization(
InvalidInt128(
InvalidUInt128(
InvalidUInt256(
NotInitializing(
SafeERC20FailedOperation(address token
ZeroAddress(