AnglePerp
Verified contract
Proxy
Active on
Ethereum with 323 txns
Unified 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
0xb41a…daa5
0xe6d9…c1c4
0x3142…14c2
0xc9da…5915
0x5add…6a87
26 additional
variables
Balances ($3.44)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ANGLE | ERC-20 | 160.538915 | $0.021401 |
$3.44 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 16370438 | 2 years ago | | | 0 | 0.0086466528 | |
| 16190645 | 2 years ago | | | 0 | 0.0054868072 | |
| 15972593 | 2 years ago | | | 0 | 0.0069816552 | |
| 15376653 | 2 years ago | | | 0 | 0.0092502600 | |
| 15314615 | 2 years ago | | | 0 | 0.012774763 | |
| 15265729 | 2 years ago | | | 0 | 0.0014621120 | |
| 15255707 | 2 years ago | | | 0 | 0.0041806867 | |
| 15126891 | 2 years ago | | | 0 | 0.0047591117 | |
| 15123383 | 2 years ago | | | 0 | 0.0057914807 | |
| 15101108 | 2 years ago | | | 0 | 0.0052132958 |
ABI
ABI objects
Getter at block 21227095
BASE_PARAMS() view returns (uint256)
1000000000
BASE_TOKENS() view returns (uint256)
1000000000000000000
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
GUARDIAN_ROLE() view returns (bytes32)
0x55435dd261a4b9b3364963f7738a7a662ad9c84396d64be3365284bb7f0a5041
POOLMANAGER_ROLE() view returns (bytes32)
0x5916f72c85af4ac6f7e34636ecc97619c4b2085da099a5d28f3e58436cfbe562
baseURI() view returns (string)
http://perpetuals.angle.money/DAI/agEUR/
haBonusMalusDeposit() view returns (uint64)
1000000000
haBonusMalusWithdraw() view returns (uint64)
1000000000
keeperFeesClosingCap() view returns (uint256)
500000000000000000000
keeperFeesLiquidationCap() view returns (uint256)
500000000000000000000
keeperFeesLiquidationRatio() view returns (uint64)
600000000
lastUpdateTime() view returns (uint256)
1666225355
limitHAHedge() view returns (uint64)
980000000
lockTime() view returns (uint64)
3600
maintenanceMargin() view returns (uint64)
6250000
maxLeverage() view returns (uint64)
99000000000
name() pure returns (string)
AnglePerp
oracle() view returns (address)
0xb41a7ce1def5a9557695c6ca0b63faf05f99daa5
paused() view returns (bool)
true
periodFinish() view returns (uint256)
1666225355
poolManager() view returns (address)
0xc9daabc677f3d1301006e723bd21c60be57a5915
rewardPerTokenStored() view returns (uint256)
299639183159898482
rewardRate() view returns (uint256)
161925487377624
rewardToken() view returns (address)
0x31429d1856ad1377a8a0079410b297e1a9e214c2
rewardsDistribution() view returns (address)
0x4f91f01ce8ec07c9b1f6a82c18811848254917ab
rewardsDuration() view returns (uint256)
606000
symbol() pure returns (string)
AnglePerp
targetHAHedge() view returns (uint64)
960000000
totalHedgeAmount() view returns (uint256)
20737165377547086745163
Read-only
balanceOf(address owner) view returns (uint256)
earned(uint256 perpetualID) view returns (uint256)
getApproved(uint256 perpetualID) view returns (address)
getCashOutAmount(uint256 perpetualID, uint256 rate) view returns (uint256, uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
isApprovedForAll(address owner, address operator) view returns (bool)
isApprovedOrOwner(address spender, uint256 perpetualID) view returns (bool)
ownerOf(uint256 perpetualID) view returns (address)
perpetualData(uint256) view returns (uint256 entryRate, uint256 entryTimestamp, uint256 margin, uint256 committedAmount)
perpetualRewardPerTokenPaid(uint256) view returns (uint256)
rewards(uint256) view returns (uint256)
supportsInterface(bytes4 interfaceId) pure returns (bool)
tokenURI(uint256 perpetualID) view returns (string)
xHAFeesDeposit(uint256) view returns (uint64)
xHAFeesWithdraw(uint256) view returns (uint64)
xKeeperFeesClosing(uint256) view returns (uint64)
yHAFeesDeposit(uint256) view returns (uint64)
yHAFeesWithdraw(uint256) view returns (uint64)
yKeeperFeesClosing(uint256) view returns (uint64)
State-modifying
Events admin() returns (address admin_)
changeAdmin(address newAdmin)
implementation() returns (address implementation_)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
addToPerpetual(uint256 perpetualID, uint256 amount)
approve(address to, uint256 perpetualID)
closePerpetual(uint256 perpetualID, address to, uint256 minCashOutAmount)
deployCollateral(address[] governorList, address guardian, address feeManager_, address oracle_)
forceClosePerpetuals(uint256[] perpetualIDs)
getReward(uint256 perpetualID)
grantRole(bytes32 role, address account)
initialize(address poolManager_, address rewardToken_)
liquidatePerpetuals(uint256[] perpetualIDs)
notifyRewardAmount(uint256 reward)
openPerpetual(address owner, uint256 margin, uint256 committedAmount, uint256 maxOracleRate, uint256 minNetMargin) returns (uint256 perpetualID)
pause()
recoverERC20(address tokenAddress, address to, uint256 tokenAmount)
removeFromPerpetual(uint256 perpetualID, uint256 amount, address to)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
safeTransferFrom(address from, address to, uint256 perpetualID)
safeTransferFrom(address from, address to, uint256 perpetualID, bytes _data)
setApprovalForAll(address operator, bool approved)
setBaseURI(string _baseURI)
setBoundsPerpetual(uint64 _maxLeverage, uint64 _maintenanceMargin)
setFeeKeeper(uint64 feeDeposit, uint64 feeWithdraw)
setFeeManager(address feeManager_)
setHAFees(uint64[] _xHAFees, uint64[] _yHAFees, uint8 deposit)
setKeeperFeesCap(uint256 _keeperFeesLiquidationCap, uint256 _keeperFeesClosingCap)
setKeeperFeesClosing(uint64[] _xKeeperFeesClosing, uint64[] _yKeeperFeesClosing)
setKeeperFeesLiquidationRatio(uint64 _keeperFeesLiquidationRatio)
setLockTime(uint64 _lockTime)
setNewRewardsDistribution(address _rewardsDistribution)
setOracle(address oracle_)
setRewardDistribution(uint256 _rewardsDuration, address _rewardsDistribution)
setTargetAndLimitHAHedge(uint64 _targetHAHedge, uint64 _limitHAHedge)
transferFrom(address from, address to, uint256 perpetualID)
unpause()
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
Upgraded(address indexed implementation)
Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
ApprovalForAll(address indexed owner, address indexed operator, bool approved)
BaseURIUpdated(string _baseURI)
BoundsPerpetualUpdated(uint64 _maxLeverage, uint64 _maintenanceMargin)
HAFeesUpdated(uint64[] _xHAFees, uint64[] _yHAFees, uint8 deposit)
KeeperFeesCapUpdated(uint256 _keeperFeesLiquidationCap, uint256 _keeperFeesClosingCap)
KeeperFeesClosingUpdated(uint64[] xKeeperFeesClosing, uint64[] yKeeperFeesClosing)
KeeperFeesLiquidationRatioUpdated(uint64 _keeperFeesLiquidationRatio)
KeeperTransferred(address keeperAddress, uint256 liquidationFees)
LockTimeUpdated(uint64 _lockTime)
Paused(address account)
PerpetualClosed(uint256 _perpetualID, uint256 _closeAmount)
PerpetualOpened(uint256 _perpetualID, uint256 _entryRate, uint256 _margin, uint256 _committedAmount)
PerpetualUpdated(uint256 _perpetualID, uint256 _margin)
PerpetualsForceClosed(uint256[] perpetualIDs, struct Pairs[] ownerAndCashOut, address keeper, uint256 reward)
Recovered(address indexed tokenAddress, address indexed to, uint256 amount)
RewardAdded(uint256 _reward)
RewardPaid(address indexed _user, uint256 _reward)
RewardsDistributionDurationUpdated(uint256 _rewardsDuration, address indexed _rewardsDistributor)
RewardsDistributionUpdated(address indexed _rewardsDistributor)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
TargetAndLimitHAHedgeUpdated(uint64 _targetHAHedge, uint64 _limitHAHedge)
Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
Unpaused(address account)
constructor(address _logic, address admin_, bytes _data)
fallback()
receive()
This contract contains no error objects.