Moonbase Alpha Testnet

Contract

0x4c945cD20DD13168BC87f30D55f12dC26512ca33

Overview

DEV Balance

Moonbase Alpha LogoMoonbase Alpha LogoMoonbase Alpha Logo0 DEV

Multichain Info

N/A
Transaction Hash
Method
Block
From
To
Mint Token77002222024-07-03 18:28:4298 days ago1720031322IN
0x4c945cD2...26512ca33
0 DEV0.000008940.125
Mint Token76421072024-06-29 8:33:54103 days ago1719650034IN
0x4c945cD2...26512ca33
0 DEV0.000008940.125
Mint Token76183922024-06-27 13:22:12104 days ago1719494532IN
0x4c945cD2...26512ca33
0 DEV0.000008940.125
Mint Token76026722024-06-26 8:32:12106 days ago1719390732IN
0x4c945cD2...26512ca33
0 DEV0.000008940.125
Mint Token75660212024-06-23 13:41:12108 days ago1719150072IN
0x4c945cD2...26512ca33
0 DEV0.000008940.125
Mint Token75551072024-06-22 17:57:48109 days ago1719079068IN
0x4c945cD2...26512ca33
0 DEV0.000116241.625
Approve75492452024-06-22 7:19:30110 days ago1719040770IN
0x4c945cD2...26512ca33
0 DEV0.000008440.125
Mint Token75491112024-06-22 7:05:36110 days ago1719039936IN
0x4c945cD2...26512ca33
0 DEV0.000008940.125
Mint Token75356992024-06-21 6:51:54111 days ago1718952714IN
0x4c945cD2...26512ca33
0 DEV0.000010610.125
Approve75106682024-06-19 9:16:18113 days ago1718788578IN
0x4c945cD2...26512ca33
0 DEV0.000008440.125
Mint Token75105172024-06-19 9:00:36113 days ago1718787636IN
0x4c945cD2...26512ca33
0 DEV0.000010610.125
Mint Token72775242024-06-01 14:54:36130 days ago1717253676IN
0x4c945cD2...26512ca33
0 DEV0.000010610.125
Mint Token66622562024-04-13 12:26:54179 days ago1713011214IN
0x4c945cD2...26512ca33
0 DEV0.000137981.625
Approve64299812024-03-24 20:22:00199 days ago1711311720IN
0x4c945cD2...26512ca33
0 DEV0.000039631.625
Approve64299812024-03-24 20:22:00199 days ago1711311720IN
0x4c945cD2...26512ca33
0 DEV0.000039631.625
Approve64299722024-03-24 20:20:54199 days ago1711311654IN
0x4c945cD2...26512ca33
0 DEV0.000039631.625
Approve64297342024-03-24 19:52:06199 days ago1711309926IN
0x4c945cD2...26512ca33
0 DEV0.000039631.625
Approve64297322024-03-24 19:51:54199 days ago1711309914IN
0x4c945cD2...26512ca33
0 DEV0.000039631.625
Approve64297302024-03-24 19:51:42199 days ago1711309902IN
0x4c945cD2...26512ca33
0 DEV0.000039631.625
Approve64297302024-03-24 19:51:42199 days ago1711309902IN
0x4c945cD2...26512ca33
0 DEV0.000039631.625
Mint Token63580612024-03-18 16:47:30205 days ago1710780450IN
0x4c945cD2...26512ca33
0 DEV0.000137981.625
Approve61945422024-03-04 7:43:42220 days ago1709538222IN
0x4c945cD2...26512ca33
0 DEV0.000039631.62504549
Approve61945412024-03-04 7:43:30220 days ago1709538210IN
0x4c945cD2...26512ca33
0 DEV0.000039631.625
Mint Token59930012024-02-03 12:23:06249 days ago1706962986IN
0x4c945cD2...26512ca33
0 DEV0.000066771.625
Mint Token59743062024-01-31 16:58:42252 days ago1706720322IN
0x4c945cD2...26512ca33
0 DEV0.000066771.625
View all transactions

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To
77002712024-07-03 18:34:1898 days ago1720031658
0x4c945cD2...26512ca33
0 DEV
77002712024-07-03 18:34:1898 days ago1720031658
0x4c945cD2...26512ca33
0 DEV
76550502024-06-30 7:48:06102 days ago1719733686
0x4c945cD2...26512ca33
0 DEV
76550502024-06-30 7:48:06102 days ago1719733686
0x4c945cD2...26512ca33
0 DEV
76422612024-06-29 8:49:30103 days ago1719650970
0x4c945cD2...26512ca33
0 DEV
76422612024-06-29 8:49:30103 days ago1719650970
0x4c945cD2...26512ca33
0 DEV
76297862024-06-28 10:11:18104 days ago1719569478
0x4c945cD2...26512ca33
0 DEV
76297862024-06-28 10:11:18104 days ago1719569478
0x4c945cD2...26512ca33
0 DEV
76296572024-06-28 9:55:06104 days ago1719568506
0x4c945cD2...26512ca33
0 DEV
76296572024-06-28 9:55:06104 days ago1719568506
0x4c945cD2...26512ca33
0 DEV
76216902024-06-27 19:24:54104 days ago1719516294
0x4c945cD2...26512ca33
0 DEV
76216902024-06-27 19:24:54104 days ago1719516294
0x4c945cD2...26512ca33
0 DEV
76182872024-06-27 13:11:06104 days ago1719493866
0x4c945cD2...26512ca33
0 DEV
76182872024-06-27 13:11:06104 days ago1719493866
0x4c945cD2...26512ca33
0 DEV
76091422024-06-26 20:19:30105 days ago1719433170
0x4c945cD2...26512ca33
0 DEV
76091422024-06-26 20:19:30105 days ago1719433170
0x4c945cD2...26512ca33
0 DEV
76029782024-06-26 9:05:06106 days ago1719392706
0x4c945cD2...26512ca33
0 DEV
76029782024-06-26 9:05:06106 days ago1719392706
0x4c945cD2...26512ca33
0 DEV
76029782024-06-26 9:05:06106 days ago1719392706
0x4c945cD2...26512ca33
0 DEV
76029782024-06-26 9:05:06106 days ago1719392706
0x4c945cD2...26512ca33
0 DEV
76027922024-06-26 8:44:36106 days ago1719391476
0x4c945cD2...26512ca33
0 DEV
76027922024-06-26 8:44:36106 days ago1719391476
0x4c945cD2...26512ca33
0 DEV
75958282024-06-25 20:09:00106 days ago1719346140
0x4c945cD2...26512ca33
0 DEV
75958282024-06-25 20:09:00106 days ago1719346140
0x4c945cD2...26512ca33
0 DEV
75957742024-06-25 20:03:36106 days ago1719345816
0x4c945cD2...26512ca33
0 DEV
View All Internal Transactions
Loading...
Loading

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

