Moonbase Alpha Testnet

Contract

0x4c945cD20DD13168BC87f30D55f12dC26512ca33
Source Code Source Code

Overview

DEV Balance

Moonbase Alpha LogoMoonbase Alpha LogoMoonbase Alpha Logo0 DEV

More Info

TokenTracker

Multichain Info

N/A
Transaction Hash
Method
Block
From
To
Amount
Mint Token146205382025-12-25 22:42:3624 days ago1766702556IN
0x4c945cD2...26512ca33
0 DEV0.000002650.03125
Mint Token124306122025-06-09 17:56:54223 days ago1749491814IN
0x4c945cD2...26512ca33
0 DEV0.000002650.03125
Approve116001362025-04-12 19:42:24281 days ago1744486944IN
0x4c945cD2...26512ca33
0 DEV0.000001060.03125
Approve116001342025-04-12 19:42:12281 days ago1744486932IN
0x4c945cD2...26512ca33
0 DEV0.000001060.03125
Approve116001322025-04-12 19:42:00281 days ago1744486920IN
0x4c945cD2...26512ca33
0 DEV0.000001060.03125
Approve115048462025-04-06 3:59:06288 days ago1743911946IN
0x4c945cD2...26512ca33
0 DEV0.000001060.03125
Mint Token91650532024-10-24 5:58:12452 days ago1729749492IN
0x4c945cD2...26512ca33
0 DEV0.000010610.125
Mint Token91650052024-10-24 5:53:00452 days ago1729749180IN
0x4c945cD2...26512ca33
0 DEV0.000010610.125
Mint Token77002222024-07-03 18:28:42564 days ago1720031322IN
0x4c945cD2...26512ca33
0 DEV0.000008940.125
Mint Token76421072024-06-29 8:33:54568 days ago1719650034IN
0x4c945cD2...26512ca33
0 DEV0.000008940.125
Mint Token76183922024-06-27 13:22:12570 days ago1719494532IN
0x4c945cD2...26512ca33
0 DEV0.000008940.125
Mint Token76026722024-06-26 8:32:12571 days ago1719390732IN
0x4c945cD2...26512ca33
0 DEV0.000008940.125
Mint Token75660212024-06-23 13:41:12574 days ago1719150072IN
0x4c945cD2...26512ca33
0 DEV0.000008940.125
Mint Token75551072024-06-22 17:57:48575 days ago1719079068IN
0x4c945cD2...26512ca33
0 DEV0.000116241.625
Approve75492452024-06-22 7:19:30575 days ago1719040770IN
0x4c945cD2...26512ca33
0 DEV0.000008440.125
Mint Token75491112024-06-22 7:05:36575 days ago1719039936IN
0x4c945cD2...26512ca33
0 DEV0.000008940.125
Mint Token75356992024-06-21 6:51:54576 days ago1718952714IN
0x4c945cD2...26512ca33
0 DEV0.000010610.125
Approve75106682024-06-19 9:16:18578 days ago1718788578IN
0x4c945cD2...26512ca33
0 DEV0.000008440.125
Mint Token75105172024-06-19 9:00:36578 days ago1718787636IN
0x4c945cD2...26512ca33
0 DEV0.000010610.125
Mint Token72775242024-06-01 14:54:36596 days ago1717253676IN
0x4c945cD2...26512ca33
0 DEV0.000010610.125
Mint Token66622562024-04-13 12:26:54645 days ago1713011214IN
0x4c945cD2...26512ca33
0 DEV0.000137981.625
Approve64299812024-03-24 20:22:00665 days ago1711311720IN
0x4c945cD2...26512ca33
0 DEV0.000039631.625
Approve64299812024-03-24 20:22:00665 days ago1711311720IN
0x4c945cD2...26512ca33
0 DEV0.000039631.625
Approve64299722024-03-24 20:20:54665 days ago1711311654IN
0x4c945cD2...26512ca33
0 DEV0.000039631.625
Approve64297342024-03-24 19:52:06665 days ago1711309926IN
0x4c945cD2...26512ca33
0 DEV0.000039631.625
View all transactions

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To Amount
77002712024-07-03 18:34:18564 days ago1720031658
0x4c945cD2...26512ca33
0 DEV
77002712024-07-03 18:34:18564 days ago1720031658
0x4c945cD2...26512ca33
0 DEV
76550502024-06-30 7:48:06567 days ago1719733686
0x4c945cD2...26512ca33
0 DEV
76550502024-06-30 7:48:06567 days ago1719733686
0x4c945cD2...26512ca33
0 DEV
76422612024-06-29 8:49:30568 days ago1719650970
0x4c945cD2...26512ca33
0 DEV
76422612024-06-29 8:49:30568 days ago1719650970
0x4c945cD2...26512ca33
0 DEV
76297862024-06-28 10:11:18569 days ago1719569478
0x4c945cD2...26512ca33
0 DEV
76297862024-06-28 10:11:18569 days ago1719569478
0x4c945cD2...26512ca33
0 DEV
76296572024-06-28 9:55:06569 days ago1719568506
0x4c945cD2...26512ca33
0 DEV
76296572024-06-28 9:55:06569 days ago1719568506
0x4c945cD2...26512ca33
0 DEV
76216902024-06-27 19:24:54570 days ago1719516294
0x4c945cD2...26512ca33
0 DEV
76216902024-06-27 19:24:54570 days ago1719516294
0x4c945cD2...26512ca33
0 DEV
76182872024-06-27 13:11:06570 days ago1719493866
0x4c945cD2...26512ca33
0 DEV
76182872024-06-27 13:11:06570 days ago1719493866
0x4c945cD2...26512ca33
0 DEV
76091422024-06-26 20:19:30571 days ago1719433170
0x4c945cD2...26512ca33
0 DEV
76091422024-06-26 20:19:30571 days ago1719433170
0x4c945cD2...26512ca33
0 DEV
76029782024-06-26 9:05:06571 days ago1719392706
0x4c945cD2...26512ca33
0 DEV
76029782024-06-26 9:05:06571 days ago1719392706
0x4c945cD2...26512ca33
0 DEV
76029782024-06-26 9:05:06571 days ago1719392706
0x4c945cD2...26512ca33
0 DEV
76029782024-06-26 9:05:06571 days ago1719392706
0x4c945cD2...26512ca33
0 DEV
76027922024-06-26 8:44:36571 days ago1719391476
0x4c945cD2...26512ca33
0 DEV
76027922024-06-26 8:44:36571 days ago1719391476
0x4c945cD2...26512ca33
0 DEV
75958282024-06-25 20:09:00572 days ago1719346140
0x4c945cD2...26512ca33
0 DEV
75958282024-06-25 20:09:00572 days ago1719346140
0x4c945cD2...26512ca33
0 DEV
75957742024-06-25 20:03:36572 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)

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');
        _;
    }
}

