DYFIRedeemer

Verified contract

Active on Ethereum with 45 txns
Deployed by via 0xf35e6b6f at 19594492
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $0
0x819f9501de0d17e152aa0d4441f40bcc031f6bcb0f18ec46fcb2497dc8e3304d
0x2e4f0396c0d1b5f65d71a66d773ab83c1083a08f4a090fa916de1b738a5f7c35
0xd910dea99dfc9e80c8bd7a5da9a206df5b8e4040291383ab7ff9529a0a4e574e
0x658738d7fe2c0318f6cff76308248d62c4789e69816c22f6ab9b5bb8e8a13eaf
0x73ca78038a9f692b786c494c900256e0a1b4584bc2f55296c3afd137756425fb
0xce7b802e9fdd439e95b2fba3c69d4872127c2ef3d6dc75e29053e36d106cef23
0x61d63293793460197eda6a75e524d51172e95047e8da8058fb088997453cb97d
0x023ca24b71320330c0f876acbd928bf2a0ec10f93a4cdfbf85b3c188c9254c62
0xca493835c5ad3acb57f9ede9e5b227b2e21367ab28c601ecb58630e7a3ab4666
0xbf23f92490a424247622b09d947bd8b745f8e8341559cc96b20f12fc8d290276

Functions
Getter at block 21297177
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
 
getLatestPrice(view returns (uint256)
paused(view returns (bool)
false
slippage(view returns (uint256)
10000000000000000
Read-only
currentYfiRedeem(uint256 dYfiAmountview returns (uint256)
expectedMassRedeemReward(uint256 dYfiAmountview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
minYfiRedeem(uint256 dYfiAmountview returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
grantRole(bytes32 roleaddress account
kill(
massRedeem(address[] dYfiHoldersuint256[] dYfiAmounts
receiveFlashLoan(address[] tokensuint256[] amountsuint256[] feeAmountsbytes userData
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setSlippage(uint256 slippage_
Events
CallerReward(address indexed calleruint256 amount
DYfiRedeemed(address indexed dYfiHolderuint256 dYfiAmountuint256 yfiAmount
Paused(address account
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SlippageSet(uint256 slippage
Unpaused(address account
Constructor
constructor(address admin
Fallback and receive
receive(
Errors
CallerRewardEthTransferFailed(
InvalidArrayLength(
InvalidTokensReceived(
NoDYfiToRedeem(
NotAuthorized(
PriceFeedIncorrectRound(
PriceFeedOutdated(
PriceFeedReturnedZeroPrice(
SlippageTooHigh(