This file contains hidden or 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
// SPDX-License-Identifier: UNLICENSED | |
pragma solidity 0.8.22; | |
import {Test, console2, console} from "forge-std/Test.sol"; | |
contract Playground { | |
function play() public view { | |
_verifyLRTYieldCalculation(); |
This file contains hidden or 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
// SPDX-License-Identifier: MIT | |
pragma solidity 0.8.27; | |
contract Main { | |
function test_name() external { | |
//! Inputs | |
//! Pre States |
This file contains hidden or 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
// SPDX-License-Identifier: Licensed | |
pragma solidity 0.8.25; | |
event MyLog(string key, uint256 val); | |
event MyLog(string key, address val); | |
event MyLog(string key, bytes32 val); | |
interface IERC20 { | |
function balanceOf(address account) external view returns (uint256); | |
function transfer(address to, uint256 amount) external returns (bool); |
This file contains hidden or 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
// SPDX-License-Identifier: MIT | |
pragma solidity 0.8.9; | |
import {Script} from "forge-std/Script.sol"; | |
// import "contracts/access/MidasAccessControl.sol"; | |
// import {ERC1967Proxy} from "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol"; | |
struct Ctx { | |
uint256 counter; |
This file contains hidden or 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
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.13; | |
import {Test, console} from "forge-std/Test.sol"; | |
contract MinimalProxyClone { | |
uint256 public a = 10; | |
UUPSProxy public uupsProxy; | |
address public immutable uupsProxyAsImplementation; |