JOJODealer

Verified contract

Proxy

Active on Base with 47,276 txns
Deployed by via 0x4782e8e9 at 12712381
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 22 additional slots
ERC-20
Value $1,198,251.38
ERC-20
Value $0.11
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x3afbaebc851e17c757efbebff670aeeb4e174285f1e93ab121f9715b1bc8ae9f
0x0faac243296c8a3b49a9f0e74e1252750c110cb5fa01bf523e459e053eab1e6d
0x31de2868d767022c36325ff6b393b2751e55e6abb60ae414d13bdb40da366dd1
0x5cfad935b9283a4876692e80124775b24975a5edd476344409df0f159989cc71
0xe49c8a6c66426bacf5a431c5c383e00bf58741174f6896a9846b1d6eb45b037c
0xc285c0824a649b7d5e9b25521a91db6693db2dbca887b048d1aa2c6430d8878e
0x32d5393a1352029f01eb5712a4dfe46b3da028b526c199fdf4c36f07ad81b496
0xed73fe87c72499ef92fe3cec28d229ef384afa04990e17dc638d46e640def465
0xfdf9dfe3c503c6c4e8ef9f655ede1694535a0464a2fcc5188726b791207516a4
0x4a742d8c7b9a0d8fcff7fec87cdeb6ec0e51fb78ee56db504cb8a731ced7d53a

Functions
Getter at block 22748254
domainSeparator(view returns (bytes32)
0xae5e1b68d39d530e9f8985caa524ee202e49b88b7e2321962798cc5fdf27f874
 
getAllRegisteredPerps(view returns (address[])
owner(view returns (address)
0xd0cfcf1899a749bf0398fc885db7ee0479c05efc
state(view returns (address primaryAssetaddress secondaryAssetuint256 withdrawTimeLockbool fastWithdrawDisabledaddress insuranceaddress fundingRateKeeperuint256 maxPositionAmount)
(primaryAsset=0x833589fcd6edb6e08f4c7c32d4f71b54bda02913, secondaryAsset=0x0013bbb9f5d913f700b10e316768e7935d1a13d4, withdrawTimeLock=5, fastWithdrawDisabled=false, insurance=0xce8906e92b147cdd4781164e1abc94a5a0998993, fundingRateKeeper=0x451b69e8dd8a2a7fc3d1aa66e3812bf0971d1553, maxPositionAmount=20)
version(pure returns (string)
JOJODealer V1.1
Read-only
getCreditOf(address traderview returns (int256 primaryCredituint256 secondaryCredituint256 pendingPrimaryWithdrawuint256 pendingSecondaryWithdrawuint256 executionTimestamp)
getExecuteWithdrawCallData(address fromaddress tobool isInternalbytes parampure returns (bytes)
getFundingRate(address perpview returns (int256)
getLiquidationCost(address perpaddress liquidatedTraderint256 requestPaperAmountview returns (int256 liqtorPaperChangeint256 liqtorCreditChange)
getLiquidationPrice(address traderaddress perpview returns (uint256 liquidationPrice)
getMarkPrice(address perpview returns (uint256)
getOrderFilledAmount(bytes32 orderHashview returns (uint256 filledAmount)
getPositions(address traderview returns (address[])
getRequestWithdrawCallData(address fromuint256 primaryAmountuint256 secondaryAmountpure returns (bytes)
getRiskParams(address perpview returns (struct TypesRiskParams params)
getSetOperatorCallData(address operatorbool isValidpure returns (bytes)
getTraderRisk(address traderview returns (int256 netValueuint256 exposureuint256 initialMarginuint256 maintenanceMargin)
isAllSafe(address[] traderListview returns (bool safe)
isCreditAllowed(address fromaddress spenderview returns (uint256 primaryCreditAlloweduint256 secondaryCreditAllowed)
isFastWithdrawalValid(address fastWithdrawOperatorview returns (bool)
isIMSafe(address traderview returns (bool safe)
isOperatorValid(address clientaddress operatorview returns (bool)
isOrderSenderValid(address orderSenderview returns (bool)
isSafe(address traderview returns (bool safe)
State-modifying
approveFundOperator(address operatoruint256 primaryAmountuint256 secondaryAmount
approveTrade(address orderSenderbytes tradeDatareturns (address[]int256[]int256[])
deposit(uint256 primaryAmountuint256 secondaryAmountaddress to
disableFastWithdraw(bool disabled
executeWithdraw(address fromaddress tobool isInternalbytes param
fastWithdraw(address fromaddress touint256 primaryAmountuint256 secondaryAmountbool isInternalbytes param
handleBadDebt(address liquidatedTrader
openPosition(address trader
realizePnl(address traderint256 pnl
renounceOwnership(
requestLiquidation(address executoraddress liquidatoraddress liquidatedTraderint256 requestPaperAmountreturns (int256 liqtorPaperChangeint256 liqtorCreditChangeint256 liqedPaperChangeint256 liqedCreditChange)
requestWithdraw(address fromuint256 primaryAmountuint256 secondaryAmount
setFastWithdrawalWhitelist(address targetbool isValid
setFundingRateKeeper(address newKeeper
setInsurance(address newInsurance
setMaxPositionAmount(uint256 newMaxPositionAmount
setOperator(address operatorbool isValid
setOrderSender(address orderSenderbool isValid
setPerpRiskParams(address perpstruct TypesRiskParams param
setSecondaryAsset(address _secondaryAsset
setWithdrawTimeLock(uint256 newWithdrawTimeLock
setWithdrawlWhitelist(address targetbool isValid
transferOwnership(address newOwner
updateFundingRate(address[] perpListint256[] rateList
Events
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Constructor
constructor(address _primaryAsset
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.