This contract is being backfilled. You may encounter incomplete storage history.

DegenBaseV1

Verified contract

Active on Base with 410 txns
Deployed by via 0x5de43d92 at 9477090
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $0
ERC-20
Value $53.98
ERC-20
Value $13.1
ERC-20
Value $0.06
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
0xf26fcb9298411846fa3c0c80810987ba66c25a686ad2c29f88b7100fbc04280b
0x2e6ea30fb2d46ec86fe8b0936c6b2cb26a7310ceaf9c6c6638e01d0fb3ab92c2
0x9c596189952b0596f8f164c9bf2ed6b120bb49a77fd8af1917f6bd16f9af14fc
0x1222d4a066564d4f386d7b15e89e3ff7429b61b96042a3aef858f41345f8ea77
0x009b1e8419dd1027988aeb99be5d9ba23fd6959c928c2becf1ef72da89f0794b
0x7b56f3015c32ba66894b105162a35940b069c51b6e23cc98649b5521b28fc161
0x832deb32cc9a9a51b351d537f21f8bd195fdde1e5b67d472b6d8792a49459a93
0xfcc012d7f4332bfba0f689c58dab11a684454c44f4b35dac2fc869827f28554a
0x64c8af68860e8c37ffb77ed06332861073996faa3c5365822e463c6d243b23a5
0x8ab26bf7b30dc5b739cea7984d3607a4b3c654a91f98cef214332d1203161af3

Functions
Getter at block 23585504
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
 
getAllOrders(view returns (struct DataStoreOrderData[] _orders)
 
getLimitOrders(view returns (struct DataStoreOrderData[] _orders)
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 priceFeedIdview returns (uint256uint256)
checkLiquidation(uint256 orderIdview returns (bool)
currencyData(address tokenview returns (struct DataStoreCurrenciesData currencies)
getAccruedFunding(uint256 marketIdaddress currencyuint256 intervalsview returns (int256)
getEarning(uint256 idview returns (uint256 earninguint256 pnlbool)
getLiquidateablePositions(uint256[] orderIdsview returns (uint256[] isLiquidatable)
getMarket(uint256 idview returns (struct DataStoreMarketData market)
getMinMargin(address tokenview returns (uint256)
getOILong(uint256 marketIdaddress currencyview returns (uint256)
getOIShort(uint256 marketIdaddress currencyview returns (uint256)
getOrder(uint256 idview returns (struct DataStoreOrderData _orders)
getOrderUPL(uint256 idview returns (int256 uplbool isNegative)
getPriceBytes(bytes[] priceUpdateDataview returns (uint256)
getPythPrice(uint256 marketIdview returns (uint256)
getUserOrdersFromStore(address userview returns (struct DataStoreOrderData[] _users)
getUserPositionsWithUpls(address userview returns (struct DataStoreOrderData[] _positionsint256[] _upls)
getUtilization(address tokenview returns (uint256)
poolShare(uint256 amountview returns (uint256)
State-modifying
addMargin(uint256 iduint256 amountaddress currency
closeTrade(uint256 orderIdbytes[] priceUpdateDatapayable 
link(address _store
liquidateOrders(uint256 orderIdpayable 
mutlipleLiquidation(uint256[] orderIdsbytes[] priceUpdateDatapayable 
processLimitOrders(uint256[] orderIdsbytes[] priceUpdateDatapayable 
recoverEther(address _topayable 
renounceOwnership(
setKeeper(address _g
setLiquidation(uint256 t
setPrices(address senderbytes[] priceUpdateDatapayable 
setPyth(address _p
setRouter(address _router
setTreasury(address _treasury
setUtilizaitonMultiplier(uint256 val
submitTrade(struct DataStoreOrderData orderDatabytes[] priceUpdateDatapayable 
transferOwnership(address newOwner
updateMaxLeverage(uint256 amount
updateShare(uint256 amount
Events
AddMargin(uint256 indexed idaddress indexed useruint256 marginuint256 newMarginuint256 newLeverage
ClosePosition(uint256 orderIdaddress useruint256 entryuint256 exitaddress currencyuint256 marketIdbool isLonguint256 leverageuint256 marginbool isActiveuint256 pnluint256 earningbool isLiquidated
FeeGenerated(uint256 amountaddress indexed currencyuint256 timestamp
LiquidatedOrder(uint256 orderIdaddress useraddress currencyuint256 marketIdbool isLonguint256 marginuint256 takeProfituint256 stopLossuint256 pnluint256 earning
OpenOrder(uint256 indexed positionIdaddress indexed useruint256 indexed marketId
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PositionCreated(uint256 orderIdaddress indexed useraddress indexed currencyuint256 marketIduint256 entrybool isLonguint256 leverageuint256 orderTypeuint256 marginuint256 takeProfituint256 stopLossbool isActive
ReduceMargin(uint256 indexed idaddress indexed useruint256 marginuint256 newMarginuint256 newLeverage
closedPositionsData(uint256 orderIdaddress useruint256 entryuint256 exituint256 marginaddress currencyuint256 takeProfituint256 stopLoss
Constructor
constructor(address pythContract
Fallback and receive
fallback(
receive(
Errors

This contract contains no error objects.