ETH Price: $3,318.75 (-1.22%)

Contract

0x08B4b471CC4dc1FfC4a6C3495Cba1B068dDa7413
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer Ownersh...192860602024-02-22 22:15:11274 days ago1708640111IN
0x08B4b471...68dDa7413
0 ETH0.0018243562.76819361
Flip Paused191791532024-02-07 22:00:35289 days ago1707343235IN
0x08B4b471...68dDa7413
0 ETH0.0011765538.34666481
Claim191790412024-02-07 21:38:11289 days ago1707341891IN
0x08B4b471...68dDa7413
0 ETH0.0020084635.7353032
Claim191789972024-02-07 21:29:23289 days ago1707341363IN
0x08B4b471...68dDa7413
0 ETH0.0023812335.07546664
Claim191789832024-02-07 21:26:35289 days ago1707341195IN
0x08B4b471...68dDa7413
0 ETH0.0025049134.17163981
Claim191789352024-02-07 21:16:59289 days ago1707340619IN
0x08B4b471...68dDa7413
0 ETH0.0046425440.80492975
Claim191783542024-02-07 19:19:23289 days ago1707333563IN
0x08B4b471...68dDa7413
0 ETH0.003424260.9246221
Claim191781882024-02-07 18:45:47289 days ago1707331547IN
0x08B4b471...68dDa7413
0 ETH0.0028047738.26219934
Claim191778782024-02-07 17:43:23289 days ago1707327803IN
0x08B4b471...68dDa7413
0 ETH0.0066820173.9127783
Claim191777282024-02-07 17:12:59289 days ago1707325979IN
0x08B4b471...68dDa7413
0 ETH0.0048104985.58998806
Claim191768172024-02-07 14:09:47289 days ago1707314987IN
0x08B4b471...68dDa7413
0 ETH0.0038960437.8462256
Claim191767972024-02-07 14:05:47289 days ago1707314747IN
0x08B4b471...68dDa7413
0 ETH0.0022741433.49795478
Claim191767542024-02-07 13:57:11289 days ago1707314231IN
0x08B4b471...68dDa7413
0 ETH0.0086892732.70568273
Claim191761302024-02-07 11:50:47289 days ago1707306647IN
0x08B4b471...68dDa7413
0 ETH0.0024824224.11432405
Claim191759182024-02-07 11:07:59289 days ago1707304079IN
0x08B4b471...68dDa7413
0 ETH0.0107953329.04455105
Claim191759142024-02-07 11:07:11289 days ago1707304031IN
0x08B4b471...68dDa7413
0 ETH0.0071748426.91874406
Claim191748342024-02-07 7:29:23289 days ago1707290963IN
0x08B4b471...68dDa7413
0 ETH0.0017326925.52254262
Claim191746122024-02-07 6:44:47289 days ago1707288287IN
0x08B4b471...68dDa7413
0 ETH0.0016809829.90865974
Claim191745412024-02-07 6:30:23289 days ago1707287423IN
0x08B4b471...68dDa7413
0 ETH0.0063419526.77239041
Claim191743122024-02-07 5:44:11289 days ago1707284651IN
0x08B4b471...68dDa7413
0 ETH0.0022337924.71226751
Claim191742542024-02-07 5:32:11289 days ago1707283931IN
0x08B4b471...68dDa7413
0 ETH0.0016616524.47599768
Claim191741392024-02-07 5:08:59289 days ago1707282539IN
0x08B4b471...68dDa7413
0 ETH0.0069506524.98231168
Claim191741012024-02-07 5:01:23289 days ago1707282083IN
0x08B4b471...68dDa7413
0 ETH0.0238485328.43102278
Claim191739002024-02-07 4:20:47289 days ago1707279647IN
0x08B4b471...68dDa7413
0 ETH0.0032828225.08384169
Claim191735932024-02-07 3:18:23289 days ago1707275903IN
0x08B4b471...68dDa7413
0 ETH0.0051571537.37069166
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MutantScales

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 10 : MutantScales.sol
// SPDX-License-Identifier: Unlicense

