ETH Price: $3,909.47 (+7.00%)

Contract

0x1ca1E370491951038e068AD783681951bD208E6A
 

Overview

ETH Balance

0.07 ETH

Eth Value

$273.66 (@ $3,909.47/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Buy149770562022-06-17 3:47:01909 days ago1655437621IN
0x1ca1E370...1bD208E6A
0.035 ETH0.0016225723.25410163
Buy147856082022-05-16 10:07:18940 days ago1652695638IN
0x1ca1E370...1bD208E6A
0.035 ETH0.001062315.22447007
Buy147838342022-05-16 3:09:54941 days ago1652670594IN
0x1ca1E370...1bD208E6A
0 ETH0.0007281120.34850091
Withdraw All147522982022-05-11 2:49:49946 days ago1652237389IN
0x1ca1E370...1bD208E6A
0 ETH0.0052611434.28194497
Buy147143522022-05-05 1:32:11952 days ago1651714331IN
0x1ca1E370...1bD208E6A
0.035 ETH0.0027130438.88222361
Buy147140982022-05-05 0:33:28952 days ago1651710808IN
0x1ca1E370...1bD208E6A
0.035 ETH0.0037098453.1679926
Buy147134332022-05-04 21:59:54952 days ago1651701594IN
0x1ca1E370...1bD208E6A
0.035 ETH0.0025247636.18390536
Buy147100232022-05-04 9:08:36952 days ago1651655316IN
0x1ca1E370...1bD208E6A
0 ETH0.00161945.2464817
Buy147097782022-05-04 8:07:07952 days ago1651651627IN
0x1ca1E370...1bD208E6A
0 ETH0.0009870727.58580417
Buy147096032022-05-04 7:27:15953 days ago1651649235IN
0x1ca1E370...1bD208E6A
0.035 ETH0.0025419536.43018127
Buy147089412022-05-04 4:52:33953 days ago1651639953IN
0x1ca1E370...1bD208E6A
0.035 ETH0.0036346452.09025581
Buy147063272022-05-03 18:45:47953 days ago1651603547IN
0x1ca1E370...1bD208E6A
0.035 ETH0.0034984450.13827399
Buy147062332022-05-03 18:26:45953 days ago1651602405IN
0x1ca1E370...1bD208E6A
0 ETH0.00359174100.37854561
Buy147061952022-05-03 18:18:32953 days ago1651601912IN
0x1ca1E370...1bD208E6A
0.035 ETH0.00713267102.22252936
Buy147059842022-05-03 17:31:41953 days ago1651599101IN
0x1ca1E370...1bD208E6A
0.035 ETH0.0050312472.10571603
Buy147059242022-05-03 17:15:40953 days ago1651598140IN
0x1ca1E370...1bD208E6A
0.035 ETH0.0034840249.93150298
Buy147059222022-05-03 17:15:25953 days ago1651598125IN
0x1ca1E370...1bD208E6A
0.035 ETH0.0037897454.31306247
Buy147059182022-05-03 17:14:47953 days ago1651598087IN
0x1ca1E370...1bD208E6A
0.035 ETH0.0046663766.87656358
Buy147059172022-05-03 17:14:27953 days ago1651598067IN
0x1ca1E370...1bD208E6A
0.035 ETH0.004512564.67132018
Buy147059152022-05-03 17:13:50953 days ago1651598030IN
0x1ca1E370...1bD208E6A
0.035 ETH0.0041374959.29678392
Buy147059042022-05-03 17:11:22953 days ago1651597882IN
0x1ca1E370...1bD208E6A
0.035 ETH0.0039825457.07607206
Buy147058872022-05-03 17:08:42953 days ago1651597722IN
0x1ca1E370...1bD208E6A
0.035 ETH0.0042403360.77061514
Buy147058842022-05-03 17:07:54953 days ago1651597674IN
0x1ca1E370...1bD208E6A
0.035 ETH0.0042208660.49161311
Buy147058822022-05-03 17:07:27953 days ago1651597647IN
0x1ca1E370...1bD208E6A
0.035 ETH0.0043288762.0396163
Buy147058792022-05-03 17:07:10953 days ago1651597630IN
0x1ca1E370...1bD208E6A
0.035 ETH0.0046541366.70101786
View all transactions

Latest 4 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
147522982022-05-11 2:49:49946 days ago1652237389
0x1ca1E370...1bD208E6A
0.674375 ETH
147522982022-05-11 2:49:49946 days ago1652237389
0x1ca1E370...1bD208E6A
0.674375 ETH
147522982022-05-11 2:49:49946 days ago1652237389
0x1ca1E370...1bD208E6A
0.2075 ETH
147522982022-05-11 2:49:49946 days ago1652237389
0x1ca1E370...1bD208E6A
0.51875 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BuyCharacters

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 6 : BuyCharacters.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

import "../Interfaces/I_TokenCharacter.sol"; 
import "@openzeppelin/contracts/access/Ownable.sol";
import "../Models/PaymentsShared.sol";

contract BuyCharacters is Ownable, PaymentsShared {

    uint256 public constant MAX_MINTABLE = 10000;
    uint256 public TOKEN_PRICE = 0.035 ether;
    uint256 public MINTS_PER_TRANSACTION = 10;

    uint256 public FREE_MINT_AMOUNT = 3500;

    I_TokenCharacter tokenCharacter;

    bool public isSaleLive;
    event SaleLive(bool onSale);

    constructor(address _tokenCharacterAddress) {
        tokenCharacter = I_TokenCharacter(_tokenCharacterAddress);
    }

    function buy(uint8 amountToBuy) external payable {
        require(tx.origin == msg.sender, "EOA only");
        
        require(isSaleLive, "Sale is not live");
        require(amountToBuy <= MINTS_PER_TRANSACTION,"Too many per transaction");

        uint256 totalMinted = tokenCharacter.totalSupply();
        require(totalMinted + amountToBuy <= MAX_MINTABLE,"Sold out");

        uint256 price = 0;

        if (totalMinted > FREE_MINT_AMOUNT) {
            price = TOKEN_PRICE;
        }

        require(msg.value >= price * amountToBuy,"Not enough ETH");

        tokenCharacter.Mint(amountToBuy, msg.sender);
        
    }

    function getPrice() public view returns (uint256) {
        uint256 totalMinted = tokenCharacter.totalSupply();
        
        if (totalMinted > FREE_MINT_AMOUNT) {
            return TOKEN_PRICE;
        }

        return 0; //free mint
    }

    //Variables
    function setPrice(uint256 newPrice) external onlyOwner {
        TOKEN_PRICE = newPrice;
    }

    function startPublicSale() external onlyOwner {
        isSaleLive = true;
        emit SaleLive(isSaleLive);
    }

    function stopPublicSale() external onlyOwner ()
    {
        isSaleLive = false;
        emit SaleLive(isSaleLive);
    }

    function setTransactionLimit(uint256 newAmount) external onlyOwner {
        MINTS_PER_TRANSACTION = newAmount;
    }

    function setFreeAmount(uint256 newAmount) external onlyOwner {
        FREE_MINT_AMOUNT = newAmount;
    }

}

File 2 of 6 : I_TokenCharacter.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

//Interface for characters NFT
interface I_TokenCharacter {

    function Mint(uint8, address) external; //amount, to
    
    function totalSupply() external view returns (uint256);
    function setApprovalForAll(address, bool) external;  //address, operator
    function transferFrom(address, address, uint256) external;
    function ownerOf(uint256) external view returns (address); //who owns this token
    function _ownerOf16(uint16) external view returns (address);

    function addController(address) external;

}

File 3 of 6 : Ownable.sol
// SPDX-License-Identifier: MIT

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() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 4 of 6 : PaymentsShared.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

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

//simple payments handling for splitting between fixed wallets
contract PaymentsShared is Ownable, ReentrancyGuard {

    address WalletA = 0x0939D5c0DAb578ae7DA3cf11bfd4b7e5dc53CD45;
    address WalletB = 0x670c38d686DA822bcc96c565ceE1DD7E007D1544;
    address WalletC = 0x42D2339cA21C7D5df409326068c5CE5975dB5A39;
    address WalletD = 0xBa643BE38D25867E2062890ee5D42aA6879F5586;

    //payments
    function withdrawAll() external nonReentrant onlyOwner {          

        uint256 ticks = address(this).balance / 1000;

        (bool success, ) = WalletA.call{value: ticks * 250}(""); //25%
        require(success, "Transfer failed.");

        payable(WalletB).transfer(ticks * 100); //10%
        payable(WalletC).transfer(ticks * 325); //32.5%
        payable(WalletD).transfer(address(this).balance); //32.5%
    }

    function withdrawSafety() external onlyOwner {
        payable(owner()).transfer(address(this).balance);
    }

}

File 5 of 6 : Context.sol
// SPDX-License-Identifier: MIT

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 6 of 6 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_tokenCharacterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"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":"bool","name":"onSale","type":"bool"}],"name":"SaleLive","type":"event"},{"inputs":[],"name":"FREE_MINT_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINTABLE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTS_PER_TRANSACTION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOKEN_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"amountToBuy","type":"uint8"}],"name":"buy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSaleLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"newAmount","type":"uint256"}],"name":"setFreeAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"setTransactionLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawSafety","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600280546001600160a01b0319908116730939d5c0dab578ae7da3cf11bfd4b7e5dc53cd451790915560038054821673670c38d686da822bcc96c565cee1dd7e007d15441790556004805482167342d2339ca21c7d5df409326068c5ce5975db5a391790556005805490911673ba643be38d25867e2062890ee5d42aa6879f5586179055667c585087238000600655600a600755610dac6008553480156100aa57600080fd5b5060405161101b38038061101b8339810160408190526100c99161014b565b6100d2336100fb565b60018055600980546001600160a01b0319166001600160a01b039290921691909117905561017b565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006020828403121561015d57600080fd5b81516001600160a01b038116811461017457600080fd5b9392505050565b610e918061018a6000396000f3fe60806040526004361061010e5760003560e01c806392910eec116100a5578063d2d8cb6711610074578063da1b91c311610059578063da1b91c314610284578063f2fde38b14610299578063f71143ca146102b957600080fd5b8063d2d8cb6714610258578063d33739601461026e57600080fd5b806392910eec146101f857806398d5fdca146102185780639c498ce01461022d578063c2a9df471461024257600080fd5b8063715018a6116100e1578063715018a614610186578063853828b61461019b5780638da5cb5b146101b057806391b7f5ed146101d857600080fd5b80630c1c972a1461011357806314107f3c1461012a5780633f879faf1461013d57806364bfa54614610166575b600080fd5b34801561011f57600080fd5b506101286102ea565b005b610128610138366004610dc9565b6103a2565b34801561014957600080fd5b5061015361271081565b6040519081526020015b60405180910390f35b34801561017257600080fd5b50610128610181366004610d97565b610686565b34801561019257600080fd5b506101286106e5565b3480156101a757600080fd5b5061012861074b565b3480156101bc57600080fd5b506000546040516001600160a01b03909116815260200161015d565b3480156101e457600080fd5b506101286101f3366004610d97565b610983565b34801561020457600080fd5b50610128610213366004610d97565b6109e2565b34801561022457600080fd5b50610153610a41565b34801561023957600080fd5b50610128610ae6565b34801561024e57600080fd5b5061015360075481565b34801561026457600080fd5b5061015360065481565b34801561027a57600080fd5b5061015360085481565b34801561029057600080fd5b50610128610b7d565b3480156102a557600080fd5b506101286102b4366004610d67565b610c24565b3480156102c557600080fd5b506009546102da90600160a01b900460ff1681565b604051901515815260200161015d565b6000546001600160a01b031633146103495760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6009805460ff60a01b1916600160a01b908117918290556040517f594ac0b4ca8d0faa4c24b7ed4da22de236720d3eaf3ea347542cff512938d37e9261039892900460ff161515815260200190565b60405180910390a1565b3233146103f15760405162461bcd60e51b815260206004820152600860248201527f454f41206f6e6c790000000000000000000000000000000000000000000000006044820152606401610340565b600954600160a01b900460ff1661044a5760405162461bcd60e51b815260206004820152601060248201527f53616c65206973206e6f74206c697665000000000000000000000000000000006044820152606401610340565b6007548160ff16111561049f5760405162461bcd60e51b815260206004820152601860248201527f546f6f206d616e7920706572207472616e73616374696f6e00000000000000006044820152606401610340565b600954604080517f18160ddd00000000000000000000000000000000000000000000000000000000815290516000926001600160a01b0316916318160ddd916004808301926020929190829003018186803b1580156104fd57600080fd5b505afa158015610511573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105359190610db0565b905061271061054760ff841683610dec565b11156105955760405162461bcd60e51b815260206004820152600860248201527f536f6c64206f75740000000000000000000000000000000000000000000000006044820152606401610340565b60006008548211156105a657506006545b6105b360ff841682610e26565b3410156106025760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420656e6f756768204554480000000000000000000000000000000000006044820152606401610340565b6009546040517f0276e5a400000000000000000000000000000000000000000000000000000000815260ff851660048201523360248201526001600160a01b0390911690630276e5a490604401600060405180830381600087803b15801561066957600080fd5b505af115801561067d573d6000803e3d6000fd5b50505050505050565b6000546001600160a01b031633146106e05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610340565b600755565b6000546001600160a01b0316331461073f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610340565b6107496000610cff565b565b6002600154141561079e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610340565b60026001556000546001600160a01b031633146107fd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610340565b600061080b6103e847610e04565b6002549091506000906001600160a01b03166108288360fa610e26565b604051600081818185875af1925050503d8060008114610864576040519150601f19603f3d011682016040523d82523d6000602084013e610869565b606091505b50509050806108ba5760405162461bcd60e51b815260206004820152601060248201527f5472616e73666572206661696c65642e000000000000000000000000000000006044820152606401610340565b6003546001600160a01b03166108fc6108d4846064610e26565b6040518115909202916000818181858888f193505050501580156108fc573d6000803e3d6000fd5b506004546001600160a01b03166108fc61091884610145610e26565b6040518115909202916000818181858888f19350505050158015610940573d6000803e3d6000fd5b506005546040516001600160a01b03909116904780156108fc02916000818181858888f1935050505015801561097a573d6000803e3d6000fd5b50506001805550565b6000546001600160a01b031633146109dd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610340565b600655565b6000546001600160a01b03163314610a3c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610340565b600855565b600080600960009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610a9257600080fd5b505afa158015610aa6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aca9190610db0565b9050600854811115610ade57505060065490565b600091505090565b6000546001600160a01b03163314610b405760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610340565b600080546040516001600160a01b03909116914780156108fc02929091818181858888f19350505050158015610b7a573d6000803e3d6000fd5b50565b6000546001600160a01b03163314610bd75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610340565b6009805460ff60a01b1916908190556040517f594ac0b4ca8d0faa4c24b7ed4da22de236720d3eaf3ea347542cff512938d37e9161039891600160a01b90910460ff161515815260200190565b6000546001600160a01b03163314610c7e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610340565b6001600160a01b038116610cfa5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610340565b610b7a815b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208284031215610d7957600080fd5b81356001600160a01b0381168114610d9057600080fd5b9392505050565b600060208284031215610da957600080fd5b5035919050565b600060208284031215610dc257600080fd5b5051919050565b600060208284031215610ddb57600080fd5b813560ff81168114610d9057600080fd5b60008219821115610dff57610dff610e45565b500190565b600082610e2157634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615610e4057610e40610e45565b500290565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220dba943b7329ea699599c1b6d816c8ae9e9922adaeb60e26a8859db4b902d037d64736f6c6343000807003300000000000000000000000092a8ee8abf1e24791c68af6fc3ae9effbd865008

