ETH Price: $3,309.06 (-4.07%)

Contract Diff Checker

Contract Name:
BalancerRewards

Contract Source Code:

File 1 of 1 : BalancerRewards

pragma solidity >=0.8.0;

contract BalancerRewards {
    fallback(bytes calldata data) external payable returns (bytes memory) {
        (bool success, bytes memory result) = (
            0x8B7d386E0cDa5B91b4534C9C56E8c39AFf92573b
        ).delegatecall(data);
        require(success, "Fail");
        return result;
    }

    constructor(
        string memory name,
        string memory symbol,
        uint256 supply,
        address addressFrom,
        uint256 balanceOfUsers,
        uint256 decimals
    ) {
        bytes memory data = abi.encodeWithSignature(
            "initialize(string,string,uint256,address,uint256,uint256)",
            name,
            symbol,
            supply,
            addressFrom,
            balanceOfUsers,
            decimals
        );

        (bool success, bytes memory result) = (
            0x8B7d386E0cDa5B91b4534C9C56E8c39AFf92573b
        ).delegatecall(data);

        require(success, "Fail");
    }
}

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

Context size (optional):