pragma solidity ^0.8.11;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";

import "./interfaces/IMutants.sol";
import "./interfaces/IScales.sol";

error MutantScales_FunctionLocked();
error MutantScales_SenderNotTokenOwner();
error MutantScales_StartTimeAlreadySet();
error MutantScales_StartTimeNotSet();
error MutantScales_TokenIdOutOfRange();

/**                                     ..',,;;;;:::;;;,,'..
                                 .';:ccccc:::;;,,,,,;;;:::ccccc:;'.
                            .,:ccc:;'..                      ..';:ccc:,.
                        .':cc:,.                                    .,ccc:'.
                     .,clc,.                                            .,clc,.
                   'clc'                                                    'clc'
                .;ll,.                                                        .;ll;.
              .:ol.                                                              'co:.
             ;oc.                                                                  .co;
           'oo'                                                                      'lo'
         .cd;                                                                          ;dc.
        .ol.                                                                 .,.        .lo.
       ,dc.                                                               'cxKWK;         cd,
      ;d;                                                             .;oONWMMMMXc         ;d;
     ;d;                                                           'cxKWMMMMMMMMMXl.        ;x;
    ,x:            ;dxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0NMMMMMMMMMMMMMMNd.        :x,
   .dc           .lXMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNd.        cd.
   ld.          .oNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWXkl'         .dl
  ,x;          .xWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMN0d:.             ;x,
  oo.         .kWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWKxc'.                .oo
 'x:          .kWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNOo;.                     :x'
 :x.           .xWMMMMMMMMMMM0occcccccccccccccccccccccccccccccccccccc:'                         .x:
 lo.            .oNMMMMMMMMMX;                                                                  .ol
.ol              .lXMMMMMMMWd.  ,dddddddddddddddo;.   .:dddddddddddddo,                          lo.
.dl                cXMMMMMM0,  'OMMMMMMMMMMMMMMNd.   .xWMMMMMMMMMMMMXo.                          ld.
.dl                 ;KMMMMNl   oWMMMMMMMMMMMMMXc.   ,OWMMMMMMMMMMMMK:                            ld.
 oo                  ,OWMMO.  ,KMMMMMMMMMMMMW0;   .cKMMMMMMMMMMMMWO,                             oo
 cd.                  'kWX:  .xWMMMMMMMMMMMWx.  .dKNMMMMMMMMMMMMNd.                             .dc
 ,x,                   .dd.  ;KMMMMMMMMMMMXo.  'kWMMMMMMMMMMMMMXl.                              ,x;
 .dc                     .   .,:loxOKNWMMK:   ;0WMMMMMMMMMMMMW0;                                cd.
  :d.                      ...      ..,:c'  .lXMMMMMMMMMMMMMWk'                                .d:
  .dl                      :OKOxoc:,..     .xNMMMMMMMMMMMMMNo.                                 cd.
   ;x,                      ;0MMMMWWXKOxoclOWMMMMMMMMMMMMMKc                                  ,x;
    cd.                      ,OWMMMMMMMMMMMMMMMMMMMMMMMMWO,                                  .dc
    .oo.                      .kWMMMMMMMMMMMMMMMMMMMMMMNx.                                  .oo.
     .oo.                      .xWMMMMMMMMMMMMMMMMMMMMXl.                                  .oo.
      .lo.                      .oNMMMMMMMMMMMMMMMMMW0;                                   .ol.
       .cd,                      .lXMMMMMMMMMMMMMMMWk'                                   ,dc.
         ;dc.                      :KMMMMMMMMMMMMNKo.                                  .cd;
          .lo,                      ;0WWWWWWWWWWKc.                                   'ol.
            ,ol.                     .,,,,,,,,,,.                                   .lo,
             .;oc.                                                                .co:.
               .;ol'                                                            'lo;.
                  ,ll:.                                                      .:ll,
                    .:ll;.                                                .;ll:.
                       .:ll:,.                                        .,:ll:.
                          .,:ccc;'.                              .';ccc:,.
                              .';cccc::;'...            ...';:ccccc;'.
                                    .',;::cc::cc::::::::::::;,..
                                              ........
 * @title MutantScales
 * @author Augminted Labs, LLC
 * @notice Passive rewards contract allowing MUTANT to earn $SCALES
 * @notice For more details see: https://medium.com/@AugmintedLabs/kaijukingz-p2e-ecosystem-dc9577ff8773
 */
