Sophon Testnet

Contract

0x3cC1c4814Bc5cC5906acC4e30b4bD48f7E337308

Overview

SOPH Balance

Sophon Sepolia  LogoSophon Sepolia  LogoSophon Sepolia  Logo0 SOPH

Token Holdings

Multichain Info

N/A
Transaction Hash
Method
Block
From
To
Pay For Message5662162025-02-17 16:27:563 days ago1739809676IN
0x3cC1c481...f7E337308
0 SOPH0.284042151,801.36065977
Pay For Message5596202025-02-16 15:07:294 days ago1739718449IN
0x3cC1c481...f7E337308
0 SOPH0.210167891,333.35807486
Pay For Message5593762025-02-16 14:05:454 days ago1739714745IN
0x3cC1c481...f7E337308
0 SOPH0.212976341,351.17558275
Pay For Message5551482025-02-15 20:37:595 days ago1739651879IN
0x3cC1c481...f7E337308
0 SOPH0.212354821,347.23247487
Pay For Message5550152025-02-15 20:03:535 days ago1739649833IN
0x3cC1c481...f7E337308
0 SOPH0.21432641,359.74064771
Pay For Message5541552025-02-15 16:34:475 days ago1739637287IN
0x3cC1c481...f7E337308
0 SOPH0.2170031,376.66928194
Pay For Message5508662025-02-15 3:43:096 days ago1739590989IN
0x3cC1c481...f7E337308
0 SOPH0.195200141,334.2730818
Pay For Message5488362025-02-14 19:02:496 days ago1739559769IN
0x3cC1c481...f7E337308
0 SOPH0.190610571,346.73806928
Set Payment Toke...5488342025-02-14 19:01:456 days ago1739559705IN
0x3cC1c481...f7E337308
0 SOPH0.152383411,346.73806928
Set Payment Toke...5197892025-02-10 8:06:3510 days ago1739174795IN
0x3cC1c481...f7E337308
0 SOPH0.337721252,969.39574222
Pay For Message5171212025-02-09 20:03:2711 days ago1739131407IN
0x3cC1c481...f7E337308
0 SOPH0.190812971,330.90357101
Unpause5170152025-02-09 19:34:5411 days ago1739129694IN
0x3cC1c481...f7E337308
0 SOPH0.128315061,407.02510149
Pause5170122025-02-09 19:33:3411 days ago1739129614IN
0x3cC1c481...f7E337308
0 SOPH0.157077461,407.02510149

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
5662162025-02-17 16:27:563 days ago1739809676
0x3cC1c481...f7E337308
0 SOPH
5662162025-02-17 16:27:563 days ago1739809676
0x3cC1c481...f7E337308
0 SOPH
5662162025-02-17 16:27:563 days ago1739809676
0x3cC1c481...f7E337308
0 SOPH
5662162025-02-17 16:27:563 days ago1739809676
0x3cC1c481...f7E337308
0 SOPH
5662162025-02-17 16:27:563 days ago1739809676
0x3cC1c481...f7E337308
0 SOPH
5662162025-02-17 16:27:563 days ago1739809676
0x3cC1c481...f7E337308
0 SOPH
5662162025-02-17 16:27:563 days ago1739809676
0x3cC1c481...f7E337308
0 SOPH
5662162025-02-17 16:27:563 days ago1739809676
0x3cC1c481...f7E337308
0 SOPH
5662162025-02-17 16:27:563 days ago1739809676
0x3cC1c481...f7E337308
0 SOPH
5596202025-02-16 15:07:294 days ago1739718449
0x3cC1c481...f7E337308
0 SOPH
5596202025-02-16 15:07:294 days ago1739718449
0x3cC1c481...f7E337308
0 SOPH
5596202025-02-16 15:07:294 days ago1739718449
0x3cC1c481...f7E337308
0 SOPH
5596202025-02-16 15:07:294 days ago1739718449
0x3cC1c481...f7E337308
0 SOPH
5596202025-02-16 15:07:294 days ago1739718449
0x3cC1c481...f7E337308
0 SOPH
5596202025-02-16 15:07:294 days ago1739718449
0x3cC1c481...f7E337308
0 SOPH
5596202025-02-16 15:07:294 days ago1739718449
0x3cC1c481...f7E337308
0 SOPH
5596202025-02-16 15:07:294 days ago1739718449
0x3cC1c481...f7E337308
0 SOPH
5596202025-02-16 15:07:294 days ago1739718449
0x3cC1c481...f7E337308
0 SOPH
5593762025-02-16 14:05:454 days ago1739714745
0x3cC1c481...f7E337308
0 SOPH
5593762025-02-16 14:05:454 days ago1739714745
0x3cC1c481...f7E337308
0 SOPH
5593762025-02-16 14:05:454 days ago1739714745
0x3cC1c481...f7E337308
0 SOPH
5593762025-02-16 14:05:454 days ago1739714745
0x3cC1c481...f7E337308
0 SOPH
5593762025-02-16 14:05:454 days ago1739714745
0x3cC1c481...f7E337308
0 SOPH
5593762025-02-16 14:05:454 days ago1739714745
0x3cC1c481...f7E337308
0 SOPH
5593762025-02-16 14:05:454 days ago1739714745
0x3cC1c481...f7E337308
0 SOPH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SPHNX

