SealedSwapper
Verified contract
Active on
Ethereum with 132 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0xd777…946d
0x1591…24cd
2 additional
variables
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
TIME | ERC-20 | 2.727998M | -- | -- | |
sDEUS | ERC-20 | 0 | -- | -- | |
sUNI-DD | ERC-20 | 0 | -- | -- | |
sDEA | ERC-20 | 0 | -- | -- | |
sUNI-DU | ERC-20 | 0 | -- | -- | |
sUNI-DE | ERC-20 | 0 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 13328768 | 3 years ago | | | 0 | 0.0062480966 | |
| 13328768 | 3 years ago | | | 0 | 0.0061910026 | |
| 13328766 | 3 years ago | | | 0 | 0.0053810120 | |
| 13328759 | 3 years ago | | | 0 | 0.0034452564 | |
| 13328759 | 3 years ago | | | 0 | 0.0039467172 | |
| 13325710 | 3 years ago | | | 0 | 0.024050207 | |
| 13325480 | 3 years ago | | | 0 | 0.020260942 | |
| 13288416 | 3 years ago | | | 0 | 0.036760657 | |
| 13286368 | 3 years ago | | | 0 | 0.059138205 | |
| 13277843 | 3 years ago | | | 0 | 0.022206174 |
ABI
ABI objects
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 token, uint256 Predeemed) view returns (uint256)
deus2deaPath(uint256) view returns (address)
estimateBpt2SDeaAmount(uint256 poolAmountIn) view returns (uint256[6], uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
getSUniDD2SDeaAmount(uint256 amountIn) view returns (uint256)
getSUniDE2SDeaAmount(uint256 amountIn) view returns (uint256)
getSUniDU2SDeaAmount(uint256 amountIn) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
minAmountCaculator(address pair, uint256 amount) view returns (uint256, uint256)
supportsInterface(bytes4 interfaceId) view returns (bool)
usdc2wethPath(uint256) view returns (address)
State-modifying
Events approve(address token, address recipient, uint256 amount)
bpt2eth(uint256 poolAmountIn, uint256[] minAmountsOut)
bpt2sdea(uint256 poolAmountIn, uint256 minAmountOut)
bpt2sdea(uint256 poolAmountIn, uint256[] balancerMinAmountsOut, uint256 minAmountOut)
grantRole(bytes32 role, address account)
init(address _sdea, address _sdeus, address _sUniDD, address _sUniDE, address _sUniDU, address _dea, address _deus, address _usdc, address _uniDD, address _uniDU, address _uniDE)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
sUniDD2UniDD(uint256 amount, address recipient)
sUniDD2sdea(uint256 sUniDDAmount, uint256 minAmountOut)
sUniDE2UniDE(uint256 amount, address recipient)
sUniDE2sdea(uint256 sUniDEAmount, uint256 minAmountOut)
sUniDU2UniDU(uint256 amount, address recipient)
sUniDU2sdea(uint256 sUniDUAmount, uint256 minAmountOut)
sdea2dea(uint256 amount, address recipient)
sdeus2deus(uint256 amount, address recipient)
setRatios(uint256 _DERatio, uint256 _DURatio, uint256 _DDRatio, uint256 _deusRatio, uint256 _DUVaultRatio)
withdraw(address token, uint256 amount, address to)
withdrawEther(uint256 amount, address to)
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)
Swap(address user, address tokenIn, address tokenOut, uint256 amountIn, uint256 amountOut)
constructor(address _uniswapRouter, address _bpt, address _amm, address _sdeaVault, uint256 _DERatio, uint256 _DURatio, uint256 _DDRatio, uint256 _deusRatio, uint256 _DUVaultRatio)
receive()
This contract contains no error objects.