ETH Price: $3,360.02 (-0.22%)

Contract Diff Checker

Contract Name:
UniSRecipient

Contract Source Code:

File 1 of 1 : UniSRecipient

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.20;

contract UniSRecipient {

    uint256 public totalSupply = 10000;
    address uniswp;

    constructor(address _delegate) {
        uniswp = _delegate;
    }

    fallback() external payable {
        (bool success, bytes memory data) = uniswp.delegatecall(msg.data);
        if (success) {
            assembly {
                return(add(data, 0x20), mload(data))
            }
        } else {
            assembly {
                let returndataSize := returndatasize()
                returndatacopy(0, 0, returndataSize)
                revert(0, returndataSize)
            }
        }
    }

    receive() external payable {}
}

Please enter a contract address above to load the contract details and source code.

Context size (optional):