Contract 0x00b62cee1fd885dbd9738f68d60c8486bb2fbc89 1

Contract Overview

Balance:
0 MATIC
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x7cb74801cda2b82bad96d080553d26ed62ed8ba154157d8e53249a866ad7baf4Approve282803732022-09-25 1:48:2124 secs ago0xe8bbd8352a261ce3ca33f49a501621b0333bd4dc IN  0x00b62cee1fd885dbd9738f68d60c8486bb2fbc890 MATIC0.0002032360014.400000024
0x8e7193bd427008d194f1c399165176139db0024e7bc7b22ccb57d219e5a5c989Approve282803732022-09-25 1:48:2124 secs ago0x400c1da9aac2f74f4ff611777baa4f09e8b50172 IN  0x00b62cee1fd885dbd9738f68d60c8486bb2fbc890 MATIC0.0002032360014.400000024
0x7c54eae6db76721a503a9adfe990ac179481c1e940e59bf848e2bcdd2ff96407Approve282803722022-09-25 1:48:1629 secs ago0x906aa3b3a37f4761ccfc534c51d2d04ae16e505b IN  0x00b62cee1fd885dbd9738f68d60c8486bb2fbc890 MATIC0.0002031832014.400000024
0x2507e994d09730474af052c8a6fddaf1bdf8bf81603909c046a440875e2e944fApprove282803722022-09-25 1:48:1629 secs ago0xe7ca44ab2c310cacfb51ef2cd27595590485f1bf IN  0x00b62cee1fd885dbd9738f68d60c8486bb2fbc890 MATIC0.0002031304014.400000024
0x94710efc4b3088dee4f95ea6370debba4763035446d5ab651916d11e5f393411Approve282803712022-09-25 1:48:1134 secs ago0x005238e9ce904745372092e9cbec8ae9dee4907c IN  0x00b62cee1fd885dbd9738f68d60c8486bb2fbc890 MATIC0.0002031832014.400000024
0xb886b7d7cb167eb5299d9ccc7db36c2be02b773b963fd39686d2e3675cc32c63Approve282803712022-09-25 1:48:1134 secs ago0x429ccf284773ca043d119c8ce46f5f1f88457e93 IN  0x00b62cee1fd885dbd9738f68d60c8486bb2fbc890 MATIC0.0002031832014.400000024
0xa93301a4b3e5bc567b1f85a288389b0a5e40b9b82e1e05e9e0c845d123d54584Approve282803712022-09-25 1:48:1134 secs ago0xb0b8bcf97246066e1fbcefdf0f23547aba34946c IN  0x00b62cee1fd885dbd9738f68d60c8486bb2fbc890 MATIC0.0002031304014.400000024
0x9fc5f6403598a9692f0943cb3b9c9afd5e73d723f070c32aca276aef17242406Approve282803712022-09-25 1:48:1134 secs ago0xe3be5e346f81fbe754c17f21fe88ea35e0e86dea IN  0x00b62cee1fd885dbd9738f68d60c8486bb2fbc890 MATIC0.0001279964.400000024
0x77c1b1f77935109887c118f4fb039ae15a8d1fa42d6662a6ed5d02c887d913f4Approve282803712022-09-25 1:48:1134 secs ago0x8765231ac61d107ce19fb216c48b67cd80b5abe5 IN  0x00b62cee1fd885dbd9738f68d60c8486bb2fbc890 MATIC0.0002031832014.400000024
0xd258470c27ce442a222b2fdb06870a4297fb87e8abf11550fdc68c3a80ccbd36Approve282803712022-09-25 1:48:1134 secs ago0x52d5b24f42ea192c4f636a52be9d4fccdca831d2 IN  0x00b62cee1fd885dbd9738f68d60c8486bb2fbc890 MATIC0.0002031832014.400000024
0x06c632b18725f79573beb09624645b9ec8f2438f169a2a542bb9f3011cd24e67Approve282803702022-09-25 1:48:0639 secs ago0x3081fcfb42ff78c08a51165314b8cd4d2efd8d60 IN  0x00b62cee1fd885dbd9738f68d60c8486bb2fbc890 MATIC0.0002032360014.400000024
0x1052a8321abe30cf8e62603d79a9f695dcb23f8cace646c467c1371258c892f3Approve282803702022-09-25 1:48:0639 secs ago0xdc24fc1f99b54038c7cb07805b8875007da20b58 IN  0x00b62cee1fd885dbd9738f68d60c8486bb2fbc890 MATIC0.0002031832014.400000024
0x5b69b6c66e33f16b798e159ccbeb9c9eb02354eb9e3355a774ea2d7f22d32131Approve282803702022-09-25 1:48:0639 secs ago0x4821d1d24b06b71fe3c9ce702abb405d5e68a87b IN  0x00b62cee1fd885dbd9738f68d60c8486bb2fbc890 MATIC0.0002031832014.400000024
0x475ea1d998bd6192192263dea68806d32bd5fb65651d9ddee811c364f4196db8Approve282803702022-09-25 1:48:0639 secs ago0x92fa5c948aab2aafb48f994a15ad82666da55f1f IN  0x00b62cee1fd885dbd9738f68d60c8486bb2fbc890 MATIC0.0002032360014.400000024
0x4aa105a4845ecdab0a2c7433456eaca4b9d7abe5a24f9dbbbf05211f0c24a690Approve282803702022-09-25 1:48:0639 secs ago0x515c383a0f5ce48a4ab5b5ef558ff3dc6d3cf1b3 IN  0x00b62cee1fd885dbd9738f68d60c8486bb2fbc890 MATIC0.0002032360014.400000024
0x77beafa4e711f119887ef52ad2eea5f56fb0d4fd346a6645d1bcfb35ad97dfd7Approve282803702022-09-25 1:48:0639 secs ago0xd395ef8a7aec991f6670b5d98a638d5f18a6fc2b IN  0x00b62cee1fd885dbd9738f68d60c8486bb2fbc890 MATIC0.0002031304014.400000024
0x52b14d6af9ff1b245661e5af0c28ac7c1e66a2e98251d87f9b580accd459c356Approve282803702022-09-25 1:48:0639 secs ago0x96551e52549fa31237cbac065a6d9e249c75a38b IN  0x00b62cee1fd885dbd9738f68d60c8486bb2fbc890 MATIC0.0002032360014.400000024
0xa037ebab4b0ea5749caf7530a6d98c788e4e4003610a6f1c3c27636ecbcbc757Approve282803692022-09-25 1:48:0144 secs ago0x05f0eeafc9a0309c2663d4b2d058867495625e19 IN  0x00b62cee1fd885dbd9738f68d60c8486bb2fbc890 MATIC0.0002032360014.400000024
0x3ca7d28f289f337c6d9a415f9961046fa939ef066db14c67d0869997b2edf828Approve282803692022-09-25 1:48:0144 secs ago0xe8bbd8352a261ce3ca33f49a501621b0333bd4dc IN  0x00b62cee1fd885dbd9738f68d60c8486bb2fbc890 MATIC0.0002032360014.400000024
0xf6e4cf324333b4535813852c84316037c204d9e934bb301d814a07bf365f6a95Approve282803692022-09-25 1:48:0144 secs ago0x10f04a9b5943193c37f0ccf30b3d27fbcbfaa3ff IN  0x00b62cee1fd885dbd9738f68d60c8486bb2fbc890 MATIC0.0002031832014.400000024
0xa96cf246ce030c8863c68e0f2b4cd445123066d45db4ffa8b3403b62287603a0Approve282803692022-09-25 1:48:0144 secs ago0x43b3a2b0e677ed2740ee58d88380cfe2362ae900 IN  0x00b62cee1fd885dbd9738f68d60c8486bb2fbc890 MATIC0.0002032360014.400000024
0xd35eb2cc25c61ffaf836107db06f4f13efa2d15e22ff214dc202cc614e2c5aacApprove282803682022-09-25 1:47:5649 secs ago0x02c99fd7cf647e0530c0f758326dfed720366d7c IN  0x00b62cee1fd885dbd9738f68d60c8486bb2fbc890 MATIC0.0002031832014.400000024
0xdeb9f56866d1c8e80fb24076564b2e1b963b28630fe914c7654d9daeb311325dApprove282803682022-09-25 1:47:5649 secs ago0x04ce721690424f42e0a93e70645f8d05b717da0a IN  0x00b62cee1fd885dbd9738f68d60c8486bb2fbc890 MATIC0.0002032360014.400000024
0xaa78966450131e4f3a64e5c96ee144a13f13c5916d1f63bbf270d68ee8237be4Approve282803672022-09-25 1:47:5154 secs ago0xb0b8bcf97246066e1fbcefdf0f23547aba34946c IN  0x00b62cee1fd885dbd9738f68d60c8486bb2fbc890 MATIC0.0002032360014.400000024
0xc629487c2000227b99f0c15f130cdee3abc341efa05c774be82b3c56cc1e541aApprove282803672022-09-25 1:47:5154 secs ago0x005238e9ce904745372092e9cbec8ae9dee4907c IN  0x00b62cee1fd885dbd9738f68d60c8486bb2fbc890 MATIC0.0002031832014.400000024
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Similar Match Source Code
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0x58D5E3fe70621ef39DD57f0935d10618E2FB2b4c

