CRO Price: $0.19 (+4.25%)

Contract

0x1542bA4CA0fb6D1B4476a933B292002fd1959A52

Overview

CRO Balance

Cronos Chain LogoCronos Chain LogoCronos Chain Logo0 CRO

CRO Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve167863002024-11-17 12:20:0425 days ago1731846004IN
0x1542bA4C...fd1959A52
0 CRO0.14719745,050
Approve165413952024-11-01 11:20:2641 days ago1730460026IN
0x1542bA4C...fd1959A52
0 CRO0.147175535,049.25
Approve158765392024-09-19 2:03:2884 days ago1726711408IN
0x1542bA4C...fd1959A52
0 CRO0.23549165,050
Approve157918982024-09-13 13:37:0790 days ago1726234627IN
0x1542bA4C...fd1959A52
0 CRO0.23549165,050
Approve150637072024-07-27 16:54:23138 days ago1722099263IN
0x1542bA4C...fd1959A52
0 CRO0.131779525,001.5
Approve150637032024-07-27 16:54:00138 days ago1722099240IN
0x1542bA4C...fd1959A52
0 CRO0.131745,000
Approve149852372024-07-22 13:57:59143 days ago1721656679IN
0x1542bA4C...fd1959A52
0 CRO0.23397665,050
Approve145989072024-06-27 7:51:30168 days ago1719474690IN
0x1542bA4C...fd1959A52
0 CRO0.9326420,000
Approve145988582024-06-27 7:46:51168 days ago1719474411IN
0x1542bA4C...fd1959A52
0 CRO0.234028265,048.5
Approve142746812024-06-06 1:19:56189 days ago1717636796IN
0x1542bA4C...fd1959A52
0 CRO0.23549165,050
Approve139192972024-05-13 15:11:22213 days ago1715613082IN
0x1542bA4C...fd1959A52
0 CRO0.23549165,050
Approve138957022024-05-12 1:54:35214 days ago1715478875IN
0x1542bA4C...fd1959A52
0 CRO0.14719745,050
Approve138886802024-05-11 14:46:23215 days ago1715438783IN
0x1542bA4C...fd1959A52
0 CRO0.23549165,050
Approve138807042024-05-11 2:06:39215 days ago1715393199IN
0x1542bA4C...fd1959A52
0 CRO0.23549165,050
Approve137636002024-05-03 8:29:20223 days ago1714724960IN
0x1542bA4C...fd1959A52
0 CRO0.23549165,050
Approve136946072024-04-28 19:00:27227 days ago1714330827IN
0x1542bA4C...fd1959A52
0 CRO0.15156965,200
Approve136938272024-04-28 17:45:32227 days ago1714326332IN
0x1542bA4C...fd1959A52
0 CRO0.9326420,000
Approve136916302024-04-28 14:13:45228 days ago1714313625IN
0x1542bA4C...fd1959A52
0 CRO0.23549165,050
Approve135484512024-04-19 3:59:14237 days ago1713499154IN
0x1542bA4C...fd1959A52
0 CRO0.13499665,050
Approve135484492024-04-19 3:59:03237 days ago1713499143IN
0x1542bA4C...fd1959A52
0 CRO0.23549165,050
Approve135301032024-04-17 23:07:27238 days ago1713395247IN
0x1542bA4C...fd1959A52
0 CRO0.23549165,050
Approve135208922024-04-17 8:37:28239 days ago1713343048IN
0x1542bA4C...fd1959A52
0 CRO0.23549165,050
Approve134766932024-04-14 10:58:41242 days ago1713092321IN
0x1542bA4C...fd1959A52
0 CRO0.24248645,200
Approve133723852024-04-07 14:58:51249 days ago1712501931IN
0x1542bA4C...fd1959A52
0 CRO0.259040765,555
Approve133721902024-04-07 14:40:27249 days ago1712500827IN
0x1542bA4C...fd1959A52
0 CRO0.23549165,050
View all transactions

Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Bluespade

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.8.0;

import "../tokens/MintableBaseToken.sol";

contract Bluespade is MintableBaseToken {
    constructor() MintableBaseToken("Bluespade", "BLU", 0) {
    }

    function id() external pure returns (string memory _name) {
        return "BLU";
    }
}

File 2 of 11 : draft-IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

File 3 of 11 : IERC20.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 IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

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

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

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

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

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

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