Contract Name:
mintableERC20

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 4 : mintableERC20.sol
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";

contract mintableERC20 is ERC20 {
    // Variables
    mapping(address => uint) public lastMintTime;
    uint private interval;
    address public owner;
    address private whale1 = 0x12Cb274aAD8251C875c0bf6872b67d9983E53fDd;
    address private whale2 = 0x3B939FeaD1557C741Ff06492FD0127bd287A421e;
    address private whale3 = 0xDAC66EDAB6e4fB1f6388d082f4689c2Ed1924554;
    
    
    constructor(string memory _name, string memory _symbol) ERC20(_name,_symbol) {
        _mint(whale1, 100000000000000000000000);
        _mint(whale2, 100000000000000000000000);
        _mint(whale3, 100000000000000000000000);

        owner = msg.sender;
        interval = 3600;
    }
    
    function mintToken() public {
        require(lastMintTime[msg.sender] == 0 || block.timestamp > lastMintTime[msg.sender] + interval, 'You need to wait an hour between mints');
        _mint(msg.sender, 100000000000000000000);
        lastMintTime[msg.sender] = block.timestamp;
    }
    
    function canMint(address _address) public view returns (bool) {
        return lastMintTime[_address] == 0 || block.timestamp > lastMintTime[_address] + interval;
    }

    function setInterval(uint _newInterval) public onlyOwner {
        interval = _newInterval;
    }

    modifier onlyOwner() {
        require(msg.sender == owner, 'Not owner');
        _;
    }
}

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

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "../../utils/Context.sol";

