JOJODealer
Verified contract
Proxy
Active on
Base with 47,276 txns
Unified storage
Map
Table
Raw
Constants and immutables
3
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 22 additional slots
Balances ($1,198,251.50)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
USDC | ERC-20 | 1.199881M | $0.998642 |
$1,198,251.38 | |
WGC | ERC-20 | 200 | $0.000575 |
$0.11 | |
USA | ERC-20 | 1 | $0.000775 |
$0 | |
kurbi | ERC-20 | 0.2 | $0.000775 |
$0 | |
toby | ERC-20 | 777 | $0.00 |
$0 | |
GENOME | ERC-20 | 0 | $0.023241 |
$0 | |
JUSD | ERC-20 | 12.341263M | -- | -- | |
| ERC-20 | 2.4K | -- | -- | |
| ERC-20 | 2.4K | -- | -- | |
DOB | ERC-20 | 1K | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 22747502 | 25 minutes ago | | | 0 | 0.0000011139217 | |
| 22747424 | 28 minutes ago | | | 0 | 0.0000011944240 | |
| 22747412 | 28 minutes ago | | | 0 | 0.0000019472412 | |
| 22747023 | 41 minutes ago | | | 0 | 9.6271680e-7 | |
| 22746632 | an hour ago | | | 0 | 0.0000011139217 | |
| 22746510 | an hour ago | | | 0 | 0.0000019470388 | |
| 22745409 | 2 hours ago | | | 0 | 5.2383120e-7 | |
| 22745112 | 2 hours ago | | | 0 | 0.000010738670 | |
| 22742001 | 3 hours ago | | | 0 | 0.0000016191779 | |
| 22741699 | 4 hours ago | | | 0 | 0.0000014789926 |
ABI
ABI objects
Getter at block 22748254 getAllRegisteredPerps() view returns (address[])
domainSeparator() view returns (bytes32)
0xae5e1b68d39d530e9f8985caa524ee202e49b88b7e2321962798cc5fdf27f874
owner() view returns (address)
0xd0cfcf1899a749bf0398fc885db7ee0479c05efc
state() view returns (address primaryAsset, address secondaryAsset, uint256 withdrawTimeLock, bool fastWithdrawDisabled, address insurance, address fundingRateKeeper, uint256 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 trader) view returns (int256 primaryCredit, uint256 secondaryCredit, uint256 pendingPrimaryWithdraw, uint256 pendingSecondaryWithdraw, uint256 executionTimestamp)
getExecuteWithdrawCallData(address from, address to, bool isInternal, bytes param) pure returns (bytes)
getFundingRate(address perp) view returns (int256)
getLiquidationCost(address perp, address liquidatedTrader, int256 requestPaperAmount) view returns (int256 liqtorPaperChange, int256 liqtorCreditChange)
getLiquidationPrice(address trader, address perp) view returns (uint256 liquidationPrice)
getMarkPrice(address perp) view returns (uint256)
getOrderFilledAmount(bytes32 orderHash) view returns (uint256 filledAmount)
getPositions(address trader) view returns (address[])
getRequestWithdrawCallData(address from, uint256 primaryAmount, uint256 secondaryAmount) pure returns (bytes)
getRiskParams(address perp) view returns (struct TypesRiskParams params)
getSetOperatorCallData(address operator, bool isValid) pure returns (bytes)
getTraderRisk(address trader) view returns (int256 netValue, uint256 exposure, uint256 initialMargin, uint256 maintenanceMargin)
isAllSafe(address[] traderList) view returns (bool safe)
isCreditAllowed(address from, address spender) view returns (uint256 primaryCreditAllowed, uint256 secondaryCreditAllowed)
isFastWithdrawalValid(address fastWithdrawOperator) view returns (bool)
isIMSafe(address trader) view returns (bool safe)
isOperatorValid(address client, address operator) view returns (bool)
isOrderSenderValid(address orderSender) view returns (bool)
isSafe(address trader) view returns (bool safe)
State-modifying
Events approveFundOperator(address operator, uint256 primaryAmount, uint256 secondaryAmount)
approveTrade(address orderSender, bytes tradeData) returns (address[], int256[], int256[])
deposit(uint256 primaryAmount, uint256 secondaryAmount, address to)
disableFastWithdraw(bool disabled)
executeWithdraw(address from, address to, bool isInternal, bytes param)
fastWithdraw(address from, address to, uint256 primaryAmount, uint256 secondaryAmount, bool isInternal, bytes param)
handleBadDebt(address liquidatedTrader)
openPosition(address trader)
realizePnl(address trader, int256 pnl)
renounceOwnership()
requestLiquidation(address executor, address liquidator, address liquidatedTrader, int256 requestPaperAmount) returns (int256 liqtorPaperChange, int256 liqtorCreditChange, int256 liqedPaperChange, int256 liqedCreditChange)
requestWithdraw(address from, uint256 primaryAmount, uint256 secondaryAmount)
setFastWithdrawalWhitelist(address target, bool isValid)
setFundingRateKeeper(address newKeeper)
setInsurance(address newInsurance)
setMaxPositionAmount(uint256 newMaxPositionAmount)
setOperator(address operator, bool isValid)
setOrderSender(address orderSender, bool isValid)
setPerpRiskParams(address perp, struct TypesRiskParams param)
setSecondaryAsset(address _secondaryAsset)
setWithdrawTimeLock(uint256 newWithdrawTimeLock)
setWithdrawlWhitelist(address target, bool isValid)
transferOwnership(address newOwner)
updateFundingRate(address[] perpList, int256[] rateList)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
constructor(address _primaryAsset)
This contract contains no fallback and receive objects.
This contract contains no error objects.