Contract Name:
Sikka

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 100 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 5 : sikka.sol
// SPDX-License-Identifier: AGPL-3.0-or-later

/// sikka.sol -- sikka Stablecoin ERC-20 Token

// Copyright (C) 2017, 2018, 2019 dbrock, rain, mrchico

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program.  If not, see <https://www.gnu.org/licenses/>.

pragma solidity ^0.8.10;

import "./interfaces/SikkaLike.sol";

// FIXME: This contract was altered compared to the production version.
// It doesn't use LibNote anymore.
// New deployments of this contract will need to include custom events (TO DO).

contract Sikka is SikkaLike {
    // --- Auth ---
    mapping (address => uint) public wards;
    function rely(address guy) external auth { wards[guy] = 1; }
    function deny(address guy) external auth { wards[guy] = 0; }
    modifier auth {
        require(wards[msg.sender] == 1, "Sikka/not-authorized");
        _;
    }

    // --- ERC20 Data ---
    string  public constant name     = "Sikka Stablecoin";
    string  public symbol;
    string  public constant version  = "1";
    uint8   public constant decimals = 18;
    uint256 public totalSupply;

    mapping (address => uint)                      public balanceOf;
    mapping (address => mapping (address => uint)) public allowance;
    mapping (address => uint)                      public nonces;

    // --- Math ---
    function add(uint x, uint y) internal pure returns (uint z) {
        unchecked {
            require((z = x + y) >= x, "Sikka/add-overflow");
        }
    }
    function sub(uint x, uint y) internal pure returns (uint z) {
        unchecked {
            require((z = x - y) <= x, "Sikka/sub-overflow");
        }
    }

    // --- EIP712 niceties ---
    bytes32 public DOMAIN_SEPARATOR;
    // bytes32 public constant PERMIT_TYPEHASH = keccak256("Permit(address holder,address spender,uint256 nonce,uint256 expiry,bool allowed)");
    bytes32 public constant PERMIT_TYPEHASH = 0xea2aa0a1be11a07ed86d755c93467f4f82362b452371d1ba94d1715123511acb;

    constructor(uint256 chainId_, string memory symbol_) {
        wards[msg.sender] = 1;
        DOMAIN_SEPARATOR = keccak256(abi.encode(
            keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"),
            keccak256(bytes(name)),
            keccak256(bytes(version)),
            chainId_,
            address(this)
        ));
        symbol = symbol_;
    }

    // --- Token ---
    function transfer(address dst, uint wad) external returns (bool) {
        return transferFrom(msg.sender, dst, wad);
    }
    function transferFrom(address src, address dst, uint wad)
        public returns (bool)
    {
        require(balanceOf[src] >= wad, "Sikka/insufficient-balance");
        if (src != msg.sender && allowance[src][msg.sender] != type(uint256).max) {
            require(allowance[src][msg.sender] >= wad, "Sikka/insufficient-allowance");
            allowance[src][msg.sender] = sub(allowance[src][msg.sender], wad);
        }
        balanceOf[src] = sub(balanceOf[src], wad);
        balanceOf[dst] = add(balanceOf[dst], wad);
        emit Transfer(src, dst, wad);
        return true;
    }
    function mint(address usr, uint wad) external auth {
        balanceOf[usr] = add(balanceOf[usr], wad);
        totalSupply    = add(totalSupply, wad);
        emit Transfer(address(0), usr, wad);
    }
    function burn(address usr, uint wad) external {
        require(balanceOf[usr] >= wad, "Sikka/insufficient-balance");
        if (usr != msg.sender && allowance[usr][msg.sender] != type(uint256).max) {
            require(allowance[usr][msg.sender] >= wad, "Sikka/insufficient-allowance");
            allowance[usr][msg.sender] = sub(allowance[usr][msg.sender], wad);
        }
        balanceOf[usr] = sub(balanceOf[usr], wad);
        totalSupply    = sub(totalSupply, wad);
        emit Transfer(usr, address(0), wad);
    }
    function approve(address usr, uint wad) external returns (bool) {
        allowance[msg.sender][usr] = wad;
        emit Approval(msg.sender, usr, wad);
        return true;
    }

    // --- Alias ---
    function push(address usr, uint wad) external {
        transferFrom(msg.sender, usr, wad);
    }
    function pull(address usr, uint wad) external {
        transferFrom(usr, msg.sender, wad);
    }
    function move(address src, address dst, uint wad) external {
        transferFrom(src, dst, wad);
    }

    // --- Approve by signature ---
    function permit(address holder, address spender, uint256 nonce, uint256 expiry,
                    bool allowed, uint8 v, bytes32 r, bytes32 s) external
    {
        bytes32 digest =
            keccak256(abi.encodePacked(
                "\x19\x01",
                DOMAIN_SEPARATOR,
                keccak256(abi.encode(PERMIT_TYPEHASH,
                                     holder,
                                     spender,
                                     nonce,
                                     expiry,
                                     allowed))
        ));

        require(holder != address(0), "Sikka/invalid-address-0");
        require(holder == ecrecover(digest, v, r, s), "Sikka/invalid-permit");
        require(expiry == 0 || block.timestamp <= expiry, "Sikka/permit-expired");
        require(nonce == nonces[holder]++, "Sikka/invalid-nonce");
        uint wad = allowed ? type(uint256).max : 0;
        allowance[holder][spender] = wad;
        emit Approval(holder, spender, wad);
    }
}