// 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 { }
}

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

// 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

API
[{"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"}]

0x6080604052600880546001600160a01b03199081167312cb274aad8251c875c0bf6872b67d9983e53fdd17909155600980548216733b939fead1557c741ff06492fd0127bd287a421e179055600a805490911673dac66edab6e4fb1f6388d082f4689c2ed19245541790553480156200007757600080fd5b50604051620011df380380620011df8339810160408190526200009a916200037c565b815182908290620000b39060039060208501906200022b565b508051620000c99060049060208401906200022b565b5050600854620000ee91506001600160a01b031669152d02c7e14af680000062000152565b60095462000110906001600160a01b031669152d02c7e14af680000062000152565b600a5462000132906001600160a01b031669152d02c7e14af680000062000152565b5050600780546001600160a01b03191633179055610e106006556200049b565b6001600160a01b038216620001845760405162461bcd60e51b81526004016200017b90620003e3565b60405180910390fd5b620001926000838362000226565b8060026000828254620001a6919062000423565b90915550506001600160a01b03821660009081526020819052604081208054839290620001d590849062000423565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906200021a9085906200041a565b60405180910390a35050565b505050565b828054620002399062000448565b90600052602060002090601f0160209004810192826200025d5760008555620002a8565b82601f106200027857805160ff1916838001178555620002a8565b82800160010185558215620002a8579182015b82811115620002a85782518255916020019190600101906200028b565b50620002b6929150620002ba565b5090565b5b80821115620002b65760008155600101620002bb565b600082601f830112620002e2578081fd5b81516001600160401b0380821115620002ff57620002ff62000485565b6040516020601f8401601f191682018101838111838210171562000327576200032762000485565b60405283825285840181018710156200033e578485fd5b8492505b8383101562000361578583018101518284018201529182019162000342565b838311156200037257848185840101525b5095945050505050565b600080604083850312156200038f578182fd5b82516001600160401b0380821115620003a6578384fd5b620003b486838701620002d1565b93506020850151915080821115620003ca578283fd5b50620003d985828601620002d1565b9150509250929050565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b600082198211156200044357634e487b7160e01b81526011600452602481fd5b500190565b6002810460018216806200045d57607f821691505b602082108114156200047f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b610d3480620004ab6000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c80636aa71d1811610097578063a457c2d711610066578063a457c2d7146101f3578063a9059cbb14610206578063c2ba474414610219578063dd62ed3e1461022c57610100565b80636aa71d18146101b057806370a08231146101c35780638da5cb5b146101d657806395d89b41146101eb57610100565b806322a90082116100d357806322a900821461016257806323b872dd14610175578063313ce56714610188578063395093511461019d57610100565b806306fdde0314610105578063095ea7b31461012357806318160ddd146101435780632004ffd914610158575b600080fd5b61010d61023f565b60405161011a9190610993565b60405180910390f35b610136610131366004610933565b6102d1565b60405161011a9190610988565b61014b6102ee565b60405161011a9190610c67565b6101606102f4565b005b61016061017036600461095c565b610377565b6101366101833660046108f8565b6103a6565b61019061043d565b60405161011a9190610c70565b6101366101ab366004610933565b610442565b61014b6101be3660046108a5565b610491565b61014b6101d13660046108a5565b6104a3565b6101de6104c2565b60405161011a9190610974565b61010d6104d1565b610136610201366004610933565b6104e0565b610136610214366004610933565b61055b565b6101366102273660046108a5565b61056f565b61014b61023a3660046108c6565b6105be565b60606003805461024e90610cad565b80601f016020809104026020016040519081016040528092919081815260200182805461027a90610cad565b80156102c75780601f1061029c576101008083540402835291602001916102c7565b820191906000526020600020905b8154815290600101906020018083116102aa57829003601f168201915b5050505050905090565b60006102e56102de6105e9565b84846105ed565b50600192915050565b60025490565b33600090815260056020526040902054158061032b5750600654336000908152600560205260409020546103289190610c7e565b42115b6103505760405162461bcd60e51b815260040161034790610a29565b60405180910390fd5b6103633368056bc75e2d631000006106a1565b336000908152600560205260409020429055565b6007546001600160a01b031633146103a15760405162461bcd60e51b815260040161034790610b84565b600655565b60006103b3848484610761565b6001600160a01b0384166000908152600160205260408120816103d46105e9565b6001600160a01b03166001600160a01b03168152602001908152602001600020549050828110156104175760405162461bcd60e51b815260040161034790610af7565b610432856104236105e9565b61042d8685610c96565b6105ed565b506001949350505050565b601290565b60006102e561044f6105e9565b84846001600061045d6105e9565b6001600160a01b03908116825260208083019390935260409182016000908120918b168152925290205461042d9190610c7e565b60056020526000908152604090205481565b6001600160a01b0381166000908152602081905260409020545b919050565b6007546001600160a01b031681565b60606004805461024e90610cad565b600080600160006104ef6105e9565b6001600160a01b039081168252602080830193909352604091820160009081209188168152925290205490508281101561053b5760405162461bcd60e51b815260040161034790610beb565b6105516105466105e9565b8561042d8685610c96565b5060019392505050565b60006102e56105686105e9565b8484610761565b6001600160a01b03811660009081526005602052604081205415806105b857506006546001600160a01b0383166000908152600560205260409020546105b59190610c7e565b42115b92915050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b0383166106135760405162461bcd60e51b815260040161034790610ba7565b6001600160a01b0382166106395760405162461bcd60e51b815260040161034790610a6f565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610694908590610c67565b60405180910390a3505050565b6001600160a01b0382166106c75760405162461bcd60e51b815260040161034790610c30565b6106d360008383610889565b80600260008282546106e59190610c7e565b90915550506001600160a01b03821660009081526020819052604081208054839290610712908490610c7e565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610755908590610c67565b60405180910390a35050565b6001600160a01b0383166107875760405162461bcd60e51b815260040161034790610b3f565b6001600160a01b0382166107ad5760405162461bcd60e51b8152600401610347906109e6565b6107b8838383610889565b6001600160a01b038316600090815260208190526040902054818110156107f15760405162461bcd60e51b815260040161034790610ab1565b6107fb8282610c96565b6001600160a01b038086166000908152602081905260408082209390935590851681529081208054849290610831908490610c7e565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161087b9190610c67565b60405180910390a350505050565b505050565b80356001600160a01b03811681146104bd57600080fd5b6000602082840312156108b6578081fd5b6108bf8261088e565b9392505050565b600080604083850312156108d8578081fd5b6108e18361088e565b91506108ef6020840161088e565b90509250929050565b60008060006060848603121561090c578081fd5b6109158461088e565b92506109236020850161088e565b9150604084013590509250925092565b60008060408385031215610945578182fd5b61094e8361088e565b946020939093013593505050565b60006020828403121561096d578081fd5b5035919050565b6001600160a01b0391909116815260200190565b901515815260200190565b6000602080835283518082850152825b818110156109bf578581018301518582016040015282016109a3565b818111156109d05783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526026908201527f596f75206e65656420746f207761697420616e20686f7572206265747765656e604082015265206d696e747360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b60208082526028908201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616040820152676c6c6f77616e636560c01b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252600990820152682737ba1037bbb732b960b91b604082015260600190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604082015264207a65726f60d81b606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b60ff91909116815260200190565b60008219821115610c9157610c91610ce8565b500190565b600082821015610ca857610ca8610ce8565b500390565b600281046001821680610cc157607f821691505b60208210811415610ce257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea26469706673582212206b3d813ab99f1635f5f628df503678ad70812c22fc1a1b2713bfd37324f045ae64736f6c63430008000033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000005506c75746f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004504c555400000000000000000000000000000000000000000000000000000000

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
0x4c945cD20DD13168BC87f30D55f12dC26512ca33
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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