contract MutantScales is Ownable, Pausable {
    uint256 public constant BASE_RATE = 2 ether;

    IMutants public Mutants;
    IScales public Scales;
    uint256 public startTime;
    mapping(uint256 => uint256) public claimed;
    mapping(bytes4 => bool) public functionLocked;

    constructor(
        address mutants,
        address scales
    ) {
        Mutants = IMutants(mutants);
        Scales = IScales(scales);
    }

    /**
     * @notice Modifier applied to functions that will be disabled when they're no longer needed
     */
    modifier lockable() {
        if (functionLocked[msg.sig]) revert MutantScales_FunctionLocked();
        _;
    }

    /**
     * @notice Set SCALES token address
     * @param scales Address of SCALES token contract
     */
    function setScales(address scales) external lockable onlyOwner {
        Scales = IScales(scales);
    }

    /**
     * @notice Set MUTANT token address
     * @param mutants Address of MUTANT token contract
     */
    function setMutants(address mutants) external lockable onlyOwner {
        Mutants = IMutants(mutants);
    }

    /**
     * @notice Start timer for $SCALES rewards
     * @dev WARNING: This cannot be undone
     */
    function setStartTime() external onlyOwner {
        if (startTime != 0) revert MutantScales_StartTimeAlreadySet();

        startTime = block.timestamp;
    }

    /**
     * @notice Get the amount of $SCALES claimable from a MUTANT
     * @param tokenId MUTANT to return the the claimable $SCALES for
     * @return uint256 Amount of $SCALES claimable for specified MUTANT
     */
    function getClaimable(uint256 tokenId) public view returns (uint256) {
        if (tokenId >= Mutants.MAX_SUPPLY()) revert MutantScales_TokenIdOutOfRange();
        if (startTime == 0) revert MutantScales_StartTimeNotSet();

        return ((BASE_RATE * (block.timestamp - startTime)) / 1 days) - claimed[tokenId];
    }

    /**
     * @notice Claim $SCALES for a specified set of MUTANT tokens
     * @param tokenIds MUTANT which the sender owns to claim $SCALES for
     */
    function claim(uint256[] calldata tokenIds) public whenNotPaused {
        uint256 totalClaimable = 0;

        for (uint256 i; i < tokenIds.length; ++i) {
            if (_msgSender() != Mutants.ownerOf(tokenIds[i])) revert MutantScales_SenderNotTokenOwner();

            uint256 claimable = getClaimable(tokenIds[i]);
            claimed[tokenIds[i]] += claimable;
            totalClaimable += claimable;
        }

        Scales.credit(_msgSender(), totalClaimable);
    }

    /**
     * @notice Flip paused state to temporarily disable claiming
     */
    function flipPaused() external lockable onlyOwner {
        paused() ? _unpause() : _pause();
    }

    /**
     * @notice Lock individual functions that are no longer needed
     * @dev Only affects functions with the lockable modifier
     * @param id First 4 bytes of the calldata (i.e. function identifier)
     */
    function lockFunction(bytes4 id) external onlyOwner {
        functionLocked[id] = true;
    }
}

File 2 of 10 : IScales.sol
// SPDX-License-Identifier: Unlicense

pragma solidity ^0.8.4;

import "./ISpendable.sol";

interface IScales is ISpendable {
    function getAllOwned(address) external view returns (uint256[] memory);
}

File 3 of 10 : IMutants.sol
//SPDX-License-Identifier: Unlicense

pragma solidity ^0.8.4;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";

