PerpetualV1

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x47368c86 at 9976618
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "PerpetualV1"

No transactions found for "PerpetualV1"


Functions
Getter at block 21264421
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
 
getOraclePrice(view returns (uint256)
getTokenContract(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
getAccountBalance(address accountview returns (struct P1TypesBalance)
getAccountIndex(address accountview returns (struct P1TypesIndex)
getIsGlobalOperator(address operatorview returns (bool)
getIsLocalOperator(address accountaddress operatorview returns (bool)
hasAccountPermissions(address accountaddress operatorview returns (bool)
State-modifying
deposit(address accountuint256 amount
enableFinalSettlement(uint256 priceLowerBounduint256 priceUpperBound
initializeV1(address tokenaddress oracleaddress funderuint256 minCollateral
setFunder(address funder
setGlobalOperator(address operatorbool approved
setLocalOperator(address operatorbool approved
setMinCollateral(uint256 minCollateral
setOracle(address oracle
trade(address[] accountsstruct P1TradeTradeArg[] trades
withdraw(address accountaddress destinationuint256 amount
withdrawFinalSettlement(
Events
LogAccountSettled(address indexed accountbool isPositiveuint256 amountbytes32 balance
LogDeposit(address indexed accountuint256 amountbytes32 balance
LogFinalSettlementEnabled(uint256 settlementPrice
LogIndex(bytes32 index
LogSetFunder(address funder
LogSetGlobalOperator(address operatorbool approved
LogSetLocalOperator(address indexed senderaddress operatorbool approved
LogSetMinCollateral(uint256 minCollateral
LogSetOracle(address oracle
LogTrade(address indexed makeraddress indexed takeraddress traderuint256 marginAmountuint256 positionAmountbool isBuybytes32 makerBalancebytes32 takerBalance
LogWithdraw(address indexed accountaddress destinationuint256 amountbytes32 balance
LogWithdrawFinalSettlement(address indexed accountuint256 amountbytes32 balance
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.