ETH Price: $2,111.85 (+4.18%)

Contract

0x5E9DB3D4e8175E618B7319adcD064571CECa21d6
 

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
Change_name149304752022-06-09 3:41:231373 days ago1654746083IN
0x5E9DB3D4...1CECa21d6
0.0001 ETH0.0057561757.56979982
Change_name149140972022-06-06 9:04:061375 days ago1654506246IN
0x5E9DB3D4...1CECa21d6
0.0001 ETH0.0079445257.97484775
Set Price149140902022-06-06 9:02:031375 days ago1654506123IN
0x5E9DB3D4...1CECa21d6
0 ETH0.00298994115.79953818
SET_CORE_ADDRESS149140732022-06-06 8:57:241375 days ago1654505844IN
0x5E9DB3D4...1CECa21d6
0 ETH0.00621696134.78812672
Set Price148980572022-06-03 16:12:461378 days ago1654272766IN
0x5E9DB3D4...1CECa21d6
0 ETH0.0017079666.14877618
Set Price148657782022-05-29 9:43:461383 days ago1653817426IN
0x5E9DB3D4...1CECa21d6
0 ETH0.000457210

Latest 2 internal transactions

Advanced mode:
Parent Transaction Hash Method Block
From
To
-149304752022-06-09 3:41:231373 days ago1654746083
0x5E9DB3D4...1CECa21d6
0.0001 ETH
-149140972022-06-06 9:04:061375 days ago1654506246
0x5E9DB3D4...1CECa21d6
0.0001 ETH
Loading...
Loading
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:
WIN_NFT_HORSE_CHANGENAME

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Etherscan.io on 2022-05-29
*/

/**
 *Submitted for verification at Etherscan.io on 2022-05-27
*/

/**
 *Submitted for verification at BscScan.com on 2022-02-26
*/

// File: contracts/WIN_NFT_HORSE_changename/contracts/ITRC165.sol

pragma solidity ^0.5.5;

/**
 * @dev Interface of the TRC165 standard.
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({TRC165Checker}).
 *
 * For an implementation, see {TRC165}.
 */
interface ITRC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

// File: contracts/WIN_NFT_HORSE_changename/contracts/ITRC721.sol

pragma solidity ^0.5.5;


/**
 * @dev Required interface of an TRC721 compliant contract.
 */
contract ITRC721 is ITRC165 {
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

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

    /**
     * @dev Returns the owner of the NFT specified by `tokenId`.
     */
    function ownerOf(uint256 tokenId) public view returns (address owner);

    /**
     * @dev Transfers a specific NFT (`tokenId`) from one account (`from`) to
     * another (`to`).
     *
     *
     *
     * Requirements:
     * - `from`, `to` cannot be zero.
     * - `tokenId` must be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this
     * NFT by either {approve} or {setApprovalForAll}.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) public;
    /**
     * @dev Transfers a specific NFT (`tokenId`) from one account (`from`) to
     * another (`to`).
     *
     * Requirements:
     * - If the caller is not `from`, it must be approved to move this NFT by
     * either {approve} or {setApprovalForAll}.
     */
    function transferFrom(address from, address to, uint256 tokenId) public;
    function approve(address to, uint256 tokenId) public;
    function getApproved(uint256 tokenId) public view returns (address operator);

    function setApprovalForAll(address operator, bool _approved) public;
    function isApprovedForAll(address owner, address operator) public view returns (bool);


    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public;
}

// File: contracts/WIN_NFT_HORSE_changename/contracts/IAxie.sol

pragma solidity ^0.5.5;


/**
 * @dev Required interface of an TRC721 compliant contract.
 */
contract IAxie is ITRC721 {

    function spawnAxie(uint256 _genes, address _owner) external returns (uint256);

    function getAxie(uint256 token_id) external returns (uint256, uint256);

}

// File: contracts/WIN_NFT_HORSE_changename/contracts/Context.sol

pragma solidity ^0.5.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.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor () internal { }
    // solhint-disable-previous-line no-empty-blocks

    function _msgSender() internal view returns (address payable) {
        return msg.sender;
    }

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

