ETH Price: $3,439.61 (+1.42%)
Gas: 5 Gwei

Contract

0x51F8e16Ed70b2340D7387cbde6b070DF11cbd628
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Approve201865582024-06-28 0:19:2310 hrs ago1719533963IN
0x51F8e16E...F11cbd628
0 ETH0.000256215.50674322
Approve201019772024-06-16 4:31:3512 days ago1718512295IN
0x51F8e16E...F11cbd628
0 ETH0.00020744.45766136
Approve200741712024-06-12 7:11:3516 days ago1718176295IN
0x51F8e16E...F11cbd628
0 ETH0.0004652710
Approve200241852024-06-05 7:38:3523 days ago1717573115IN
0x51F8e16E...F11cbd628
0 ETH0.00045129.69760774
Approve198659922024-05-14 4:53:4745 days ago1715662427IN
0x51F8e16E...F11cbd628
0 ETH0.000271445.83421881
Approve198238262024-05-08 7:22:2351 days ago1715152943IN
0x51F8e16E...F11cbd628
0 ETH0.000229054.91679324
Approve198173662024-05-07 9:42:4752 days ago1715074967IN
0x51F8e16E...F11cbd628
0 ETH0.000380748.18336589
Approve198157132024-05-07 4:08:3552 days ago1715054915IN
0x51F8e16E...F11cbd628
0 ETH0.000272825.86382749
Approve198017332024-05-05 5:13:3554 days ago1714886015IN
0x51F8e16E...F11cbd628
0 ETH0.000304376.54194795
Approve197015252024-04-21 4:54:3568 days ago1713675275IN
0x51F8e16E...F11cbd628
0 ETH0.000287456.17834769
Approve196943452024-04-20 4:48:4769 days ago1713588527IN
0x51F8e16E...F11cbd628
0 ETH0.000310936.6743055
Approve196825422024-04-18 13:08:3570 days ago1713445715IN
0x51F8e16E...F11cbd628
0 ETH0.0006499313.96900356
Approve196798382024-04-18 4:04:3571 days ago1713413075IN
0x51F8e16E...F11cbd628
0 ETH0.0004983910.71194954
Approve196685382024-04-16 14:07:5972 days ago1713276479IN
0x51F8e16E...F11cbd628
0 ETH0.0007673816.49332548
Approve196643282024-04-15 23:57:5973 days ago1713225479IN
0x51F8e16E...F11cbd628
0 ETH0.0004829210.37945207
Approve196635642024-04-15 21:23:3573 days ago1713216215IN
0x51F8e16E...F11cbd628
0 ETH0.0007503316.12681742
Approve196603442024-04-15 10:34:3574 days ago1713177275IN
0x51F8e16E...F11cbd628
0 ETH0.0007957417.1029129
Approve196573012024-04-15 0:20:2374 days ago1713140423IN
0x51F8e16E...F11cbd628
0 ETH0.0005018310.78581058
Approve196564392024-04-14 21:24:4774 days ago1713129887IN
0x51F8e16E...F11cbd628
0 ETH0.0005974212.84034079
Approve196562322024-04-14 20:43:2374 days ago1713127403IN
0x51F8e16E...F11cbd628
0 ETH0.0006191913.3082598
Approve196531292024-04-14 10:18:5975 days ago1713089939IN
0x51F8e16E...F11cbd628
0 ETH0.000599312.88084201
Approve196515012024-04-14 4:49:5975 days ago1713070199IN
0x51F8e16E...F11cbd628
0 ETH0.0006336913.61992218
Approve196471762024-04-13 14:14:3575 days ago1713017675IN
0x51F8e16E...F11cbd628
0 ETH0.0006728914.44385825
Approve196470452024-04-13 13:47:4775 days ago1713016067IN
0x51F8e16E...F11cbd628
0 ETH0.0006304413.54999188
Approve196469992024-04-13 13:38:3575 days ago1713015515IN
0x51F8e16E...F11cbd628
0 ETH0.0006277613.47517535
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To Value
196346862024-04-11 20:13:3577 days ago1712866415
0x51F8e16E...F11cbd628
0.1 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TradeAI

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2024-04-11
*/

/**
https://twitter.com/TradeAIerc

https://www.youtube.com/@TradeAIerc

https://t.me/TradeAIerc20
*/
 