Compiler Version
v0.8.27+commit.40a35a09

ZkSolc Version
v1.5.11

Optimization Enabled:
Yes with Mode 3

Other Settings:
paris EvmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 1 : SPHNX.sol
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC-20 standard as defined in the ERC.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/security/ReentrancyGuard.sol


// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)

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 making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

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

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == _ENTERED;
    }
}

// File: SPHNX.sol

// File: @openzeppelin/contracts/utils/Context.sol


// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)
// SPDX-License-Identifier: MIT
pragma solidity  ^0.8.24;

/**
 * @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;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

// File: @openzeppelin/contracts/security/Pausable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;


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

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

    bool private _paused;

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

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

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

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

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

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

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

// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;


/**
 * @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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

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

// File: SPHNX.sol

pragma solidity ^0.8.13;



contract SPHNX is Ownable, Pausable, ReentrancyGuard {
    // State variables
    IERC20 public paymentToken;
    uint256 public messagePrice;
    uint256 public messagesProcessed;
    address public winner;
    
    // Variables for withdrawal splits
    uint256 private WINNER_SHARE;
    uint256 private OWNER_SHARE = 100- WINNER_SHARE;
      // State variables to track withdrawn amounts
mapping(address => bool) private hasWithdrawn;
    
    // Mapping to track user's paid messages
    mapping(address => uint256) public userMessages;
    // Mapping to track if a transaction hash has been used
    mapping(bytes32 => bool) public usedTransactionHashes;
    
    // Events
    event PaymentTokenChanged(address indexed newToken);
    event MessagePaid(address indexed user, uint256 amount, uint256 timestamp);
    event PriceUpdated(uint256 newPrice);
    event FundsWithdrawn(address indexed to, uint256 amount);
    event WinnerSet(address indexed winner);
    event WinnerWithdrawal(address indexed winner, uint256 amount);
    event OwnerWithdrawal(address indexed owner, uint256 amount);
    
    // Custom errors
    error InsufficientPayment();
    error TokenTransferFailed();
    error TransactionAlreadyUsed();
    error UnauthorizedWithdrawal();
    error WithdrawalFailed();
    error NoWinnerSet();
    error InvalidAmount();
    error AlreadyWithdrawn();
    
    constructor(address _initialToken, uint256 _initialPrice, uint256 _WINNER_SHARE) Ownable(msg.sender) {
        paymentToken = IERC20(_initialToken);
        messagePrice = _initialPrice;
WINNER_SHARE = _WINNER_SHARE;
    }
    /**
     * @dev Set the payment token
     * @param _newToken The address of the payment token
     */
    function setPaymentToken(address _newToken) external onlyOwner {
        paymentToken = IERC20(_newToken);
        emit PaymentTokenChanged(_newToken);
    }

    /**
     * @dev Set the winner address
     * @param _winner The address of the winner
     */
    function setWinner(address _winner) external onlyOwner {
        require(_winner != address(0), "Invalid winner address");
        winner = _winner;
        emit WinnerSet(_winner);
    }
    
    /**
     * @dev Pay for a message
     */
    function payForMessage() external payable nonReentrant whenNotPaused {
        // Checks
        if (paymentToken.balanceOf(msg.sender) < messagePrice) {
            revert InsufficientPayment();
        }
        
        bytes32 txHash = keccak256(abi.encodePacked(msg.sender, block.timestamp));
        if (usedTransactionHashes[txHash]) {
            revert TransactionAlreadyUsed();
        }
        
        // Effects
        usedTransactionHashes[txHash] = true;
        userMessages[msg.sender]++;
        messagesProcessed++;
        
        // Interactions
        bool success = paymentToken.transferFrom(msg.sender, address(this), messagePrice);
        if (!success) {
            revert TokenTransferFailed();
        }
        
        emit MessagePaid(msg.sender, messagePrice, block.timestamp);
    }
    
    /**
     * @dev Update the price per message
     * @param newPrice The new price in wei
     */
    function updatePrice(uint256 newPrice) external onlyOwner {
        messagePrice = newPrice;
        emit PriceUpdated(newPrice);
    }
    
    /**
     * @dev Get the number of messages a user has paid for
     * @param user The address to check
     */
    function getMessageCount(address user) external view returns (uint256) {
        return userMessages[user];
    }
    
    /**
     * @dev Check if a specific transaction hash has been used
     * @param txHash The hash to check
     */
    function isTransactionUsed(bytes32 txHash) external view returns (bool) {
        return usedTransactionHashes[txHash];
    }



/**
 * @dev Internal function to process token withdrawals
 * Note: State changes should be done before calling this
 */
function _processWithdrawal(address to, uint256 amount) private {
    bool success = paymentToken.transfer(to, amount);
    if (!success) {
        revert WithdrawalFailed();
    }
    
    emit FundsWithdrawn(to, amount);
}

