PerpetualProxy
Verified contract
Proxy
Active on
Ethereum with 35,887 txns
Unified storage
Map
Table
Raw
Constants and immutables
2
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($2,445,488.14)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
WETH | ERC-20 | 699.06442 | $3,498.23 |
$2,445,488.13 | |
ZENIQ | ERC-20 | 1.903133 | $0.007847 |
$0.01 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20782014 | 2 months ago | | | 0 | 0.0011627647 | |
| 20781893 | 2 months ago | | | 0 | 0.0014916396 | |
| 20579742 | 3 months ago | | | 0 | 0.00018471026 | |
| 19915006 | 6 months ago | | | 0 | 0.0018703480 | |
| 19406739 | 9 months ago | | | 0 | 0.0057203480 | |
| 19229898 | 9 months ago | | | 0 | 0.0016620099 | |
| 18800731 | a year ago | | | 0 | 0.0038587953 | |
| 18607182 | a year ago | | | 0 | 0.0015715245 | |
| 18519869 | a year ago | | | 0 | 0.0024382654 | |
| 18413156 | a year ago | | | 0 | 0.0021456575 |
ABI
ABI objects
Getter at block 21264421 getOraclePrice() view returns (uint256)
getAdmin() view returns (address)
0xba2906b18b069b40c6d2cafd392e76ad479b1b53
getFinalSettlementEnabled() view returns (bool)
true
getFunderContract() view returns (address)
0x5ddc23dee470aec28d51721b4e3a25f9399166ec
getGlobalIndex() view returns (struct P1TypesIndex)
(1618945404, false, 571208983547895856526599730)
getMinCollateral() view returns (uint256)
1075000000000000000
getOracleContract() view returns (address)
0xcd37221c53b5208a2d7eabc7d5051b98d8030424
getTokenContract() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
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 admin() returns (address)
changeAdmin(address newAdmin)
implementation() returns (address)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
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()
AdminChanged(address previousAdmin, address newAdmin)
Upgraded(address indexed implementation)
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)
constructor(address logic, address admin, bytes data)
fallback()
This contract contains no error objects.