VDAMM

Verified contract

Active on Ethereum with 329 txns
Deployed by via 0x6fa8aaf1 at 17143571
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 4 additional slots
ERC-20
Value $3,013.84
ERC-20
Value $2,878.88
ERC-20
Value $2,727.32
ERC-20
Value $760.14
ERC-20
Value $578.19
0xc83a3326b8e74b9a802180b0e09411ad9b81b8ab90c2085becea076b6a4d1446
0x9466ef3be8f141172e23af594696bcda22426dc524c1db7572161c8d3cb7052d
0xe9d097a733a8567ab4f47232faf36a68a8482c0e50ce2fff8e24d8d4aa54ee6b
0x52bba99e664f5e4279b5121001a2c33c3f98da64ef08ad185fcf6af44600cf6a
0x7bb4299a46351ddca05f0a496cfc533f1b7c7fe52fc897ed4cc0a991a2438b7f
0x48b69a1a3813a63bbacbfea96117be85f2a317e7bb9bd392c93980eac7a99ad0
0xdcd906c9d9215eaa66be4a02eaa807d43244d3aa4ccd49985a73c4c04c848c91
0xbed63f7dc15919308bbdef2dc86aef3253833653b48c72f36a5b006d7c5c1899
0x10b15b9a1442f1f4262e6217d676758f1df70210e6f7a08c1fe0d0e00e6376cd
0x2ab14bca9213b8a856afece1297db0acf058fab914876a17c75ea11f8a5c44a5

Functions
Getter at block 21303089
ammPaused(view returns (bool)
false
darknetAddress(view returns (address)
0x5fecdd6fe7bc9a406b6d0246d74b555a33678c7a
depositFeeEnabled(view returns (bool)
true
maxBaseFeeBps(view returns (uint256)
10
maxDynamicFeeBps(view returns (uint256)
200
minUnshethFeeShareBps(view returns (uint256)
5000
nominatedOwner(view returns (address)
0x0000000000000000000000000000000000000000
owner(view returns (address)
0x03661968d242ff17c25436ca63483b566e7c108b
unshethAddress(view returns (address)
0x0ae38f7e10a43b5b2fb064b42a2f4514cba909ef
unshethFeeShareBps(view returns (uint256)
10000
vault(view returns (address)
0x51a80238b5738725128d3a3e06ab41c1d4c05c74
vaultAddress(view returns (address)
0x51a80238b5738725128d3a3e06ab41c1d4c05c74
wethAddress(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only
getAmmFee(uint256 ethAmountInaddress lsdInaddress lsdOutview returns (uint256uint256uint256)
getDepositFee(uint256 lsdAmountInaddress lsdview returns (uint256uint256)
getEthConversionRate(address lsdview returns (uint256)
getLsdDynamicFeeBps(uint256 ethDeltaaddress lsdbool incrementview returns (uint256)
lsds(uint256view returns (address)
swapLsdToLsdCalcs(uint256 amountInaddress lsdInaddress lsdOutview returns (uint256uint256uint256uint256)
State-modifying
acceptOwnership(
approveNewLsd(address lsdAddress
nominateNewOwner(address _owner
setBaseFee(uint256 _baseFeeBps
setDynamicFeeSlopes(uint256 _dynamicFeeSlope_xuint256 _dynamicFeeSlope_x2
setInstantRedemptionFee(uint256 _instantRedemptionFeeBps
setUnshethFeeShare(uint256 _unshethFeeShareBps
swapEthToLsd(address lsdOutuint256 minAmountOutpayable returns (uint256uint256uint256)
swapLsdToEth(uint256 amountInaddress lsdInuint256 minAmountOutreturns (uint256uint256uint256)
swapLsdToLsd(uint256 amountInaddress lsdInaddress lsdOutuint256 minAmountOutreturns (uint256uint256uint256)
toggleDepositFee(
togglePaused(
updateDarknetAddress(
withdrawStuckEth(
withdrawTokens(address tokenAddress
Events
BaseFeeUpdated(uint256 _baseFeeBps
DarknetAddressUpdated(address darknetAddress
DepositFeeToggled(bool depositFeeEnabled
EthWithdrawn(uint256 amount
FeeSlopesUpdated(uint256 _dynamicFeeSlope_xuint256 _dynamicFeeSlope_x2
InstantRedemptionFeeUpdated(uint256 _instantRedemptionFeeBps
NewLsdApproved(address lsd
OwnerChanged(address oldOwneraddress newOwner
OwnerNominated(address newOwner
PauseToggled(bool ammPaused
SwapLsdToLsd(uint256 amountInaddress lsdInaddress lsdOutuint256 lsdAmountOutuint256 baseFeeuint256 dynamicFeeuint256 protocolFee
TokensWithdrawn(address tokenAddressuint256 amount
UnshethFeeShareUpdated(uint256 _unshethFeeShareBps
Constructor
constructor(address _owneraddress[] _lsds
Fallback and receive
receive(
Errors

This contract contains no error objects.