19 lines
589 B
Solidity
19 lines
589 B
Solidity
// SPDX-License-Identifier: MIT
|
|
|
|
pragma solidity ^0.6.12;
|
|
pragma experimental ABIEncoderV2;
|
|
|
|
import { MockProposal } from "./MockProposal.sol";
|
|
import { TornadoStakingRewards } from "@root/TornadoStakingRewards.sol";
|
|
|
|
import { Test } from "@forge-std/Test.sol";
|
|
import "@forge-std/console2.sol";
|
|
|
|
contract TestProposal is MockProposal {
|
|
function test() public executeCurrentProposalBefore {
|
|
TornadoStakingRewards staking = TornadoStakingRewards(_stakingAddress);
|
|
|
|
console2.log("Developer rewards: %s TORN", staking.checkReward(TEST_REAL_ADDRESS_WITH_BALANCE));
|
|
}
|
|
}
|