Skip to content

Commit 17ed1e5

Browse files
committed
cleanup
1 parent fb66cf8 commit 17ed1e5

File tree

2 files changed

+4
-16
lines changed

2 files changed

+4
-16
lines changed

src/SavingsSuSDSTokenWrapper.sol

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ import {BaseTokenWrapper} from './BaseTokenWrapper.sol';
88
/**
99
* @title SavingsSuSDSTokenWrapper
1010
* @author Aave
11-
* @notice Contract to wrap Dai to SuSDS on supply to Aave, or unwrap from SuSDS to Dai on withdrawal
11+
* @notice Contract to wrap USDS to SuSDS on supply to Aave, or unwrap from SuSDS to USDS on withdrawal
1212
*/
1313
contract SavingsSuSDSTokenWrapper is BaseTokenWrapper {
1414
/**
1515
* @dev Constructor
16-
* @param tokenIn Address for Dai
17-
* @param tokenOut Address for SuSDS
16+
* @param tokenIn Address for USDS
17+
* @param tokenOut Address for SUSDS
1818
* @param pool The address of the Aave Pool
1919
* @param owner The address to transfer ownership to
2020
*/

test/SavingsSuSDSTokenWrapper.t.sol

+1-13
Original file line numberDiff line numberDiff line change
@@ -6,33 +6,21 @@ import {IERC20} from 'aave-v3-core/contracts/dependencies/openzeppelin/contracts
66
import {BaseTokenWrapperTest} from './BaseTokenWrapper.t.sol';
77
import {SavingsSuSDSTokenWrapper} from '../src/SavingsSuSDSTokenWrapper.sol';
88

9-
interface IPayload {
10-
function execute() external;
11-
12-
function sUSDS() external view returns (address);
13-
}
14-
159
// frontend deposits usds and automatically converted to susds on aave
16-
1710
contract SavingsSuSDSTokenWrapperTest is BaseTokenWrapperTest {
1811
address constant USDS = 0xdC035D45d973E3EC169d2276DDab16f1e407384F;
1912
address constant SUSDS = 0xa3931d71877C0E7a3148CB7Eb4463524FEc27fbD;
2013

21-
// fork
14+
// TODO Actual Address --> fork
2215
address constant AUSDS = 0x5c647cE0Ae10658ec44FA4E11A51c96e94efd1Dd;
2316

24-
// fork
25-
// address constant ASUSDS = 0x5c647ce0ae10658ec44fa4e11a51c96e94efd1dd;
26-
2717
function setUp() public {
2818
// vm.createSelectFork(vm.envString('ETH_RPC_URL'));
2919
vm.createSelectFork(
3020
'https://rpc.tenderly.co/fork/26fdbc41-5ae7-4f5a-9b47-a4ae15e05ce0'
3121
);
32-
// short gov executor
3322
pool = 0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2;
3423

35-
// in, out, pool, owner
3624
tokenWrapper = new SavingsSuSDSTokenWrapper(USDS, SUSDS, pool, OWNER);
3725
aTokenOut = AUSDS;
3826
tokenInDecimals = 18;

0 commit comments

Comments
 (0)