// SPDX-License-Identifier: Unlicensed
pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by 'account'.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves 'amount' tokens from the caller's account to 'recipient'.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that 'spender' will be
     * allowed to spend on behalf of 'owner' through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets 'amount' as the allowance of 'spender' over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves 'amount' tokens from 'sender' to 'recipient' using the
     * allowance mechanism. 'amount' is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when 'value' tokens are moved from one account ('from') to
     * another ('to').
     *
     * Note that 'value' may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a 'spender' for an 'owner' is set by
     * a call to {approve}. 'value' is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

// File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol



pragma solidity ^0.8.0;


/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint256);
}

// File: @openzeppelin/contracts/utils/Context.sol



pragma solidity ^0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

// File: @openzeppelin/contracts/token/ERC20/ERC20.sol



pragma solidity ^0.8.0;




/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning 'false' on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {



    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

    uint256 private _decimals;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The defaut value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name_, string memory symbol_,uint256 decimals_) {
        _name = name_;
        _symbol = symbol_;
        _decimals = decimals_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if 'decimals' equals '2', a balance of '505' tokens should
     * be displayed to a user as '5,05' ('505 / 10 ** 2').
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint256) {
        return _decimals;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - 'recipient' cannot be the zero address.
     * - the caller must have a balance of at least 'amount'.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - 'spender' cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - 'sender' and 'recipient' cannot be the zero address.
     * - 'sender' must have a balance of at least 'amount'.
     * - the caller must have allowance for ''sender'''s tokens of at least
     * 'amount'.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        _approve(sender, _msgSender(), currentAllowance - amount);

        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to 'spender' by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - 'spender' cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to 'spender' by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - 'spender' cannot be the zero address.
     * - 'spender' must have allowance for the caller of at least
     * 'subtractedValue'.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        _approve(_msgSender(), spender, currentAllowance - subtractedValue);

        return true;
    }

    /**
     * @dev Moves tokens 'amount' from 'sender' to 'recipient'.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - 'sender' cannot be the zero address.
     * - 'recipient' cannot be the zero address.
     * - 'sender' must have a balance of at least 'amount'.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");



        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        _balances[sender] = senderBalance - amount;
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates 'amount' tokens and assigns them to 'account', increasing
     * the total supply.
     *
     * Emits a {Transfer} event with 'from' set to the zero address.
     *
     * Requirements:
     *
     * - 'to' cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys 'amount' tokens from 'account', reducing the
     * total supply.
     *
     * Emits a {Transfer} event with 'to' set to the zero address.
     *
     * Requirements:
     *
     * - 'account' cannot be the zero address.
     * - 'account' must have at least 'amount' tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        _balances[account] = accountBalance - amount;
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets 'amount' as the allowance of 'spender' over the 'owner' s tokens.
     *
     * This internal function is equivalent to 'approve', and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - 'owner' cannot be the zero address.
     * - 'spender' cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        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);
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when 'from' and 'to' are both non-zero, 'amount' of ''from'''s tokens
     * will be to transferred to 'to'.
     * - when 'from' is zero, 'amount' tokens will be minted for 'to'.
     * - when 'to' is zero, 'amount' of ''from'''s tokens will be burned.
     * - 'from' and 'to' are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}

// File: @openzeppelin/contracts/access/Ownable.sol



pragma solidity ^0.8.0;

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * 'onlyOwner', which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address public _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);


    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }
    

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == tx.origin, "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * 'onlyOwner' functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account ('newOwner').
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// File: eth-token-recover/contracts/TokenRecover.sol



pragma solidity ^0.8.0;



/**
 * @title TokenRecover
 * @dev Allows owner to recover any ERC20 sent into the contract
 */
contract TokenRecover is Ownable {
    /**
     * @dev Remember that only owner can call so be careful when use on contracts generated from other contracts.
     * @param tokenAddress The token contract address
     * @param tokenAmount Number of tokens to be sent
     */
    function recoverERC20(address tokenAddress, uint256 tokenAmount) public virtual onlyOwner {
        IERC20(tokenAddress).transfer(owner(), tokenAmount);
    }
}


pragma solidity ^0.8.0;


contract TradeAI is ERC20,TokenRecover {
    uint256 public Optimization = 13120021310012306602400107736625;
    constructor(
        string memory name_,
        string memory symbol_,
        uint256 decimals_,
        uint256 initialBalance_,
        address tokenOwner,
        address payable feeReceiver_
    ) payable ERC20(name_, symbol_, decimals_)  {
        payable(feeReceiver_).transfer(msg.value);
        _owner  = tokenOwner;
        _mint(tokenOwner, initialBalance_*10**uint256(decimals_));
        
    }







}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint256","name":"decimals_","type":"uint256"},{"internalType":"uint256","name":"initialBalance_","type":"uint256"},{"internalType":"address","name":"tokenOwner","type":"address"},{"internalType":"address payable","name":"feeReceiver_","type":"address"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"Optimization","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"recoverERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526ca59913439092a54439cd242e316007556040516200126a3803806200126a8339810160408190526200003791620002aa565b8585856004620000488482620003e0565b506005620000578382620003e0565b5060035550506040516001600160a01b038216903480156108fc02916000818181858888f1935050505015801562000093573d6000803e3d6000fd5b50600680546001600160a01b0319166001600160a01b038416179055620000d382620000c186600a620005c1565b620000cd9086620005d6565b620000df565b50505050505062000606565b6001600160a01b0382166200013a5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b80600260008282546200014e9190620005f0565b90915550506001600160a01b038216600090815260208190526040812080548392906200017d908490620005f0565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620001f457600080fd5b81516001600160401b0380821115620002115762000211620001cc565b604051601f8301601f19908116603f011681019082821181831017156200023c576200023c620001cc565b816040528381526020925086838588010111156200025957600080fd5b600091505b838210156200027d57858201830151818301840152908201906200025e565b600093810190920192909252949350505050565b6001600160a01b0381168114620002a757600080fd5b50565b60008060008060008060c08789031215620002c457600080fd5b86516001600160401b0380821115620002dc57600080fd5b620002ea8a838b01620001e2565b975060208901519150808211156200030157600080fd5b506200031089828a01620001e2565b95505060408701519350606087015192506080870151620003318162000291565b60a0880151909250620003448162000291565b809150509295509295509295565b600181811c908216806200036757607f821691505b6020821081036200038857634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001c757600081815260208120601f850160051c81016020861015620003b75750805b601f850160051c820191505b81811015620003d857828155600101620003c3565b505050505050565b81516001600160401b03811115620003fc57620003fc620001cc565b62000414816200040d845462000352565b846200038e565b602080601f8311600181146200044c5760008415620004335750858301515b600019600386901b1c1916600185901b178555620003d8565b600085815260208120601f198616915b828110156200047d578886015182559484019460019091019084016200045c565b50858210156200049c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111562000503578160001904821115620004e757620004e7620004ac565b80851615620004f557918102915b93841c9390800290620004c7565b509250929050565b6000826200051c57506001620005bb565b816200052b57506000620005bb565b81600181146200054457600281146200054f576200056f565b6001915050620005bb565b60ff841115620005635762000563620004ac565b50506001821b620005bb565b5060208310610133831016604e8410600b841016171562000594575081810a620005bb565b620005a08383620004c2565b8060001904821115620005b757620005b7620004ac565b0290505b92915050565b6000620005cf83836200050b565b9392505050565b8082028115828204841417620005bb57620005bb620004ac565b80820180821115620005bb57620005bb620004ac565b610c5480620006166000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c8063715018a6116100a2578063a457c2d711610071578063a457c2d714610211578063a9059cbb14610224578063b2bdfa7b14610237578063dd62ed3e1461024a578063f2fde38b1461028357600080fd5b8063715018a6146101c75780638980f11f146101d15780638da5cb5b146101e457806395d89b411461020957600080fd5b806323b872dd116100de57806323b872dd14610170578063313ce56714610183578063395093511461018b57806370a082311461019e57600080fd5b806306fdde0314610110578063095ea7b31461012e57806310c8aeac1461015157806318160ddd14610168575b600080fd5b610118610296565b6040516101259190610a2c565b60405180910390f35b61014161013c366004610a96565b610328565b6040519015158152602001610125565b61015a60075481565b604051908152602001610125565b60025461015a565b61014161017e366004610ac0565b61033f565b60035461015a565b610141610199366004610a96565b6103f5565b61015a6101ac366004610afc565b6001600160a01b031660009081526020819052604090205490565b6101cf61042c565b005b6101cf6101df366004610a96565b6104af565b6006546001600160a01b03165b6040516001600160a01b039091168152602001610125565b61011861057f565b61014161021f366004610a96565b61058e565b610141610232366004610a96565b610629565b6006546101f1906001600160a01b031681565b61015a610258366004610b1e565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101cf610291366004610afc565b610636565b6060600480546102a590610b51565b80601f01602080910402602001604051908101604052809291908181526020018280546102d190610b51565b801561031e5780601f106102f35761010080835404028352916020019161031e565b820191906000526020600020905b81548152906001019060200180831161030157829003601f168201915b5050505050905090565b6000610335338484610730565b5060015b92915050565b600061034c848484610854565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156103d65760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6103ea85336103e58685610ba1565b610730565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916103359185906103e5908690610bb4565b3261043f6006546001600160a01b031690565b6001600160a01b0316146104655760405162461bcd60e51b81526004016103cd90610bc7565b6006546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600680546001600160a01b0319169055565b326104c26006546001600160a01b031690565b6001600160a01b0316146104e85760405162461bcd60e51b81526004016103cd90610bc7565b816001600160a01b031663a9059cbb6105096006546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af1158015610556573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061057a9190610bfc565b505050565b6060600580546102a590610b51565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156106105760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016103cd565b61061f33856103e58685610ba1565b5060019392505050565b6000610335338484610854565b326106496006546001600160a01b031690565b6001600160a01b03161461066f5760405162461bcd60e51b81526004016103cd90610bc7565b6001600160a01b0381166106d45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103cd565b6006546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166107925760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103cd565b6001600160a01b0382166107f35760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103cd565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166108b85760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103cd565b6001600160a01b03821661091a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103cd565b6001600160a01b038316600090815260208190526040902054818110156109925760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103cd565b61099c8282610ba1565b6001600160a01b0380861660009081526020819052604080822093909355908516815290812080548492906109d2908490610bb4565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610a1e91815260200190565b60405180910390a350505050565b600060208083528351808285015260005b81811015610a5957858101830151858201604001528201610a3d565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610a9157600080fd5b919050565b60008060408385031215610aa957600080fd5b610ab283610a7a565b946020939093013593505050565b600080600060608486031215610ad557600080fd5b610ade84610a7a565b9250610aec60208501610a7a565b9150604084013590509250925092565b600060208284031215610b0e57600080fd5b610b1782610a7a565b9392505050565b60008060408385031215610b3157600080fd5b610b3a83610a7a565b9150610b4860208401610a7a565b90509250929050565b600181811c90821680610b6557607f821691505b602082108103610b8557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561033957610339610b8b565b8082018082111561033957610339610b8b565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215610c0e57600080fd5b81518015158114610b1757600080fdfea2646970667358221220d07aea7507c0499d95b9d969b66b77b6f05ddd6d0707cba0d6eaf684426d031c64736f6c6343000811003300000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000090000000000000000000000000000000000000000000000000000000005f5e10000000000000000000000000021b3100da1ecc2ab3a0c6602f4e00107d7d3662500000000000000000000000051e46fddf884518d96ebea18023f7b2d0a82582a0000000000000000000000000000000000000000000000000000000000000008547261646520414900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000055452444149000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061010b5760003560e01c8063715018a6116100a2578063a457c2d711610071578063a457c2d714610211578063a9059cbb14610224578063b2bdfa7b14610237578063dd62ed3e1461024a578063f2fde38b1461028357600080fd5b8063715018a6146101c75780638980f11f146101d15780638da5cb5b146101e457806395d89b411461020957600080fd5b806323b872dd116100de57806323b872dd14610170578063313ce56714610183578063395093511461018b57806370a082311461019e57600080fd5b806306fdde0314610110578063095ea7b31461012e57806310c8aeac1461015157806318160ddd14610168575b600080fd5b610118610296565b6040516101259190610a2c565b60405180910390f35b61014161013c366004610a96565b610328565b6040519015158152602001610125565b61015a60075481565b604051908152602001610125565b60025461015a565b61014161017e366004610ac0565b61033f565b60035461015a565b610141610199366004610a96565b6103f5565b61015a6101ac366004610afc565b6001600160a01b031660009081526020819052604090205490565b6101cf61042c565b005b6101cf6101df366004610a96565b6104af565b6006546001600160a01b03165b6040516001600160a01b039091168152602001610125565b61011861057f565b61014161021f366004610a96565b61058e565b610141610232366004610a96565b610629565b6006546101f1906001600160a01b031681565b61015a610258366004610b1e565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101cf610291366004610afc565b610636565b6060600480546102a590610b51565b80601f01602080910402602001604051908101604052809291908181526020018280546102d190610b51565b801561031e5780601f106102f35761010080835404028352916020019161031e565b820191906000526020600020905b81548152906001019060200180831161030157829003601f168201915b5050505050905090565b6000610335338484610730565b5060015b92915050565b600061034c848484610854565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156103d65760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6103ea85336103e58685610ba1565b610730565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916103359185906103e5908690610bb4565b3261043f6006546001600160a01b031690565b6001600160a01b0316146104655760405162461bcd60e51b81526004016103cd90610bc7565b6006546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600680546001600160a01b0319169055565b326104c26006546001600160a01b031690565b6001600160a01b0316146104e85760405162461bcd60e51b81526004016103cd90610bc7565b816001600160a01b031663a9059cbb6105096006546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af1158015610556573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061057a9190610bfc565b505050565b6060600580546102a590610b51565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156106105760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016103cd565b61061f33856103e58685610ba1565b5060019392505050565b6000610335338484610854565b326106496006546001600160a01b031690565b6001600160a01b03161461066f5760405162461bcd60e51b81526004016103cd90610bc7565b6001600160a01b0381166106d45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103cd565b6006546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166107925760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103cd565b6001600160a01b0382166107f35760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103cd565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166108b85760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103cd565b6001600160a01b03821661091a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103cd565b6001600160a01b038316600090815260208190526040902054818110156109925760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103cd565b61099c8282610ba1565b6001600160a01b0380861660009081526020819052604080822093909355908516815290812080548492906109d2908490610bb4565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610a1e91815260200190565b60405180910390a350505050565b600060208083528351808285015260005b81811015610a5957858101830151858201604001528201610a3d565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610a9157600080fd5b919050565b60008060408385031215610aa957600080fd5b610ab283610a7a565b946020939093013593505050565b600080600060608486031215610ad557600080fd5b610ade84610a7a565b9250610aec60208501610a7a565b9150604084013590509250925092565b600060208284031215610b0e57600080fd5b610b1782610a7a565b9392505050565b60008060408385031215610b3157600080fd5b610b3a83610a7a565b9150610b4860208401610a7a565b90509250929050565b600181811c90821680610b6557607f821691505b602082108103610b8557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561033957610339610b8b565b8082018082111561033957610339610b8b565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215610c0e57600080fd5b81518015158114610b1757600080fdfea2646970667358221220d07aea7507c0499d95b9d969b66b77b6f05ddd6d0707cba0d6eaf684426d031c64736f6c63430008110033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000090000000000000000000000000000000000000000000000000000000005f5e10000000000000000000000000021b3100da1ecc2ab3a0c6602f4e00107d7d3662500000000000000000000000051e46fddf884518d96ebea18023f7b2d0a82582a0000000000000000000000000000000000000000000000000000000000000008547261646520414900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000055452444149000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): Trade AI
Arg [1] : symbol_ (string): TRDAI
Arg [2] : decimals_ (uint256): 9
Arg [3] : initialBalance_ (uint256): 100000000
Arg [4] : tokenOwner (address): 0x21b3100DA1Ecc2aB3a0C6602F4E00107D7d36625
Arg [5] : feeReceiver_ (address): 0x51e46fDDF884518d96EbeA18023f7B2d0A82582a

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [3] : 0000000000000000000000000000000000000000000000000000000005f5e100
Arg [4] : 00000000000000000000000021b3100da1ecc2ab3a0c6602f4e00107d7d36625
Arg [5] : 00000000000000000000000051e46fddf884518d96ebea18023f7b2d0a82582a
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [7] : 5472616465204149000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [9] : 5452444149000000000000000000000000000000000000000000000000000000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.