PerpetualV1
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
4
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "PerpetualV1"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "PerpetualV1"
ABI
ABI objects
Getter at block 21265193 getOraclePrice() view returns (uint256)
getAdmin() view returns (address)
0x0000000000000000000000000000000000000000
getFinalSettlementEnabled() view returns (bool)
false
getFunderContract() view returns (address)
0x0000000000000000000000000000000000000000
getGlobalIndex() view returns (struct P1TypesIndex)
(0, false, 0)
getMinCollateral() view returns (uint256)
0
getOracleContract() view returns (address)
0x0000000000000000000000000000000000000000
getTokenContract() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
getAccountBalance(address account) view returns (struct P1TypesBalance)
getAccountIndex(address account) view returns (struct P1TypesIndex)
getIsGlobalOperator(address operator) view returns (bool)
getIsLocalOperator(address account, address operator) view returns (bool)
hasAccountPermissions(address account, address operator) view returns (bool)
State-modifying
Events deposit(address account, uint256 amount)
enableFinalSettlement(uint256 priceLowerBound, uint256 priceUpperBound)
initializeV1(address token, address oracle, address funder, uint256 minCollateral)
setFunder(address funder)
setGlobalOperator(address operator, bool approved)
setLocalOperator(address operator, bool approved)
setMinCollateral(uint256 minCollateral)
setOracle(address oracle)
trade(address[] accounts, struct P1TradeTradeArg[] trades)
withdraw(address account, address destination, uint256 amount)
withdrawFinalSettlement()
LogAccountSettled(address indexed account, bool isPositive, uint256 amount, bytes32 balance)
LogDeposit(address indexed account, uint256 amount, bytes32 balance)
LogFinalSettlementEnabled(uint256 settlementPrice)
LogIndex(bytes32 index)
LogSetFunder(address funder)
LogSetGlobalOperator(address operator, bool approved)
LogSetLocalOperator(address indexed sender, address operator, bool approved)
LogSetMinCollateral(uint256 minCollateral)
LogSetOracle(address oracle)
LogTrade(address indexed maker, address indexed taker, address trader, uint256 marginAmount, uint256 positionAmount, bool isBuy, bytes32 makerBalance, bytes32 takerBalance)
LogWithdraw(address indexed account, address destination, uint256 amount, bytes32 balance)
LogWithdrawFinalSettlement(address indexed account, uint256 amount, bytes32 balance)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.