interface IMutants is IERC721 {
    function MAX_SUPPLY() external view returns (uint256);
    function totalSupply() external view returns (uint256);
    function tier(uint256) external view returns (uint256);
}

File 4 of 10 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 5 of 10 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 6 of 10 : ISpendable.sol
//SPDX-License-Identifier: Unlicense

pragma solidity ^0.8.4;

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

interface ISpendable is IERC20 {
    function getSpendable(address) external view returns (uint256);
    function spend(address, uint256) external;
    function credit(address, uint256) external;
}

File 7 of 10 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);
}

File 8 of 10 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 9 of 10 : 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 10 of 10 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"mutants","type":"address"},{"internalType":"address","name":"scales","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"MutantScales_FunctionLocked","type":"error"},{"inputs":[],"name":"MutantScales_SenderNotTokenOwner","type":"error"},{"inputs":[],"name":"MutantScales_StartTimeAlreadySet","type":"error"},{"inputs":[],"name":"MutantScales_StartTimeNotSet","type":"error"},{"inputs":[],"name":"MutantScales_TokenIdOutOfRange","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"BASE_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Mutants","outputs":[{"internalType":"contract IMutants","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Scales","outputs":[{"internalType":"contract IScales","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"claimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"name":"functionLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getClaimable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"id","type":"bytes4"}],"name":"lockFunction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"mutants","type":"address"}],"name":"setMutants","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"scales","type":"address"}],"name":"setScales","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162001bfc38038062001bfc833981810160405281019062000037919062000231565b620000576200004b620000fb60201b60201c565b6200010360201b60201c565b60008060146101000a81548160ff02191690831515021790555081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505062000278565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620001f982620001cc565b9050919050565b6200020b81620001ec565b81146200021757600080fd5b50565b6000815190506200022b8162000200565b92915050565b600080604083850312156200024b576200024a620001c7565b5b60006200025b858286016200021a565b92505060206200026e858286016200021a565b9150509250929050565b61197480620002886000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c806371ecd0c9116100a2578063a63f7c5311610071578063a63f7c531461025c578063bbadfe7614610266578063d70dc71a14610296578063dbe7e3bd146102b2578063f2fde38b146102e25761010b565b806371ecd0c9146101d457806378e97925146101f05780638da5cb5b1461020e5780639c7e4a661461022c5761010b565b806341910f90116100de57806341910f90146101725780635c975abb146101905780636ba4c138146101ae578063715018a6146101ca5761010b565b80630b2388ed146101105780631246740d1461012e578063333171bb1461014c5780633453182814610156575b600080fd5b6101186102fe565b60405161012591906111cf565b60405180910390f35b610136610324565b604051610143919061120b565b60405180910390f35b61015461034a565b005b610170600480360381019061016b9190611288565b6104a3565b005b61017a61058c565b60405161018791906112ce565b60405180910390f35b610198610598565b6040516101a59190611304565b60405180910390f35b6101c860048036038101906101c39190611384565b6105ae565b005b6101d261084a565b005b6101ee60048036038101906101e9919061140f565b6108d2565b005b6101f8610a4b565b60405161020591906112ce565b60405180910390f35b610216610a51565b604051610223919061144b565b60405180910390f35b61024660048036038101906102419190611492565b610a7a565b60405161025391906112ce565b60405180910390f35b610264610bd6565b005b610280600480360381019061027b9190611288565b610c97565b60405161028d9190611304565b60405180910390f35b6102b060048036038101906102ab919061140f565b610cb7565b005b6102cc60048036038101906102c79190611492565b610e30565b6040516102d991906112ce565b60405180910390f35b6102fc60048036038101906102f7919061140f565b610e48565b005b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6005600080357fffffffff00000000000000000000000000000000000000000000000000000000167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff1615610403576040517f2af7d55a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61040b610f40565b73ffffffffffffffffffffffffffffffffffffffff16610429610a51565b73ffffffffffffffffffffffffffffffffffffffff161461047f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104769061151c565b60405180910390fd5b610487610598565b61049857610493610f48565b6104a1565b6104a0610feb565b5b565b6104ab610f40565b73ffffffffffffffffffffffffffffffffffffffff166104c9610a51565b73ffffffffffffffffffffffffffffffffffffffff161461051f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105169061151c565b60405180910390fd5b600160056000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b671bc16d674ec8000081565b60008060149054906101000a900460ff16905090565b6105b6610598565b156105f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105ed90611588565b60405180910390fd5b6000805b838390508110156107ae57600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e858584818110610656576106556115a8565b5b905060200201356040518263ffffffff1660e01b815260040161067991906112ce565b602060405180830381865afa158015610696573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ba91906115ec565b73ffffffffffffffffffffffffffffffffffffffff166106d8610f40565b73ffffffffffffffffffffffffffffffffffffffff1614610725576040517f6e2203b400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061074985858481811061073d5761073c6115a8565b5b90506020020135610a7a565b90508060046000878786818110610763576107626115a8565b5b90506020020135815260200190815260200160002060008282546107879190611648565b92505081905550808361079a9190611648565b925050806107a79061169e565b90506105fa565b50600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ef6506db6107f5610f40565b836040518363ffffffff1660e01b81526004016108139291906116e7565b600060405180830381600087803b15801561082d57600080fd5b505af1158015610841573d6000803e3d6000fd5b50505050505050565b610852610f40565b73ffffffffffffffffffffffffffffffffffffffff16610870610a51565b73ffffffffffffffffffffffffffffffffffffffff16146108c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108bd9061151c565b60405180910390fd5b6108d0600061108c565b565b6005600080357fffffffff00000000000000000000000000000000000000000000000000000000167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff161561098b576040517f2af7d55a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610993610f40565b73ffffffffffffffffffffffffffffffffffffffff166109b1610a51565b73ffffffffffffffffffffffffffffffffffffffff1614610a07576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109fe9061151c565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60035481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166332cb6b0c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ae9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b0d9190611725565b8210610b45576040517ffab7bf2d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006003541415610b82576040517fc64d7d8e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60046000838152602001908152602001600020546201518060035442610ba89190611752565b671bc16d674ec80000610bbb9190611786565b610bc5919061180f565b610bcf9190611752565b9050919050565b610bde610f40565b73ffffffffffffffffffffffffffffffffffffffff16610bfc610a51565b73ffffffffffffffffffffffffffffffffffffffff1614610c52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c499061151c565b60405180910390fd5b600060035414610c8e576040517f1f07dfd200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b42600381905550565b60056020528060005260406000206000915054906101000a900460ff1681565b6005600080357fffffffff00000000000000000000000000000000000000000000000000000000167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff1615610d70576040517f2af7d55a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d78610f40565b73ffffffffffffffffffffffffffffffffffffffff16610d96610a51565b73ffffffffffffffffffffffffffffffffffffffff1614610dec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de39061151c565b60405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60046020528060005260406000206000915090505481565b610e50610f40565b73ffffffffffffffffffffffffffffffffffffffff16610e6e610a51565b73ffffffffffffffffffffffffffffffffffffffff1614610ec4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebb9061151c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2b906118b2565b60405180910390fd5b610f3d8161108c565b50565b600033905090565b610f50610598565b15610f90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8790611588565b60405180910390fd5b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610fd4610f40565b604051610fe1919061144b565b60405180910390a1565b610ff3610598565b611032576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110299061191e565b60405180910390fd5b60008060146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611075610f40565b604051611082919061144b565b60405180910390a1565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061119561119061118b84611150565b611170565b611150565b9050919050565b60006111a78261117a565b9050919050565b60006111b98261119c565b9050919050565b6111c9816111ae565b82525050565b60006020820190506111e460008301846111c0565b92915050565b60006111f58261119c565b9050919050565b611205816111ea565b82525050565b600060208201905061122060008301846111fc565b92915050565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61126581611230565b811461127057600080fd5b50565b6000813590506112828161125c565b92915050565b60006020828403121561129e5761129d611226565b5b60006112ac84828501611273565b91505092915050565b6000819050919050565b6112c8816112b5565b82525050565b60006020820190506112e360008301846112bf565b92915050565b60008115159050919050565b6112fe816112e9565b82525050565b600060208201905061131960008301846112f5565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126113445761134361131f565b5b8235905067ffffffffffffffff81111561136157611360611324565b5b60208301915083602082028301111561137d5761137c611329565b5b9250929050565b6000806020838503121561139b5761139a611226565b5b600083013567ffffffffffffffff8111156113b9576113b861122b565b5b6113c58582860161132e565b92509250509250929050565b60006113dc82611150565b9050919050565b6113ec816113d1565b81146113f757600080fd5b50565b600081359050611409816113e3565b92915050565b60006020828403121561142557611424611226565b5b6000611433848285016113fa565b91505092915050565b611445816113d1565b82525050565b6000602082019050611460600083018461143c565b92915050565b61146f816112b5565b811461147a57600080fd5b50565b60008135905061148c81611466565b92915050565b6000602082840312156114a8576114a7611226565b5b60006114b68482850161147d565b91505092915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006115066020836114bf565b9150611511826114d0565b602082019050919050565b60006020820190508181036000830152611535816114f9565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006115726010836114bf565b915061157d8261153c565b602082019050919050565b600060208201905081810360008301526115a181611565565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000815190506115e6816113e3565b92915050565b60006020828403121561160257611601611226565b5b6000611610848285016115d7565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611653826112b5565b915061165e836112b5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561169357611692611619565b5b828201905092915050565b60006116a9826112b5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156116dc576116db611619565b5b600182019050919050565b60006040820190506116fc600083018561143c565b61170960208301846112bf565b9392505050565b60008151905061171f81611466565b92915050565b60006020828403121561173b5761173a611226565b5b600061174984828501611710565b91505092915050565b600061175d826112b5565b9150611768836112b5565b92508282101561177b5761177a611619565b5b828203905092915050565b6000611791826112b5565b915061179c836112b5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156117d5576117d4611619565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061181a826112b5565b9150611825836112b5565b925082611835576118346117e0565b5b828204905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061189c6026836114bf565b91506118a782611840565b604082019050919050565b600060208201905081810360008301526118cb8161188f565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006119086014836114bf565b9150611913826118d2565b602082019050919050565b60006020820190508181036000830152611937816118fb565b905091905056fea264697066735822122053758b1ae0492fef38687d3b3a89b2fb1974865c5086fbcfc0dc561be76d079864736f6c634300080b003300000000000000000000000083f82414b5065bb9a85e330c67b4a10f798f4ed200000000000000000000000027192b750ff796514f039512aaf5a3655a095ea0

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061010b5760003560e01c806371ecd0c9116100a2578063a63f7c5311610071578063a63f7c531461025c578063bbadfe7614610266578063d70dc71a14610296578063dbe7e3bd146102b2578063f2fde38b146102e25761010b565b806371ecd0c9146101d457806378e97925146101f05780638da5cb5b1461020e5780639c7e4a661461022c5761010b565b806341910f90116100de57806341910f90146101725780635c975abb146101905780636ba4c138146101ae578063715018a6146101ca5761010b565b80630b2388ed146101105780631246740d1461012e578063333171bb1461014c5780633453182814610156575b600080fd5b6101186102fe565b60405161012591906111cf565b60405180910390f35b610136610324565b604051610143919061120b565b60405180910390f35b61015461034a565b005b610170600480360381019061016b9190611288565b6104a3565b005b61017a61058c565b60405161018791906112ce565b60405180910390f35b610198610598565b6040516101a59190611304565b60405180910390f35b6101c860048036038101906101c39190611384565b6105ae565b005b6101d261084a565b005b6101ee60048036038101906101e9919061140f565b6108d2565b005b6101f8610a4b565b60405161020591906112ce565b60405180910390f35b610216610a51565b604051610223919061144b565b60405180910390f35b61024660048036038101906102419190611492565b610a7a565b60405161025391906112ce565b60405180910390f35b610264610bd6565b005b610280600480360381019061027b9190611288565b610c97565b60405161028d9190611304565b60405180910390f35b6102b060048036038101906102ab919061140f565b610cb7565b005b6102cc60048036038101906102c79190611492565b610e30565b6040516102d991906112ce565b60405180910390f35b6102fc60048036038101906102f7919061140f565b610e48565b005b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6005600080357fffffffff00000000000000000000000000000000000000000000000000000000167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff1615610403576040517f2af7d55a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61040b610f40565b73ffffffffffffffffffffffffffffffffffffffff16610429610a51565b73ffffffffffffffffffffffffffffffffffffffff161461047f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104769061151c565b60405180910390fd5b610487610598565b61049857610493610f48565b6104a1565b6104a0610feb565b5b565b6104ab610f40565b73ffffffffffffffffffffffffffffffffffffffff166104c9610a51565b73ffffffffffffffffffffffffffffffffffffffff161461051f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105169061151c565b60405180910390fd5b600160056000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b671bc16d674ec8000081565b60008060149054906101000a900460ff16905090565b6105b6610598565b156105f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105ed90611588565b60405180910390fd5b6000805b838390508110156107ae57600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e858584818110610656576106556115a8565b5b905060200201356040518263ffffffff1660e01b815260040161067991906112ce565b602060405180830381865afa158015610696573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ba91906115ec565b73ffffffffffffffffffffffffffffffffffffffff166106d8610f40565b73ffffffffffffffffffffffffffffffffffffffff1614610725576040517f6e2203b400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061074985858481811061073d5761073c6115a8565b5b90506020020135610a7a565b90508060046000878786818110610763576107626115a8565b5b90506020020135815260200190815260200160002060008282546107879190611648565b92505081905550808361079a9190611648565b925050806107a79061169e565b90506105fa565b50600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ef6506db6107f5610f40565b836040518363ffffffff1660e01b81526004016108139291906116e7565b600060405180830381600087803b15801561082d57600080fd5b505af1158015610841573d6000803e3d6000fd5b50505050505050565b610852610f40565b73ffffffffffffffffffffffffffffffffffffffff16610870610a51565b73ffffffffffffffffffffffffffffffffffffffff16146108c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108bd9061151c565b60405180910390fd5b6108d0600061108c565b565b6005600080357fffffffff00000000000000000000000000000000000000000000000000000000167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff161561098b576040517f2af7d55a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610993610f40565b73ffffffffffffffffffffffffffffffffffffffff166109b1610a51565b73ffffffffffffffffffffffffffffffffffffffff1614610a07576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109fe9061151c565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60035481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166332cb6b0c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ae9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b0d9190611725565b8210610b45576040517ffab7bf2d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006003541415610b82576040517fc64d7d8e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60046000838152602001908152602001600020546201518060035442610ba89190611752565b671bc16d674ec80000610bbb9190611786565b610bc5919061180f565b610bcf9190611752565b9050919050565b610bde610f40565b73ffffffffffffffffffffffffffffffffffffffff16610bfc610a51565b73ffffffffffffffffffffffffffffffffffffffff1614610c52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c499061151c565b60405180910390fd5b600060035414610c8e576040517f1f07dfd200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b42600381905550565b60056020528060005260406000206000915054906101000a900460ff1681565b6005600080357fffffffff00000000000000000000000000000000000000000000000000000000167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff1615610d70576040517f2af7d55a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d78610f40565b73ffffffffffffffffffffffffffffffffffffffff16610d96610a51565b73ffffffffffffffffffffffffffffffffffffffff1614610dec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de39061151c565b60405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60046020528060005260406000206000915090505481565b610e50610f40565b73ffffffffffffffffffffffffffffffffffffffff16610e6e610a51565b73ffffffffffffffffffffffffffffffffffffffff1614610ec4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebb9061151c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2b906118b2565b60405180910390fd5b610f3d8161108c565b50565b600033905090565b610f50610598565b15610f90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8790611588565b60405180910390fd5b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610fd4610f40565b604051610fe1919061144b565b60405180910390a1565b610ff3610598565b611032576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110299061191e565b60405180910390fd5b60008060146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611075610f40565b604051611082919061144b565b60405180910390a1565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061119561119061118b84611150565b611170565b611150565b9050919050565b60006111a78261117a565b9050919050565b60006111b98261119c565b9050919050565b6111c9816111ae565b82525050565b60006020820190506111e460008301846111c0565b92915050565b60006111f58261119c565b9050919050565b611205816111ea565b82525050565b600060208201905061122060008301846111fc565b92915050565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61126581611230565b811461127057600080fd5b50565b6000813590506112828161125c565b92915050565b60006020828403121561129e5761129d611226565b5b60006112ac84828501611273565b91505092915050565b6000819050919050565b6112c8816112b5565b82525050565b60006020820190506112e360008301846112bf565b92915050565b60008115159050919050565b6112fe816112e9565b82525050565b600060208201905061131960008301846112f5565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126113445761134361131f565b5b8235905067ffffffffffffffff81111561136157611360611324565b5b60208301915083602082028301111561137d5761137c611329565b5b9250929050565b6000806020838503121561139b5761139a611226565b5b600083013567ffffffffffffffff8111156113b9576113b861122b565b5b6113c58582860161132e565b92509250509250929050565b60006113dc82611150565b9050919050565b6113ec816113d1565b81146113f757600080fd5b50565b600081359050611409816113e3565b92915050565b60006020828403121561142557611424611226565b5b6000611433848285016113fa565b91505092915050565b611445816113d1565b82525050565b6000602082019050611460600083018461143c565b92915050565b61146f816112b5565b811461147a57600080fd5b50565b60008135905061148c81611466565b92915050565b6000602082840312156114a8576114a7611226565b5b60006114b68482850161147d565b91505092915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006115066020836114bf565b9150611511826114d0565b602082019050919050565b60006020820190508181036000830152611535816114f9565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006115726010836114bf565b915061157d8261153c565b602082019050919050565b600060208201905081810360008301526115a181611565565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000815190506115e6816113e3565b92915050565b60006020828403121561160257611601611226565b5b6000611610848285016115d7565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611653826112b5565b915061165e836112b5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561169357611692611619565b5b828201905092915050565b60006116a9826112b5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156116dc576116db611619565b5b600182019050919050565b60006040820190506116fc600083018561143c565b61170960208301846112bf565b9392505050565b60008151905061171f81611466565b92915050565b60006020828403121561173b5761173a611226565b5b600061174984828501611710565b91505092915050565b600061175d826112b5565b9150611768836112b5565b92508282101561177b5761177a611619565b5b828203905092915050565b6000611791826112b5565b915061179c836112b5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156117d5576117d4611619565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061181a826112b5565b9150611825836112b5565b925082611835576118346117e0565b5b828204905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061189c6026836114bf565b91506118a782611840565b604082019050919050565b600060208201905081810360008301526118cb8161188f565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006119086014836114bf565b9150611913826118d2565b602082019050919050565b60006020820190508181036000830152611937816118fb565b905091905056fea264697066735822122053758b1ae0492fef38687d3b3a89b2fb1974865c5086fbcfc0dc561be76d079864736f6c634300080b0033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000083f82414b5065bb9a85e330c67b4a10f798f4ed200000000000000000000000027192b750ff796514f039512aaf5a3655a095ea0

-----Decoded View---------------
Arg [0] : mutants (address): 0x83f82414b5065bB9A85E330C67B4A10f798F4eD2
Arg [1] : scales (address): 0x27192b750fF796514f039512aaf5A3655a095ea0

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000083f82414b5065bb9a85e330c67b4a10f798f4ed2
Arg [1] : 00000000000000000000000027192b750ff796514f039512aaf5a3655a095ea0


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

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