SealedSwapper

Verified contract

Active on Ethereum with 132 txns
Deployed by via 0x8519dbff at 12710138
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
2 additional variables
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x4a674c9e9af494f0d4fd19c0ae287fe288f3ac2c2d922d46af950d513826f7d7
0x3b0e76161039dd6027a372b91edef4d1eafce84fe00c6e53d06885c41a3f1271
0x4df113d8881a87968d78f37ac8156c62ac4e4e90c8d909505ccf377c4e92f7cd
0x10ffccb747ee82795f4dfa19be3ad735022699a3585fe7447db0214c85348197
0x47bba9eba45a303650283f8ba06956fa4659121ed08709dc4118551b85124855
0x8e091e94fb64730480b498324ca0031b79867d256e4fbeecd4de1e82979e54ff
0x857205e75a8d9be9b3970dbb08a11edc568419609f1ece57d2040974f17bcfc6
0x5e56b349625e111061e840b4bc2a042c5098b3d54be33a0d241ffe139c653c9d
0xd9a4028ae532057c43fb987e23a731e504009823b047498f00592fd6debe9306
0xab17b8383fd14152026c0dd3399f962acfdbda97eb45d06446ecb990148a50bb

Functions
Getter at block 21304555
ADMIN_SWAPPER_ROLE(view returns (bytes32)
0x7fc2887e8de56246b6f93f4bf175251de0fdf77a398009f25115150ceeaadb82
AMM(view returns (address)
0xd77700fc3c78d1cb3acb1a9eac891ff59bc7946d
DDRatio(view returns (uint256)
1000000000000000000
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DERatio(view returns (uint256)
1000000000000000000
DURatio(view returns (uint256)
1000000000000000000
DUVaultRatio(view returns (uint256)
10000000000000
MAX_INT(view returns (uint256)
115792089237316195423570985008687907853269984665640564039457584007913129639935
TRUSTY_ROLE(view returns (bytes32)
0x0db189261133fd7647d3308512b693b47bed44004cac80fb59aa64b63a231e2c
bpt(view returns (address)
0x1dc2948b6db34e38291090b825518c1e8346938b
dea(view returns (address)
0x80ab141f324c3d6f2b18b030f1c4e95d4d658778
deus(view returns (address)
0x3b62f3820e0b035cc4ad602dece6d796bc325325
deusRatio(view returns (uint256)
1000000000000000000
sUniDD(view returns (address)
0x2ede9cb92a6de0916889e5936b1aad0e99ddf242
sUniDE(view returns (address)
0x670431fcdaf39280dee488c6d8277b9865e22d08
sUniDU(view returns (address)
0xb7b52c3523af9c237817a49d17e656283cc59678
scale(view returns (uint256)
1000000000000000000
sdea(view returns (address)
0xd8c33488b76d4a2c06d5ccb75574f10f6ccac3d7
sdeaVault(view returns (address)
0x1591da306e9726cf8a60bff1ce96d7714d7b24cd
sdeus(view returns (address)
0xc586aea83a96d57764a431b9f4e2e84844075a01
uniDD(view returns (address)
0x92adab6d8dc13dbd9052b291cfc1d07888299d65
uniDE(view returns (address)
0x4d9824fbc04eff50ab1dac614eae4e20859d5c91
uniDU(view returns (address)
0x83973dcaa04a6786ecc0628cc494a089c1aee947
uniswapRouter(view returns (address)
0x7a250d5630b4cf539739df2c5dacb4c659f2488d
usdc(view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
Read-only
calcExitAmount(address tokenuint256 Predeemedview returns (uint256)
deus2deaPath(uint256view returns (address)
estimateBpt2SDeaAmount(uint256 poolAmountInview returns (uint256[6]uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getSUniDD2SDeaAmount(uint256 amountInview returns (uint256)
getSUniDE2SDeaAmount(uint256 amountInview returns (uint256)
getSUniDU2SDeaAmount(uint256 amountInview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
minAmountCaculator(address pairuint256 amountview returns (uint256uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
usdc2wethPath(uint256view returns (address)
State-modifying
approve(address tokenaddress recipientuint256 amount
bpt2eth(uint256 poolAmountInuint256[] minAmountsOut
bpt2sdea(uint256 poolAmountInuint256 minAmountOut
bpt2sdea(uint256 poolAmountInuint256[] balancerMinAmountsOutuint256 minAmountOut
grantRole(bytes32 roleaddress account
init(address _sdeaaddress _sdeusaddress _sUniDDaddress _sUniDEaddress _sUniDUaddress _deaaddress _deusaddress _usdcaddress _uniDDaddress _uniDUaddress _uniDE
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
sUniDD2UniDD(uint256 amountaddress recipient
sUniDD2sdea(uint256 sUniDDAmountuint256 minAmountOut
sUniDE2UniDE(uint256 amountaddress recipient
sUniDE2sdea(uint256 sUniDEAmountuint256 minAmountOut
sUniDU2UniDU(uint256 amountaddress recipient
sUniDU2sdea(uint256 sUniDUAmountuint256 minAmountOut
sdea2dea(uint256 amountaddress recipient
sdeus2deus(uint256 amountaddress recipient
setRatios(uint256 _DERatiouint256 _DURatiouint256 _DDRatiouint256 _deusRatiouint256 _DUVaultRatio
withdraw(address tokenuint256 amountaddress to
withdrawEther(uint256 amountaddress to
Events
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Swap(address useraddress tokenInaddress tokenOutuint256 amountInuint256 amountOut
Constructor
constructor(address _uniswapRouteraddress _bptaddress _ammaddress _sdeaVaultuint256 _DERatiouint256 _DURatiouint256 _DDRatiouint256 _deusRatiouint256 _DUVaultRatio
Fallback and receive
receive(
Errors

This contract contains no error objects.