Deployed Bytecode

0x60806040526004361061010e5760003560e01c806392910eec116100a5578063d2d8cb6711610074578063da1b91c311610059578063da1b91c314610284578063f2fde38b14610299578063f71143ca146102b957600080fd5b8063d2d8cb6714610258578063d33739601461026e57600080fd5b806392910eec146101f857806398d5fdca146102185780639c498ce01461022d578063c2a9df471461024257600080fd5b8063715018a6116100e1578063715018a614610186578063853828b61461019b5780638da5cb5b146101b057806391b7f5ed146101d857600080fd5b80630c1c972a1461011357806314107f3c1461012a5780633f879faf1461013d57806364bfa54614610166575b600080fd5b34801561011f57600080fd5b506101286102ea565b005b610128610138366004610dc9565b6103a2565b34801561014957600080fd5b5061015361271081565b6040519081526020015b60405180910390f35b34801561017257600080fd5b50610128610181366004610d97565b610686565b34801561019257600080fd5b506101286106e5565b3480156101a757600080fd5b5061012861074b565b3480156101bc57600080fd5b506000546040516001600160a01b03909116815260200161015d565b3480156101e457600080fd5b506101286101f3366004610d97565b610983565b34801561020457600080fd5b50610128610213366004610d97565b6109e2565b34801561022457600080fd5b50610153610a41565b34801561023957600080fd5b50610128610ae6565b34801561024e57600080fd5b5061015360075481565b34801561026457600080fd5b5061015360065481565b34801561027a57600080fd5b5061015360085481565b34801561029057600080fd5b50610128610b7d565b3480156102a557600080fd5b506101286102b4366004610d67565b610c24565b3480156102c557600080fd5b506009546102da90600160a01b900460ff1681565b604051901515815260200161015d565b6000546001600160a01b031633146103495760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6009805460ff60a01b1916600160a01b908117918290556040517f594ac0b4ca8d0faa4c24b7ed4da22de236720d3eaf3ea347542cff512938d37e9261039892900460ff161515815260200190565b60405180910390a1565b3233146103f15760405162461bcd60e51b815260206004820152600860248201527f454f41206f6e6c790000000000000000000000000000000000000000000000006044820152606401610340565b600954600160a01b900460ff1661044a5760405162461bcd60e51b815260206004820152601060248201527f53616c65206973206e6f74206c697665000000000000000000000000000000006044820152606401610340565b6007548160ff16111561049f5760405162461bcd60e51b815260206004820152601860248201527f546f6f206d616e7920706572207472616e73616374696f6e00000000000000006044820152606401610340565b600954604080517f18160ddd00000000000000000000000000000000000000000000000000000000815290516000926001600160a01b0316916318160ddd916004808301926020929190829003018186803b1580156104fd57600080fd5b505afa158015610511573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105359190610db0565b905061271061054760ff841683610dec565b11156105955760405162461bcd60e51b815260206004820152600860248201527f536f6c64206f75740000000000000000000000000000000000000000000000006044820152606401610340565b60006008548211156105a657506006545b6105b360ff841682610e26565b3410156106025760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420656e6f756768204554480000000000000000000000000000000000006044820152606401610340565b6009546040517f0276e5a400000000000000000000000000000000000000000000000000000000815260ff851660048201523360248201526001600160a01b0390911690630276e5a490604401600060405180830381600087803b15801561066957600080fd5b505af115801561067d573d6000803e3d6000fd5b50505050505050565b6000546001600160a01b031633146106e05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610340565b600755565b6000546001600160a01b0316331461073f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610340565b6107496000610cff565b565b6002600154141561079e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610340565b60026001556000546001600160a01b031633146107fd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610340565b600061080b6103e847610e04565b6002549091506000906001600160a01b03166108288360fa610e26565b604051600081818185875af1925050503d8060008114610864576040519150601f19603f3d011682016040523d82523d6000602084013e610869565b606091505b50509050806108ba5760405162461bcd60e51b815260206004820152601060248201527f5472616e73666572206661696c65642e000000000000000000000000000000006044820152606401610340565b6003546001600160a01b03166108fc6108d4846064610e26565b6040518115909202916000818181858888f193505050501580156108fc573d6000803e3d6000fd5b506004546001600160a01b03166108fc61091884610145610e26565b6040518115909202916000818181858888f19350505050158015610940573d6000803e3d6000fd5b506005546040516001600160a01b03909116904780156108fc02916000818181858888f1935050505015801561097a573d6000803e3d6000fd5b50506001805550565b6000546001600160a01b031633146109dd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610340565b600655565b6000546001600160a01b03163314610a3c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610340565b600855565b600080600960009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610a9257600080fd5b505afa158015610aa6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aca9190610db0565b9050600854811115610ade57505060065490565b600091505090565b6000546001600160a01b03163314610b405760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610340565b600080546040516001600160a01b03909116914780156108fc02929091818181858888f19350505050158015610b7a573d6000803e3d6000fd5b50565b6000546001600160a01b03163314610bd75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610340565b6009805460ff60a01b1916908190556040517f594ac0b4ca8d0faa4c24b7ed4da22de236720d3eaf3ea347542cff512938d37e9161039891600160a01b90910460ff161515815260200190565b6000546001600160a01b03163314610c7e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610340565b6001600160a01b038116610cfa5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610340565b610b7a815b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208284031215610d7957600080fd5b81356001600160a01b0381168114610d9057600080fd5b9392505050565b600060208284031215610da957600080fd5b5035919050565b600060208284031215610dc257600080fd5b5051919050565b600060208284031215610ddb57600080fd5b813560ff81168114610d9057600080fd5b60008219821115610dff57610dff610e45565b500190565b600082610e2157634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615610e4057610e40610e45565b500290565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220dba943b7329ea699599c1b6d816c8ae9e9922adaeb60e26a8859db4b902d037d64736f6c63430008070033

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

00000000000000000000000092a8ee8abf1e24791c68af6fc3ae9effbd865008

-----Decoded View---------------
Arg [0] : _tokenCharacterAddress (address): 0x92A8eE8aBf1E24791C68Af6fC3ae9eFfbd865008

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000092a8ee8abf1e24791c68af6fc3ae9effbd865008


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  ]
[ 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.