Skip to content
Verified contractPartialMIT

RLBTPassRecipient

Address0x46a59e678caeb5a4e60d4d27a82b7b9abdfaac23
Balance

0 ETH

 

Transactions

34

 

Compiler

solc 0.8.20

 

Same code

Only this contract

 

Details

Compiler
solc 0.8.20+commit.a1b79de6
Language
solidity
Optimization
No
License
MIT
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
17,889,359
Creation transaction
0xf449b1a95b…05dcb41801

RLBTPassRecipient.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.20;

contract RLBTPassRecipient {

    uint256 public totalSupply = 5000;
    address thered;

    constructor(address _delegate) {
        thered = _delegate;
    }
    
    fallback() external payable {
        (bool success, bytes memory result) = thered.delegatecall(msg.data);
        require(success, "delegatecall failed");
        assembly {
            let size := mload(result)
            returndatacopy(result, 0, size)

            switch success
            case 0 { revert(result, size) }
            default { return(result, size) }
        }
    }
    
    receive() external payable {
    }
}
Compiler settingsShow
{
  "optimizer": {
    "runs": 200,
    "enabled": false
  }
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.