pragma solidity ^0.5.5;


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 () public {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view 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 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 onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// File: contracts/WIN_NFT_HORSE_changename/contracts/SafeMath.sol

pragma solidity ^0.5.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

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

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot overflow.
     *
     * _Available since v2.4.0._
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

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

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     *
     * _Available since v2.4.0._
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

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

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     *
     * _Available since v2.4.0._
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

// File: contracts/WIN_NFT_HORSE_changename/contracts/WIN_NFT_HORSE_CHANGENAME.sol

pragma solidity ^0.5.0;





contract WIN_NFT_HORSE_CHANGENAME is Context, Ownable {


    uint256 private price;
    uint256 private index;
    address public CORE_ADDRESS;


    struct changes {
        uint256 token_id;
        string nickname;
    }

    mapping(uint256 => changes) public holder;
    mapping(uint256 => string) public names;

    using SafeMath for uint256;

    event ChangeName(address indexed from, uint256 indexed index, uint256 indexed token_id, string nickname);

    constructor() public {
        price = 0;
    }


    function getPrice() public view returns (uint256) {
        return price;
    }

    function setPrice(uint256 x) onlyOwner public {
        price = x;
    }

    function SET_CORE_ADDRESS(address core) public onlyOwner returns (address){
        CORE_ADDRESS = core;
        return CORE_ADDRESS;
    }

    function change_name(uint32 token_id, string memory nickname) payable public returns (uint256)  {

        require(getPrice() == msg.value, "Trx value sent is not correct");

        IAxie core = IAxie(CORE_ADDRESS);
        require(core.ownerOf(token_id) == msg.sender, "not belongs your address");


        (bool success,) = address(uint160(owner())).call.value(msg.value)("");
        require(success, "Address: unable to send value, recipient may have reverted");

        index++;
        holder[index] = changes({
        token_id : token_id,
        nickname : nickname
        });
        names[token_id] = nickname;
        emit ChangeName(msg.sender, index, token_id, nickname);

        return index;

    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"token_id","type":"uint256"},{"indexed":false,"internalType":"string","name":"nickname","type":"string"}],"name":"ChangeName","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"constant":true,"inputs":[],"name":"CORE_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"core","type":"address"}],"name":"SET_CORE_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint32","name":"token_id","type":"uint32"},{"internalType":"string","name":"nickname","type":"string"}],"name":"change_name","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"holder","outputs":[{"internalType":"uint256","name":"token_id","type":"uint256"},{"internalType":"string","name":"nickname","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"names","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"x","type":"uint256"}],"name":"setPrice","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5060006100246001600160e01b0361007816565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600060015561007c565b3390565b610bd78061008b6000396000f3fe6080604052600436106100915760003560e01c806391b7f5ed1161005957806391b7f5ed1461025757806398d5fdca14610281578063ba899a2e14610296578063d42260f51461033f578063f2fde38b1461037257610091565b806304e3a5ba146100965780634622ab03146100c757806355f7df3514610166578063715018a61461022b5780638da5cb5b14610242575b600080fd5b3480156100a257600080fd5b506100ab6103a5565b604080516001600160a01b039092168252519081900360200190f35b3480156100d357600080fd5b506100f1600480360360208110156100ea57600080fd5b50356103b4565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561012b578181015183820152602001610113565b50505050905090810190601f1680156101585780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102196004803603604081101561017c57600080fd5b63ffffffff82351691908101906040810160208201356401000000008111156101a457600080fd5b8201836020820111156101b657600080fd5b803590602001918460018302840111640100000000831117156101d857600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061044f945050505050565b60408051918252519081900360200190f35b34801561023757600080fd5b50610240610755565b005b34801561024e57600080fd5b506100ab6107f7565b34801561026357600080fd5b506102406004803603602081101561027a57600080fd5b5035610807565b34801561028d57600080fd5b50610219610864565b3480156102a257600080fd5b506102c0600480360360208110156102b957600080fd5b503561086a565b6040518083815260200180602001828103825283818151815260200191508051906020019080838360005b838110156103035781810151838201526020016102eb565b50505050905090810190601f1680156103305780820380516001836020036101000a031916815260200191505b50935050505060405180910390f35b34801561034b57600080fd5b506100ab6004803603602081101561036257600080fd5b50356001600160a01b0316610911565b34801561037e57600080fd5b506102406004803603602081101561039557600080fd5b50356001600160a01b031661098e565b6003546001600160a01b031681565b60056020908152600091825260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845290918301828280156104475780601f1061041c57610100808354040283529160200191610447565b820191906000526020600020905b81548152906001019060200180831161042a57829003601f168201915b505050505081565b60003461045a610864565b146104ac576040805162461bcd60e51b815260206004820152601d60248201527f5472782076616c75652073656e74206973206e6f7420636f7272656374000000604482015290519081900360640190fd5b600354604080516331a9108f60e11b815263ffffffff8616600482015290516001600160a01b039092169133918391636352211e91602480820192602092909190829003018186803b15801561050157600080fd5b505afa158015610515573d6000803e3d6000fd5b505050506040513d602081101561052b57600080fd5b50516001600160a01b031614610588576040805162461bcd60e51b815260206004820152601860248201527f6e6f742062656c6f6e677320796f757220616464726573730000000000000000604482015290519081900360640190fd5b60006105926107f7565b6040516001600160a01b0391909116903490600081818185875af1925050503d80600081146105dd576040519150601f19603f3d011682016040523d82523d6000602084013e6105e2565b606091505b50509050806106225760405162461bcd60e51b815260040180806020018281038252603a815260200180610b49603a913960400191505060405180910390fd5b6002805460019081019182905560408051808201825263ffffffff891681526020808201898152600095865260048252929094208151815591518051919492936106729390850192910190610a8a565b50505063ffffffff85166000908152600560209081526040909120855161069b92870190610a8a565b508463ffffffff16600254336001600160a01b03167f0f65888c138565bbf00092521aa48930ce6ffd250de638739b75dd80b9ebca46876040518080602001828103825283818151815260200191508051906020019080838360005b8381101561070f5781810151838201526020016106f7565b50505050905090810190601f16801561073c5780820380516001836020036101000a031916815260200191505b509250505060405180910390a450506002549392505050565b61075d610a86565b6000546001600160a01b039081169116146107ad576040805162461bcd60e51b81526020600482018190526024820152600080516020610b83833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b03165b90565b61080f610a86565b6000546001600160a01b0390811691161461085f576040805162461bcd60e51b81526020600482018190526024820152600080516020610b83833981519152604482015290519081900360640190fd5b600155565b60015490565b6004602090815260009182526040918290208054600180830180548651600293821615610100026000190190911692909204601f8101869004860283018601909652858252919492939092908301828280156109075780601f106108dc57610100808354040283529160200191610907565b820191906000526020600020905b8154815290600101906020018083116108ea57829003601f168201915b5050505050905082565b600061091b610a86565b6000546001600160a01b0390811691161461096b576040805162461bcd60e51b81526020600482018190526024820152600080516020610b83833981519152604482015290519081900360640190fd5b50600380546001600160a01b0319166001600160a01b0392831617908190551690565b610996610a86565b6000546001600160a01b039081169116146109e6576040805162461bcd60e51b81526020600482018190526024820152600080516020610b83833981519152604482015290519081900360640190fd5b6001600160a01b038116610a2b5760405162461bcd60e51b8152600401808060200182810382526026815260200180610b236026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610acb57805160ff1916838001178555610af8565b82800160010185558215610af8579182015b82811115610af8578251825591602001919060010190610add565b50610b04929150610b08565b5090565b61080491905b80821115610b045760008155600101610b0e56fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d617920686176652072657665727465644f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a265627a7a7231582028be4afab90a2c4438c678df8e3791dad93cb5ba1f687d3e3ad4901970453a5464736f6c63430005110032

