Skip to content

Instantly share code, notes, and snippets.

View m-waqas88's full-sized avatar

WaQaS - 0xe4669da m-waqas88

View GitHub Profile
@m-waqas88
m-waqas88 / DualProxyChainCall.sol
Created August 8, 2024 07:23
Implementation of Dual Proxy Chain call, mocking Minimal Proxy and UUPS Proxy. This is just for testing and understanding the logic.
// 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;
@m-waqas88
m-waqas88 / PoC.sol
Created December 27, 2024 12:26
Autonomint
// 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();