/**
 * @dev Withdraw tokens according to role (winner or owner)
 */
function withdraw() external nonReentrant {
    // Checks
    uint256 tokenBalance = paymentToken.balanceOf(address(this));
    if (tokenBalance == 0) revert InvalidAmount();
    if (hasWithdrawn[msg.sender]) revert AlreadyWithdrawn();
    
    uint256 amount;
    if (msg.sender == winner) {
        if (winner == address(0)) revert NoWinnerSet();
        amount = (tokenBalance * WINNER_SHARE) / 100;
    } else if (msg.sender == owner()) {
        amount = (tokenBalance * OWNER_SHARE) / 100;
    } else {
        revert UnauthorizedWithdrawal();
    }

    // Effects
    hasWithdrawn[msg.sender] = true;

    // Interactions
    _processWithdrawal(msg.sender, amount);
    
    // Events after successful transfer
    if (msg.sender == winner) {
        emit WinnerWithdrawal(winner, amount);
    } else {
        emit OwnerWithdrawal(owner(), amount);
    }
}
/**
 * @dev Reset withdrawal status for a specific address (only owner)
 */
function resetWithdrawalStatus(address account) external onlyOwner {
    hasWithdrawn[account] = false;
}

    
    /**
     * @dev Get contract balance
     */
   function getBalance() external view returns (uint256) {
    return paymentToken.balanceOf(address(this));
}
/**
 * @dev Allow owner to withdraw accidentally sent ETH
 */
function withdrawETH() external nonReentrant onlyOwner {
    uint256 balance = address(this).balance;
    if (balance == 0) revert InvalidAmount();
    
    (bool success, ) = owner().call{value: balance}("");
    if (!success) {
        revert WithdrawalFailed();
    }
    
  
}

// Allow contract to receive ETH
receive() external payable {

}

// Allow contract to receive ETH via fallback
fallback() external payable {
   
}

    /**
     * @dev Pause contract
     */
    function pause() external onlyOwner {
        _pause();
    }

    /**
     * @dev Unpause contract
     */
    function unpause() external onlyOwner {
        _unpause();
    }
    
    
}

Settings
{
  "evmVersion": "paris",
  "optimizer": {
    "enabled": true,
    "mode": "3"
  },
  "outputSelection": {
    "*": {
      "*": [
        "abi"
      ]
    }
  },
  "detectMissingLibraries": false,
  "forceEVMLA": false,
  "enableEraVMExtensions": false,
  "libraries": {}
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_initialToken","type":"address"},{"internalType":"uint256","name":"_initialPrice","type":"uint256"},{"internalType":"uint256","name":"_WINNER_SHARE","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyWithdrawn","type":"error"},{"inputs":[],"name":"InsufficientPayment","type":"error"},{"inputs":[],"name":"InvalidAmount","type":"error"},{"inputs":[],"name":"NoWinnerSet","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"TokenTransferFailed","type":"error"},{"inputs":[],"name":"TransactionAlreadyUsed","type":"error"},{"inputs":[],"name":"UnauthorizedWithdrawal","type":"error"},{"inputs":[],"name":"WithdrawalFailed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"FundsWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"MessagePaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"OwnerWithdrawal","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newToken","type":"address"}],"name":"PaymentTokenChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"PriceUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"winner","type":"address"}],"name":"WinnerSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"winner","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WinnerWithdrawal","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"getBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getMessageCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"txHash","type":"bytes32"}],"name":"isTransactionUsed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"messagePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"messagesProcessed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"payForMessage","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"paymentToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"resetWithdrawalStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newToken","type":"address"}],"name":"setPaymentToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_winner","type":"address"}],"name":"setWinner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"updatePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"usedTransactionHashes","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userMessages","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"winner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

9c4d535b0000000000000000000000000000000000000000000000000000000000000000010001a70f9379fa377c983f63c3b3e9cbfc4e89e8d66005ed9cf03d34688d3b000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000600000000000000000000000006acd42121fa31b3bb517537c7f2ed3c512c6b37c000000000000000000000000000000000000000000000000000000000003d0900000000000000000000000000000000000000000000000000000000000000046

Deployed Bytecode