Deployed Bytecode

0x6080604052600436106100915760003560e01c806391b7f5ed1161005957806391b7f5ed1461025757806398d5fdca14610281578063ba899a2e14610296578063d42260f51461033f578063f2fde38b1461037257610091565b806304e3a5ba146100965780634622ab03146100c757806355f7df3514610166578063715018a61461022b5780638da5cb5b14610242575b600080fd5b3480156100a257600080fd5b506100ab6103a5565b604080516001600160a01b039092168252519081900360200190f35b3480156100d357600080fd5b506100f1600480360360208110156100ea57600080fd5b50356103b4565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561012b578181015183820152602001610113565b50505050905090810190601f1680156101585780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102196004803603604081101561017c57600080fd5b63ffffffff82351691908101906040810160208201356401000000008111156101a457600080fd5b8201836020820111156101b657600080fd5b803590602001918460018302840111640100000000831117156101d857600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061044f945050505050565b60408051918252519081900360200190f35b34801561023757600080fd5b50610240610755565b005b34801561024e57600080fd5b506100ab6107f7565b34801561026357600080fd5b506102406004803603602081101561027a57600080fd5b5035610807565b34801561028d57600080fd5b50610219610864565b3480156102a257600080fd5b506102c0600480360360208110156102b957600080fd5b503561086a565b6040518083815260200180602001828103825283818151815260200191508051906020019080838360005b838110156103035781810151838201526020016102eb565b50505050905090810190601f1680156103305780820380516001836020036101000a031916815260200191505b50935050505060405180910390f35b34801561034b57600080fd5b506100ab6004803603602081101561036257600080fd5b50356001600160a01b0316610911565b34801561037e57600080fd5b506102406004803603602081101561039557600080fd5b50356001600160a01b031661098e565b6003546001600160a01b031681565b60056020908152600091825260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845290918301828280156104475780601f1061041c57610100808354040283529160200191610447565b820191906000526020600020905b81548152906001019060200180831161042a57829003601f168201915b505050505081565b60003461045a610864565b146104ac576040805162461bcd60e51b815260206004820152601d60248201527f5472782076616c75652073656e74206973206e6f7420636f7272656374000000604482015290519081900360640190fd5b600354604080516331a9108f60e11b815263ffffffff8616600482015290516001600160a01b039092169133918391636352211e91602480820192602092909190829003018186803b15801561050157600080fd5b505afa158015610515573d6000803e3d6000fd5b505050506040513d602081101561052b57600080fd5b50516001600160a01b031614610588576040805162461bcd60e51b815260206004820152601860248201527f6e6f742062656c6f6e677320796f757220616464726573730000000000000000604482015290519081900360640190fd5b60006105926107f7565b6040516001600160a01b0391909116903490600081818185875af1925050503d80600081146105dd576040519150601f19603f3d011682016040523d82523d6000602084013e6105e2565b606091505b50509050806106225760405162461bcd60e51b815260040180806020018281038252603a815260200180610b49603a913960400191505060405180910390fd5b6002805460019081019182905560408051808201825263ffffffff891681526020808201898152600095865260048252929094208151815591518051919492936106729390850192910190610a8a565b50505063ffffffff85166000908152600560209081526040909120855161069b92870190610a8a565b508463ffffffff16600254336001600160a01b03167f0f65888c138565bbf00092521aa48930ce6ffd250de638739b75dd80b9ebca46876040518080602001828103825283818151815260200191508051906020019080838360005b8381101561070f5781810151838201526020016106f7565b50505050905090810190601f16801561073c5780820380516001836020036101000a031916815260200191505b509250505060405180910390a450506002549392505050565b61075d610a86565b6000546001600160a01b039081169116146107ad576040805162461bcd60e51b81526020600482018190526024820152600080516020610b83833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b03165b90565b61080f610a86565b6000546001600160a01b0390811691161461085f576040805162461bcd60e51b81526020600482018190526024820152600080516020610b83833981519152604482015290519081900360640190fd5b600155565b60015490565b6004602090815260009182526040918290208054600180830180548651600293821615610100026000190190911692909204601f8101869004860283018601909652858252919492939092908301828280156109075780601f106108dc57610100808354040283529160200191610907565b820191906000526020600020905b8154815290600101906020018083116108ea57829003601f168201915b5050505050905082565b600061091b610a86565b6000546001600160a01b0390811691161461096b576040805162461bcd60e51b81526020600482018190526024820152600080516020610b83833981519152604482015290519081900360640190fd5b50600380546001600160a01b0319166001600160a01b0392831617908190551690565b610996610a86565b6000546001600160a01b039081169116146109e6576040805162461bcd60e51b81526020600482018190526024820152600080516020610b83833981519152604482015290519081900360640190fd5b6001600160a01b038116610a2b5760405162461bcd60e51b8152600401808060200182810382526026815260200180610b236026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610acb57805160ff1916838001178555610af8565b82800160010185558215610af8579182015b82811115610af8578251825591602001919060010190610add565b50610b04929150610b08565b5090565b61080491905b80821115610b045760008155600101610b0e56fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d617920686176652072657665727465644f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a265627a7a7231582028be4afab90a2c4438c678df8e3791dad93cb5ba1f687d3e3ad4901970453a5464736f6c63430005110032

