Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x5bf3…321f
0x8250…487a
Balances ($67.14)
Native
Value
$0
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
Eth | Native | 0 | $3,838.46 |
$0 | |
WETH | ERC-20 | 0.014065 | $3,837.84 |
$53.98 | |
DAI | ERC-20 | 13.13031 | $0.998059 |
$13.1 | |
GOCHU | ERC-20 | 50K | $0.000001 |
$0.06 | |
kurbi | ERC-20 | 0.1 | $0.001165 |
$0 | |
BASED | ERC-20 | 5.444K | -- | -- | |
PEP | ERC-20 | 61.2 | -- | -- | |
NUNU | ERC-20 | 7.777778 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 17431156 | 5 months ago | | | 0 | 7.2232929e-7 | |
| 15571406 | 6 months ago | | | <0.00000001 | 1.7189816e-7 | |
| 15571140 | 6 months ago | | | <0.00000001 | 1.7144963e-7 | |
| 15571122 | 6 months ago | | | <0.00000001 | 1.7066905e-7 | |
| 15571048 | 6 months ago | | | <0.00000001 | 1.7011043e-7 | |
| 15570800 | 6 months ago | | | <0.00000001 | 1.6476351e-7 | |
| 15570669 | 6 months ago | | | <0.00000001 | 1.5497355e-7 | |
| 15570648 | 6 months ago | | | <0.00000001 | 1.5415105e-7 | |
| 15570646 | 6 months ago | | | <0.00000001 | 0.0000014639996 | |
| 15570641 | 6 months ago | | | <0.00000001 | 0.0000014641971 |
ABI
ABI objects
Getter at block 23585504 getAllOrders() view returns (struct DataStoreOrderData[] _orders) getLimitOrders() view returns (struct DataStoreOrderData[] _orders)
BPS_DIVIDER() view returns (uint256)
10000
Store() view returns (address)
0x5bf399a4221bb036e7a89c52ad914ecc5627321f
UNIT() view returns (uint256)
1000000000000000000
api3Feed() view returns (address)
0x0000000000000000000000000000000000000000
fee() view returns (uint256)
80
fundingTracker() view returns (int256)
0
gov() view returns (address)
0x8ef4cdb1b329307b61ac09213c358c198ce4f264
liquidationThreshold() view returns (uint256)
10000
maxLeverage() view returns (uint256)
1000
minMargin() view returns (uint256)
100000000000000
owner() view returns (address)
0x8ef4cdb1b329307b61ac09213c358c198ce4f264
pyth() view returns (address)
0x8250f4af4b972684f7b336503e2d6dfedeb1487a
router() view returns (address)
0xc5686ee47df7b910ac5325a177532e2feb79200b
size() view returns (uint256)
10000
treasury() view returns (address)
0x6435fe9901ddacac4d45fd46e04d0640776379c2
utilizationMultiplier() view returns (uint256)
100
Read-only
_getPythPrice(bytes32 priceFeedId) view returns (uint256, uint256)
checkLiquidation(uint256 orderId) view returns (bool)
currencyData(address token) view returns (struct DataStoreCurrenciesData currencies)
getAccruedFunding(uint256 marketId, address currency, uint256 intervals) view returns (int256)
getEarning(uint256 id) view returns (uint256 earning, uint256 pnl, bool)
getLiquidateablePositions(uint256[] orderIds) view returns (uint256[] isLiquidatable)
getMarket(uint256 id) view returns (struct DataStoreMarketData market)
getMinMargin(address token) view returns (uint256)
getOILong(uint256 marketId, address currency) view returns (uint256)
getOIShort(uint256 marketId, address currency) view returns (uint256)
getOrder(uint256 id) view returns (struct DataStoreOrderData _orders)
getOrderUPL(uint256 id) view returns (int256 upl, bool isNegative)
getPriceBytes(bytes[] priceUpdateData) view returns (uint256)
getPythPrice(uint256 marketId) view returns (uint256)
getUserOrdersFromStore(address user) view returns (struct DataStoreOrderData[] _users)
getUserPositionsWithUpls(address user) view returns (struct DataStoreOrderData[] _positions, int256[] _upls)
getUtilization(address token) view returns (uint256)
poolShare(uint256 amount) view returns (uint256)
State-modifying
Events addMargin(uint256 id, uint256 amount, address currency)
closeTrade(uint256 orderId, bytes[] priceUpdateData) payable
link(address _store)
liquidateOrders(uint256 orderId) payable
mutlipleLiquidation(uint256[] orderIds, bytes[] priceUpdateData) payable
processLimitOrders(uint256[] orderIds, bytes[] priceUpdateData) payable
recoverEther(address _to) payable
renounceOwnership()
setKeeper(address _g)
setLiquidation(uint256 t)
setPrices(address sender, bytes[] priceUpdateData) payable
setPyth(address _p)
setRouter(address _router)
setTreasury(address _treasury)
setUtilizaitonMultiplier(uint256 val)
submitTrade(struct DataStoreOrderData orderData, bytes[] priceUpdateData) payable
transferOwnership(address newOwner)
updateMaxLeverage(uint256 amount)
updateShare(uint256 amount)
AddMargin(uint256 indexed id, address indexed user, uint256 margin, uint256 newMargin, uint256 newLeverage)
ClosePosition(uint256 orderId, address user, uint256 entry, uint256 exit, address currency, uint256 marketId, bool isLong, uint256 leverage, uint256 margin, bool isActive, uint256 pnl, uint256 earning, bool isLiquidated)
FeeGenerated(uint256 amount, address indexed currency, uint256 timestamp)
LiquidatedOrder(uint256 orderId, address user, address currency, uint256 marketId, bool isLong, uint256 margin, uint256 takeProfit, uint256 stopLoss, uint256 pnl, uint256 earning)
OpenOrder(uint256 indexed positionId, address indexed user, uint256 indexed marketId)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
PositionCreated(uint256 orderId, address indexed user, address indexed currency, uint256 marketId, uint256 entry, bool isLong, uint256 leverage, uint256 orderType, uint256 margin, uint256 takeProfit, uint256 stopLoss, bool isActive)
ReduceMargin(uint256 indexed id, address indexed user, uint256 margin, uint256 newMargin, uint256 newLeverage)
closedPositionsData(uint256 orderId, address user, uint256 entry, uint256 exit, uint256 margin, address currency, uint256 takeProfit, uint256 stopLoss)
constructor(address pythContract)
fallback()
receive()
This contract contains no error objects.