ETH Price: $3,388.65 (-1.29%)

Contract

0xaA261BDdeaDf7b94b0092083a4265D5b5AE71BFF
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve210307432024-10-23 20:40:3534 days ago1729716035IN
0xaA261BDd...b5AE71BFF
0 ETH0.0007033715.09526247
Approve210307362024-10-23 20:39:1134 days ago1729715951IN
0xaA261BDd...b5AE71BFF
0 ETH0.0006586414.13513927
Approve210307242024-10-23 20:36:4734 days ago1729715807IN
0xaA261BDd...b5AE71BFF
0 ETH0.000654714.05066551
Approve210306982024-10-23 20:31:3534 days ago1729715495IN
0xaA261BDd...b5AE71BFF
0 ETH0.0005723912.26850693
Approve209139302024-10-07 13:17:3550 days ago1728307055IN
0xaA261BDd...b5AE71BFF
0 ETH0.0020530444.00386636
Approve208951752024-10-04 22:33:1153 days ago1728081191IN
0xaA261BDd...b5AE71BFF
0 ETH0.000124065.10314679
Approve208861652024-10-03 16:25:5954 days ago1727972759IN
0xaA261BDd...b5AE71BFF
0 ETH0.000772216.66687395
Approve208820542024-10-03 2:38:5955 days ago1727923139IN
0xaA261BDd...b5AE71BFF
0 ETH0.000280666.04824255
Approve208818592024-10-03 1:59:4755 days ago1727920787IN
0xaA261BDd...b5AE71BFF
0 ETH0.000358217.68768228
Approve208818152024-10-03 1:50:5955 days ago1727920259IN
0xaA261BDd...b5AE71BFF
0 ETH0.000267085.72446052
Approve208816662024-10-03 1:21:1155 days ago1727918471IN
0xaA261BDd...b5AE71BFF
0 ETH0.000343787.36855233
Approve208816662024-10-03 1:21:1155 days ago1727918471IN
0xaA261BDd...b5AE71BFF
0 ETH0.000343787.36855233
Approve208816662024-10-03 1:21:1155 days ago1727918471IN
0xaA261BDd...b5AE71BFF
0 ETH0.000343787.36855233
Approve208816662024-10-03 1:21:1155 days ago1727918471IN
0xaA261BDd...b5AE71BFF
0 ETH0.000343787.36855233
Approve208813732024-10-03 0:22:3555 days ago1727914955IN
0xaA261BDd...b5AE71BFF
0 ETH0.000348687.4735712
Approve208813692024-10-03 0:21:4755 days ago1727914907IN
0xaA261BDd...b5AE71BFF
0 ETH0.000343567.36380916
Approve208813682024-10-03 0:21:3555 days ago1727914895IN
0xaA261BDd...b5AE71BFF
0 ETH0.000299746.43280916
Approve208813352024-10-03 0:14:5955 days ago1727914499IN
0xaA261BDd...b5AE71BFF
0 ETH0.0004883510.46716061
Approve208813322024-10-03 0:14:2355 days ago1727914463IN
0xaA261BDd...b5AE71BFF
0 ETH0.0016494135.3527066
Approve208813312024-10-03 0:14:1155 days ago1727914451IN
0xaA261BDd...b5AE71BFF
0 ETH0.000304686.57614507
Approve208813222024-10-03 0:12:2355 days ago1727914343IN
0xaA261BDd...b5AE71BFF
0 ETH0.000378538.16168475
Approve208813222024-10-03 0:12:2355 days ago1727914343IN
0xaA261BDd...b5AE71BFF
0 ETH0.0005252911.26168475
Approve208813212024-10-03 0:12:1155 days ago1727914331IN
0xaA261BDd...b5AE71BFF
0 ETH0.000443849.51316443
Approve208813212024-10-03 0:12:1155 days ago1727914331IN
0xaA261BDd...b5AE71BFF
0 ETH0.0005371511.51316443
Approve208813212024-10-03 0:12:1155 days ago1727914331IN
0xaA261BDd...b5AE71BFF
0 ETH0.0005371511.51316443
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x6A7c2bB5...99816FB36
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
StandardToken

