-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from euler-xyz/poc
Add empty POC test
- Loading branch information
Showing
2 changed files
with
29 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// SPDX-License-Identifier: UNLICENSED | ||
|
||
pragma solidity ^0.8.0; | ||
|
||
import "forge-std/Test.sol"; | ||
import {EthereumVaultConnector} from "evc/EthereumVaultConnector.sol"; | ||
import {StakingRewardStreams} from "../../src/StakingRewardStreams.sol"; | ||
import {TrackingRewardStreams} from "../../src/TrackingRewardStreams.sol"; | ||
import {MockERC20, MockERC20BalanceForwarder} from "../utils/MockERC20.sol"; | ||
|
||
contract POC_Test is Test { | ||
EthereumVaultConnector internal evc; | ||
StakingRewardStreams internal stakingDistributor; | ||
TrackingRewardStreams internal trackingDistributor; | ||
MockERC20 internal mockERC20; | ||
MockERC20BalanceForwarder internal mockERC20BalanceForwarder; | ||
|
||
function setUp() external { | ||
evc = new EthereumVaultConnector(); | ||
|
||
stakingDistributor = new StakingRewardStreams(address(evc), 10 days); | ||
mockERC20 = new MockERC20("Mock ERC20", "MOCK"); | ||
|
||
trackingDistributor = new TrackingRewardStreams(address(evc), 10 days); | ||
mockERC20BalanceForwarder = new MockERC20BalanceForwarder(evc, trackingDistributor, "Mock ERC20 BT", "MOCK_BT"); | ||
} | ||
|
||
function test_POC() external {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters