AnglePerp

Verified contract

Proxy

Active on Ethereum with 323 txns
Deployed by via 0x44cd3d97 at 13473261
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
26 additional variables
ERC-20
Value $3.44
0x224b08bbdc4c3919ba67391e94675dd7be94403c7733d9f6a81c47e704b5623b
0x9f12971ca617fb234cc059162c38e7963a6aa52aafe049eab625be582c7c436f
0x6a60d7c3248de0a1833f1df5ba98edc8fa2b470404ac45ec867b27ee30480b89
0x4a7dbb1072822b21569c2822ede29d29ba4ba6474f76bd817ce4d916860c82d4
0xbcb38703bfc8757326063865f231728c77a2a5b6678117bf45a9fddbc6a5e733
0x079f7a2942192805c8b5b4c0034db2c6019f83fc2de9ff10f6027ae20b4484b2
0x0dc076b1c1b005d00a5e611bb607871de62b4b2009ffe77eae4b45967e5a5569
0x858eb5bd7324f9290ce4e84541ae28a6c7002324b7aa7a0579974ea6ece016cc
0xe4aee5d59afa996e060bece265d20cf81f22218bdacae936efa2735f20bffcc1
0xceb3387db2906fcea673a237363d6d258ef376616efdd921d7a5e3a1c880d048
From

Functions
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 ownerview returns (uint256)
earned(uint256 perpetualIDview returns (uint256)
getApproved(uint256 perpetualIDview returns (address)
getCashOutAmount(uint256 perpetualIDuint256 rateview returns (uint256uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
isApprovedForAll(address owneraddress operatorview returns (bool)
isApprovedOrOwner(address spenderuint256 perpetualIDview returns (bool)
ownerOf(uint256 perpetualIDview returns (address)
perpetualData(uint256view returns (uint256 entryRateuint256 entryTimestampuint256 marginuint256 committedAmount)
perpetualRewardPerTokenPaid(uint256view returns (uint256)
rewards(uint256view returns (uint256)
supportsInterface(bytes4 interfaceIdpure returns (bool)
tokenURI(uint256 perpetualIDview returns (string)
xHAFeesDeposit(uint256view returns (uint64)
xHAFeesWithdraw(uint256view returns (uint64)
xKeeperFeesClosing(uint256view returns (uint64)
yHAFeesDeposit(uint256view returns (uint64)
yHAFeesWithdraw(uint256view returns (uint64)
yKeeperFeesClosing(uint256view returns (uint64)
State-modifying
admin(returns (address admin_)
changeAdmin(address newAdmin
implementation(returns (address implementation_)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
addToPerpetual(uint256 perpetualIDuint256 amount
approve(address touint256 perpetualID
closePerpetual(uint256 perpetualIDaddress touint256 minCashOutAmount
deployCollateral(address[] governorListaddress guardianaddress feeManager_address oracle_
forceClosePerpetuals(uint256[] perpetualIDs
getReward(uint256 perpetualID
grantRole(bytes32 roleaddress account
initialize(address poolManager_address rewardToken_
liquidatePerpetuals(uint256[] perpetualIDs
notifyRewardAmount(uint256 reward
openPerpetual(address owneruint256 marginuint256 committedAmountuint256 maxOracleRateuint256 minNetMarginreturns (uint256 perpetualID)
pause(
recoverERC20(address tokenAddressaddress touint256 tokenAmount
removeFromPerpetual(uint256 perpetualIDuint256 amountaddress to
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
safeTransferFrom(address fromaddress touint256 perpetualID
safeTransferFrom(address fromaddress touint256 perpetualIDbytes _data
setApprovalForAll(address operatorbool approved
setBaseURI(string _baseURI
setBoundsPerpetual(uint64 _maxLeverageuint64 _maintenanceMargin
setFeeKeeper(uint64 feeDeposituint64 feeWithdraw
setFeeManager(address feeManager_
setHAFees(uint64[] _xHAFeesuint64[] _yHAFeesuint8 deposit
setKeeperFeesCap(uint256 _keeperFeesLiquidationCapuint256 _keeperFeesClosingCap
setKeeperFeesClosing(uint64[] _xKeeperFeesClosinguint64[] _yKeeperFeesClosing
setKeeperFeesLiquidationRatio(uint64 _keeperFeesLiquidationRatio
setLockTime(uint64 _lockTime
setNewRewardsDistribution(address _rewardsDistribution
setOracle(address oracle_
setRewardDistribution(uint256 _rewardsDurationaddress _rewardsDistribution
setTargetAndLimitHAHedge(uint64 _targetHAHedgeuint64 _limitHAHedge
transferFrom(address fromaddress touint256 perpetualID
unpause(
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Upgraded(address indexed implementation
Approval(address indexed owneraddress indexed approveduint256 indexed tokenId
ApprovalForAll(address indexed owneraddress indexed operatorbool approved
BaseURIUpdated(string _baseURI
BoundsPerpetualUpdated(uint64 _maxLeverageuint64 _maintenanceMargin
HAFeesUpdated(uint64[] _xHAFeesuint64[] _yHAFeesuint8 deposit
KeeperFeesCapUpdated(uint256 _keeperFeesLiquidationCapuint256 _keeperFeesClosingCap
KeeperFeesClosingUpdated(uint64[] xKeeperFeesClosinguint64[] yKeeperFeesClosing
KeeperFeesLiquidationRatioUpdated(uint64 _keeperFeesLiquidationRatio
KeeperTransferred(address keeperAddressuint256 liquidationFees
LockTimeUpdated(uint64 _lockTime
Paused(address account
PerpetualClosed(uint256 _perpetualIDuint256 _closeAmount
PerpetualOpened(uint256 _perpetualIDuint256 _entryRateuint256 _marginuint256 _committedAmount
PerpetualUpdated(uint256 _perpetualIDuint256 _margin
PerpetualsForceClosed(uint256[] perpetualIDsstruct Pairs[] ownerAndCashOutaddress keeperuint256 reward
Recovered(address indexed tokenAddressaddress indexed touint256 amount
RewardAdded(uint256 _reward
RewardPaid(address indexed _useruint256 _reward
RewardsDistributionDurationUpdated(uint256 _rewardsDurationaddress indexed _rewardsDistributor
RewardsDistributionUpdated(address indexed _rewardsDistributor
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
TargetAndLimitHAHedgeUpdated(uint64 _targetHAHedgeuint64 _limitHAHedge
Transfer(address indexed fromaddress indexed touint256 indexed tokenId
Unpaused(address account
Constructor
constructor(address _logicaddress admin_bytes _data
Fallback and receive
fallback(
receive(
Errors

This contract contains no error objects.