0x000400000000000200000060031002700000014f0330019700000001002001900000001c0000c13d0000008002000039000000400020043f000000040030008c000002ff0000413d000000000201043b000000e002200270000001590020009c000000410000213d000001680020009c000000580000a13d000001690020009c000000850000213d0000016d0020009c0000014e0000613d0000016e0020009c000001a80000613d0000016f0020009c000002ff0000c13d0000000001000416000000000001004b0000003f0000c13d0000000301000039000001da0000013d0000000002000416000000000002004b0000003f0000c13d0000001f0230003900000150022001970000008002200039000000400020043f0000001f0430018f000001510530019800000080025000390000002d0000613d0000008006000039000000000701034f000000007807043c0000000006860436000000000026004b000000290000c13d000000000004004b0000003a0000613d000000000151034f0000000304400210000000000502043300000000054501cf000000000545022f000000000101043b0000010004400089000000000141022f00000000014101cf000000000151019f0000000000120435000000600030008c0000003f0000413d000000800400043d000001520040009c000000500000a13d00000000010000190000053b000104300000015a0020009c000000660000a13d0000015b0020009c0000009b0000213d0000015f0020009c0000008b0000613d000001600020009c000001bc0000613d000001610020009c000002ff0000c13d0000000001000416000000000001004b0000003f0000c13d0000000501000039000000640000013d0000000006000411000000000006004b000000c00000c13d0000017801000041000000000010043f000000040000043f00000177010000410000053b00010430000001700020009c000000e60000a13d000001710020009c000001d60000613d000001720020009c0000013e0000613d000001730020009c000002ff0000c13d0000000001000416000000000001004b0000003f0000c13d0000000201000039000000000101041a000001fa0000013d000001620020009c000001230000a13d000001630020009c000001de0000613d000001640020009c000001f60000613d000001650020009c000002ff0000c13d000000240030008c0000003f0000413d0000000002000416000000000002004b0000003f0000c13d0000000401100370000000000101043b000400000001001d000001520010009c0000003f0000213d0539050e0000040f0000000401000029000000000010043f0000000801000039000000200010043f000000400200003900000000010000190539051a0000040f000000000301041a000001a502300197000000000021041b00000000010000190000053a0001042e0000016a0020009c000001fe0000613d0000016b0020009c000002080000613d0000016c0020009c000002ff0000c13d000000240030008c0000003f0000413d0000000002000416000000000002004b0000003f0000c13d0000000401100370000000000101043b000001520010009c0000003f0000213d000000000010043f0000000901000039000000200010043f000000400200003900000000010000190539051a0000040f000001da0000013d0000015c0020009c000002270000613d0000015d0020009c000002490000613d0000015e0020009c000002ff0000c13d000000240030008c0000003f0000413d0000000002000416000000000002004b0000003f0000c13d0000000401100370000000000101043b000001520010009c0000003f0000213d000000000200041a00000152032001970000000005000411000000000053004b000002ca0000c13d0000015206100198000000530000613d0000015701200197000000000161019f000000000010041b00000000010004140000014f0010009c0000014f01008041000000c00110021000000153011001c70000800d02000039000000030300003900000154040000410539052f0000040f00000001002001900000003f0000613d000002ff0000013d000000c00100043d000200000001001d000000a00100043d000100000001001d000000000200041a00000000010004140000014f0010009c0000014f01008041000000c00110021000000153011001c7000300000002001d00000152052001970000800d020000390000000303000039000400000004001d00000154040000410539052f0000040f000000040400002900000001002001900000003f0000613d0000000001000411000001550110019700000003020000290000015602200197000000000112019f000000000010041b0000000101000039000000000011041b0000000601000039000000000201041a000000650020008c0000026e0000413d0000019901000041000000000010043f0000001101000039000000040010043f00000177010000410000053b00010430000001740020009c0000013e0000613d000001750020009c000002ff0000c13d0000000001000416000000000001004b0000003f0000c13d0000000201000039000000000101041a0000017a02000041000000800020043f0000000002000410000000840020043f000000000300041400000152021001970000014f0030009c0000014f03008041000000c0013002100000017b011001c7053905340000040f00000060031002700000014f03300197000000200030008c000000200400003900000000040340190000001f0640018f000000200740019000000080057001bf000001090000613d0000008008000039000000000901034f000000009a09043c0000000008a80436000000000058004b000001050000c13d000000000006004b000001160000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f00000000006504350000000100200190000002d90000613d0000001f01400039000000600110018f00000080011001bf000000400010043f000000200030008c0000003f0000413d000000800200043d00000000002104350000004001100210000001a4011001c70000053a0001042e000001660020009c000002570000613d000001670020009c000002ff0000c13d0000000001000416000000000001004b0000003f0000c13d000000000200041a00000152032001970000000001000411000000000013004b000002800000c13d0000017900200198000002cf0000c13d000001550220019700000192022001c7000000000020041b000000800010043f00000000010004140000014f0010009c0000014f01008041000000c0011002100000018f011001c70000800d0200003900000001030000390000019304000041000002fc0000013d000000240030008c0000003f0000413d0000000002000416000000000002004b0000003f0000c13d0000000401100370000000000101043b000000000010043f0000000a01000039000000200010043f000000400200003900000000010000190539051a0000040f000000000101041a000000ff00100190000002030000013d0000000001000416000000000001004b0000003f0000c13d0000000101000039000000000201041a000000020020008c0000024d0000613d0000000202000039000000000021041b000000000102041a0000017a02000041000000800020043f0000000002000410000000840020043f000000000300041400000152021001970000014f0030009c0000014f03008041000000c0013002100000017b011001c7053905340000040f00000060031002700000014f03300197000000200030008c000000200400003900000000040340190000001f0640018f000000200740019000000080057001bf000001720000613d0000008008000039000000000901034f000000009a09043c0000000008a80436000000000058004b0000016e0000c13d000000000006004b0000017f0000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f00000000006504350000000100200190000002e50000613d0000001f01400039000000600110018f00000080011001bf000000400010043f000000200030008c0000003f0000413d000000800100043d000000000001004b000002450000613d000400000001001d0000000001000411000000000010043f0000000801000039000000200010043f00000000010004140000014f0010009c0000014f01008041000000c0011002100000017e011001c70000801002000039053905340000040f00000001002001900000003f0000613d000000000101043b000000000101041a000000ff00100190000004250000c13d0000000501000039000000000101041a00000152011001970000000002000411000000000012004b000004290000c13d000000000002004b0000042f0000c13d000001a101000041000000000010043f00000180010000410000053b000104300000000001000416000000000001004b0000003f0000c13d000000000200041a00000152032001970000000001000411000000000013004b000002800000c13d0000017900200198000002f10000c13d0000018c01000041000000800010043f0000002001000039000000840010043f0000001401000039000000a40010043f0000019601000041000000c40010043f0000018e010000410000053b00010430000000240030008c0000003f0000413d0000000002000416000000000002004b0000003f0000c13d0000000401100370000000000101043b000001520010009c0000003f0000213d000000000200041a00000152032001970000000002000411000000000023004b000002850000c13d00000152051001980000031f0000c13d0000018c01000041000000800010043f0000002001000039000000840010043f0000001601000039000000a40010043f0000018d01000041000000c40010043f0000018e010000410000053b000104300000000001000416000000000001004b0000003f0000c13d0000000401000039000000000101041a000000800010043f0000018a010000410000053a0001042e000000240030008c0000003f0000413d0000000002000416000000000002004b0000003f0000c13d000000000200041a00000152032001970000000002000411000000000023004b000002850000c13d0000000401100370000000000101043b0000000302000039000000000012041b000000800010043f00000000010004140000014f0010009c0000014f01008041000000c0011002100000018f011001c70000800d0200003900000001030000390000019004000041000002fc0000013d0000000001000416000000000001004b0000003f0000c13d000000000100041a0000015201100197000000800010043f0000018a010000410000053a0001042e0000000001000416000000000001004b0000003f0000c13d000000000100041a00000179001001980000000001000039000000010100c039000000800010043f0000018a010000410000053a0001042e000000240030008c0000003f0000413d0000000002000416000000000002004b0000003f0000c13d0000000401100370000000000101043b000001520010009c0000003f0000213d000000000200041a00000152032001970000000002000411000000000023004b000002850000c13d00000152051001970000000203000039000000000103041a0000015701100197000000000151019f000000000013041b00000000010004140000014f0010009c0000014f01008041000000c00110021000000153011001c70000800d0200003900000194040000410539052f0000040f00000001002001900000003f0000613d000002ff0000013d0000000001000416000000000001004b0000003f0000c13d0000000101000039000000000201041a000000020020008c0000024d0000613d0000000202000039000000000021041b000000000100041a00000152021001970000000001000411000000000012004b000002800000c13d000001870100004100000000001004430000000001000410000000040010044300000000010004140000014f0010009c0000014f01008041000000c00110021000000188011001c70000800a02000039053905340000040f0000000100200190000003fe0000613d000000000301043b000000000003004b000003300000c13d000001a201000041000000000010043f00000180010000410000053b000104300000000101000039000000000201041a000000020020008c0000028a0000c13d0000018c01000041000000800010043f0000002001000039000000840010043f0000001f01000039000000a40010043f000001a301000041000000c40010043f0000018e010000410000053b000104300000000001000416000000000001004b0000003f0000c13d000000000100041a00000152021001970000000005000411000000000052004b000002ca0000c13d0000015701100197000000000010041b00000000010004140000014f0010009c0000014f01008041000000c00110021000000153011001c70000800d020000390000000303000039000001540400004100000000060000190539052f0000040f00000001002001900000003f0000613d000002ff0000013d00000064022000890000000703000039000000000023041b0000000202000039000000000302041a0000015703300197000000000343019f000000000032041b00000001020000290000000303000039000000000023041b0000000202000029000000000021041b00000020010000390000010000100443000001200000044300000158010000410000053a0001042e0000017602000041000000000020043f000000040010043f00000177010000410000053b000104300000017601000041000000000010043f000000040020043f00000177010000410000053b000104300000000202000039000000000021041b000000000100041a0000017900100198000002cf0000c13d000000000102041a0000017a02000041000000800020043f0000000002000411000000840020043f000000000300041400000152021001970000014f0030009c0000014f03008041000000c0013002100000017b011001c7053905340000040f000000800a00003900000060031002700000014f03300197000000200030008c000000200400003900000000040340190000001f0640018f000000200740019000000080057001bf000002aa0000613d000000000801034f000000008908043c000000000a9a043600000000005a004b000002a60000c13d000000000006004b000002b70000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f00000000006504350000000100200190000003010000613d0000001f01400039000000600110018f000000000401001900000080011001bf000400000001001d000000400010043f000000200030008c0000003f0000413d0000000301000039000000000101041a000000800200043d000000000012004b000003430000813d0000018601000041000000000010043f00000180010000410000053b000104300000017601000041000000000010043f000000040050043f00000177010000410000053b000104300000018c01000041000000800010043f0000002001000039000000840010043f0000001001000039000000a40010043f0000019101000041000000c40010043f0000018e010000410000053b000104300000001f0530018f0000015106300198000000400200043d00000000046200190000030c0000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000002e00000c13d0000030c0000013d0000001f0530018f0000015106300198000000400200043d00000000046200190000030c0000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000002ec0000c13d0000030c0000013d0000015502200197000000000020041b000000800010043f00000000010004140000014f0010009c0000014f01008041000000c0011002100000018f011001c70000800d02000039000000010300003900000195040000410539052f0000040f00000001002001900000003f0000613d00000000010000190000053a0001042e0000001f0530018f0000015106300198000000400200043d00000000046200190000030c0000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000003080000c13d000000000005004b000003190000613d000000000161034f0000000305500210000000000604043300000000065601cf000000000656022f000000000101043b0000010005500089000000000151022f00000000015101cf000000000161019f000000000014043500000060013002100000014f0020009c0000014f020080410000004002200210000000000112019f0000053b000104300000000501000039000000000201041a0000015702200197000000000252019f000000000021041b00000000010004140000014f0010009c0000014f01008041000000c00110021000000153011001c70000800d0200003900000002030000390000018b040000410539052f0000040f00000001002001900000003f0000613d000002ff0000013d000000000100041a000000000200041400000152041001970000014f0020009c0000014f02008041000000c00120021000000153011001c7000080090200003900000000050000190539052f0000040f00000060031002700000014f03300198000003ff0000c13d0000000100200190000004960000613d0000000101000039000000000011041b00000000010000190000053a0001042e00000000010004110000006001100210000200000004001d000000a002400039000300000002001d00000000001204350000017c01000041000000000010044300000000010004140000014f0010009c0000014f01008041000000c0011002100000017d011001c70000800b02000039053905340000040f0000000100200190000003fe0000613d000000000201043b0000000203000029000000b401300039000100000002001d0000000000210435000000340100003900000004020000290000000000120435000000e001300039000000400010043f0000000301000029000000400110021000000000020204330000014f0020009c0000014f020080410000006002200210000000000112019f00000000020004140000014f0020009c0000014f02008041000000c002200210000000000112019f00000153011001c70000801002000039053905340000040f00000001002001900000003f0000613d000000000101043b000400000001001d000000000010043f0000000a01000039000000200010043f00000000010004140000014f0010009c0000014f01008041000000c0011002100000017e011001c70000801002000039053905340000040f00000001002001900000003f0000613d000000000101043b000000000101041a000000ff00100190000004a00000c13d0000000401000029000000000010043f0000000a01000039000000200010043f00000000010004140000014f0010009c0000014f01008041000000c0011002100000017e011001c70000801002000039053905340000040f00000001002001900000003f0000613d000000000101043b000000000201041a000001a50220019700000001022001bf000000000021041b0000000001000411000000000010043f0000000901000039000000200010043f00000000010004140000014f0010009c0000014f01008041000000c0011002100000017e011001c70000801002000039053905340000040f00000001002001900000003f0000613d000000000101043b000000000201041a000000010220003a000000e00000613d000000000021041b0000000401000039000000000201041a000000010220003a000000e00000613d000000000021041b0000000201000039000000000201041a0000000301000039000000000101041a000000400400043d000400000004001d00000044034000390000000000130435000000240140003900000000030004100000000000310435000001810100004100000000001404350000000401400039000000000300041100000000003104350000014f0040009c0000014f010000410000000001044019000000400110021000000000030004140000014f0030009c0000014f03008041000000c003300210000000000113019f00000182011001c700000152022001970539052f0000040f00000060031002700000014f03300197000000200030008c000000200400003900000000040340190000001f0640018f0000002007400190000000040b0000290000000405700029000003d60000613d000000000801034f00000000090b0019000000008a08043c0000000009a90436000000000059004b000003d20000c13d000000000006004b000003e30000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f00000000006504350000000100200190000004b40000613d0000001f01400039000000600210018f0000000001b20019000000000021004b00000000020000390000000102004039000001830010009c0000049a0000213d00000001002001900000049a0000c13d000000400010043f000000200030008c0000003f0000413d00000000020b0433000000000002004b0000000003000039000000010300c039000000000032004b0000003f0000c13d000000000002004b000004f70000c13d0000018501000041000000000010043f00000180010000410000053b00010430000000000001042f0000001f0430003900000150044001970000003f044000390000018904400197000000400500043d0000000004450019000000000054004b00000000060000390000000106004039000001830040009c0000049a0000213d00000001006001900000049a0000c13d000000400040043f0000001f0430018f000000000635043600000151053001980000000003560019000004170000613d000000000701034f000000007807043c0000000006860436000000000036004b000004130000c13d000000000004004b0000033d0000613d000000000151034f0000000304400210000000000503043300000000054501cf000000000545022f000000000101043b0000010004400089000000000141022f00000000014101cf000000000151019f00000000001304350000033d0000013d0000019701000041000000000010043f00000180010000410000053b00010430000000000100041a0000015201100197000000000012004b000004a40000c13d0000000701000039000004300000013d0000000601000039000000000101041a00000004031000b9000300000003001d00000004023000fa000000000012004b000000e00000c13d0000000001000411000000000010043f0000000801000039000000200010043f00000000010004140000014f0010009c0000014f01008041000000c0011002100000017e011001c70000801002000039053905340000040f00000001002001900000003f0000613d0000000302000029000000640420011a000000000101043b000000000201041a000001a50220019700000001022001bf000000000021041b0000000201000039000000000201041a000000400500043d000400000005001d0000002401500039000300000004001d00000000004104350000019a0100004100000000001504350000000401500039000000000300041100000000003104350000014f0050009c0000014f010000410000000001054019000000400110021000000000030004140000014f0030009c0000014f03008041000000c003300210000000000113019f0000019b011001c700000152022001970539052f0000040f00000060031002700000014f03300197000000200030008c000000200400003900000000040340190000001f0640018f0000002007400190000000040b0000290000000405700029000004720000613d000000000801034f00000000090b0019000000008a08043c0000000009a90436000000000059004b0000046e0000c13d000000000006004b0000047f0000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f00000000006504350000000100200190000004a80000613d0000001f01400039000000600210018f0000000001b20019000000000021004b00000000020000390000000102004039000001830010009c0000049a0000213d00000001002001900000049a0000c13d000000400010043f000000200030008c0000003f0000413d00000000020b0433000000000002004b0000000003000039000000010300c039000000000032004b0000003f0000c13d000000000002004b000004c00000c13d000001a001000041000000000010043f00000180010000410000053b000104300000019901000041000000000010043f0000004101000039000000040010043f00000177010000410000053b000104300000017f01000041000000000010043f00000180010000410000053b000104300000019801000041000000000010043f00000180010000410000053b000104300000001f0530018f0000015106300198000000400200043d00000000046200190000030c0000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000004af0000c13d0000030c0000013d0000001f0530018f0000015106300198000000400200043d00000000046200190000030c0000613d000000000701034f0000000008020019000000007907043c0000000008980436000000000048004b000004bb0000c13d0000030c0000013d000000030200002900000000002104350000014f0010009c0000014f01008041000000400110021000000000020004140000014f0020009c0000014f02008041000000c002200210000000000112019f0000019c011001c70000800d0200003900000002030000390000019d0400004100000000050004110539052f0000040f00000001002001900000003f0000613d0000000501000039000000000201041a000000400100043d0000000303000029000000000031043500000152022001970000000003000411000000000023004b000004e80000c13d0000014f0010009c0000014f01008041000000400110021000000000020004140000014f0020009c0000014f02008041000000c002200210000000000112019f0000019c011001c70000800d0200003900000002030000390000019f04000041000005090000013d0000014f0010009c0000014f010080410000004001100210000000000200041a00000000030004140000014f0030009c0000014f03008041000000c003300210000000000113019f0000019c011001c700000152052001970000800d0200003900000002030000390000019e040000410000050a0000013d0000000302000039000000000202041a00000020031000390000000104000029000000000043043500000000002104350000014f0010009c0000014f01008041000000400110021000000000020004140000014f0020009c0000014f02008041000000c002200210000000000112019f0000017e011001c70000800d020000390000000203000039000001840400004100000000050004110539052f0000040f00000001002001900000003f0000613d0000033f0000013d000000000100041a00000152021001970000000001000411000000000012004b000005140000c13d000000000001042d0000017602000041000000000020043f000000040010043f00000177010000410000053b00010430000000000001042f0000014f0010009c0000014f0100804100000040011002100000014f0020009c0000014f020080410000006002200210000000000112019f00000000020004140000014f0020009c0000014f02008041000000c002200210000000000112019f00000153011001c70000801002000039053905340000040f00000001002001900000052d0000613d000000000101043b000000000001042d00000000010000190000053b0001043000000532002104210000000102000039000000000001042d0000000002000019000000000001042d00000537002104230000000102000039000000000001042d0000000002000019000000000001042d00000539000004320000053a0001042e0000053b0001043000000000000000000000000000000000000000000000000000000000ffffffff00000000000000000000000000000000000000000000000000000001ffffffe000000000000000000000000000000000000000000000000000000000ffffffe0000000000000000000000000ffffffffffffffffffffffffffffffffffffffff02000000000000000000000000000000000000000000000000000000000000008be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0ffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000000000000000000000000000000000000ffffffffffffffffffffffff0000000000000000000000000000000000000000000000020000000000000000000000000000004000000100000000000000000000000000000000000000000000000000000000000000000000000000715018a500000000000000000000000000000000000000000000000000000000d7363ce600000000000000000000000000000000000000000000000000000000e086e5eb00000000000000000000000000000000000000000000000000000000e086e5ec00000000000000000000000000000000000000000000000000000000ecbe141400000000000000000000000000000000000000000000000000000000f2fde38b00000000000000000000000000000000000000000000000000000000d7363ce700000000000000000000000000000000000000000000000000000000d9fca76900000000000000000000000000000000000000000000000000000000dfbf53ae000000000000000000000000000000000000000000000000000000008d6cc56c000000000000000000000000000000000000000000000000000000008d6cc56d000000000000000000000000000000000000000000000000000000008da5cb5b00000000000000000000000000000000000000000000000000000000941907de00000000000000000000000000000000000000000000000000000000715018a6000000000000000000000000000000000000000000000000000000008456cb59000000000000000000000000000000000000000000000000000000003ccfd60a000000000000000000000000000000000000000000000000000000005c975aba000000000000000000000000000000000000000000000000000000005c975abb000000000000000000000000000000000000000000000000000000006a326ab1000000000000000000000000000000000000000000000000000000006cd947ee000000000000000000000000000000000000000000000000000000003ccfd60b000000000000000000000000000000000000000000000000000000003f4ba83a0000000000000000000000000000000000000000000000000000000054cc76a7000000000000000000000000000000000000000000000000000000002ab9a047000000000000000000000000000000000000000000000000000000002ab9a048000000000000000000000000000000000000000000000000000000002d0a0b7c000000000000000000000000000000000000000000000000000000003013ce29000000000000000000000000000000000000000000000000000000000aaea3a40000000000000000000000000000000000000000000000000000000012065fe0118cdaa70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000240000000000000000000000001e4fbdf7000000000000000000000000000000000000000000000000000000000000000000000000000000ff000000000000000000000000000000000000000070a08231000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024000000800000000000000000796b89b91644bc98cd93958e4c9038275d622183e25ac5af08cc6b5d9553913202000002000000000000000000000000000000040000000000000000000000000200000000000000000000000000000000000040000000000000000000000000830b785a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000023b872dd000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffc58f58cb6075afc65ac73e7df65ba8302aaf02b642c1d77615bf45b85d548fdd045c4b0200000000000000000000000000000000000000000000000000000000cd1c8867000000000000000000000000000000000000000000000000000000009cc7f708afc65944829bd487b90b72536b1951864fbfc14e125fc972a6507f39020000020000000000000000000000000000002400000000000000000000000000000000000000000000000000000000000000000000000000000003ffffffe000000000000000000000000000000000000000200000008000000000000000009d5b5758df7039aae25e6ca959e5d46a5b27446b5aaa5ae9880a09de7578207908c379a000000000000000000000000000000000000000000000000000000000496e76616c69642077696e6e65722061646472657373000000000000000000000000000000000000000000000000000000000064000000800000000000000000020000000000000000000000000000000000002000000080000000000000000066cbca4f3c64fecf1dcb9ce094abcf7f68c3450a1d4e3a8e917dd621edb4ebe05061757361626c653a2070617573656400000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000062e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258cf0c407085ca3ba312474d8448768345a1f695deaa14fcbd6d3bfee5f1ebce865db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa5061757361626c653a206e6f74207061757365640000000000000000000000006507689f0000000000000000000000000000000000000000000000000000000060b39bc5000000000000000000000000000000000000000000000000000000004e487b7100000000000000000000000000000000000000000000000000000000a9059cbb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000440000000000000000000000000200000000000000000000000000000000000020000000000000000000000000eaff4b37086828766ad3268786972c0cd24259d4c87a80f9d3963a3c3d999b0da919fadcfa556a012bab31b15f596ea7ccd397adbf10e15f176db9055ab361c42f12888580ba6a1c49bcb3ea76c339e3535e8043fe8f81a918dbca99a5f75b1e27fcd9d10000000000000000000000000000000000000000000000000000000067ebc3cb000000000000000000000000000000000000000000000000000000002c5211c6000000000000000000000000000000000000000000000000000000005265656e7472616e637947756172643a207265656e7472616e742063616c6c000000000000000000000000000000000000000020000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff006182acd83916f89438d4d309b370ff8f9fc88b3da533cd3ae1c538da193ec542

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

0000000000000000000000006acd42121fa31b3bb517537c7f2ed3c512c6b37c000000000000000000000000000000000000000000000000000000000003d0900000000000000000000000000000000000000000000000000000000000000046

-----Decoded View---------------
Arg [0] : _initialToken (address): 0x6Acd42121fA31B3bB517537C7f2Ed3c512C6B37c
Arg [1] : _initialPrice (uint256): 250000
Arg [2] : _WINNER_SHARE (uint256): 70

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000006acd42121fa31b3bb517537c7f2ed3c512c6b37c
Arg [1] : 000000000000000000000000000000000000000000000000000000000003d090
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000046


Block Transaction 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
[ 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.