Deployed Bytecode Sourcemap

11801:1610:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11922:27;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11922:27:0;;;:::i;:::-;;;;-1:-1:-1;;;;;11922:27:0;;;;;;;;;;;;;;12092:39;;8:9:-1;5:2;;;30:1;27;20:12;5:2;12092:39:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12092:39:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;12092:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12668:740;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;12668:740:0;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;12668:740:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;12668:740:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;12668:740:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;12668:740:0;;-1:-1:-1;12668:740:0;;-1:-1:-1;;;;;12668:740:0:i;:::-;;;;;;;;;;;;;;;;5616:140;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5616:140:0;;;:::i;:::-;;4974:79;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4974:79:0;;;:::i;12436:74::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;12436:74:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12436:74:0;;:::i;12347:81::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;12347:81:0;;;:::i;12044:41::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;12044:41:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12044:41:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;12044:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12518:142;;8:9:-1;5:2;;;30:1;27;20:12;5:2;12518:142:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12518:142:0;-1:-1:-1;;;;;12518:142:0;;:::i;5911:236::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5911:236:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5911:236:0;-1:-1:-1;;;;;5911:236:0;;:::i;11922:27::-;;;-1:-1:-1;;;;;11922:27:0;;:::o;12092:39::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;12092:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;12668:740::-;12754:7;12799:9;12785:10;:8;:10::i;:::-;:23;12777:65;;;;;-1:-1:-1;;;12777:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;12874:12;;12906:22;;;-1:-1:-1;;;12906:22:0;;;;;;;;;;;-1:-1:-1;;;;;12874:12:0;;;;12932:10;;12874:12;;12906;;:22;;;;;;;;;;;;;;;12874:12;12906:22;;;5:2:-1;;;;30:1;27;20:12;5:2;12906:22:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;12906:22:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12906:22:0;-1:-1:-1;;;;;12906:36:0;;12898:73;;;;;-1:-1:-1;;;12898:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;12987:12;13020:7;:5;:7::i;:::-;13004:51;;-1:-1:-1;;;;;13004:30:0;;;;;13041:9;;13004:51;;;;13041:9;13004:30;:51;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;12986:69:0;;;13074:7;13066:78;;;;-1:-1:-1;;;13066:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13157:5;:7;;;;;;;;;;13191:80;;;;;;;;;;;;;;;;;;;;13157:5;13175:13;;;:6;:13;;;;;;:96;;;;;;;;13191:80;;13175:13;;:96;;;;;;;;;;:::i;:::-;-1:-1:-1;;;13282:15:0;;;;;;;:5;:15;;;;;;;;:26;;;;;;;;:::i;:::-;;13354:8;13324:49;;13347:5;;13335:10;-1:-1:-1;;;;;13324:49:0;;13364:8;13324:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;13324:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;13393:5:0;;;12668:740;-1:-1:-1;;;12668:740:0:o;5616:140::-;5196:12;:10;:12::i;:::-;5186:6;;-1:-1:-1;;;;;5186:6:0;;;:22;;;5178:67;;;;;-1:-1:-1;;;5178:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;5178:67:0;;;;;;;;;;;;;;;5715:1;5699:6;;5678:40;;-1:-1:-1;;;;;5699:6:0;;;;5678:40;;5715:1;;5678:40;5746:1;5729:19;;-1:-1:-1;;;;;;5729:19:0;;;5616:140::o;4974:79::-;5012:7;5039:6;-1:-1:-1;;;;;5039:6:0;4974:79;;:::o;12436:74::-;5196:12;:10;:12::i;:::-;5186:6;;-1:-1:-1;;;;;5186:6:0;;;:22;;;5178:67;;;;;-1:-1:-1;;;5178:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;5178:67:0;;;;;;;;;;;;;;;12493:5;:9;12436:74::o;12347:81::-;12415:5;;12347:81;:::o;12044:41::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;12044:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;12518:142::-;12584:7;5196:12;:10;:12::i;:::-;5186:6;;-1:-1:-1;;;;;5186:6:0;;;:22;;;5178:67;;;;;-1:-1:-1;;;5178:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;5178:67:0;;;;;;;;;;;;;;;-1:-1:-1;12603:12:0;:19;;-1:-1:-1;;;;;;12603:19:0;-1:-1:-1;;;;;12603:19:0;;;;;;;;12640:12;;12518:142::o;5911:236::-;5196:12;:10;:12::i;:::-;5186:6;;-1:-1:-1;;;;;5186:6:0;;;:22;;;5178:67;;;;;-1:-1:-1;;;5178:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;5178:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;5992:22:0;;5984:73;;;;-1:-1:-1;;;5984:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6094:6;;;6073:38;;-1:-1:-1;;;;;6073:38:0;;;;6094:6;;;6073:38;;;6122:6;:17;;-1:-1:-1;;;;;;6122:17:0;-1:-1:-1;;;;;6122:17:0;;;;;;;;;;5911:236::o;4041:98::-;4121:10;4041:98;:::o;11801:1610::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11801:1610:0;;;-1:-1:-1;11801:1610:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;

Swarm Source

bzzr://28be4afab90a2c4438c678df8e3791dad93cb5ba1f687d3e3ad4901970453a54

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ 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.