Compiler Version
v0.8.25+commit.b61c2a91

Optimization Enabled:
Yes with 1 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2024-08-01
*/

// https://x.com/cannontechweb
// This token is deployed via cannon.tech

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC-20 standard as defined in the ERC.
 */
interface IERC20 {
    /**
     * @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);

    /**
     * @dev Returns the value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves a `value` amount of tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 value) 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 a `value` amount of tokens 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 value) external returns (bool);

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

pragma solidity ^0.8.20;

/**
 * @dev Interface for the optional metadata functions from the ERC-20 standard.
 */
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 (uint8);
}

pragma solidity ^0.8.20;

/**
 * @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) {
        return msg.data;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

pragma solidity ^0.8.20;

/**
 * @dev Standard ERC-20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens.
 */
interface IERC20Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC20InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC20InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     * @param allowance Amount of tokens a `spender` is allowed to operate with.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC20InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC20InvalidSpender(address spender);
}


pragma solidity ^0.8.20;


/**
 * @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}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC-20
 * applications.
 */
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
    mapping(address account => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual 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 default value returned by this function, unless
     * it's 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 returns (uint8) {
        return 18;
    }

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

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 value) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, value);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Skips emitting an {Approval} event indicating an allowance update. This is not
     * required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve].
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `value`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `value`.
     */
    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, value);
        _transfer(from, to, value);
        return true;
    }

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _transfer(address from, address to, uint256 value) virtual internal {
        if (from == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        if (to == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(from, to, value);
    }

    /**
     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
     * this function.
     *
     * Emits a {Transfer} event.
     */
    function _update(address from, address to, uint256 value) internal virtual {
        if (from == address(0)) {
            // Overflow check required: The rest of the code assumes that totalSupply never overflows
            _totalSupply += value;
        } else {
            uint256 fromBalance = _balances[from];
            if (fromBalance < value) {
                revert ERC20InsufficientBalance(from, fromBalance, value);
            }
            unchecked {
                // Overflow not possible: value <= fromBalance <= totalSupply.
                _balances[from] = fromBalance - value;
            }
        }

        if (to == address(0)) {
            unchecked {
                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
                _totalSupply -= value;
            }
        } else {
            unchecked {
                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
                _balances[to] += value;
            }
        }

        emit Transfer(from, to, value);
    }

    /**
     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
     * Relies on the `_update` mechanism
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _mint(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(address(0), account, value);
    }

    /**
     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
     * Relies on the `_update` mechanism.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead
     */
    function _burn(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        _update(account, address(0), value);
    }

    /**
     * @dev Sets `value` 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.
     *
     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
     */
    function _approve(address owner, address spender, uint256 value) internal {
        _approve(owner, spender, value, true);
    }

    /**
     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
     *
     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
     * `Approval` event during `transferFrom` operations.
     *
     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
     * true using the following override:
     *
     * ```solidity
     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
     *     super._approve(owner, spender, value, true);
     * }
     * ```
     *
     * Requirements are the same as {_approve}.
     */
    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
        if (owner == address(0)) {
            revert ERC20InvalidApprover(address(0));
        }
        if (spender == address(0)) {
            revert ERC20InvalidSpender(address(0));
        }
        _allowances[owner][spender] = value;
        if (emitEvent) {
            emit Approval(owner, spender, value);
        }
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `value`.
     *
     * Does not update the allowance value in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Does not emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 value) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            if (currentAllowance < value) {
                revert ERC20InsufficientAllowance(spender, currentAllowance, value);
            }
            unchecked {
                _approve(owner, spender, currentAllowance - value, false);
            }
        }
    }
}

interface IBondingCurveDeployer{
    // function deployBondingCurve(address token, address router, string memory _web, string memory _tg, string memory _x, string memory _desc, string memory _tokenLogo, string memory _name, string memory _symbol, address _who) external returns (address bondingCurve);
    function deployBondingCurve(address[] memory addresses, string memory _web, string memory _tg, string memory _x, string memory _desc, string memory _tokenLogo, string memory _name, string memory _symbol) external returns (address bondingCurve);

}


