Skip to content

Commit

Permalink
unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aalavandhan committed Sep 19, 2024
1 parent f8040a7 commit 569b658
Show file tree
Hide file tree
Showing 5 changed files with 1,092 additions and 68 deletions.
15 changes: 15 additions & 0 deletions spot-vaults/contracts/_test/MockPerp.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.24;

import { MockERC20 } from "./MockERC20.sol";

contract MockPerp is MockERC20 {
uint256 private _tvl;
function getTVL() public view returns (uint256) {
return _tvl;
}

function setTVL(uint256 tvl) public {
_tvl = tvl;
}
}
Loading

0 comments on commit 569b658

Please sign in to comment.