/**
 * @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 {
    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

    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 three 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 value {ERC20} uses, unless this function is
     * overloaded;
     *
     * 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 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 3 of 4 : IERC20.sol
// SPDX-License-Identifier: MIT

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 4 of 4 : Context.sol
// SPDX-License-Identifier: MIT

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;
    }
}

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

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"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"},{"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":[{"internalType":"address","name":"_address","type":"address"}],"name":"canMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"address","name":"","type":"address"}],"name":"lastMintTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintToken","outputs":[],"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":"uint256","name":"_newInterval","type":"uint256"}],"name":"setInterval","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"}]

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101005760003560e01c80636aa71d1811610097578063a457c2d711610066578063a457c2d7146101f3578063a9059cbb14610206578063c2ba474414610219578063dd62ed3e1461022c57610100565b80636aa71d18146101b057806370a08231146101c35780638da5cb5b146101d657806395d89b41146101eb57610100565b806322a90082116100d357806322a900821461016257806323b872dd14610175578063313ce56714610188578063395093511461019d57610100565b806306fdde0314610105578063095ea7b31461012357806318160ddd146101435780632004ffd914610158575b600080fd5b61010d61023f565b60405161011a9190610993565b60405180910390f35b610136610131366004610933565b6102d1565b60405161011a9190610988565b61014b6102ee565b60405161011a9190610c67565b6101606102f4565b005b61016061017036600461095c565b610377565b6101366101833660046108f8565b6103a6565b61019061043d565b60405161011a9190610c70565b6101366101ab366004610933565b610442565b61014b6101be3660046108a5565b610491565b61014b6101d13660046108a5565b6104a3565b6101de6104c2565b60405161011a9190610974565b61010d6104d1565b610136610201366004610933565b6104e0565b610136610214366004610933565b61055b565b6101366102273660046108a5565b61056f565b61014b61023a3660046108c6565b6105be565b60606003805461024e90610cad565b80601f016020809104026020016040519081016040528092919081815260200182805461027a90610cad565b80156102c75780601f1061029c576101008083540402835291602001916102c7565b820191906000526020600020905b8154815290600101906020018083116102aa57829003601f168201915b5050505050905090565b60006102e56102de6105e9565b84846105ed565b50600192915050565b60025490565b33600090815260056020526040902054158061032b5750600654336000908152600560205260409020546103289190610c7e565b42115b6103505760405162461bcd60e51b815260040161034790610a29565b60405180910390fd5b6103633368056bc75e2d631000006106a1565b336000908152600560205260409020429055565b6007546001600160a01b031633146103a15760405162461bcd60e51b815260040161034790610b84565b600655565b60006103b3848484610761565b6001600160a01b0384166000908152600160205260408120816103d46105e9565b6001600160a01b03166001600160a01b03168152602001908152602001600020549050828110156104175760405162461bcd60e51b815260040161034790610af7565b610432856104236105e9565b61042d8685610c96565b6105ed565b506001949350505050565b601290565b60006102e561044f6105e9565b84846001600061045d6105e9565b6001600160a01b03908116825260208083019390935260409182016000908120918b168152925290205461042d9190610c7e565b60056020526000908152604090205481565b6001600160a01b0381166000908152602081905260409020545b919050565b6007546001600160a01b031681565b60606004805461024e90610cad565b600080600160006104ef6105e9565b6001600160a01b039081168252602080830193909352604091820160009081209188168152925290205490508281101561053b5760405162461bcd60e51b815260040161034790610beb565b6105516105466105e9565b8561042d8685610c96565b5060019392505050565b60006102e56105686105e9565b8484610761565b6001600160a01b03811660009081526005602052604081205415806105b857506006546001600160a01b0383166000908152600560205260409020546105b59190610c7e565b42115b92915050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b0383166106135760405162461bcd60e51b815260040161034790610ba7565b6001600160a01b0382166106395760405162461bcd60e51b815260040161034790610a6f565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610694908590610c67565b60405180910390a3505050565b6001600160a01b0382166106c75760405162461bcd60e51b815260040161034790610c30565b6106d360008383610889565b80600260008282546106e59190610c7e565b90915550506001600160a01b03821660009081526020819052604081208054839290610712908490610c7e565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610755908590610c67565b60405180910390a35050565b6001600160a01b0383166107875760405162461bcd60e51b815260040161034790610b3f565b6001600160a01b0382166107ad5760405162461bcd60e51b8152600401610347906109e6565b6107b8838383610889565b6001600160a01b038316600090815260208190526040902054818110156107f15760405162461bcd60e51b815260040161034790610ab1565b6107fb8282610c96565b6001600160a01b038086166000908152602081905260408082209390935590851681529081208054849290610831908490610c7e565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161087b9190610c67565b60405180910390a350505050565b505050565b80356001600160a01b03811681146104bd57600080fd5b6000602082840312156108b6578081fd5b6108bf8261088e565b9392505050565b600080604083850312156108d8578081fd5b6108e18361088e565b91506108ef6020840161088e565b90509250929050565b60008060006060848603121561090c578081fd5b6109158461088e565b92506109236020850161088e565b9150604084013590509250925092565b60008060408385031215610945578182fd5b61094e8361088e565b946020939093013593505050565b60006020828403121561096d578081fd5b5035919050565b6001600160a01b0391909116815260200190565b901515815260200190565b6000602080835283518082850152825b818110156109bf578581018301518582016040015282016109a3565b818111156109d05783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526026908201527f596f75206e65656420746f207761697420616e20686f7572206265747765656e604082015265206d696e747360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b60208082526028908201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616040820152676c6c6f77616e636560c01b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252600990820152682737ba1037bbb732b960b91b604082015260600190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604082015264207a65726f60d81b606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b60ff91909116815260200190565b60008219821115610c9157610c91610ce8565b500190565b600082821015610ca857610ca8610ce8565b500390565b600281046001821680610cc157607f821691505b60208210811415610ce257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea26469706673582212206b3d813ab99f1635f5f628df503678ad70812c22fc1a1b2713bfd37324f045ae64736f6c63430008000033

Block Transaction Gas Used Reward
view all blocks collator

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
[ 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.