pragma solidity ^0.8.0;


contract StandardToken is ERC20 {

    address public bondingCurve;
    bool public dexInitialized = false;
    mapping(address => bool) public isBondingCurve;
    event Created(address bondingC);

    constructor(string memory name, string memory symbol, string memory _website, string memory _tg, string memory _x, string memory _description, string memory _tokenLogo, address[] memory addresses) ERC20(name, symbol) {
        IBondingCurveDeployer bondingCurveDeployer = IBondingCurveDeployer(0x1305476DF0A3Dce3ece643fE8C0b13c76C946566); // 0x38E2e1A7189eA14bbc6d3479c5c3E5f068cD61e2

        address[] memory localAddresses = addresses;
        localAddresses[0] = address(this); // token
        localAddresses[1] = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; // router   
        localAddresses[2] = msg.sender; // deployer
        localAddresses[3] = address(0x0); // placeholder helper

        string memory localName = name; 
        string memory locanSybmol = symbol;

        address curved = bondingCurveDeployer.deployBondingCurve(localAddresses, _website, _tg, _x, _description, _tokenLogo, localName, locanSybmol);
        bondingCurve = curved;
        _mint(curved, 1000000000 * 10 ** decimals());
        isBondingCurve[curved] = true;
        emit Created(curved);
    }

    function initializeDex() public returns(bool) {
        require(msg.sender == bondingCurve, 'Cannot Initialize Dex');
        dexInitialized = true;
        return true;
    }
        /**
     * @dev Moves a `value` amount of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _transfer(address from, address to, uint256 value) override internal {
        if (from == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        if (to == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        if(dexInitialized == true){
            _update(from, to, value);
        } else {
            require(isBondingCurve[from] == true || isBondingCurve[to] == true, 'Not bonding curve');
            _update(from, to, value);
        }

    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"_website","type":"string"},{"internalType":"string","name":"_tg","type":"string"},{"internalType":"string","name":"_x","type":"string"},{"internalType":"string","name":"_description","type":"string"},{"internalType":"string","name":"_tokenLogo","type":"string"},{"internalType":"address[]","name":"addresses","type":"address[]"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"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":false,"internalType":"address","name":"bondingC","type":"address"}],"name":"Created","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":[{"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":"value","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":"bondingCurve","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dexInitialized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initializeDex","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isBondingCurve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

Deployed Bytecode

0x608060405234801561000f575f80fd5b50600436106100ad575f3560e01c806306fdde03146100b1578063095ea7b3146100cf57806318160ddd146100f257806323b872dd14610104578063313ce567146101175780636afa67671461012657806370a082311461013a57806395d89b4114610162578063a9059cbb1461016a578063c694cc431461017d578063dd62ed3e14610185578063eff1d50e14610198578063f36ce210146101b8575b5f80fd5b6100b96101da565b6040516100c691906106aa565b60405180910390f35b6100e26100dd3660046106fa565b61026a565b60405190151581526020016100c6565b6002545b6040519081526020016100c6565b6100e2610112366004610722565b610283565b604051601281526020016100c6565b6005546100e290600160a01b900460ff1681565b6100f661014836600461075b565b6001600160a01b03165f9081526020819052604090205490565b6100b96102a6565b6100e26101783660046106fa565b6102b5565b6100e26102c2565b6100f661019336600461077b565b610334565b6005546101ab906001600160a01b031681565b6040516100c691906107ac565b6100e26101c636600461075b565b60066020525f908152604090205460ff1681565b6060600380546101e9906107c0565b80601f0160208091040260200160405190810160405280929190818152602001828054610215906107c0565b80156102605780601f1061023757610100808354040283529160200191610260565b820191905f5260205f20905b81548152906001019060200180831161024357829003601f168201915b5050505050905090565b5f3361027781858561035e565b60019150505b92915050565b5f33610290858285610370565b61029b8585856103c0565b506001949350505050565b6060600480546101e9906107c0565b5f336102778185856103c0565b6005545f906001600160a01b0316331461031b5760405162461bcd60e51b8152602060048201526015602482015274086c2dcdcdee84092dcd2e8d2c2d8d2f4ca4088caf605b1b60448201526064015b60405180910390fd5b506005805460ff60a01b1916600160a01b179055600190565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b61036b83838360016104c5565b505050565b5f61037b8484610334565b90505f1981146103ba57818110156103ac57828183604051637dc7a0d960e11b8152600401610312939291906107f8565b6103ba84848484035f6104c5565b50505050565b6001600160a01b0383166103e9575f604051634b637e8f60e11b815260040161031291906107ac565b6001600160a01b038216610412575f60405163ec442f0560e01b815260040161031291906107ac565b600554600160a01b900460ff1615156001036104335761036b838383610597565b6001600160a01b0383165f9081526006602052604090205460ff1615156001148061047a57506001600160a01b0382165f9081526006602052604090205460ff1615156001145b6104ba5760405162461bcd60e51b81526020600482015260116024820152704e6f7420626f6e64696e6720637572766560781b6044820152606401610312565b61036b838383610597565b6001600160a01b0384166104ee575f60405163e602df0560e01b815260040161031291906107ac565b6001600160a01b038316610517575f604051634a1406b160e11b815260040161031291906107ac565b6001600160a01b038085165f90815260016020908152604080832093871683529290522082905580156103ba57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161058991815260200190565b60405180910390a350505050565b6001600160a01b0383166105c1578060025f8282546105b69190610819565b9091555061061e9050565b6001600160a01b0383165f90815260208190526040902054818110156106005783818360405163391434e360e21b8152600401610312939291906107f8565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b03821661063a57600280548290039055610658565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161069d91815260200190565b60405180910390a3505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b03811681146106f5575f80fd5b919050565b5f806040838503121561070b575f80fd5b610714836106df565b946020939093013593505050565b5f805f60608486031215610734575f80fd5b61073d846106df565b925061074b602085016106df565b9150604084013590509250925092565b5f6020828403121561076b575f80fd5b610774826106df565b9392505050565b5f806040838503121561078c575f80fd5b610795836106df565b91506107a3602084016106df565b90509250929050565b6001600160a01b0391909116815260200190565b600181811c908216806107d457607f821691505b6020821081036107f257634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160a01b039390931683526020830191909152604082015260600190565b8082018082111561027d57634e487b7160e01b5f52601160045260245ffdfea2646970667358221220684d04ae4fe9a5d4573a9e6f99b605cbd5804896995e41e57787c83cee712d8264736f6c63430008190033

Deployed Bytecode Sourcemap

17761:2423:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7783:91;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;10076:190;;;;;;:::i;:::-;;:::i;:::-;;;1039:14:1;;1032:22;1014:41;;1002:2;987:18;10076:190:0;874:187:1;8885:99:0;8964:12;;8885:99;;;1212:25:1;;;1200:2;1185:18;8885:99:0;1066:177:1;10876:249:0;;;;;;:::i;:::-;;:::i;8736:84::-;;;8810:2;1723:36:1;;1711:2;1696:18;8736:84:0;1581:184:1;17836:34:0;;;;;-1:-1:-1;;;17836:34:0;;;;;;9047:118;;;;;;:::i;:::-;-1:-1:-1;;;;;9139:18:0;9112:7;9139:18;;;;;;;;;;;;9047:118;7993:95;;;:::i;9370:182::-;;;;;;:::i;:::-;;:::i;19084:179::-;;;:::i;9615:142::-;;;;;;:::i;:::-;;:::i;17802:27::-;;;;;-1:-1:-1;;;;;17802:27:0;;;;;;;;;;:::i;17877:46::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;7783:91;7828:13;7861:5;7854:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7783:91;:::o;10076:190::-;10149:4;4055:10;10205:31;4055:10;10221:7;10230:5;10205:8;:31::i;:::-;10254:4;10247:11;;;10076:190;;;;;:::o;10876:249::-;10963:4;4055:10;11021:37;11037:4;4055:10;11052:5;11021:15;:37::i;:::-;11069:26;11079:4;11085:2;11089:5;11069:9;:26::i;:::-;-1:-1:-1;11113:4:0;;10876:249;-1:-1:-1;;;;10876:249:0:o;7993:95::-;8040:13;8073:7;8066:14;;;;;:::i;9370:182::-;9439:4;4055:10;9495:27;4055:10;9512:2;9516:5;9495:9;:27::i;19084:179::-;19163:12;;19124:4;;-1:-1:-1;;;;;19163:12:0;19149:10;:26;19141:60;;;;-1:-1:-1;;;19141:60:0;;3021:2:1;19141:60:0;;;3003:21:1;3060:2;3040:18;;;3033:30;-1:-1:-1;;;3079:18:1;;;3072:51;3140:18;;19141:60:0;;;;;;;;;-1:-1:-1;19212:14:0;:21;;-1:-1:-1;;;;19212:21:0;-1:-1:-1;;;19212:21:0;;;19229:4;;19084:179::o;9615:142::-;-1:-1:-1;;;;;9722:18:0;;;9695:7;9722:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;9615:142::o;14943:130::-;15028:37;15037:5;15044:7;15053:5;15060:4;15028:8;:37::i;:::-;14943:130;;;:::o;16675:487::-;16775:24;16802:25;16812:5;16819:7;16802:9;:25::i;:::-;16775:52;;-1:-1:-1;;16842:16:0;:37;16838:317;;16919:5;16900:16;:24;16896:132;;;16979:7;16988:16;17006:5;16952:60;;-1:-1:-1;;;16952:60:0;;;;;;;;;;:::i;16896:132::-;17071:57;17080:5;17087:7;17115:5;17096:16;:24;17122:5;17071:8;:57::i;:::-;16764:398;16675:487;;;:::o;19650:531::-;-1:-1:-1;;;;;19743:18:0;;19739:88;;19812:1;19785:30;;-1:-1:-1;;;19785:30:0;;;;;;;;:::i;19739:88::-;-1:-1:-1;;;;;19841:16:0;;19837:88;;19910:1;19881:32;;-1:-1:-1;;;19881:32:0;;;;;;;;:::i;19837:88::-;19938:14;;-1:-1:-1;;;19938:14:0;;;;:22;;19956:4;19938:22;19935:237;;19976:24;19984:4;19990:2;19994:5;19976:7;:24::i;19935:237::-;-1:-1:-1;;;;;20041:20:0;;;;;;:14;:20;;;;;;;;:28;;:20;:28;;:58;;-1:-1:-1;;;;;;20073:18:0;;;;;;:14;:18;;;;;;;;:26;;:18;:26;20041:58;20033:88;;;;-1:-1:-1;;;20033:88:0;;3721:2:1;20033:88:0;;;3703:21:1;3760:2;3740:18;;;3733:30;-1:-1:-1;;;3779:18:1;;;3772:47;3836:18;;20033:88:0;3519:341:1;20033:88:0;20136:24;20144:4;20150:2;20154:5;20136:7;:24::i;15940:443::-;-1:-1:-1;;;;;16053:19:0;;16049:91;;16125:1;16096:32;;-1:-1:-1;;;16096:32:0;;;;;;;;:::i;16049:91::-;-1:-1:-1;;;;;16154:21:0;;16150:92;;16227:1;16199:31;;-1:-1:-1;;;16199:31:0;;;;;;;;:::i;16150:92::-;-1:-1:-1;;;;;16252:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;:35;;;16298:78;;;;16349:7;-1:-1:-1;;;;;16333:31:0;16342:5;-1:-1:-1;;;;;16333:31:0;;16358:5;16333:31;;;;1212:25:1;;1200:2;1185:18;;1066:177;16333:31:0;;;;;;;;15940:443;;;;:::o;12150:1135::-;-1:-1:-1;;;;;12240:18:0;;12236:552;;12394:5;12378:12;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;12236:552:0;;-1:-1:-1;12236:552:0;;-1:-1:-1;;;;;12454:15:0;;12432:19;12454:15;;;;;;;;;;;12488:19;;;12484:117;;;12560:4;12566:11;12579:5;12535:50;;-1:-1:-1;;;12535:50:0;;;;;;;;;;:::i;12484:117::-;-1:-1:-1;;;;;12724:15:0;;:9;:15;;;;;;;;;;12742:19;;;;12724:37;;12236:552;-1:-1:-1;;;;;12804:16:0;;12800:435;;12970:12;:21;;;;;;;12800:435;;;-1:-1:-1;;;;;13186:13:0;;:9;:13;;;;;;;;;;:22;;;;;;12800:435;13267:2;-1:-1:-1;;;;;13252:25:0;13261:4;-1:-1:-1;;;;;13252:25:0;;13271:5;13252:25;;;;1212::1;;1200:2;1185:18;;1066:177;13252:25:0;;;;;;;;12150:1135;;;:::o;14:418:1:-;163:2;152:9;145:21;126:4;195:6;189:13;238:6;233:2;222:9;218:18;211:34;297:6;292:2;284:6;280:15;275:2;264:9;260:18;254:50;353:1;348:2;339:6;328:9;324:22;320:31;313:42;423:2;416;412:7;407:2;399:6;395:15;391:29;380:9;376:45;372:54;364:62;;;14:418;;;;:::o;437:173::-;505:20;;-1:-1:-1;;;;;554:31:1;;544:42;;534:70;;600:1;597;590:12;534:70;437:173;;;:::o;615:254::-;683:6;691;744:2;732:9;723:7;719:23;715:32;712:52;;;760:1;757;750:12;712:52;783:29;802:9;783:29;:::i;:::-;773:39;859:2;844:18;;;;831:32;;-1:-1:-1;;;615:254:1:o;1248:328::-;1325:6;1333;1341;1394:2;1382:9;1373:7;1369:23;1365:32;1362:52;;;1410:1;1407;1400:12;1362:52;1433:29;1452:9;1433:29;:::i;:::-;1423:39;;1481:38;1515:2;1504:9;1500:18;1481:38;:::i;:::-;1471:48;;1566:2;1555:9;1551:18;1538:32;1528:42;;1248:328;;;;;:::o;1770:186::-;1829:6;1882:2;1870:9;1861:7;1857:23;1853:32;1850:52;;;1898:1;1895;1888:12;1850:52;1921:29;1940:9;1921:29;:::i;:::-;1911:39;1770:186;-1:-1:-1;;;1770:186:1:o;1961:260::-;2029:6;2037;2090:2;2078:9;2069:7;2065:23;2061:32;2058:52;;;2106:1;2103;2096:12;2058:52;2129:29;2148:9;2129:29;:::i;:::-;2119:39;;2177:38;2211:2;2200:9;2196:18;2177:38;:::i;:::-;2167:48;;1961:260;;;;;:::o;2226:203::-;-1:-1:-1;;;;;2390:32:1;;;;2372:51;;2360:2;2345:18;;2226:203::o;2434:380::-;2513:1;2509:12;;;;2556;;;2577:61;;2631:4;2623:6;2619:17;2609:27;;2577:61;2684:2;2676:6;2673:14;2653:18;2650:38;2647:161;;2730:10;2725:3;2721:20;2718:1;2711:31;2765:4;2762:1;2755:15;2793:4;2790:1;2783:15;2647:161;;2434:380;;;:::o;3169:345::-;-1:-1:-1;;;;;3389:32:1;;;;3371:51;;3453:2;3438:18;;3431:34;;;;3496:2;3481:18;;3474:34;3359:2;3344:18;;3169:345::o;3865:222::-;3930:9;;;3951:10;;;3948:133;;;4003:10;3998:3;3994:20;3991:1;3984:31;4038:4;4035:1;4028:15;4066:4;4063:1;4056:15

Swarm Source

ipfs://684d04ae4fe9a5d4573a9e6f99b605cbd5804896995e41e57787c83cee712d82

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  ]

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.