Perpetual
Verified contract
Active on
Ethereum with 3,858 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0xaaac…5520
-
variable spans 7 additional slots
-
variable spans 2 additional slots
-
variable spans 2 additional slots
Balances ($1,756,569.66)
Native
Value
$1,756,569.66
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 683.620482 | $2,569.51 |
$1,756,569.66 | |
SCooBi | ERC-20 | 1M | -- | -- | |
LOFE | ERC-20 | 16.963114K | -- | -- | |
YFL | ERC-20 | 0.000069 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 12994651 | 3 years ago | | | 0 | 0.0044129400 | |
| 12718866 | 3 years ago | | | 0 | 0.0016323520 | |
| 12658857 | 3 years ago | | | 0 | 0.0012946240 | |
| 12387621 | 3 years ago | | | 0 | 0.0039340800 | |
| 12343456 | 3 years ago | | | 0 | 0.0045593280 | |
| 12342047 | 4 years ago | | | 0 | 0.0036390240 | |
| 12241252 | 4 years ago | | | 0 | 0.0052905580 | |
| 12166621 | 4 years ago | | | 0 | 0.0045877760 | |
| 12166274 | 4 years ago | | | 0 | 0.0063966100 | |
| 12166263 | 4 years ago | | | 0 | 0.0065009280 |
ABI
ABI objects
Getter at block 21086481
amm() view returns (address)
0xaaac8434217575643b2d2ab6f12ce8600c625520
collateral() view returns (address)
0x0000000000000000000000000000000000000000
devAddress() view returns (address)
0x904b5993fc92979eeedc19ccc58bed6b7216667c
getGovernance() view returns (struct LibTypesPerpGovernanceConfig)
(100000000000000000, 75000000000000000, 45000000000000000, 30000000000000000, 0, 0, 10000000000000000000, 10000000000000000000)
globalConfig() view returns (address)
0x71e77ffbbfd4418ed47981927738b5425c187f64
insuranceFundBalance() view returns (int256)
0
paused() view returns (bool)
false
settlementPrice() view returns (uint256)
638267995966146
status() view returns (uint8)
2
totalAccounts() view returns (uint256)
815
withdrawDisabled() view returns (bool)
false
Read-only
accountList(uint256) view returns (address)
getMarginAccount(address trader) view returns (struct LibTypesMarginAccount)
isValidLotSize(uint256 amount) view returns (bool)
isValidTradingLotSize(uint256 amount) view returns (bool)
socialLossPerContract(uint8 side) view returns (int256)
totalSize(uint8 side) view returns (uint256)
State-modifying
Events availableMargin(address trader) returns (int256)
beginGlobalSettlement(uint256 price)
calculateLiquidateAmount(address trader, uint256 liquidationPrice) returns (uint256)
decreaseCashBalance(address trader, uint256 amount)
deposit(uint256 rawAmount) payable
depositFor(address trader, uint256 rawAmount) payable
depositToInsuranceFund(uint256 rawAmount) payable
disableWithdraw()
enableWithdraw()
endGlobalSettlement()
increaseCashBalance(address trader, uint256 amount)
isBankrupt(address trader) returns (bool)
isIMSafe(address trader) returns (bool)
isIMSafeWithPrice(address trader, uint256 currentMarkPrice) returns (bool)
isSafe(address trader) returns (bool)
isSafeWithPrice(address trader, uint256 currentMarkPrice) returns (bool)
liquidate(address trader, uint256 maxAmount) returns (uint256, uint256)
maintenanceMargin(address trader) returns (uint256)
marginBalance(address trader) returns (int256)
markPrice() returns (uint256)
pause()
pnl(address trader) returns (int256)
positionMargin(address trader) returns (uint256)
setGovernanceAddress(bytes32 key, address value)
setGovernanceParameter(bytes32 key, int256 value)
settle()
tradePosition(address taker, address maker, uint8 side, uint256 price, uint256 amount) returns (uint256 takerOpened, uint256 makerOpened)
transferCashBalance(address from, address to, uint256 amount)
unpause()
withdraw(uint256 rawAmount)
withdrawFor(address trader, uint256 rawAmount)
withdrawFromInsuranceFund(uint256 rawAmount)
CreateAccount(uint256 indexed id, address indexed trader)
CreatePerpetual()
Deposit(address indexed trader, int256 wadAmount, int256 balance)
DisableWithdraw(address indexed caller)
EnableWithdraw(address indexed caller)
EnterEmergencyStatus(uint256 price)
EnterSettledStatus(uint256 price)
InternalUpdateBalance(address indexed trader, int256 wadAmount, int256 balance)
Liquidate(address indexed keeper, address indexed trader, uint256 price, uint256 amount)
Paused(address indexed caller)
SocialLoss(uint8 side, int256 newVal)
Trade(address indexed trader, uint8 side, uint256 price, uint256 amount)
Transfer(address indexed from, address indexed to, int256 wadAmount, int256 balanceFrom, int256 balanceTo)
Unpaused(address indexed caller)
UpdateGovernanceAddress(bytes32 indexed key, address value)
UpdateGovernanceParameter(bytes32 indexed key, int256 value)
UpdateInsuranceFund(int256 newVal)
UpdatePositionAccount(address indexed trader, struct LibTypesMarginAccount account, uint256 perpetualTotalSize, uint256 price)
Withdraw(address indexed trader, int256 wadAmount, int256 balance)
constructor(address _globalConfig, address _devAddress, address _collateral, uint256 _collateralDecimals)
fallback()
This contract contains no error objects.