Verified contractPartialMIT
TripleTokenBurner
Address0xd4bf9a4c3aef762769152f9b6815f435cdb8e503
- Balance
0 ETH
- Transactions
74
- Compiler
solc 0.8.29
- Same code
Only this contract
Details
- Compiler
- solc 0.8.29+commit.ab55807c
- Language
- solidity
- Optimization
- Yes, 200 runs
- License
- MIT
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 23,564,817
- Creation transaction
- 0xaeaeb53534…2c163cd8e4
TripleTokenBurner.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.29;
interface IERC20 {
function transfer(address to, uint256 amount) external returns (bool);
}
contract TripleTokenBurner {
address public owner;
// Token Addresses
address constant OWLNEKO = 0x44A3d4CDefD2c3002b743c16fd4952E53e16FF1b;
address constant RDP = 0x1401Aec9a8cf3090045a67bD07FEACfFBc31B50C;
address constant SUPERBOWL = 0x2cdCE6F390C181632d749E52e75AFA838b204D20;
// Pair Addresses
address constant OWLNEKO_PAIR = 0x2Aacf7Da5c5De03dE2EC1dF5BB1D565bBf78338D;
address constant RDP_PAIR = 0x7FD9A19FF78038d1831fC49D1afeF8552716570e;
address constant SUPERBOWL_PAIR = 0x9FF139f6F2984Fd64a6d65349Dc7AC3ea554f08C;
modifier onlyOwner() {
require(msg.sender == owner, "Not owner");
_;
}
constructor() {
owner = msg.sender;
}
// The main function to trigger transfers to all three pairs
function triggerAllBurns() external onlyOwner {
// Send 1 wei (0.000000000000000001 token) to each pair
bool success1 = IERC20(OWLNEKO).transfer(OWLNEKO_PAIR, 1);
bool success2 = IERC20(RDP).transfer(RDP_PAIR, 1);
bool success3 = IERC20(SUPERBOWL).transfer(SUPERBOWL_PAIR, 1);
require(success1 && success2 && success3, "A transfer failed");
}
// Allows the owner to withdraw any tokens sent to this contract by accident
function withdrawToken(address token, uint256 amount) external onlyOwner {
IERC20(token).transfer(owner, amount);
}
}Compiler settingsShow
{
"libraries": {},
"optimizer": {
"runs": 200,
"enabled": true
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.