ETH Price: $3,092.19 (+8.68%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Key Value239330062025-12-03 12:45:5958 mins ago1764765959IN
0xAAf8656b...8917A3bbB
0 ETH0.000071222.03391692
Set Key Value239329922025-12-03 12:43:111 hr ago1764765791IN
0xAAf8656b...8917A3bbB
0 ETH0.000101462.03349755
Batch Set Traits239329502025-12-03 12:34:351 hr ago1764765275IN
0xAAf8656b...8917A3bbB
0 ETH0.000036370.04096258
Batch Set Key Va...239329502025-12-03 12:34:351 hr ago1764765275IN
0xAAf8656b...8917A3bbB
0 ETH0.000010870.04096258
Batch Set Key Va...239329502025-12-03 12:34:351 hr ago1764765275IN
0xAAf8656b...8917A3bbB
0 ETH0.000007750.04096258
Batch Set Key Va...239329492025-12-03 12:34:231 hr ago1764765263IN
0xAAf8656b...8917A3bbB
0 ETH0.000007710.03977778
Batch Set Key Va...239329442025-12-03 12:33:231 hr ago1764765203IN
0xAAf8656b...8917A3bbB
0 ETH0.000011640.04030678
Update Mutation ...239329212025-12-03 12:28:471 hr ago1764764927IN
0xAAf8656b...8917A3bbB
0 ETH0.000001760.03792287

Advanced mode:
Parent Transaction Hash Method Block
From
To
View All Internal Transactions
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MutationTraits

Compiler Version
v0.7.0+commit.9e61f92b

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
// SPDX-License-Identifier: MIT
pragma experimental ABIEncoderV2;

pragma solidity ^0.7.0;

import 'openzeppelin-solidity/contracts/access/Ownable.sol';

contract MutationTraits is Ownable {
  address public mutationMetadata;

  // mapping from mutationTokenId to a packed uint256, each byte can be used as a trait (0-255)
  mapping(uint256 => uint256) public tokenTraits;
  mapping(uint256 => mapping(uint256 => string)) public keyValues;

  modifier onlyMetadata() {
    require(
      (msg.sender == mutationMetadata || msg.sender == owner()),
      'MutationTraits: You are not an owner or metadata contract'
    );
    _;
  }

  function updateMutationMetadata(
    address _mutationMetadata
  ) public onlyMetadata {
    mutationMetadata = _mutationMetadata;
  }

  function setKeyValue(
    uint256 db,
    uint256 id,
    string memory value
  ) public onlyMetadata {
    keyValues[db][id] = value;
  }

  function batchSetTraits(
    uint256[] calldata _tokenIds,
    uint256[] calldata _traits
  ) public onlyMetadata {
    require(
      _tokenIds.length == _traits.length,
      'MutationTraits: array length mismatch'
    );

    for (uint256 i = 0; i < _tokenIds.length; i++) {
      tokenTraits[_tokenIds[i]] = _traits[i];
    }
  }

  function batchSetKeyValues(
    uint256[] calldata _dbs,
    uint256[] calldata _ids,
    string[] calldata _values
  ) public onlyMetadata {
    require(
      _dbs.length == _ids.length && _ids.length == _values.length,
      'MutationTraits: array length mismatch'
    );

    for (uint256 i = 0; i < _dbs.length; i++) {
      keyValues[_dbs[i]][_ids[i]] = _values[i];
    }
  }

  function getKeyValue(
    uint256 db,
    uint256 id
  ) public view returns (string memory) {
    return keyValues[db][id];
  }

  function setTraits(uint256 _tokenId, uint256 _traits) public onlyMetadata {
    tokenTraits[_tokenId] = _traits;
  }

  function getTraits(uint256 _tokenId) public view returns (uint256) {
    return tokenTraits[_tokenId];
  }

  function getByte(
    uint256 tokenId,
    uint8 byteIndex
  ) public view returns (uint8) {
    require(byteIndex < 32, 'Byte index out of range');
    return uint8((tokenTraits[tokenId] >> (8 * byteIndex)) & 0xFF);
  }

  function getBytes(
    uint256 tokenId,
    uint8 startIndex,
    uint8 count
  ) public view returns (uint8[] memory) {
    require(startIndex + count <= 32, 'Range out of bounds');
    uint8[] memory result = new uint8[](count);

    uint256 packed = tokenTraits[tokenId];
    for (uint8 i = 0; i < count; i++) {
      result[i] = uint8((packed >> (8 * (startIndex + i))) & 0xFF);
    }

    return result;
  }
}

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

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

Contract Security Audit

Contract ABI

API
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"uint256[]","name":"_dbs","type":"uint256[]"},{"internalType":"uint256[]","name":"_ids","type":"uint256[]"},{"internalType":"string[]","name":"_values","type":"string[]"}],"name":"batchSetKeyValues","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"uint256[]","name":"_traits","type":"uint256[]"}],"name":"batchSetTraits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint8","name":"byteIndex","type":"uint8"}],"name":"getByte","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint8","name":"startIndex","type":"uint8"},{"internalType":"uint8","name":"count","type":"uint8"}],"name":"getBytes","outputs":[{"internalType":"uint8[]","name":"","type":"uint8[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"db","type":"uint256"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getKeyValue","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getTraits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"keyValues","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mutationMetadata","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"db","type":"uint256"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"string","name":"value","type":"string"}],"name":"setKeyValue","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_traits","type":"uint256"}],"name":"setTraits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenTraits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_mutationMetadata","type":"address"}],"name":"updateMutationMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5060006100216100c460201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3506100cc565b600033905090565b611ada806100db6000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c8063901058fb11610097578063e1dc076111610066578063e1dc076114610270578063e3c7add3146102a0578063f2fde38b146102bc578063f5a95e66146102d8576100f5565b8063901058fb146101d657806399d8cc09146101f2578063b6f581a614610222578063e05c57bf14610240576100f5565b80636e5e4080116100d35780636e5e408014610162578063715018a61461017e5780638d5f36d3146101885780638da5cb5b146101b8576100f5565b80632c938a0d146100fa57806353a030281461012a57806359e67b3b14610146575b600080fd5b610114600480360381019061010f9190611401565b610308565b60405161012191906118a3565b60405180910390f35b610144600480360381019061013f919061121c565b610378565b005b610160600480360381019061015b919061135e565b6104eb565b005b61017c600480360381019061017791906111f3565b6105d4565b005b6101866106e5565b005b6101a2600480360381019061019d919061135e565b61081f565b6040516101af91906117a6565b60405180910390f35b6101c06108e6565b6040516101cd9190611769565b60405180910390f35b6101f060048036038101906101eb9190611291565b61090f565b005b61020c6004803603810190610207919061135e565b610acd565b60405161021991906117a6565b60405180910390f35b61022a610b8a565b6040516102379190611769565b60405180910390f35b61025a60048036038101906102559190611335565b610bb0565b6040516102679190611888565b60405180910390f35b61028a60048036038101906102859190611335565b610bc8565b6040516102979190611888565b60405180910390f35b6102ba60048036038101906102b5919061139a565b610be5565b005b6102d660048036038101906102d191906111f3565b610cf0565b005b6102f260048036038101906102ed919061143d565b610e99565b6040516102ff9190611784565b60405180910390f35b600060208260ff1610610350576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161034790611848565b60405180910390fd5b60ff8260080260ff166002600086815260200190815260200160002054901c16905092915050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061040657506103d76108e6565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610445576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161043c906117e8565b60405180910390fd5b81819050848490501461048d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161048490611808565b60405180910390fd5b60005b848490508110156104e4578282828181106104a757fe5b90506020020135600260008787858181106104be57fe5b905060200201358152602001908152602001600020819055508080600101915050610490565b5050505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610579575061054a6108e6565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6105b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105af906117e8565b60405180910390fd5b8060026000848152602001908152602001600020819055505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061066257506106336108e6565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6106a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610698906117e8565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6106ed610fa7565b73ffffffffffffffffffffffffffffffffffffffff1661070b6108e6565b73ffffffffffffffffffffffffffffffffffffffff1614610761576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075890611868565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60606003600084815260200190815260200160002060008381526020019081526020016000208054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108d95780601f106108ae576101008083540402835291602001916108d9565b820191906000526020600020905b8154815290600101906020018083116108bc57829003601f168201915b5050505050905092915050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061099d575061096e6108e6565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6109dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d3906117e8565b60405180910390fd5b83839050868690501480156109f657508181905084849050145b610a35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2c90611808565b60405180910390fd5b60005b86869050811015610ac457828282818110610a4f57fe5b9050602002810190610a6191906118be565b600360008a8a86818110610a7157fe5b9050602002013581526020019081526020016000206000888886818110610a9457fe5b9050602002013581526020019081526020016000209190610ab6929190610faf565b508080600101915050610a38565b50505050505050565b6003602052816000526040600020602052806000526040600020600091509150508054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b825780601f10610b5757610100808354040283529160200191610b82565b820191906000526020600020905b815481529060010190602001808311610b6557829003601f168201915b505050505081565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60026020528060005260406000206000915090505481565b600060026000838152602001908152602001600020549050919050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610c735750610c446108e6565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610cb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca9906117e8565b60405180910390fd5b806003600085815260200190815260200160002060008481526020019081526020016000209080519060200190610cea92919061102f565b50505050565b610cf8610fa7565b73ffffffffffffffffffffffffffffffffffffffff16610d166108e6565b73ffffffffffffffffffffffffffffffffffffffff1614610d6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6390611868565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ddc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd3906117c8565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060602082840160ff161115610ee4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edb90611828565b60405180910390fd5b60608260ff1667ffffffffffffffff81118015610f0057600080fd5b50604051908082528060200260200182016040528015610f2f5781602001602082028036833780820191505090505b50905060006002600087815260200190815260200160002054905060005b8460ff168160ff161015610f9a5760ff81870160080260ff1683901c16838260ff1681518110610f7957fe5b602002602001019060ff16908160ff16815250508080600101915050610f4d565b5081925050509392505050565b600033905090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610ff057803560ff191683800117855561101e565b8280016001018555821561101e579182015b8281111561101d578235825591602001919060010190611002565b5b50905061102b91906110af565b5090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061107057805160ff191683800117855561109e565b8280016001018555821561109e579182015b8281111561109d578251825591602001919060010190611082565b5b5090506110ab91906110af565b5090565b5b808211156110c85760008160009055506001016110b0565b5090565b6000813590506110db81611a5f565b92915050565b60008083601f8401126110f357600080fd5b8235905067ffffffffffffffff81111561110c57600080fd5b60208301915083602082028301111561112457600080fd5b9250929050565b60008083601f84011261113d57600080fd5b8235905067ffffffffffffffff81111561115657600080fd5b60208301915083602082028301111561116e57600080fd5b9250929050565b600082601f83011261118657600080fd5b813561119961119482611942565b611915565b915080825260208301602083018583830111156111b557600080fd5b6111c0838284611a0c565b50505092915050565b6000813590506111d881611a76565b92915050565b6000813590506111ed81611a8d565b92915050565b60006020828403121561120557600080fd5b6000611213848285016110cc565b91505092915050565b6000806000806040858703121561123257600080fd5b600085013567ffffffffffffffff81111561124c57600080fd5b6112588782880161112b565b9450945050602085013567ffffffffffffffff81111561127757600080fd5b6112838782880161112b565b925092505092959194509250565b600080600080600080606087890312156112aa57600080fd5b600087013567ffffffffffffffff8111156112c457600080fd5b6112d089828a0161112b565b9650965050602087013567ffffffffffffffff8111156112ef57600080fd5b6112fb89828a0161112b565b9450945050604087013567ffffffffffffffff81111561131a57600080fd5b61132689828a016110e1565b92509250509295509295509295565b60006020828403121561134757600080fd5b6000611355848285016111c9565b91505092915050565b6000806040838503121561137157600080fd5b600061137f858286016111c9565b9250506020611390858286016111c9565b9150509250929050565b6000806000606084860312156113af57600080fd5b60006113bd868287016111c9565b93505060206113ce868287016111c9565b925050604084013567ffffffffffffffff8111156113eb57600080fd5b6113f786828701611175565b9150509250925092565b6000806040838503121561141457600080fd5b6000611422858286016111c9565b9250506020611433858286016111de565b9150509250929050565b60008060006060848603121561145257600080fd5b6000611460868287016111c9565b9350506020611471868287016111de565b9250506040611482868287016111de565b9150509250925092565b6000611498838361174b565b60208301905092915050565b6114ad816119c3565b82525050565b60006114be8261197e565b6114c881856119a1565b93506114d38361196e565b8060005b838110156115045781516114eb888261148c565b97506114f683611994565b9250506001810190506114d7565b5085935050505092915050565b600061151c82611989565b61152681856119b2565b9350611536818560208601611a1b565b61153f81611a4e565b840191505092915050565b60006115576026836119b2565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006115bd6039836119b2565b91507f4d75746174696f6e5472616974733a20596f7520617265206e6f7420616e206f60008301527f776e6572206f72206d6574616461746120636f6e7472616374000000000000006020830152604082019050919050565b60006116236025836119b2565b91507f4d75746174696f6e5472616974733a206172726179206c656e677468206d697360008301527f6d617463680000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006116896013836119b2565b91507f52616e6765206f7574206f6620626f756e6473000000000000000000000000006000830152602082019050919050565b60006116c96017836119b2565b91507f4279746520696e646578206f7574206f662072616e67650000000000000000006000830152602082019050919050565b60006117096020836119b2565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b611745816119f5565b82525050565b611754816119ff565b82525050565b611763816119ff565b82525050565b600060208201905061177e60008301846114a4565b92915050565b6000602082019050818103600083015261179e81846114b3565b905092915050565b600060208201905081810360008301526117c08184611511565b905092915050565b600060208201905081810360008301526117e18161154a565b9050919050565b60006020820190508181036000830152611801816115b0565b9050919050565b6000602082019050818103600083015261182181611616565b9050919050565b600060208201905081810360008301526118418161167c565b9050919050565b60006020820190508181036000830152611861816116bc565b9050919050565b60006020820190508181036000830152611881816116fc565b9050919050565b600060208201905061189d600083018461173c565b92915050565b60006020820190506118b8600083018461175a565b92915050565b600080833560016020038436030381126118d757600080fd5b80840192508235915067ffffffffffffffff8211156118f557600080fd5b60208301925060018202360383131561190d57600080fd5b509250929050565b6000604051905081810181811067ffffffffffffffff8211171561193857600080fd5b8060405250919050565b600067ffffffffffffffff82111561195957600080fd5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b60006119ce826119d5565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015611a39578082015181840152602081019050611a1e565b83811115611a48576000848401525b50505050565b6000601f19601f8301169050919050565b611a68816119c3565b8114611a7357600080fd5b50565b611a7f816119f5565b8114611a8a57600080fd5b50565b611a96816119ff565b8114611aa157600080fd5b5056fea2646970667358221220010bb3943d5b541a3f6e8f4e7ae735584c0758de07678f0e71db744a01e9f23064736f6c63430007000033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100f55760003560e01c8063901058fb11610097578063e1dc076111610066578063e1dc076114610270578063e3c7add3146102a0578063f2fde38b146102bc578063f5a95e66146102d8576100f5565b8063901058fb146101d657806399d8cc09146101f2578063b6f581a614610222578063e05c57bf14610240576100f5565b80636e5e4080116100d35780636e5e408014610162578063715018a61461017e5780638d5f36d3146101885780638da5cb5b146101b8576100f5565b80632c938a0d146100fa57806353a030281461012a57806359e67b3b14610146575b600080fd5b610114600480360381019061010f9190611401565b610308565b60405161012191906118a3565b60405180910390f35b610144600480360381019061013f919061121c565b610378565b005b610160600480360381019061015b919061135e565b6104eb565b005b61017c600480360381019061017791906111f3565b6105d4565b005b6101866106e5565b005b6101a2600480360381019061019d919061135e565b61081f565b6040516101af91906117a6565b60405180910390f35b6101c06108e6565b6040516101cd9190611769565b60405180910390f35b6101f060048036038101906101eb9190611291565b61090f565b005b61020c6004803603810190610207919061135e565b610acd565b60405161021991906117a6565b60405180910390f35b61022a610b8a565b6040516102379190611769565b60405180910390f35b61025a60048036038101906102559190611335565b610bb0565b6040516102679190611888565b60405180910390f35b61028a60048036038101906102859190611335565b610bc8565b6040516102979190611888565b60405180910390f35b6102ba60048036038101906102b5919061139a565b610be5565b005b6102d660048036038101906102d191906111f3565b610cf0565b005b6102f260048036038101906102ed919061143d565b610e99565b6040516102ff9190611784565b60405180910390f35b600060208260ff1610610350576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161034790611848565b60405180910390fd5b60ff8260080260ff166002600086815260200190815260200160002054901c16905092915050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061040657506103d76108e6565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610445576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161043c906117e8565b60405180910390fd5b81819050848490501461048d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161048490611808565b60405180910390fd5b60005b848490508110156104e4578282828181106104a757fe5b90506020020135600260008787858181106104be57fe5b905060200201358152602001908152602001600020819055508080600101915050610490565b5050505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610579575061054a6108e6565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6105b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105af906117e8565b60405180910390fd5b8060026000848152602001908152602001600020819055505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061066257506106336108e6565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6106a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610698906117e8565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6106ed610fa7565b73ffffffffffffffffffffffffffffffffffffffff1661070b6108e6565b73ffffffffffffffffffffffffffffffffffffffff1614610761576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075890611868565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60606003600084815260200190815260200160002060008381526020019081526020016000208054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108d95780601f106108ae576101008083540402835291602001916108d9565b820191906000526020600020905b8154815290600101906020018083116108bc57829003601f168201915b5050505050905092915050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061099d575061096e6108e6565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6109dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d3906117e8565b60405180910390fd5b83839050868690501480156109f657508181905084849050145b610a35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2c90611808565b60405180910390fd5b60005b86869050811015610ac457828282818110610a4f57fe5b9050602002810190610a6191906118be565b600360008a8a86818110610a7157fe5b9050602002013581526020019081526020016000206000888886818110610a9457fe5b9050602002013581526020019081526020016000209190610ab6929190610faf565b508080600101915050610a38565b50505050505050565b6003602052816000526040600020602052806000526040600020600091509150508054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b825780601f10610b5757610100808354040283529160200191610b82565b820191906000526020600020905b815481529060010190602001808311610b6557829003601f168201915b505050505081565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60026020528060005260406000206000915090505481565b600060026000838152602001908152602001600020549050919050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610c735750610c446108e6565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610cb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca9906117e8565b60405180910390fd5b806003600085815260200190815260200160002060008481526020019081526020016000209080519060200190610cea92919061102f565b50505050565b610cf8610fa7565b73ffffffffffffffffffffffffffffffffffffffff16610d166108e6565b73ffffffffffffffffffffffffffffffffffffffff1614610d6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6390611868565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ddc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd3906117c8565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060602082840160ff161115610ee4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edb90611828565b60405180910390fd5b60608260ff1667ffffffffffffffff81118015610f0057600080fd5b50604051908082528060200260200182016040528015610f2f5781602001602082028036833780820191505090505b50905060006002600087815260200190815260200160002054905060005b8460ff168160ff161015610f9a5760ff81870160080260ff1683901c16838260ff1681518110610f7957fe5b602002602001019060ff16908160ff16815250508080600101915050610f4d565b5081925050509392505050565b600033905090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610ff057803560ff191683800117855561101e565b8280016001018555821561101e579182015b8281111561101d578235825591602001919060010190611002565b5b50905061102b91906110af565b5090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061107057805160ff191683800117855561109e565b8280016001018555821561109e579182015b8281111561109d578251825591602001919060010190611082565b5b5090506110ab91906110af565b5090565b5b808211156110c85760008160009055506001016110b0565b5090565b6000813590506110db81611a5f565b92915050565b60008083601f8401126110f357600080fd5b8235905067ffffffffffffffff81111561110c57600080fd5b60208301915083602082028301111561112457600080fd5b9250929050565b60008083601f84011261113d57600080fd5b8235905067ffffffffffffffff81111561115657600080fd5b60208301915083602082028301111561116e57600080fd5b9250929050565b600082601f83011261118657600080fd5b813561119961119482611942565b611915565b915080825260208301602083018583830111156111b557600080fd5b6111c0838284611a0c565b50505092915050565b6000813590506111d881611a76565b92915050565b6000813590506111ed81611a8d565b92915050565b60006020828403121561120557600080fd5b6000611213848285016110cc565b91505092915050565b6000806000806040858703121561123257600080fd5b600085013567ffffffffffffffff81111561124c57600080fd5b6112588782880161112b565b9450945050602085013567ffffffffffffffff81111561127757600080fd5b6112838782880161112b565b925092505092959194509250565b600080600080600080606087890312156112aa57600080fd5b600087013567ffffffffffffffff8111156112c457600080fd5b6112d089828a0161112b565b9650965050602087013567ffffffffffffffff8111156112ef57600080fd5b6112fb89828a0161112b565b9450945050604087013567ffffffffffffffff81111561131a57600080fd5b61132689828a016110e1565b92509250509295509295509295565b60006020828403121561134757600080fd5b6000611355848285016111c9565b91505092915050565b6000806040838503121561137157600080fd5b600061137f858286016111c9565b9250506020611390858286016111c9565b9150509250929050565b6000806000606084860312156113af57600080fd5b60006113bd868287016111c9565b93505060206113ce868287016111c9565b925050604084013567ffffffffffffffff8111156113eb57600080fd5b6113f786828701611175565b9150509250925092565b6000806040838503121561141457600080fd5b6000611422858286016111c9565b9250506020611433858286016111de565b9150509250929050565b60008060006060848603121561145257600080fd5b6000611460868287016111c9565b9350506020611471868287016111de565b9250506040611482868287016111de565b9150509250925092565b6000611498838361174b565b60208301905092915050565b6114ad816119c3565b82525050565b60006114be8261197e565b6114c881856119a1565b93506114d38361196e565b8060005b838110156115045781516114eb888261148c565b97506114f683611994565b9250506001810190506114d7565b5085935050505092915050565b600061151c82611989565b61152681856119b2565b9350611536818560208601611a1b565b61153f81611a4e565b840191505092915050565b60006115576026836119b2565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006115bd6039836119b2565b91507f4d75746174696f6e5472616974733a20596f7520617265206e6f7420616e206f60008301527f776e6572206f72206d6574616461746120636f6e7472616374000000000000006020830152604082019050919050565b60006116236025836119b2565b91507f4d75746174696f6e5472616974733a206172726179206c656e677468206d697360008301527f6d617463680000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006116896013836119b2565b91507f52616e6765206f7574206f6620626f756e6473000000000000000000000000006000830152602082019050919050565b60006116c96017836119b2565b91507f4279746520696e646578206f7574206f662072616e67650000000000000000006000830152602082019050919050565b60006117096020836119b2565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b611745816119f5565b82525050565b611754816119ff565b82525050565b611763816119ff565b82525050565b600060208201905061177e60008301846114a4565b92915050565b6000602082019050818103600083015261179e81846114b3565b905092915050565b600060208201905081810360008301526117c08184611511565b905092915050565b600060208201905081810360008301526117e18161154a565b9050919050565b60006020820190508181036000830152611801816115b0565b9050919050565b6000602082019050818103600083015261182181611616565b9050919050565b600060208201905081810360008301526118418161167c565b9050919050565b60006020820190508181036000830152611861816116bc565b9050919050565b60006020820190508181036000830152611881816116fc565b9050919050565b600060208201905061189d600083018461173c565b92915050565b60006020820190506118b8600083018461175a565b92915050565b600080833560016020038436030381126118d757600080fd5b80840192508235915067ffffffffffffffff8211156118f557600080fd5b60208301925060018202360383131561190d57600080fd5b509250929050565b6000604051905081810181811067ffffffffffffffff8211171561193857600080fd5b8060405250919050565b600067ffffffffffffffff82111561195957600080fd5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b60006119ce826119d5565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015611a39578082015181840152602081019050611a1e565b83811115611a48576000848401525b50505050565b6000601f19601f8301169050919050565b611a68816119c3565b8114611a7357600080fd5b50565b611a7f816119f5565b8114611a8a57600080fd5b50565b611a96816119ff565b8114611aa157600080fd5b5056fea2646970667358221220010bb3943d5b541a3f6e8f4e7ae735584c0758de07678f0e71db744a01e9f23064736f6c63430007000033

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
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.