Perpetual
Verified contract
Active on
Ethereum with 368 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x6b17…1d0f
0x40f9…77c3
-
variable spans 5 additional slots
0xefbe…233d
0xa323…b73d
Balances ($9,885.12)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
DAI | ERC-20 | 9.885118K | $1.00 |
$9,885.12 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 18530358 | a year ago | | | 0 | 0.0012336812 | |
| 12469231 | 4 years ago | | | 0 | 0.022882880 | |
| 12460054 | 4 years ago | | | 0 | 0.058463130 | |
| 12459504 | 4 years ago | | | 0 | 0.055135960 | |
| 12458950 | 4 years ago | | | 0 | 0.26750447 | |
| 12457546 | 4 years ago | | | 0 | 0.031893301 | |
| 12456912 | 4 years ago | | | 0 | 0.030895150 | |
| 12456342 | 4 years ago | | | 0 | 0.030419840 | |
| 12454972 | 4 years ago | | | 0 | 0.073195892 | |
| 12454393 | 4 years ago | | | 0 | 0.061077335 |
ABI
ABI objects
Getter at block 21295173 totalPositionCollateral() view returns (struct FixedPointUnsigned totalCollateral)
collateralCurrency() view returns (address)
0x6b175474e89094c44da98b954eedeac495271d0f
collateralRequirement() view returns (uint256 rawValue)
1250000000000000000
configStore() view returns (address)
0xefbe67175387123f1851f8c2e8e04f3a27e2233d
cumulativeFeeMultiplier() view returns (uint256 rawValue)
995934240668673146
disputeBondPercentage() view returns (uint256 rawValue)
100000000000000000
disputerDisputeRewardPercentage() view returns (uint256 rawValue)
200000000000000000
emergencyShutdownPrice() view returns (uint256 rawValue)
0
emergencyShutdownTimestamp() view returns (uint256)
0
finder() view returns (address)
0x40f941e48a552bf496b154af6bf55725f18d77c3
fundingRate() view returns (struct FixedPointSigned rate, bytes32 identifier, struct FixedPointUnsigned cumulativeMultiplier, uint256 updateTime, uint256 applicationTime, uint256 proposalTime)
(rate=(-164000000000), identifier=0x4554484254435f46520000000000000000000000000000000000000000000000, cumulativeMultiplier=(5763765185624745806207), updateTime=1621363227, applicationTime=1621486787, proposalTime=0)
getCurrentTime() view returns (uint256)
1732905371
liquidationLiveness() view returns (uint256)
7200
minSponsorTokens() view returns (uint256 rawValue)
5000000000000000000
pfc() view returns (struct FixedPointUnsigned)
(9885117903525403670398)
priceIdentifier() view returns (bytes32)
0x4554482f42544300000000000000000000000000000000000000000000000000
rawLiquidationCollateral() view returns (uint256 rawValue)
1390
rawTotalPositionCollateral() view returns (uint256 rawValue)
9925472485902790887408
sponsorDisputeRewardPercentage() view returns (uint256 rawValue)
50000000000000000
timerAddress() view returns (address)
0x0000000000000000000000000000000000000000
tokenCurrency() view returns (address)
0xa32321af5bdaf3c6feba2da7da1d80f33435b73d
totalTokensOutstanding() view returns (uint256 rawValue)
6981244470000000000
withdrawalLiveness() view returns (uint256)
7200
Read-only
getCollateral(address sponsor) view returns (struct FixedPointUnsigned collateralAmount)
getFundingRateAppliedTokenDebt(struct FixedPointUnsigned rawTokenDebt) view returns (struct FixedPointUnsigned totalCollateral)
getLiquidations(address sponsor) view returns (struct PerpetualLiquidatableLiquidationData[] liquidationData)
getOutstandingRegularFees(uint256 time) view returns (struct FixedPointUnsigned regularFee, struct FixedPointUnsigned latePenalty, struct FixedPointUnsigned totalPaid)
liquidations(address, uint256) view returns (address sponsor, address liquidator, uint8 state, uint256 liquidationTime, struct FixedPointUnsigned tokensOutstanding, struct FixedPointUnsigned lockedCollateral, struct FixedPointUnsigned liquidatedCollateral, struct FixedPointUnsigned rawUnitCollateral, address disputer, struct FixedPointUnsigned settlementPrice, struct FixedPointUnsigned finalFee)
positions(address) view returns (struct FixedPointUnsigned tokensOutstanding, uint256 withdrawalRequestPassTimestamp, struct FixedPointUnsigned withdrawalRequestAmount, struct FixedPointUnsigned rawCollateral)
State-modifying
Events applyFundingRate()
cancelWithdrawal()
create(struct FixedPointUnsigned collateralAmount, struct FixedPointUnsigned numTokens)
createLiquidation(address sponsor, struct FixedPointUnsigned minCollateralPerToken, struct FixedPointUnsigned maxCollateralPerToken, struct FixedPointUnsigned maxTokensToLiquidate, uint256 deadline) returns (uint256 liquidationId, struct FixedPointUnsigned tokensLiquidated, struct FixedPointUnsigned finalFeeBond)
deposit(struct FixedPointUnsigned collateralAmount)
depositTo(address sponsor, struct FixedPointUnsigned collateralAmount)
dispute(uint256 liquidationId, address sponsor) returns (struct FixedPointUnsigned totalPaid)
emergencyShutdown()
gulp()
payRegularFees() returns (struct FixedPointUnsigned)
proposeFundingRate(struct FixedPointSigned rate, uint256 timestamp) returns (struct FixedPointUnsigned totalBond)
redeem(struct FixedPointUnsigned numTokens) returns (struct FixedPointUnsigned amountWithdrawn)
remargin()
repay(struct FixedPointUnsigned numTokens)
requestWithdrawal(struct FixedPointUnsigned collateralAmount)
setCurrentTime(uint256 time)
settleEmergencyShutdown() returns (struct FixedPointUnsigned amountWithdrawn)
withdraw(struct FixedPointUnsigned collateralAmount) returns (struct FixedPointUnsigned amountWithdrawn)
withdrawLiquidation(uint256 liquidationId, address sponsor) returns (struct PerpetualLiquidatableRewardsData)
withdrawPassedRequest() returns (struct FixedPointUnsigned amountWithdrawn)
Deposit(address indexed sponsor, uint256 indexed collateralAmount)
DisputeSettled(address indexed caller, address indexed sponsor, address indexed liquidator, address disputer, uint256 liquidationId, bool disputeSucceeded)
EmergencyShutdown(address indexed caller, uint256 shutdownTimestamp)
EndedSponsorPosition(address indexed sponsor)
FinalFeesPaid(uint256 indexed amount)
FundingRateUpdated(int256 newFundingRate, uint256 indexed updateTime, uint256 reward)
LiquidationCreated(address indexed sponsor, address indexed liquidator, uint256 indexed liquidationId, uint256 tokensOutstanding, uint256 lockedCollateral, uint256 liquidatedCollateral, uint256 liquidationTime)
LiquidationDisputed(address indexed sponsor, address indexed liquidator, address indexed disputer, uint256 liquidationId, uint256 disputeBondAmount)
LiquidationWithdrawn(address indexed caller, uint256 paidToLiquidator, uint256 paidToDisputer, uint256 paidToSponsor, uint8 indexed liquidationStatus, uint256 settlementPrice)
NewSponsor(address indexed sponsor)
PositionCreated(address indexed sponsor, uint256 indexed collateralAmount, uint256 indexed tokenAmount)
Redeem(address indexed sponsor, uint256 indexed collateralAmount, uint256 indexed tokenAmount)
RegularFeesPaid(uint256 indexed regularFee, uint256 indexed lateFee)
Repay(address indexed sponsor, uint256 indexed numTokensRepaid, uint256 indexed newTokenCount)
RequestWithdrawal(address indexed sponsor, uint256 indexed collateralAmount)
RequestWithdrawalCanceled(address indexed sponsor, uint256 indexed collateralAmount)
RequestWithdrawalExecuted(address indexed sponsor, uint256 indexed collateralAmount)
SettleEmergencyShutdown(address indexed caller, uint256 indexed collateralReturned, uint256 indexed tokensBurned)
Withdrawal(address indexed sponsor, uint256 indexed collateralAmount)
constructor(PerpetualLiquidatableConstructorParams params)
This contract contains no fallback and receive objects.
This contract contains no error objects.