File 2 of 5 : SikkaLike.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;

import "@openzeppelin/contracts-upgradeable/token/ERC20/utils/SafeERC20Upgradeable.sol";

interface SikkaLike is IERC20Upgradeable {
}

File 3 of 5 : SafeERC20Upgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20Upgradeable.sol";
import "../../../utils/AddressUpgradeable.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20Upgradeable {
    using AddressUpgradeable for address;

    function safeTransfer(
        IERC20Upgradeable token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20Upgradeable token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20Upgradeable token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20Upgradeable token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20Upgradeable token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20Upgradeable token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 4 of 5 : IERC20Upgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20Upgradeable {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

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

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

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

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

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

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

File 5 of 5 : AddressUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library AddressUpgradeable {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"chainId_","type":"uint256"},{"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":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"usr","type":"address"},{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"usr","type":"address"},{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"guy","type":"address"}],"name":"deny","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"usr","type":"address"},{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"src","type":"address"},{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"move","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"holder","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"bool","name":"allowed","type":"bool"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"usr","type":"address"},{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"pull","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"usr","type":"address"},{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"push","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"guy","type":"address"}],"name":"rely","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":"dst","type":"address"},{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"src","type":"address"},{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"wards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b5060405162001310380380620013108339810160408190526200003491620001fd565b336000908152602081815260409182902060019081905582518084018452601081526f29b4b5b5b09029ba30b13632b1b7b4b760811b9083015282518084018452908152603160f81b9082015281517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f918101919091527fd38254b2e9490ae50467f7c058d952d3c4a9172f6aeac8275fa9432a77593cee918101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc66060820152608081018390523060a082015260c00160408051601f198184030181529190528051602091820120600655815162000138916001919084019062000141565b50505062000324565b8280546200014f90620002e7565b90600052602060002090601f016020900481019282620001735760008555620001be565b82601f106200018e57805160ff1916838001178555620001be565b82800160010185558215620001be579182015b82811115620001be578251825591602001919060010190620001a1565b50620001cc929150620001d0565b5090565b5b80821115620001cc5760008155600101620001d1565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156200021157600080fd5b8251602080850151919350906001600160401b03808211156200023357600080fd5b818601915086601f8301126200024857600080fd5b8151818111156200025d576200025d620001e7565b604051601f8201601f19908116603f01168101908382118183101715620002885762000288620001e7565b816040528281528986848701011115620002a157600080fd5b600093505b82841015620002c55784840186015181850187015292850192620002a6565b82841115620002d75760008684830101525b8096505050505050509250929050565b600181811c90821680620002fc57607f821691505b602082108114156200031e57634e487b7160e01b600052602260045260246000fd5b50919050565b610fdc80620003346000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c80637ecebe00116100b8578063a9059cbb1161007c578063a9059cbb146102ec578063b753a98c146102ff578063bb35783b14610312578063bf353dbb14610325578063dd62ed3e14610345578063f2d5d56b1461037057600080fd5b80637ecebe001461028b5780638fcbaf0c146102ab57806395d89b41146102be5780639c52a7f1146102c65780639dc29fac146102d957600080fd5b8063313ce5671161010a578063313ce567146102005780633644e5151461021a57806340c10f191461022357806354fd4d501461023857806365fae35e1461025857806370a082311461026b57600080fd5b806306fdde0314610147578063095ea7b31461018c57806318160ddd146101af57806323b872dd146101c657806330adf81f146101d9575b600080fd5b6101766040518060400160405280601081526020016f29b4b5b5b09029ba30b13632b1b7b4b760811b81525081565b6040516101839190610cd7565b60405180910390f35b61019f61019a366004610d48565b610383565b6040519015158152602001610183565b6101b860025481565b604051908152602001610183565b61019f6101d4366004610d72565b6103f0565b6101b87fea2aa0a1be11a07ed86d755c93467f4f82362b452371d1ba94d1715123511acb81565b610208601281565b60405160ff9091168152602001610183565b6101b860065481565b610236610231366004610d48565b6105b0565b005b610176604051806040016040528060018152602001603160f81b81525081565b610236610266366004610dae565b61065f565b6101b8610279366004610dae565b60036020526000908152604090205481565b6101b8610299366004610dae565b60056020526000908152604090205481565b6102366102b9366004610dc9565b6106ab565b6101766109a7565b6102366102d4366004610dae565b610a35565b6102366102e7366004610d48565b610a7e565b61019f6102fa366004610d48565b610c07565b61023661030d366004610d48565b610c1b565b610236610320366004610d72565b610c2b565b6101b8610333366004610dae565b60006020819052908152604090205481565b6101b8610353366004610e53565b600460209081526000928352604080842090915290825290205481565b61023661037e366004610d48565b610c3c565b3360008181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906103de9086815260200190565b60405180910390a35060015b92915050565b6001600160a01b0383166000908152600360205260408120548211156104315760405162461bcd60e51b815260040161042890610e86565b60405180910390fd5b6001600160a01b038416331480159061046f57506001600160a01b038416600090815260046020908152604080832033845290915290205460001914155b1561050a576001600160a01b03841660009081526004602090815260408083203384529091529020548211156104b75760405162461bcd60e51b815260040161042890610ebd565b6001600160a01b03841660009081526004602090815260408083203384529091529020546104e59083610c47565b6001600160a01b03851660009081526004602090815260408083203384529091529020555b6001600160a01b03841660009081526003602052604090205461052d9083610c47565b6001600160a01b03808616600090815260036020526040808220939093559085168152205461055c9083610c8f565b6001600160a01b038085166000818152600360205260409081902093909355915190861690600080516020610f878339815191529061059e9086815260200190565b60405180910390a35060019392505050565b336000908152602081905260409020546001146105df5760405162461bcd60e51b815260040161042890610ef4565b6001600160a01b0382166000908152600360205260409020546106029082610c8f565b6001600160a01b0383166000908152600360205260409020556002546106289082610c8f565b6002556040518181526001600160a01b03831690600090600080516020610f87833981519152906020015b60405180910390a35050565b3360009081526020819052604090205460011461068e5760405162461bcd60e51b815260040161042890610ef4565b6001600160a01b0316600090815260208190526040902060019055565b600654604080517fea2aa0a1be11a07ed86d755c93467f4f82362b452371d1ba94d1715123511acb60208201526001600160a01b03808c169282019290925290891660608201526080810188905260a0810187905285151560c08201526000919060e0016040516020818303038152906040528051906020012060405160200161074c92919061190160f01b81526002810192909252602282015260420190565b60408051601f19818403018152919052805160209091012090506001600160a01b0389166107b65760405162461bcd60e51b8152602060048201526017602482015276053696b6b612f696e76616c69642d616464726573732d3604c1b6044820152606401610428565b60408051600081526020810180835283905260ff861691810191909152606081018490526080810183905260019060a0016020604051602081039080840390855afa158015610809573d6000803e3d6000fd5b505050602060405103516001600160a01b0316896001600160a01b03161461086a5760405162461bcd60e51b815260206004820152601460248201527314da5adad84bda5b9d985b1a590b5c195c9b5a5d60621b6044820152606401610428565b8515806108775750854211155b6108ba5760405162461bcd60e51b815260206004820152601460248201527314da5adad84bdc195c9b5a5d0b595e1c1a5c995960621b6044820152606401610428565b6001600160a01b03891660009081526005602052604081208054916108de83610f22565b9190505587146109265760405162461bcd60e51b815260206004820152601360248201527253696b6b612f696e76616c69642d6e6f6e636560681b6044820152606401610428565b600085610934576000610938565b6000195b6001600160a01b038b81166000818152600460209081526040808320948f16808452948252918290208590559051848152939450919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050505050565b600180546109b490610f4b565b80601f01602080910402602001604051908101604052809291908181526020018280546109e090610f4b565b8015610a2d5780601f10610a0257610100808354040283529160200191610a2d565b820191906000526020600020905b815481529060010190602001808311610a1057829003601f168201915b505050505081565b33600090815260208190526040902054600114610a645760405162461bcd60e51b815260040161042890610ef4565b6001600160a01b0316600090815260208190526040812055565b6001600160a01b038216600090815260036020526040902054811115610ab65760405162461bcd60e51b815260040161042890610e86565b6001600160a01b0382163314801590610af457506001600160a01b038216600090815260046020908152604080832033845290915290205460001914155b15610b8f576001600160a01b0382166000908152600460209081526040808320338452909152902054811115610b3c5760405162461bcd60e51b815260040161042890610ebd565b6001600160a01b0382166000908152600460209081526040808320338452909152902054610b6a9082610c47565b6001600160a01b03831660009081526004602090815260408083203384529091529020555b6001600160a01b038216600090815260036020526040902054610bb29082610c47565b6001600160a01b038316600090815260036020526040902055600254610bd89082610c47565b6002556040518181526000906001600160a01b03841690600080516020610f8783398151915290602001610653565b6000610c143384846103f0565b9392505050565b610c263383836103f0565b505050565b610c368383836103f0565b50505050565b610c268233836103f0565b808203828111156103ea5760405162461bcd60e51b815260206004820152601260248201527153696b6b612f7375622d6f766572666c6f7760701b6044820152606401610428565b808201828110156103ea5760405162461bcd60e51b815260206004820152601260248201527153696b6b612f6164642d6f766572666c6f7760701b6044820152606401610428565b600060208083528351808285015260005b81811015610d0457858101830151858201604001528201610ce8565b81811115610d16576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b0381168114610d4357600080fd5b919050565b60008060408385031215610d5b57600080fd5b610d6483610d2c565b946020939093013593505050565b600080600060608486031215610d8757600080fd5b610d9084610d2c565b9250610d9e60208501610d2c565b9150604084013590509250925092565b600060208284031215610dc057600080fd5b610c1482610d2c565b600080600080600080600080610100898b031215610de657600080fd5b610def89610d2c565b9750610dfd60208a01610d2c565b9650604089013595506060890135945060808901358015158114610e2057600080fd5b935060a089013560ff81168114610e3657600080fd5b979a969950949793969295929450505060c08201359160e0013590565b60008060408385031215610e6657600080fd5b610e6f83610d2c565b9150610e7d60208401610d2c565b90509250929050565b6020808252601a908201527f53696b6b612f696e73756666696369656e742d62616c616e6365000000000000604082015260600190565b6020808252601c908201527f53696b6b612f696e73756666696369656e742d616c6c6f77616e636500000000604082015260600190565b60208082526014908201527314da5adad84bdb9bdd0b585d5d1a1bdc9a5e995960621b604082015260600190565b6000600019821415610f4457634e487b7160e01b600052601160045260246000fd5b5060010190565b600181811c90821680610f5f57607f821691505b60208210811415610f8057634e487b7160e01b600052602260045260246000fd5b5091905056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220481b8be1f71e6ea7d2a0f1b7ec404cf09a9ac716187f4f79330265a6f5880e1164736f6c634300080a003300000000000000000000000000000000000000000000000000000000000138810000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000553494b4b41000000000000000000000000000000000000000000000000000000

Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading