S Price: $0.486333 (+6.53%)

Contract

0x666deAd09E18791F3DcC5f51a477270786CBD83B

Overview

S Balance

Sonic LogoSonic LogoSonic Logo0 S

S Value

$0.00

Multichain Info

No addresses found
Age:1H
Amount:Between 1-10k
Reset Filter

Transaction Hash
Method
Block
From
To

There are no matching entries

1 Internal Transaction found.

Latest 1 internal transaction

Parent Transaction Hash Block From To
150436032025-03-21 15:25:1631 days ago1742570716  Contract Creation0 S
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
sdaemon0xHeadOrTails

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 1000000 runs

Other Settings:
default evmVersion, MIT license
File 1 of 1 : sdaemon0xHeadOrTails.sol
// File: contracts\openzeppelin\contracts\utils\ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/ReentrancyGuard.sol)
pragma solidity ^0.8.19;
/**
 * @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 EIP-1153 (transient storage) is available on the chain you're deploying at,
 * consider using {ReentrancyGuardTransient} instead.
 *
 * 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;
    /**
     * @dev Unauthorized reentrant call.
     */
    error ReentrancyGuardReentrantCall();
    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
        if (_status == ENTERED) {
            revert ReentrancyGuardReentrantCall();
        }
        // 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: contracts\openzeppelin\contracts\utils\Context.sol
pragma solidity ^0.8.19;
/**
 * @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: contracts\openzeppelin\contracts\access\Ownable.sol
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)
pragma solidity ^0.8.19;
/**
 * @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: contracts/sdaemon0x/games/sdaemon0xHeadOrTails.sol
pragma solidity ^0.8.19;
interface ISdaemon0x_GameTreasury {
    function compute_game_price(uint256 amount) external view returns (uint256, uint256);
    function betGame(address player, uint256 amount) external;
    function payPlayer(address player, uint256 amount) external;
}
interface sdeamon0xRandomItf 
{
    function beginRandom(sdeamon0xRandomCallback CA) external returns (uint256);
}
interface sdeamon0xRandomCallback 
{
    function onRandomCallback(uint256 uid, uint256 res) external;
}
/**
    Head or Tails game.
*/
contract sdaemon0xHeadOrTails is ReentrancyGuard, Ownable, sdeamon0xRandomCallback {
    constructor() Ownable(0x88524E752144C15dc1a12BA3978c2d700dc97498) {}
    
    uint256 public base_price = 50000 * 10 ** 18;
    ISdaemon0x_GameTreasury public treasury;
    sdeamon0xRandomItf public randomizer;
    function setBasePrice(uint256 price) external onlyOwner {
        base_price = price; 
    }
    
    function setGameTreasury(address addr) external onlyOwner {
        treasury = ISdaemon0x_GameTreasury(addr); 
    }
    
    function setRandomizer(address addr) external onlyOwner {
        randomizer = sdeamon0xRandomItf(addr);
    }
    
    mapping(uint256 => address) public uid_player;
    mapping(address => uint256) public player_uid;
    mapping(address => bool) public playing;
    mapping(address => bool) public games;
    function final_price() public view returns (uint256, uint256) {
         return treasury.compute_game_price(base_price);  
    }
    function play(bool face_) public nonReentrant returns (bool) {
        require(!playing[msg.sender]);
        playing[msg.sender] = true;
        treasury.betGame(msg.sender, base_price);
        uint256 uid = randomizer.beginRandom(this);
        uid_player[uid] = msg.sender;
        player_uid[msg.sender] = uid;
        games[msg.sender] = face_;
        return true;
    }
    struct SessionPlayed {
        address _player;        //the Player
        bool    _choice;        //the choice of the plyayer
        bool    _face;          //the result od random
    }        
    SessionPlayed[] public played_sessions;
    function getPlayedSessions() public view returns (uint256) {
        return played_sessions.length;
    }
    function onRandomCallback(uint256 uid, uint256 tos) external {
        require(msg.sender == address(randomizer));
        bool face = ((tos % 2) == 0);
        address player = uid_player[uid];
        bool choice_ = games[player];
        uid_player[uid] = address(0);
        player_uid[player] = 0;
        if (choice_ == face)
            treasury.payPlayer(player, base_price * 2);
        else 
            treasury.payPlayer(player, 0);
        playing[player] = false;    
        played_sessions.push(SessionPlayed(player, choice_, face));
    }
}

Settings
{
  "metadata": {
    "appendCBOR": true,
    "bytecodeHash": "ipfs",
    "useLiteralContent": false
  },
  "optimizer": {
    "enabled": true,
    "runs": 1000000
  },
  "viaIR": true,
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"base_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"final_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"games","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPlayedSessions","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"uid","type":"uint256"},{"internalType":"uint256","name":"tos","type":"uint256"}],"name":"onRandomCallback","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"face_","type":"bool"}],"name":"play","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"played_sessions","outputs":[{"internalType":"address","name":"_player","type":"address"},{"internalType":"bool","name":"_choice","type":"bool"},{"internalType":"bool","name":"_face","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"player_uid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"playing","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"randomizer","outputs":[{"internalType":"contract sdeamon0xRandomItf","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setBasePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"setGameTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"setRandomizer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"contract ISdaemon0x_GameTreasury","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uid_player","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60808060405234610080576001600081815581547388524e752144c15dc1a12ba3978c2d700dc974986001600160a01b0319821681179093556001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a3690a968163f0a57b400000600255610f6e90816100868239f35b600080fdfe608060408181526004918236101561001657600080fd5b600092833560e01c91826308b309e314610d21575081631ca594d814610cbd5781634ac0b22f14610c5457816361d027b314610c01578163715018a614610b63578163767bcab514610ae057816379131a1914610a7757816379704402146109f35781638da5cb5b146109a0578163a4b1d16814610607578163b745c5e7146105ca578163c23c87d51461038e578163c35b7add14610332578163de4b3262146102f2578163e7b0a1081461026f578163f10fb5841461021a578163f2fde38b1461012a575063ffbbd3f8146100eb57600080fd5b3461012657817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610126576020906002549051908152f35b5080fd5b919050346102165760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102165781359173ffffffffffffffffffffffffffffffffffffffff9182841680940361021257610187610e63565b83156101e3575050600154827fffffffffffffffffffffffff0000000000000000000000000000000000000000821617600155167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a380f35b908460249251917f1e4fbdf7000000000000000000000000000000000000000000000000000000008352820152fd5b8480fd5b8280fd5b82843461026c57807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026c575073ffffffffffffffffffffffffffffffffffffffff60209254169051908152f35b80fd5b9050346102165760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021657359160095483101561026c57506102b8606092610dfd565b50549060ff81519273ffffffffffffffffffffffffffffffffffffffff81168452818160a01c161515602085015260a81c16151590820152f35b8390346101265760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101265761032b610e63565b3560025580f35b9050346102165760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610216578160209373ffffffffffffffffffffffffffffffffffffffff92358152600585522054169051908152f35b9190503461021657602091827ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126105c657803580151580910361021257600285541461059e5790849160028355338352600785528383209182549260ff84166102125760017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0080951617905573ffffffffffffffffffffffffffffffffffffffff806003541660025490803b1561059a5787517f0ded70b5000000000000000000000000000000000000000000000000000000008152338582019081526020810193909352918791839182908490829060400103925af1801561059057889392918791610577575b5050602490825416918751998a9384927fca28204e00000000000000000000000000000000000000000000000000000000845230908401525af1801561056d57839061053d575b60019495965080845260058752858420337fffffffffffffffffffffffff000000000000000000000000000000000000000082541617905533845260068752858420556008865260ff858420928354169116179055555160018152f35b508486813d8311610566575b6105538183610ef7565b81010312610216579451939485946104e0565b503d610549565b84513d85823e3d90fd5b61058391929450610eb4565b6102125786918538610499565b87513d88823e3d90fd5b8680fd5b5090517f3ee5aeb5000000000000000000000000000000000000000000000000000000008152fd5b8380fd5b50503461012657817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610126576020906009549051908152f35b9190503461021657807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102165781359073ffffffffffffffffffffffffffffffffffffffff808454163303610212576024906001823516159284875260209260058452828289205416918289526008855260ff818a20541696895260058552808920967fffffffffffffffffffffffff000000000000000000000000000000000000000097888154169055838a52600686528982812055151594868614600014610928578460035416600254908160011b91808304600214901517156108fd5790818c923b156102165784517ff7cf8b2400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8816818e019081526020810193909352918391839182908490829060400103925af180156108f3576108db575b50505b838a5260078152818a207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0081541690558151936060850185811067ffffffffffffffff8211176108ae57835284528301948552820194855260095468010000000000000000811015610883578060016107db9201600955610dfd565b97909761085a575050518554925193517fffffffffffffffffffff000000000000000000000000000000000000000000009390931691161791151560a01b74ff0000000000000000000000000000000000000000169190911790151560a81b75ff00000000000000000000000000000000000000000016179091555080f35b8880917f4e487b7100000000000000000000000000000000000000000000000000000000825252fd5b50876041887f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b8460418c7f4e487b7100000000000000000000000000000000000000000000000000000000600052526000fd5b6108e490610eb4565b6108ef57893861075c565b8980fd5b84513d84823e3d90fd5b848c60118d7f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b8460035416803b1561099c578a8560448c83875195869485937ff7cf8b24000000000000000000000000000000000000000000000000000000008552840152818a8401525af180156109925761097f575b5061075f565b61098b909a919a610eb4565b9838610979565b83513d8d823e3d90fd5b8a80fd5b50503461012657817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101265760209073ffffffffffffffffffffffffffffffffffffffff600154169051908152f35b8390346101265760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610126573573ffffffffffffffffffffffffffffffffffffffff811680910361012657610a4b610e63565b7fffffffffffffffffffffffff0000000000000000000000000000000000000000600354161760035580f35b9050346102165760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610216573573ffffffffffffffffffffffffffffffffffffffff811680910361021657818360ff92602095526008855220541690519015158152f35b8390346101265760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261012657803573ffffffffffffffffffffffffffffffffffffffff811680910361021657610b39610e63565b7fffffffffffffffffffffffff000000000000000000000000000000000000000082541617905580f35b833461026c57807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026c57610b9a610e63565b8073ffffffffffffffffffffffffffffffffffffffff6001547fffffffffffffffffffffffff00000000000000000000000000000000000000008116600155167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b50503461012657817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101265760209073ffffffffffffffffffffffffffffffffffffffff600354169051908152f35b9050346102165760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610216573573ffffffffffffffffffffffffffffffffffffffff811680910361021657818360ff92602095526007855220541690519015158152f35b9050346102165760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610216573573ffffffffffffffffffffffffffffffffffffffff811680910361021657828291602094526006845220549051908152f35b908492503461021657827ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102165781602481869373ffffffffffffffffffffffffffffffffffffffff6003541690600254907f9b0e98290000000000000000000000000000000000000000000000000000000084528301525afa908115610df357828092610dbc575b505082519182526020820152f35b915091508282813d8311610dec575b610dd58183610ef7565b8101031261026c5750602081519101518380610dae565b503d610dcb565b83513d84823e3d90fd5b600954811015610e345760096000527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0190600090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b73ffffffffffffffffffffffffffffffffffffffff600154163303610e8457565b60246040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152fd5b67ffffffffffffffff8111610ec857604052565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff821117610ec85760405256fea26469706673582212205b8782228c309a369bde34c14c9c6b94fe1cf12939437d5c305ee43a14d2556464736f6c63430008130033

Deployed Bytecode

0x608060408181526004918236101561001657600080fd5b600092833560e01c91826308b309e314610d21575081631ca594d814610cbd5781634ac0b22f14610c5457816361d027b314610c01578163715018a614610b63578163767bcab514610ae057816379131a1914610a7757816379704402146109f35781638da5cb5b146109a0578163a4b1d16814610607578163b745c5e7146105ca578163c23c87d51461038e578163c35b7add14610332578163de4b3262146102f2578163e7b0a1081461026f578163f10fb5841461021a578163f2fde38b1461012a575063ffbbd3f8146100eb57600080fd5b3461012657817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610126576020906002549051908152f35b5080fd5b919050346102165760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102165781359173ffffffffffffffffffffffffffffffffffffffff9182841680940361021257610187610e63565b83156101e3575050600154827fffffffffffffffffffffffff0000000000000000000000000000000000000000821617600155167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a380f35b908460249251917f1e4fbdf7000000000000000000000000000000000000000000000000000000008352820152fd5b8480fd5b8280fd5b82843461026c57807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026c575073ffffffffffffffffffffffffffffffffffffffff60209254169051908152f35b80fd5b9050346102165760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021657359160095483101561026c57506102b8606092610dfd565b50549060ff81519273ffffffffffffffffffffffffffffffffffffffff81168452818160a01c161515602085015260a81c16151590820152f35b8390346101265760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101265761032b610e63565b3560025580f35b9050346102165760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610216578160209373ffffffffffffffffffffffffffffffffffffffff92358152600585522054169051908152f35b9190503461021657602091827ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126105c657803580151580910361021257600285541461059e5790849160028355338352600785528383209182549260ff84166102125760017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0080951617905573ffffffffffffffffffffffffffffffffffffffff806003541660025490803b1561059a5787517f0ded70b5000000000000000000000000000000000000000000000000000000008152338582019081526020810193909352918791839182908490829060400103925af1801561059057889392918791610577575b5050602490825416918751998a9384927fca28204e00000000000000000000000000000000000000000000000000000000845230908401525af1801561056d57839061053d575b60019495965080845260058752858420337fffffffffffffffffffffffff000000000000000000000000000000000000000082541617905533845260068752858420556008865260ff858420928354169116179055555160018152f35b508486813d8311610566575b6105538183610ef7565b81010312610216579451939485946104e0565b503d610549565b84513d85823e3d90fd5b61058391929450610eb4565b6102125786918538610499565b87513d88823e3d90fd5b8680fd5b5090517f3ee5aeb5000000000000000000000000000000000000000000000000000000008152fd5b8380fd5b50503461012657817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610126576020906009549051908152f35b9190503461021657807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102165781359073ffffffffffffffffffffffffffffffffffffffff808454163303610212576024906001823516159284875260209260058452828289205416918289526008855260ff818a20541696895260058552808920967fffffffffffffffffffffffff000000000000000000000000000000000000000097888154169055838a52600686528982812055151594868614600014610928578460035416600254908160011b91808304600214901517156108fd5790818c923b156102165784517ff7cf8b2400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8816818e019081526020810193909352918391839182908490829060400103925af180156108f3576108db575b50505b838a5260078152818a207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0081541690558151936060850185811067ffffffffffffffff8211176108ae57835284528301948552820194855260095468010000000000000000811015610883578060016107db9201600955610dfd565b97909761085a575050518554925193517fffffffffffffffffffff000000000000000000000000000000000000000000009390931691161791151560a01b74ff0000000000000000000000000000000000000000169190911790151560a81b75ff00000000000000000000000000000000000000000016179091555080f35b8880917f4e487b7100000000000000000000000000000000000000000000000000000000825252fd5b50876041887f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b8460418c7f4e487b7100000000000000000000000000000000000000000000000000000000600052526000fd5b6108e490610eb4565b6108ef57893861075c565b8980fd5b84513d84823e3d90fd5b848c60118d7f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b8460035416803b1561099c578a8560448c83875195869485937ff7cf8b24000000000000000000000000000000000000000000000000000000008552840152818a8401525af180156109925761097f575b5061075f565b61098b909a919a610eb4565b9838610979565b83513d8d823e3d90fd5b8a80fd5b50503461012657817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101265760209073ffffffffffffffffffffffffffffffffffffffff600154169051908152f35b8390346101265760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610126573573ffffffffffffffffffffffffffffffffffffffff811680910361012657610a4b610e63565b7fffffffffffffffffffffffff0000000000000000000000000000000000000000600354161760035580f35b9050346102165760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610216573573ffffffffffffffffffffffffffffffffffffffff811680910361021657818360ff92602095526008855220541690519015158152f35b8390346101265760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261012657803573ffffffffffffffffffffffffffffffffffffffff811680910361021657610b39610e63565b7fffffffffffffffffffffffff000000000000000000000000000000000000000082541617905580f35b833461026c57807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261026c57610b9a610e63565b8073ffffffffffffffffffffffffffffffffffffffff6001547fffffffffffffffffffffffff00000000000000000000000000000000000000008116600155167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b50503461012657817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101265760209073ffffffffffffffffffffffffffffffffffffffff600354169051908152f35b9050346102165760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610216573573ffffffffffffffffffffffffffffffffffffffff811680910361021657818360ff92602095526007855220541690519015158152f35b9050346102165760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610216573573ffffffffffffffffffffffffffffffffffffffff811680910361021657828291602094526006845220549051908152f35b908492503461021657827ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102165781602481869373ffffffffffffffffffffffffffffffffffffffff6003541690600254907f9b0e98290000000000000000000000000000000000000000000000000000000084528301525afa908115610df357828092610dbc575b505082519182526020820152f35b915091508282813d8311610dec575b610dd58183610ef7565b8101031261026c5750602081519101518380610dae565b503d610dcb565b83513d84823e3d90fd5b600954811015610e345760096000527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0190600090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b73ffffffffffffffffffffffffffffffffffffffff600154163303610e8457565b60246040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152fd5b67ffffffffffffffff8111610ec857604052565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff821117610ec85760405256fea26469706673582212205b8782228c309a369bde34c14c9c6b94fe1cf12939437d5c305ee43a14d2556464736f6c63430008130033

Deployed Bytecode Sourcemap

8228:2327:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8398:44;8228:2327;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5973:65;;:::i;:::-;7129:22;;7125:93;;8228:2327;;7515:6;8228:2327;;;;;;7515:6;8228:2327;;7565:40;8228:2327;7565:40;;8228:2327;;7125:93;8228:2327;;;;;7175:31;;;;;;8228:2327;7175:31;8228:2327;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9826:38;8228:2327;9826:38;;;;;;;8228:2327;9826:38;;:::i;:::-;8228:2327;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5973:65;;:::i;:::-;8228:2327;8605:18;8228:2327;;;;;;;;;;;;;;;;;;;;;;;;8898:45;8228:2327;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1999:1;8228:2327;;2820:18;2816:88;;8228:2327;;;1999:1;8228:2327;;9317:10;8228:2327;;9309:7;8228:2327;;;;;;;;;;;;;;9362:4;8228:2327;;;;;;;;;9377:8;8228:2327;;1999:1;8228:2327;9377:40;;;;;;8228:2327;;;9377:40;;9317:10;9377:40;;;8228:2327;;;;;;;;;;;;;;;;;;;;;;;9377:40;;;;;;;;;;;;;;;;8228:2327;;;;;;;;;;;9442:28;;;;;8228:2327;9442:28;;9465:4;9442:28;;;8228:2327;9442:28;;;;;;;;;;8228:2327;9362:4;8228:2327;;;;;;;9481:10;8228:2327;;;;;9317:10;8228:2327;;;;;;;9317:10;8228:2327;;9520:10;8228:2327;;;;;;9559:5;8228:2327;;;;;;;;;;;;;;;;;9362:4;8228:2327;;;9442:28;;;;;;;;;;;;;;;:::i;:::-;;;8228:2327;;;;;;;;;;9442:28;;;;;;;;8228:2327;;;;;;;;;9377:40;;;;;;;:::i;:::-;8228:2327;;9377:40;;;;;;;8228:2327;;;;;;;;;9377:40;8228:2327;;;2816:88;8228:2327;;;2862:30;;;;8228:2327;;;;;;;;;;;;;;;;;;;9948:15;8228:2327;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10064:10;:33;8228:2327;;;;;;;;10122:14;8228:2327;;;;;;10165:10;8228:2327;;;;;;;;;;;;10206:5;8228:2327;;;;;;;;;;;10165:10;8228:2327;;;;;;;;;;;;;;;;;10269:10;8228:2327;;;;;;;;;10306:15;;;;10302:135;8228:2327;;;;10336:8;8228:2327;;10129:1;8228:2327;;;;;;;;;10129:1;8228:2327;;;;;;;10336:42;;;;;;;;8228:2327;;;10336:42;;8228:2327;;;10336:42;;;8228:2327;;;;;;;;;;;;;;;;;;;;;;;10336:42;;;;;;;;;;10302:135;;;;8228:2327;;;10448:7;8228:2327;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10507:36;;8228:2327;;;10507:36;;8228:2327;;;10486:15;8228:2327;;;;;;;;;;;;10486:15;8228:2327;;:::i;:::-;;;;;;-1:-1:-1;;8228:2327:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8228:2327:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10336:42;;;;:::i;:::-;8228:2327;;10336:42;;;;8228:2327;;;;10336:42;8228:2327;;;;;;;;;;;;;;;;;;;10302:135;8228:2327;10408:8;8228:2327;;10408:29;;;;;8228:2327;;;;;;;10408:29;;;;;8228:2327;10408:29;;;;8228:2327;;;;;;10408:29;;;;;;;;10302:135;;;;10408:29;;;;;;;:::i;:::-;;;;;;8228:2327;;;;;;;;;10408:29;8228:2327;;;;;;;;;;;;;;;;;;;6190:6;8228:2327;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5973:65;;:::i;:::-;8228:2327;8713:40;8228:2327;;;8713:40;8228:2327;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9048:37;8228:2327;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5973:65;;:::i;:::-;8228:2327;;;;;;;;;;;;;;;;;;;;;5973:65;;:::i;:::-;8228:2327;;7515:6;8228:2327;;;;7515:6;8228:2327;;7565:40;;;;8228:2327;;;;;;;;;;;;;;;;;;8449:39;8228:2327;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9002:39;8228:2327;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8950:45;8228:2327;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9173:8;8228:2327;;;9201:10;8228:2327;9173:39;8228:2327;9173:39;;;;8228:2327;9173:39;;;;;;;;8228:2327;9173:39;;;8228:2327;;;;;;;;;;;;;9173:39;;;;;;;;;;;;;;;;;;:::i;:::-;;;8228:2327;;;;;;;;;;;9173:39;;;;;;;;;;8228:2327;;;;;;;;;;10486:15;8228:2327;;;;;;10486:15;-1:-1:-1;8228:2327:0;;;;-1:-1:-1;8228:2327:0;:::o;:::-;;;;;;;;;;6280:166;8228:2327;6190:6;8228:2327;;4225:10;6340:23;6336:103;;6280:166::o;6336:103::-;8228:2327;;;6387:40;;;4225:10;6387:40;;;8228:2327;6387:40;8228:2327;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

ipfs://5b8782228c309a369bde34c14c9c6b94fe1cf12939437d5c305ee43a14d25564

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  ]

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.