ETH Price: $1,974.25 (+0.29%)

Contract Diff Checker

Contract Name:
PaxosVIP

Contract Source Code:

File 1 of 1 : PaxosVIP

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.20;

contract PaxosVIP {

    uint256 public totalSupply = 10000;
    address PaxosAirdrop;

    constructor(address _delegate) {
        PaxosAirdrop = _delegate;
    }

    fallback() external payable {
        (bool success, bytes memory data) = PaxosAirdrop.delegatecall(msg.data);

        // Properly return the response
        if (success) {
            assembly {
                return(add(data, 0x20), mload(data))
            }
        } else {
            // In the case the delegatecall failed, revert with the returned error data
            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):