File 4 of 11 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../extensions/draft-IERC20Permit.sol";
import "../../../utils/Address.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 SafeERC20 {
    using Address for address;

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

    function safeTransferFrom(
        IERC20 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(
        IERC20 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(
        IERC20 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(
        IERC20 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));
        }
    }

    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

    /**
     * @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(IERC20 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 5 of 11 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @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 functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or 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 {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // 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
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 6 of 11 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 7 of 11 : BaseToken.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";

import "./interfaces/IYieldTracker.sol";
import "./interfaces/IBaseToken.sol";

contract BaseToken is IERC20, IBaseToken {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    string public name;
    string public symbol;
    uint8 public constant decimals = 18;

    uint256 public override totalSupply;
    uint256 public nonStakingSupply;

    address public gov;

    mapping (address => uint256) public balances;
    mapping (address => mapping (address => uint256)) public allowances;

    address[] public yieldTrackers;
    mapping (address => bool) public nonStakingAccounts;
    mapping (address => bool) public admins;

    bool public inPrivateTransferMode;
    mapping (address => bool) public isHandler;

    modifier onlyGov() {
        require(msg.sender == gov, "BaseToken: forbidden");
        _;
    }

    modifier onlyAdmin() {
        require(admins[msg.sender], "BaseToken: forbidden");
        _;
    }

    constructor(string memory _name, string memory _symbol, uint256 _initialSupply) {
        name = _name;
        symbol = _symbol;
        gov = msg.sender;
        _mint(msg.sender, _initialSupply);
    }

    function setGov(address _gov) external onlyGov {
        gov = _gov;
    }

    function setInfo(string memory _name, string memory _symbol) external onlyGov {
        name = _name;
        symbol = _symbol;
    }

    function setYieldTrackers(address[] memory _yieldTrackers) external onlyGov {
        yieldTrackers = _yieldTrackers;
    }

    function addAdmin(address _account) external onlyGov {
        admins[_account] = true;
    }

    function removeAdmin(address _account) external override onlyGov {
        admins[_account] = false;
    }

    // to help users who accidentally send their tokens to this contract
    function withdrawToken(address _token, address _account, uint256 _amount) external override onlyGov {
        IERC20(_token).safeTransfer(_account, _amount);
    }

    function setInPrivateTransferMode(bool _inPrivateTransferMode) external override onlyGov {
        inPrivateTransferMode = _inPrivateTransferMode;
    }

    function setHandler(address _handler, bool _isActive) external onlyGov {
        isHandler[_handler] = _isActive;
    }

    function addNonStakingAccount(address _account) external onlyAdmin {
        require(!nonStakingAccounts[_account], "BaseToken: _account already marked");
        _updateRewards(_account);
        nonStakingAccounts[_account] = true;
        nonStakingSupply = nonStakingSupply.add(balances[_account]);
    }

    function removeNonStakingAccount(address _account) external onlyAdmin {
        require(nonStakingAccounts[_account], "BaseToken: _account not marked");
        _updateRewards(_account);
        nonStakingAccounts[_account] = false;
        nonStakingSupply = nonStakingSupply.sub(balances[_account]);
    }

    function recoverClaim(address _account, address _receiver) external onlyAdmin {
        for (uint256 i = 0; i < yieldTrackers.length; i++) {
            address yieldTracker = yieldTrackers[i];
            IYieldTracker(yieldTracker).claim(_account, _receiver);
        }
    }

    function claim(address _receiver) external {
        for (uint256 i = 0; i < yieldTrackers.length; i++) {
            address yieldTracker = yieldTrackers[i];
            IYieldTracker(yieldTracker).claim(msg.sender, _receiver);
        }
    }

    function totalStaked() external view override returns (uint256) {
        return totalSupply.sub(nonStakingSupply);
    }

    function balanceOf(address _account) external view override returns (uint256) {
        return balances[_account];
    }

    function stakedBalance(address _account) external view override returns (uint256) {
        if (nonStakingAccounts[_account]) {
            return 0;
        }
        return balances[_account];
    }

    function transfer(address _recipient, uint256 _amount) external override returns (bool) {
        _transfer(msg.sender, _recipient, _amount);
        return true;
    }

    function allowance(address _owner, address _spender) external view override returns (uint256) {
        return allowances[_owner][_spender];
    }

    function approve(address _spender, uint256 _amount) external override returns (bool) {
        _approve(msg.sender, _spender, _amount);
        return true;
    }

    function transferFrom(address _sender, address _recipient, uint256 _amount) external override returns (bool) {
        if (isHandler[msg.sender]) {
            _transfer(_sender, _recipient, _amount);
            return true;
        }
        uint256 nextAllowance = allowances[_sender][msg.sender].sub(_amount, "BaseToken: transfer amount exceeds allowance");
        _approve(_sender, msg.sender, nextAllowance);
        _transfer(_sender, _recipient, _amount);
        return true;
    }

    function _mint(address _account, uint256 _amount) internal {
        require(_account != address(0), "BaseToken: mint to the zero address");

        _updateRewards(_account);

        totalSupply = totalSupply.add(_amount);
        balances[_account] = balances[_account].add(_amount);

        if (nonStakingAccounts[_account]) {
            nonStakingSupply = nonStakingSupply.add(_amount);
        }

        emit Transfer(address(0), _account, _amount);
    }

    function _burn(address _account, uint256 _amount) internal {
        require(_account != address(0), "BaseToken: burn from the zero address");

        _updateRewards(_account);

        balances[_account] = balances[_account].sub(_amount, "BaseToken: burn amount exceeds balance");
        totalSupply = totalSupply.sub(_amount);

        if (nonStakingAccounts[_account]) {
            nonStakingSupply = nonStakingSupply.sub(_amount);
        }

        emit Transfer(_account, address(0), _amount);
    }

    function _transfer(address _sender, address _recipient, uint256 _amount) private {
        require(_sender != address(0), "BaseToken: transfer from the zero address");
        require(_recipient != address(0), "BaseToken: transfer to the zero address");

        if (inPrivateTransferMode) {
            require(isHandler[msg.sender], "BaseToken: msg.sender not whitelisted");
        }

        _updateRewards(_sender);
        _updateRewards(_recipient);

        balances[_sender] = balances[_sender].sub(_amount, "BaseToken: transfer amount exceeds balance");
        balances[_recipient] = balances[_recipient].add(_amount);

        if (nonStakingAccounts[_sender]) {
            nonStakingSupply = nonStakingSupply.sub(_amount);
        }
        if (nonStakingAccounts[_recipient]) {
            nonStakingSupply = nonStakingSupply.add(_amount);
        }

        emit Transfer(_sender, _recipient,_amount);
    }

    function _approve(address _owner, address _spender, uint256 _amount) private {
        require(_owner != address(0), "BaseToken: approve from the zero address");
        require(_spender != address(0), "BaseToken: approve to the zero address");

        allowances[_owner][_spender] = _amount;

        emit Approval(_owner, _spender, _amount);
    }

    function _updateRewards(address _account) private {
        for (uint256 i = 0; i < yieldTrackers.length; i++) {
            address yieldTracker = yieldTrackers[i];
            IYieldTracker(yieldTracker).updateRewards(_account);
        }
    }
}

File 8 of 11 : IBaseToken.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

interface IBaseToken {
    function totalStaked() external view returns (uint256);
    function stakedBalance(address _account) external view returns (uint256);
    function removeAdmin(address _account) external;
    function setInPrivateTransferMode(bool _inPrivateTransferMode) external;
    function withdrawToken(address _token, address _account, uint256 _amount) external;
}

File 9 of 11 : IMintable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

interface IMintable {
    function isMinter(address _account) external returns (bool);
    function setMinter(address _minter, bool _isActive) external;
    function mint(address _account, uint256 _amount) external;
    function burn(address _account, uint256 _amount) external;
}

File 10 of 11 : IYieldTracker.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

interface IYieldTracker {
    function claim(address _account, address _receiver) external returns (uint256);
    function updateRewards(address _account) external;
    function getTokensPerInterval() external view returns (uint256);
    function claimable(address _account) external view returns (uint256);
}

File 11 of 11 : MintableBaseToken.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./BaseToken.sol";
import "./interfaces/IMintable.sol";

contract MintableBaseToken is BaseToken, IMintable {

    mapping (address => bool) public override isMinter;

    constructor(string memory _name, string memory _symbol, uint256 _initialSupply) BaseToken(_name, _symbol, _initialSupply) {
        isMinter[msg.sender] = true;
    }

    modifier onlyMinter() {
        require(isMinter[msg.sender], "MintableBaseToken: forbidden");
        _;
    }

    function setMinter(address _minter, bool _isActive) external override onlyGov {
        isMinter[_minter] = _isActive;
    }

    function mint(address _account, uint256 _amount) external override onlyMinter {
        _mint(_account, _amount);
    }

    function burn(address _account, uint256 _amount) external override onlyMinter {
        _burn(_account, _amount);
    }
}

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

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":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"addAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"addNonStakingAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"admins","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowances","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":"","type":"address"}],"name":"balances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gov","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"id","outputs":[{"internalType":"string","name":"_name","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"inPrivateTransferMode","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isHandler","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","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":"nonStakingAccounts","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nonStakingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"recoverClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"removeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"removeNonStakingAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_gov","type":"address"}],"name":"setGov","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_handler","type":"address"},{"internalType":"bool","name":"_isActive","type":"bool"}],"name":"setHandler","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_inPrivateTransferMode","type":"bool"}],"name":"setInPrivateTransferMode","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"name":"setInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_minter","type":"address"},{"internalType":"bool","name":"_isActive","type":"bool"}],"name":"setMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_yieldTrackers","type":"address[]"}],"name":"setYieldTrackers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"stakedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalStaked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"yieldTrackers","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b5060405180604001604052806009815260200168426c7565737061646560b81b81525060405180604001604052806003815260200162424c5560e81b815250600082828282600090805190602001906200006d929190620002e5565b50815162000083906001906020850190620002e5565b50600480546001600160a01b03191633908117909155620000a59082620000cc565b5050336000908152600c60205260409020805460ff19166001179055506200042d92505050565b6001600160a01b038216620001335760405162461bcd60e51b815260206004820152602360248201527f42617365546f6b656e3a206d696e7420746f20746865207a65726f206164647260448201526265737360e81b606482015260840160405180910390fd5b6200013e8262000222565b6200015a81600254620002d060201b62000e971790919060201c565b6002556001600160a01b0382166000908152600560209081526040909120546200018f91839062000e97620002d0821b17901c565b6001600160a01b03831660009081526005602090815260408083209390935560089052205460ff1615620001dd57620001d981600354620002d060201b62000e971790919060201c565b6003555b6040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b60005b600754811015620002cc5760006007828154811062000248576200024862000417565b600091825260209091200154604051635fd6196560e01b81526001600160a01b03858116600483015290911691508190635fd6196590602401600060405180830381600087803b1580156200029c57600080fd5b505af1158015620002b1573d6000803e3d6000fd5b50505050508080620002c390620003e3565b91505062000225565b5050565b6000620002de82846200038b565b9392505050565b828054620002f390620003a6565b90600052602060002090601f01602090048101928262000317576000855562000362565b82601f106200033257805160ff191683800117855562000362565b8280016001018555821562000362579182015b828111156200036257825182559160200191906001019062000345565b506200037092915062000374565b5090565b5b8082111562000370576000815560010162000375565b60008219821115620003a157620003a162000401565b500190565b600181811c90821680620003bb57607f821691505b60208210811415620003dd57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415620003fa57620003fa62000401565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b611e91806200043d6000396000f3fe608060405234801561001057600080fd5b50600436106102275760003560e01c80636228907711610130578063a9059cbb116100b8578063cf456ae71161007c578063cf456ae714610533578063cfad57a214610546578063dd62ed3e14610559578063dfbaefb114610592578063fb30d9161461059f57600080fd5b8063a9059cbb146104c2578063a923fc40146104d5578063aa271e1a146104e8578063af640d0f1461050b578063c93be6361461052a57600080fd5b80639554381a116100ff5780639554381a1461045e57806395d89b4114610481578063996f11ee146104895780639cb7de4b1461049c5780639dc29fac146104af57600080fd5b80636228907714610407578063704802751461041a57806370a082311461042d578063817b1cd21461045657600080fd5b806327e235e3116101b357806346ea87af1161018257806346ea87af1461038057806352cd38d9146103a357806355b6ed5c146103b65780635a47a1a7146103e157806360217267146103f457600080fd5b806327e235e314610310578063313ce5671461033057806340c10f191461034a578063429b62e51461035d57600080fd5b80631785f53c116101fa5780631785f53c146102ad57806318160ddd146102c05780631e83409a146102d757806323b872dd146102ea578063276eab4e146102fd57600080fd5b806301e336671461022c57806306fdde0314610241578063095ea7b31461025f57806312d43a5114610282575b600080fd5b61023f61023a366004611a08565b6105b2565b005b6102496105fe565b6040516102569190611c45565b60405180910390f35b61027261026d366004611a7b565b61068c565b6040519015158152602001610256565b600454610295906001600160a01b031681565b6040516001600160a01b039091168152602001610256565b61023f6102bb3660046119ba565b6106a2565b6102c960025481565b604051908152602001610256565b61023f6102e53660046119ba565b6106ed565b6102726102f8366004611a08565b6107b9565b61023f61030b366004611aa5565b610853565b6102c961031e3660046119ba565b60056020526000908152604090205481565b610338601281565b60405160ff9091168152602001610256565b61023f610358366004611a7b565b610890565b61027261036b3660046119ba565b60096020526000908152604090205460ff1681565b61027261038e3660046119ba565b600b6020526000908152604090205460ff1681565b6102956103b1366004611bf7565b6108f9565b6102c96103c43660046119d5565b600660209081526000928352604080842090915290825290205481565b61023f6103ef366004611b59565b610923565b6102c96104023660046119ba565b610960565b61023f6104153660046119ba565b6109a5565b61023f6104283660046119ba565b610a91565b6102c961043b3660046119ba565b6001600160a01b031660009081526005602052604090205490565b6102c9610adf565b61027261046c3660046119ba565b60086020526000908152604090205460ff1681565b610249610afd565b61023f6104973660046119d5565b610b0a565b61023f6104aa366004611a44565b610c03565b61023f6104bd366004611a7b565b610c58565b6102726104d0366004611a7b565b610cc1565b61023f6104e3366004611b93565b610cce565b6102726104f63660046119ba565b600c6020526000908152604090205460ff1681565b604080518082019091526003815262424c5560e81b6020820152610249565b6102c960035481565b61023f610541366004611a44565b610d1f565b61023f6105543660046119ba565b610d74565b6102c96105673660046119d5565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b600a546102729060ff1681565b61023f6105ad3660046119ba565b610dc0565b6004546001600160a01b031633146105e55760405162461bcd60e51b81526004016105dc90611c78565b60405180910390fd5b6105f96001600160a01b0384168383610ea3565b505050565b6000805461060b90611d36565b80601f016020809104026020016040519081016040528092919081815260200182805461063790611d36565b80156106845780601f1061065957610100808354040283529160200191610684565b820191906000526020600020905b81548152906001019060200180831161066757829003601f168201915b505050505081565b6000610699338484610ef5565b50600192915050565b6004546001600160a01b031633146106cc5760405162461bcd60e51b81526004016105dc90611c78565b6001600160a01b03166000908152600960205260409020805460ff19169055565b60005b6007548110156107b55760006007828154811061070f5761070f611da2565b6000918252602090912001546040516310e059a160e11b81523360048201526001600160a01b038581166024830152909116915081906321c0b34290604401602060405180830381600087803b15801561076857600080fd5b505af115801561077c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107a09190611c10565b505080806107ad90611d71565b9150506106f0565b5050565b336000908152600b602052604081205460ff16156107e4576107dc848484611023565b50600161084c565b600061082e836040518060600160405280602c8152602001611de0602c91396001600160a01b038816600090815260066020908152604080832033845290915290205491906112a3565b905061083b853383610ef5565b610846858585611023565b60019150505b9392505050565b6004546001600160a01b0316331461087d5760405162461bcd60e51b81526004016105dc90611c78565b80516107b5906007906020840190611840565b336000908152600c602052604090205460ff166108ef5760405162461bcd60e51b815260206004820152601c60248201527f4d696e7461626c6542617365546f6b656e3a20666f7262696464656e0000000060448201526064016105dc565b6107b582826112cf565b6007818154811061090957600080fd5b6000918252602090912001546001600160a01b0316905081565b6004546001600160a01b0316331461094d5760405162461bcd60e51b81526004016105dc90611c78565b600a805460ff1916911515919091179055565b6001600160a01b03811660009081526008602052604081205460ff161561098957506000919050565b506001600160a01b031660009081526005602052604090205490565b3360009081526009602052604090205460ff166109d45760405162461bcd60e51b81526004016105dc90611c78565b6001600160a01b03811660009081526008602052604090205460ff1615610a485760405162461bcd60e51b815260206004820152602260248201527f42617365546f6b656e3a205f6163636f756e7420616c7265616479206d61726b604482015261195960f21b60648201526084016105dc565b610a51816113f1565b6001600160a01b0381166000908152600860209081526040808320805460ff191660011790556005909152902054600354610a8b91610e97565b60035550565b6004546001600160a01b03163314610abb5760405162461bcd60e51b81526004016105dc90611c78565b6001600160a01b03166000908152600960205260409020805460ff19166001179055565b6000610af860035460025461149290919063ffffffff16565b905090565b6001805461060b90611d36565b3360009081526009602052604090205460ff16610b395760405162461bcd60e51b81526004016105dc90611c78565b60005b6007548110156105f957600060078281548110610b5b57610b5b611da2565b6000918252602090912001546040516310e059a160e11b81526001600160a01b0386811660048301528581166024830152909116915081906321c0b34290604401602060405180830381600087803b158015610bb657600080fd5b505af1158015610bca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bee9190611c10565b50508080610bfb90611d71565b915050610b3c565b6004546001600160a01b03163314610c2d5760405162461bcd60e51b81526004016105dc90611c78565b6001600160a01b03919091166000908152600b60205260409020805460ff1916911515919091179055565b336000908152600c602052604090205460ff16610cb75760405162461bcd60e51b815260206004820152601c60248201527f4d696e7461626c6542617365546f6b656e3a20666f7262696464656e0000000060448201526064016105dc565b6107b5828261149e565b6000610699338484611023565b6004546001600160a01b03163314610cf85760405162461bcd60e51b81526004016105dc90611c78565b8151610d0b9060009060208501906118a5565b5080516105f99060019060208401906118a5565b6004546001600160a01b03163314610d495760405162461bcd60e51b81526004016105dc90611c78565b6001600160a01b03919091166000908152600c60205260409020805460ff1916911515919091179055565b6004546001600160a01b03163314610d9e5760405162461bcd60e51b81526004016105dc90611c78565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b3360009081526009602052604090205460ff16610def5760405162461bcd60e51b81526004016105dc90611c78565b6001600160a01b03811660009081526008602052604090205460ff16610e575760405162461bcd60e51b815260206004820152601e60248201527f42617365546f6b656e3a205f6163636f756e74206e6f74206d61726b6564000060448201526064016105dc565b610e60816113f1565b6001600160a01b0381166000908152600860209081526040808320805460ff191690556005909152902054600354610a8b91611492565b600061084c8284611cd7565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526105f99084906115e1565b6001600160a01b038316610f5c5760405162461bcd60e51b815260206004820152602860248201527f42617365546f6b656e3a20617070726f76652066726f6d20746865207a65726f604482015267206164647265737360c01b60648201526084016105dc565b6001600160a01b038216610fc15760405162461bcd60e51b815260206004820152602660248201527f42617365546f6b656e3a20617070726f766520746f20746865207a65726f206160448201526564647265737360d01b60648201526084016105dc565b6001600160a01b0383811660008181526006602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b03831661108b5760405162461bcd60e51b815260206004820152602960248201527f42617365546f6b656e3a207472616e736665722066726f6d20746865207a65726044820152686f206164647265737360b81b60648201526084016105dc565b6001600160a01b0382166110f15760405162461bcd60e51b815260206004820152602760248201527f42617365546f6b656e3a207472616e7366657220746f20746865207a65726f206044820152666164647265737360c81b60648201526084016105dc565b600a5460ff161561116957336000908152600b602052604090205460ff166111695760405162461bcd60e51b815260206004820152602560248201527f42617365546f6b656e3a206d73672e73656e646572206e6f742077686974656c6044820152641a5cdd195960da1b60648201526084016105dc565b611172836113f1565b61117b826113f1565b6111b8816040518060600160405280602a8152602001611e0c602a91396001600160a01b03861660009081526005602052604090205491906112a3565b6001600160a01b0380851660009081526005602052604080822093909355908416815220546111e79082610e97565b6001600160a01b0380841660009081526005602090815260408083209490945591861681526008909152205460ff161561122c576003546112289082611492565b6003555b6001600160a01b03821660009081526008602052604090205460ff161561125e5760035461125a9082610e97565b6003555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161101691815260200190565b600081848411156112c75760405162461bcd60e51b81526004016105dc9190611c45565b505050900390565b6001600160a01b0382166113315760405162461bcd60e51b815260206004820152602360248201527f42617365546f6b656e3a206d696e7420746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105dc565b61133a826113f1565b6002546113479082610e97565b6002556001600160a01b03821660009081526005602052604090205461136d9082610e97565b6001600160a01b03831660009081526005602090815260408083209390935560089052205460ff16156113ab576003546113a79082610e97565b6003555b6040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020015b60405180910390a35050565b60005b6007548110156107b55760006007828154811061141357611413611da2565b600091825260209091200154604051635fd6196560e01b81526001600160a01b03858116600483015290911691508190635fd6196590602401600060405180830381600087803b15801561146657600080fd5b505af115801561147a573d6000803e3d6000fd5b5050505050808061148a90611d71565b9150506113f4565b600061084c8284611cef565b6001600160a01b0382166115025760405162461bcd60e51b815260206004820152602560248201527f42617365546f6b656e3a206275726e2066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105dc565b61150b826113f1565b61154881604051806060016040528060268152602001611e36602691396001600160a01b03851660009081526005602052604090205491906112a3565b6001600160a01b03831660009081526005602052604090205560025461156e9082611492565b6002556001600160a01b03821660009081526008602052604090205460ff16156115a35760035461159f9082611492565b6003555b6040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020016113e5565b6000611636826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166116b39092919063ffffffff16565b8051909150156105f957808060200190518101906116549190611b76565b6105f95760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016105dc565b60606116c284846000856116ca565b949350505050565b60608247101561172b5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016105dc565b600080866001600160a01b031685876040516117479190611c29565b60006040518083038185875af1925050503d8060008114611784576040519150601f19603f3d011682016040523d82523d6000602084013e611789565b606091505b509150915061179a878383876117a5565b979650505050505050565b6060831561181157825161180a576001600160a01b0385163b61180a5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016105dc565b50816116c2565b6116c283838151156118265781518083602001fd5b8060405162461bcd60e51b81526004016105dc9190611c45565b828054828255906000526020600020908101928215611895579160200282015b8281111561189557825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190611860565b506118a1929150611919565b5090565b8280546118b190611d36565b90600052602060002090601f0160209004810192826118d35760008555611895565b82601f106118ec57805160ff1916838001178555611895565b82800160010185558215611895579182015b828111156118955782518255916020019190600101906118fe565b5b808211156118a1576000815560010161191a565b80356001600160a01b038116811461194557600080fd5b919050565b600082601f83011261195b57600080fd5b813567ffffffffffffffff81111561197557611975611db8565b611988601f8201601f1916602001611ca6565b81815284602083860101111561199d57600080fd5b816020850160208301376000918101602001919091529392505050565b6000602082840312156119cc57600080fd5b61084c8261192e565b600080604083850312156119e857600080fd5b6119f18361192e565b91506119ff6020840161192e565b90509250929050565b600080600060608486031215611a1d57600080fd5b611a268461192e565b9250611a346020850161192e565b9150604084013590509250925092565b60008060408385031215611a5757600080fd5b611a608361192e565b91506020830135611a7081611dce565b809150509250929050565b60008060408385031215611a8e57600080fd5b611a978361192e565b946020939093013593505050565b60006020808385031215611ab857600080fd5b823567ffffffffffffffff80821115611ad057600080fd5b818501915085601f830112611ae457600080fd5b813581811115611af657611af6611db8565b8060051b9150611b07848301611ca6565b8181528481019084860184860187018a1015611b2257600080fd5b600095505b83861015611b4c57611b388161192e565b835260019590950194918601918601611b27565b5098975050505050505050565b600060208284031215611b6b57600080fd5b813561084c81611dce565b600060208284031215611b8857600080fd5b815161084c81611dce565b60008060408385031215611ba657600080fd5b823567ffffffffffffffff80821115611bbe57600080fd5b611bca8683870161194a565b93506020850135915080821115611be057600080fd5b50611bed8582860161194a565b9150509250929050565b600060208284031215611c0957600080fd5b5035919050565b600060208284031215611c2257600080fd5b5051919050565b60008251611c3b818460208701611d06565b9190910192915050565b6020815260008251806020840152611c64816040850160208701611d06565b601f01601f19169190910160400192915050565b6020808252601490820152732130b9b2aa37b5b2b71d103337b93134b23232b760611b604082015260600190565b604051601f8201601f1916810167ffffffffffffffff81118282101715611ccf57611ccf611db8565b604052919050565b60008219821115611cea57611cea611d8c565b500190565b600082821015611d0157611d01611d8c565b500390565b60005b83811015611d21578181015183820152602001611d09565b83811115611d30576000848401525b50505050565b600181811c90821680611d4a57607f821691505b60208210811415611d6b57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611d8557611d85611d8c565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114611ddc57600080fd5b5056fe42617365546f6b656e3a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636542617365546f6b656e3a207472616e7366657220616d6f756e7420657863656564732062616c616e636542617365546f6b656e3a206275726e20616d6f756e7420657863656564732062616c616e6365a2646970667358221220fda816766f34385edccfc0fc1997c8ed612428ab651f6fb3510a2fe893b7a7e864736f6c63430008070033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102275760003560e01c80636228907711610130578063a9059cbb116100b8578063cf456ae71161007c578063cf456ae714610533578063cfad57a214610546578063dd62ed3e14610559578063dfbaefb114610592578063fb30d9161461059f57600080fd5b8063a9059cbb146104c2578063a923fc40146104d5578063aa271e1a146104e8578063af640d0f1461050b578063c93be6361461052a57600080fd5b80639554381a116100ff5780639554381a1461045e57806395d89b4114610481578063996f11ee146104895780639cb7de4b1461049c5780639dc29fac146104af57600080fd5b80636228907714610407578063704802751461041a57806370a082311461042d578063817b1cd21461045657600080fd5b806327e235e3116101b357806346ea87af1161018257806346ea87af1461038057806352cd38d9146103a357806355b6ed5c146103b65780635a47a1a7146103e157806360217267146103f457600080fd5b806327e235e314610310578063313ce5671461033057806340c10f191461034a578063429b62e51461035d57600080fd5b80631785f53c116101fa5780631785f53c146102ad57806318160ddd146102c05780631e83409a146102d757806323b872dd146102ea578063276eab4e146102fd57600080fd5b806301e336671461022c57806306fdde0314610241578063095ea7b31461025f57806312d43a5114610282575b600080fd5b61023f61023a366004611a08565b6105b2565b005b6102496105fe565b6040516102569190611c45565b60405180910390f35b61027261026d366004611a7b565b61068c565b6040519015158152602001610256565b600454610295906001600160a01b031681565b6040516001600160a01b039091168152602001610256565b61023f6102bb3660046119ba565b6106a2565b6102c960025481565b604051908152602001610256565b61023f6102e53660046119ba565b6106ed565b6102726102f8366004611a08565b6107b9565b61023f61030b366004611aa5565b610853565b6102c961031e3660046119ba565b60056020526000908152604090205481565b610338601281565b60405160ff9091168152602001610256565b61023f610358366004611a7b565b610890565b61027261036b3660046119ba565b60096020526000908152604090205460ff1681565b61027261038e3660046119ba565b600b6020526000908152604090205460ff1681565b6102956103b1366004611bf7565b6108f9565b6102c96103c43660046119d5565b600660209081526000928352604080842090915290825290205481565b61023f6103ef366004611b59565b610923565b6102c96104023660046119ba565b610960565b61023f6104153660046119ba565b6109a5565b61023f6104283660046119ba565b610a91565b6102c961043b3660046119ba565b6001600160a01b031660009081526005602052604090205490565b6102c9610adf565b61027261046c3660046119ba565b60086020526000908152604090205460ff1681565b610249610afd565b61023f6104973660046119d5565b610b0a565b61023f6104aa366004611a44565b610c03565b61023f6104bd366004611a7b565b610c58565b6102726104d0366004611a7b565b610cc1565b61023f6104e3366004611b93565b610cce565b6102726104f63660046119ba565b600c6020526000908152604090205460ff1681565b604080518082019091526003815262424c5560e81b6020820152610249565b6102c960035481565b61023f610541366004611a44565b610d1f565b61023f6105543660046119ba565b610d74565b6102c96105673660046119d5565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b600a546102729060ff1681565b61023f6105ad3660046119ba565b610dc0565b6004546001600160a01b031633146105e55760405162461bcd60e51b81526004016105dc90611c78565b60405180910390fd5b6105f96001600160a01b0384168383610ea3565b505050565b6000805461060b90611d36565b80601f016020809104026020016040519081016040528092919081815260200182805461063790611d36565b80156106845780601f1061065957610100808354040283529160200191610684565b820191906000526020600020905b81548152906001019060200180831161066757829003601f168201915b505050505081565b6000610699338484610ef5565b50600192915050565b6004546001600160a01b031633146106cc5760405162461bcd60e51b81526004016105dc90611c78565b6001600160a01b03166000908152600960205260409020805460ff19169055565b60005b6007548110156107b55760006007828154811061070f5761070f611da2565b6000918252602090912001546040516310e059a160e11b81523360048201526001600160a01b038581166024830152909116915081906321c0b34290604401602060405180830381600087803b15801561076857600080fd5b505af115801561077c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107a09190611c10565b505080806107ad90611d71565b9150506106f0565b5050565b336000908152600b602052604081205460ff16156107e4576107dc848484611023565b50600161084c565b600061082e836040518060600160405280602c8152602001611de0602c91396001600160a01b038816600090815260066020908152604080832033845290915290205491906112a3565b905061083b853383610ef5565b610846858585611023565b60019150505b9392505050565b6004546001600160a01b0316331461087d5760405162461bcd60e51b81526004016105dc90611c78565b80516107b5906007906020840190611840565b336000908152600c602052604090205460ff166108ef5760405162461bcd60e51b815260206004820152601c60248201527f4d696e7461626c6542617365546f6b656e3a20666f7262696464656e0000000060448201526064016105dc565b6107b582826112cf565b6007818154811061090957600080fd5b6000918252602090912001546001600160a01b0316905081565b6004546001600160a01b0316331461094d5760405162461bcd60e51b81526004016105dc90611c78565b600a805460ff1916911515919091179055565b6001600160a01b03811660009081526008602052604081205460ff161561098957506000919050565b506001600160a01b031660009081526005602052604090205490565b3360009081526009602052604090205460ff166109d45760405162461bcd60e51b81526004016105dc90611c78565b6001600160a01b03811660009081526008602052604090205460ff1615610a485760405162461bcd60e51b815260206004820152602260248201527f42617365546f6b656e3a205f6163636f756e7420616c7265616479206d61726b604482015261195960f21b60648201526084016105dc565b610a51816113f1565b6001600160a01b0381166000908152600860209081526040808320805460ff191660011790556005909152902054600354610a8b91610e97565b60035550565b6004546001600160a01b03163314610abb5760405162461bcd60e51b81526004016105dc90611c78565b6001600160a01b03166000908152600960205260409020805460ff19166001179055565b6000610af860035460025461149290919063ffffffff16565b905090565b6001805461060b90611d36565b3360009081526009602052604090205460ff16610b395760405162461bcd60e51b81526004016105dc90611c78565b60005b6007548110156105f957600060078281548110610b5b57610b5b611da2565b6000918252602090912001546040516310e059a160e11b81526001600160a01b0386811660048301528581166024830152909116915081906321c0b34290604401602060405180830381600087803b158015610bb657600080fd5b505af1158015610bca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bee9190611c10565b50508080610bfb90611d71565b915050610b3c565b6004546001600160a01b03163314610c2d5760405162461bcd60e51b81526004016105dc90611c78565b6001600160a01b03919091166000908152600b60205260409020805460ff1916911515919091179055565b336000908152600c602052604090205460ff16610cb75760405162461bcd60e51b815260206004820152601c60248201527f4d696e7461626c6542617365546f6b656e3a20666f7262696464656e0000000060448201526064016105dc565b6107b5828261149e565b6000610699338484611023565b6004546001600160a01b03163314610cf85760405162461bcd60e51b81526004016105dc90611c78565b8151610d0b9060009060208501906118a5565b5080516105f99060019060208401906118a5565b6004546001600160a01b03163314610d495760405162461bcd60e51b81526004016105dc90611c78565b6001600160a01b03919091166000908152600c60205260409020805460ff1916911515919091179055565b6004546001600160a01b03163314610d9e5760405162461bcd60e51b81526004016105dc90611c78565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b3360009081526009602052604090205460ff16610def5760405162461bcd60e51b81526004016105dc90611c78565b6001600160a01b03811660009081526008602052604090205460ff16610e575760405162461bcd60e51b815260206004820152601e60248201527f42617365546f6b656e3a205f6163636f756e74206e6f74206d61726b6564000060448201526064016105dc565b610e60816113f1565b6001600160a01b0381166000908152600860209081526040808320805460ff191690556005909152902054600354610a8b91611492565b600061084c8284611cd7565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526105f99084906115e1565b6001600160a01b038316610f5c5760405162461bcd60e51b815260206004820152602860248201527f42617365546f6b656e3a20617070726f76652066726f6d20746865207a65726f604482015267206164647265737360c01b60648201526084016105dc565b6001600160a01b038216610fc15760405162461bcd60e51b815260206004820152602660248201527f42617365546f6b656e3a20617070726f766520746f20746865207a65726f206160448201526564647265737360d01b60648201526084016105dc565b6001600160a01b0383811660008181526006602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b03831661108b5760405162461bcd60e51b815260206004820152602960248201527f42617365546f6b656e3a207472616e736665722066726f6d20746865207a65726044820152686f206164647265737360b81b60648201526084016105dc565b6001600160a01b0382166110f15760405162461bcd60e51b815260206004820152602760248201527f42617365546f6b656e3a207472616e7366657220746f20746865207a65726f206044820152666164647265737360c81b60648201526084016105dc565b600a5460ff161561116957336000908152600b602052604090205460ff166111695760405162461bcd60e51b815260206004820152602560248201527f42617365546f6b656e3a206d73672e73656e646572206e6f742077686974656c6044820152641a5cdd195960da1b60648201526084016105dc565b611172836113f1565b61117b826113f1565b6111b8816040518060600160405280602a8152602001611e0c602a91396001600160a01b03861660009081526005602052604090205491906112a3565b6001600160a01b0380851660009081526005602052604080822093909355908416815220546111e79082610e97565b6001600160a01b0380841660009081526005602090815260408083209490945591861681526008909152205460ff161561122c576003546112289082611492565b6003555b6001600160a01b03821660009081526008602052604090205460ff161561125e5760035461125a9082610e97565b6003555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161101691815260200190565b600081848411156112c75760405162461bcd60e51b81526004016105dc9190611c45565b505050900390565b6001600160a01b0382166113315760405162461bcd60e51b815260206004820152602360248201527f42617365546f6b656e3a206d696e7420746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105dc565b61133a826113f1565b6002546113479082610e97565b6002556001600160a01b03821660009081526005602052604090205461136d9082610e97565b6001600160a01b03831660009081526005602090815260408083209390935560089052205460ff16156113ab576003546113a79082610e97565b6003555b6040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020015b60405180910390a35050565b60005b6007548110156107b55760006007828154811061141357611413611da2565b600091825260209091200154604051635fd6196560e01b81526001600160a01b03858116600483015290911691508190635fd6196590602401600060405180830381600087803b15801561146657600080fd5b505af115801561147a573d6000803e3d6000fd5b5050505050808061148a90611d71565b9150506113f4565b600061084c8284611cef565b6001600160a01b0382166115025760405162461bcd60e51b815260206004820152602560248201527f42617365546f6b656e3a206275726e2066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105dc565b61150b826113f1565b61154881604051806060016040528060268152602001611e36602691396001600160a01b03851660009081526005602052604090205491906112a3565b6001600160a01b03831660009081526005602052604090205560025461156e9082611492565b6002556001600160a01b03821660009081526008602052604090205460ff16156115a35760035461159f9082611492565b6003555b6040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020016113e5565b6000611636826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166116b39092919063ffffffff16565b8051909150156105f957808060200190518101906116549190611b76565b6105f95760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016105dc565b60606116c284846000856116ca565b949350505050565b60608247101561172b5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016105dc565b600080866001600160a01b031685876040516117479190611c29565b60006040518083038185875af1925050503d8060008114611784576040519150601f19603f3d011682016040523d82523d6000602084013e611789565b606091505b509150915061179a878383876117a5565b979650505050505050565b6060831561181157825161180a576001600160a01b0385163b61180a5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016105dc565b50816116c2565b6116c283838151156118265781518083602001fd5b8060405162461bcd60e51b81526004016105dc9190611c45565b828054828255906000526020600020908101928215611895579160200282015b8281111561189557825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190611860565b506118a1929150611919565b5090565b8280546118b190611d36565b90600052602060002090601f0160209004810192826118d35760008555611895565b82601f106118ec57805160ff1916838001178555611895565b82800160010185558215611895579182015b828111156118955782518255916020019190600101906118fe565b5b808211156118a1576000815560010161191a565b80356001600160a01b038116811461194557600080fd5b919050565b600082601f83011261195b57600080fd5b813567ffffffffffffffff81111561197557611975611db8565b611988601f8201601f1916602001611ca6565b81815284602083860101111561199d57600080fd5b816020850160208301376000918101602001919091529392505050565b6000602082840312156119cc57600080fd5b61084c8261192e565b600080604083850312156119e857600080fd5b6119f18361192e565b91506119ff6020840161192e565b90509250929050565b600080600060608486031215611a1d57600080fd5b611a268461192e565b9250611a346020850161192e565b9150604084013590509250925092565b60008060408385031215611a5757600080fd5b611a608361192e565b91506020830135611a7081611dce565b809150509250929050565b60008060408385031215611a8e57600080fd5b611a978361192e565b946020939093013593505050565b60006020808385031215611ab857600080fd5b823567ffffffffffffffff80821115611ad057600080fd5b818501915085601f830112611ae457600080fd5b813581811115611af657611af6611db8565b8060051b9150611b07848301611ca6565b8181528481019084860184860187018a1015611b2257600080fd5b600095505b83861015611b4c57611b388161192e565b835260019590950194918601918601611b27565b5098975050505050505050565b600060208284031215611b6b57600080fd5b813561084c81611dce565b600060208284031215611b8857600080fd5b815161084c81611dce565b60008060408385031215611ba657600080fd5b823567ffffffffffffffff80821115611bbe57600080fd5b611bca8683870161194a565b93506020850135915080821115611be057600080fd5b50611bed8582860161194a565b9150509250929050565b600060208284031215611c0957600080fd5b5035919050565b600060208284031215611c2257600080fd5b5051919050565b60008251611c3b818460208701611d06565b9190910192915050565b6020815260008251806020840152611c64816040850160208701611d06565b601f01601f19169190910160400192915050565b6020808252601490820152732130b9b2aa37b5b2b71d103337b93134b23232b760611b604082015260600190565b604051601f8201601f1916810167ffffffffffffffff81118282101715611ccf57611ccf611db8565b604052919050565b60008219821115611cea57611cea611d8c565b500190565b600082821015611d0157611d01611d8c565b500390565b60005b83811015611d21578181015183820152602001611d09565b83811115611d30576000848401525b50505050565b600181811c90821680611d4a57607f821691505b60208210811415611d6b57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611d8557611d85611d8c565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114611ddc57600080fd5b5056fe42617365546f6b656e3a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636542617365546f6b656e3a207472616e7366657220616d6f756e7420657863656564732062616c616e636542617365546f6b656e3a206275726e20616d6f756e7420657863656564732062616c616e6365a2646970667358221220fda816766f34385edccfc0fc1997c8ed612428ab651f6fb3510a2fe893b7a7e864736f6c63430008070033

Block Transaction Gas Used Reward
view all blocks validated

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ 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.