ETH Price: $2,620.43 (+1.52%)

Contract

0x564e31509DBe121B9c615F5f1Cd1a85BB9eE486d
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Close Signal206689272024-09-03 8:42:5956 days ago1725352979IN
0x564e3150...BB9eE486d
0 ETH0.000120942.56890236
Withdraw All206688602024-09-03 8:29:2356 days ago1725352163IN
0x564e3150...BB9eE486d
0 ETH0.000069371.4582838
Withdraw All198750172024-05-15 11:15:23167 days ago1715771723IN
0x564e3150...BB9eE486d
0 ETH0.000278255.84886069
Close Signal198750092024-05-15 11:13:47167 days ago1715771627IN
0x564e3150...BB9eE486d
0 ETH0.000180256.01238768
Withdraw All198750012024-05-15 11:12:11167 days ago1715771531IN
0x564e3150...BB9eE486d
0 ETH0.000286776.02794601
Close Signal198749982024-05-15 11:11:23167 days ago1715771483IN
0x564e3150...BB9eE486d
0 ETH0.000286456.08438494
Withdraw All198749932024-05-15 11:10:23167 days ago1715771423IN
0x564e3150...BB9eE486d
0 ETH0.00037445.78898752
Close Signal198749572024-05-15 11:03:11167 days ago1715770991IN
0x564e3150...BB9eE486d
0 ETH0.000233684.96112393
Withdraw All163359782023-01-04 21:01:11664 days ago1672866071IN
0x564e3150...BB9eE486d
0 ETH0.0018120938.08915054
Close Signal163359702023-01-04 20:59:35664 days ago1672865975IN
0x564e3150...BB9eE486d
0 ETH0.0027496453
Withdraw All153234252022-08-11 22:53:37810 days ago1660258417IN
0x564e3150...BB9eE486d
0 ETH0.0010228621.5
Close Signal153234172022-08-11 22:51:24810 days ago1660258284IN
0x564e3150...BB9eE486d
0 ETH0.0016944436
Withdraw All153234122022-08-11 22:50:07810 days ago1660258207IN
0x564e3150...BB9eE486d
0 ETH0.0012245218.93345148
Close Signal153233442022-08-11 22:36:03810 days ago1660257363IN
0x564e3150...BB9eE486d
0 ETH0.0018676836
Withdraw All147336142022-05-08 3:01:09905 days ago1651978869IN
0x564e3150...BB9eE486d
0 ETH0.0023251935.95195653
Close Signal147336102022-05-08 3:00:19905 days ago1651978819IN
0x564e3150...BB9eE486d
0 ETH0.0010801436
Close Signal147335892022-05-08 2:54:47905 days ago1651978487IN
0x564e3150...BB9eE486d
0 ETH0.0018676836
Withdraw All146350632022-04-22 13:53:44921 days ago1650635624IN
0x564e3150...BB9eE486d
0 ETH0.0008563518
Withdraw All146350602022-04-22 13:52:37921 days ago1650635557IN
0x564e3150...BB9eE486d
0 ETH0.0008967818.85001271
Withdraw All146350212022-04-22 13:43:19921 days ago1650634999IN
0x564e3150...BB9eE486d
0 ETH0.0009764620.52469016
Close Signal146332452022-04-22 7:08:48921 days ago1650611328IN
0x564e3150...BB9eE486d
0 ETH0.0016948836
Close Signal146332362022-04-22 7:07:23921 days ago1650611243IN
0x564e3150...BB9eE486d
0 ETH0.0017419637
Close Signal146332292022-04-22 7:04:55921 days ago1650611095IN
0x564e3150...BB9eE486d
0 ETH0.0017419637
Withdraw All145894822022-04-15 10:47:27928 days ago1650019647IN
0x564e3150...BB9eE486d
0 ETH0.0013944129.3099038
Close Signal145894792022-04-15 10:46:27928 days ago1650019587IN
0x564e3150...BB9eE486d
0 ETH0.0016948836
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SanStorage

Compiler Version
v0.5.11+commit.c082d0b4

Optimization Enabled:
Yes with 0 runs

Other Settings:
default evmVersion, GNU LGPLv3 license

Contract Source Code (Solidity Multiple files format)

File 1 of 4: SanStorage.sol
pragma solidity ^0.5.0;

import "./OwnableCustom.sol";
import "./IERC20.sol";
import "./SafeMath.sol";

contract SanStorage is Ownable {
  using SafeMath for uint256;

  uint256 public allBalances;

  mapping(address => bool) public operators;
  mapping(address => uint256) public balances;
  mapping(address => uint256) public balancesForWithdraw;
  address public SAN_TOKEN_ADDRESS;

  modifier onlyOperator() {
    require(operators[msg.sender], "Ownable: caller is not the operator");
    _;
  }

  event SetOperator(address indexed operator, bool indexed authorized);

  function deposit(uint256 amount, address signalOwner) public onlyOperator {
    require(IERC20(SAN_TOKEN_ADDRESS).allowance(signalOwner, address(this)) >= amount, "SanStorage: not enough allowed tokens");
    IERC20(SAN_TOKEN_ADDRESS).transferFrom(signalOwner, address(this), amount);
    balances[signalOwner] = balances[signalOwner].add(amount);

    allBalances = allBalances.add(amount);
  }

  function closeSignal(uint256 amount, address signalOwner) public onlyOperator {
    balances[signalOwner] = balances[signalOwner].sub(amount);
    balancesForWithdraw[signalOwner] = balancesForWithdraw[signalOwner].add(amount);
  }

  function withdrawAll() public {
    IERC20(SAN_TOKEN_ADDRESS).transfer(msg.sender, balancesForWithdraw[msg.sender]);

    allBalances = allBalances.sub(balancesForWithdraw[msg.sender]);

    balancesForWithdraw[msg.sender] = 0;
  }

  function setTokenAddress(address santoken) public onlyOwner {
    SAN_TOKEN_ADDRESS = santoken;
  }

  function setOperator(address operator, bool authorized) public onlyOwner {
    require(operator != address(0));
    // Action Blocked - Not a valid address
    operators[operator] = authorized;
    emit SetOperator(operator, authorized);
  }

  function sendTokens(uint256 amount, address tokenAddress, address to) public onlyOwner {
    if (tokenAddress == SAN_TOKEN_ADDRESS) {
      require(IERC20(tokenAddress).balanceOf(address(this)).sub(allBalances) >= amount, "SanStorage: not enough owned excess san tokens");
    } else {
      require(IERC20(tokenAddress).balanceOf(address(this)) >= amount, "SanStorage: not enough owned tokens");
    }

    IERC20(tokenAddress).transfer(to, amount);
  }

  function sendETH(uint256 amount, address payable to) public onlyOwner {
    (bool success, ) = to.call.value(amount)('');
    require(success, 'transfer failed');
  }
}

File 2 of 4: IERC20.sol
pragma solidity ^0.5.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP. Does not include
 * the optional functions; to access them see `ERC20Detailed`.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a `Transfer` event.
     */
    function transfer(address recipient, uint256 amount) 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 `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * > 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 amount) external returns (bool);

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

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

File 3 of 4: OwnableCustom.sol
pragma solidity ^0.5.0;

/**
 * @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.
 *
 * 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.
 */
contract Ownable {
  address private _owner;

  event OwnershipTransferred(address previousOwner, address newOwner);

  /**
   * @dev Initializes the contract setting the deployer as the initial owner.
   */
  constructor () internal {
    address msgSender = msg.sender;
    _owner = msgSender;
    emit OwnershipTransferred(address(0), msgSender);
  }

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

  /**
   * @dev Throws if called by any account other than the owner.
   */
  modifier onlyOwner() {
    require(isOwner(), "Ownable: caller is not the owner");
    _;
  }

  /**
   * @dev Returns true if the caller is the current owner.
   */
  function isOwner() public view returns (bool) {
    return msg.sender == _owner;
  }

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

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

  /**
   * @dev Transfers ownership of the contract to a new account (`newOwner`).
   */
  function _transferOwnership(address newOwner) internal {
    require(newOwner != address(0), "Ownable: new owner is the zero address");
    emit OwnershipTransferred(_owner, newOwner);
    _owner = newOwner;
  }
}

File 4 of 4: SafeMath.sol
pragma solidity ^0.5.0;

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

        return c;
    }

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

        return c;
    }

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

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

        return c;
    }

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

        return c;
    }

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

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"operators","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"santoken","type":"address"}],"name":"setTokenAddress","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"allBalances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"authorized","type":"bool"}],"name":"setOperator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"address","name":"to","type":"address"}],"name":"sendTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"signalOwner","type":"address"}],"name":"deposit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"SAN_TOKEN_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdrawAll","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"signalOwner","type":"address"}],"name":"closeSignal","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address payable","name":"to","type":"address"}],"name":"sendETH","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balancesForWithdraw","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"bool","name":"authorized","type":"bool"}],"name":"SetOperator","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":false,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]

60806040818152600080546001600160a01b03191633908117825590835260a0819052917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a150610e0c806100576000396000f3fe608060405234801561001057600080fd5b50600436106100c55760003560e01c806313e7c9d8146100ca57806326a4e8d21461010457806327e235e31461012c578063555b616214610164578063558a72971461016c5780635fbef8671461019a5780636e553f65146101ce578063814f2596146101fa578063853828b61461021e5780638da5cb5b146102265780638f32d59b1461022e5780639e3c9dfb14610236578063c664c71414610262578063f2fde38b1461028e578063fd655073146102b4575b600080fd5b6100f0600480360360208110156100e057600080fd5b50356001600160a01b03166102da565b604080519115158252519081900360200190f35b61012a6004803603602081101561011a57600080fd5b50356001600160a01b03166102ef565b005b6101526004803603602081101561014257600080fd5b50356001600160a01b0316610358565b60408051918252519081900360200190f35b61015261036a565b61012a6004803603604081101561018257600080fd5b506001600160a01b0381351690602001351515610370565b61012a600480360360608110156101b057600080fd5b508035906001600160a01b036020820135811691604001351661041e565b61012a600480360360408110156101e457600080fd5b50803590602001356001600160a01b0316610695565b610202610886565b604080516001600160a01b039092168252519081900360200190f35b61012a610895565b61020261095b565b6100f061096a565b61012a6004803603604081101561024c57600080fd5b50803590602001356001600160a01b031661097b565b61012a6004803603604081101561027857600080fd5b50803590602001356001600160a01b0316610a44565b61012a600480360360208110156102a457600080fd5b50356001600160a01b0316610b28565b610152600480360360208110156102ca57600080fd5b50356001600160a01b0316610b7b565b60026020526000908152604090205460ff1681565b6102f761096a565b610336576040805162461bcd60e51b81526020600482018190526024820152600080516020610d44833981519152604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b60036020526000908152604090205481565b60015481565b61037861096a565b6103b7576040805162461bcd60e51b81526020600482018190526024820152600080516020610d44833981519152604482015290519081900360640190fd5b6001600160a01b0382166103ca57600080fd5b6001600160a01b038216600081815260026020526040808220805460ff191685151590811790915590519092917f1618a22a3b00b9ac70fd5a82f1f5cdd8cb272bd0f1b740ddf7c26ab05881dd5b91a35050565b61042661096a565b610465576040805162461bcd60e51b81526020600482018190526024820152600080516020610d44833981519152604482015290519081900360640190fd5b6005546001600160a01b03838116911614156105525782610510600154846001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b1580156104d857600080fd5b505afa1580156104ec573d6000803e3d6000fd5b505050506040513d602081101561050257600080fd5b50519063ffffffff610b8d16565b101561054d5760405162461bcd60e51b815260040180806020018281038252602e815260200180610d64602e913960400191505060405180910390fd5b610604565b604080516370a0823160e01b8152306004820152905184916001600160a01b038516916370a0823191602480820192602092909190829003018186803b15801561059b57600080fd5b505afa1580156105af573d6000803e3d6000fd5b505050506040513d60208110156105c557600080fd5b505110156106045760405162461bcd60e51b8152600401808060200182810382526023815260200180610d926023913960400191505060405180910390fd5b816001600160a01b031663a9059cbb82856040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561066457600080fd5b505af1158015610678573d6000803e3d6000fd5b505050506040513d602081101561068e57600080fd5b5050505050565b3360009081526002602052604090205460ff166106e35760405162461bcd60e51b8152600401808060200182810382526023815260200180610db56023913960400191505060405180910390fd5b60055460408051636eb1769f60e11b81526001600160a01b03848116600483015230602483015291518593929092169163dd62ed3e91604480820192602092909190829003018186803b15801561073957600080fd5b505afa15801561074d573d6000803e3d6000fd5b505050506040513d602081101561076357600080fd5b505110156107a25760405162461bcd60e51b8152600401808060200182810382526025815260200180610d1f6025913960400191505060405180910390fd5b600554604080516323b872dd60e01b81526001600160a01b03848116600483015230602483015260448201869052915191909216916323b872dd9160648083019260209291908290030181600087803b1580156107fe57600080fd5b505af1158015610812573d6000803e3d6000fd5b505050506040513d602081101561082857600080fd5b50506001600160a01b038116600090815260036020526040902054610853908363ffffffff610bea16565b6001600160a01b03821660009081526003602052604090205560015461087f908363ffffffff610bea16565b6001555050565b6005546001600160a01b031681565b60055433600081815260046020818152604080842054815163a9059cbb60e01b815293840195909552602483019490945292516001600160a01b039094169363a9059cbb9360448084019491938390030190829087803b1580156108f857600080fd5b505af115801561090c573d6000803e3d6000fd5b505050506040513d602081101561092257600080fd5b5050336000908152600460205260409020546001546109469163ffffffff610b8d16565b60015533600090815260046020526040812055565b6000546001600160a01b031690565b6000546001600160a01b0316331490565b3360009081526002602052604090205460ff166109c95760405162461bcd60e51b8152600401808060200182810382526023815260200180610db56023913960400191505060405180910390fd5b6001600160a01b0381166000908152600360205260409020546109f2908363ffffffff610b8d16565b6001600160a01b038216600090815260036020908152604080832093909355600490522054610a27908363ffffffff610bea16565b6001600160a01b0390911660009081526004602052604090205550565b610a4c61096a565b610a8b576040805162461bcd60e51b81526020600482018190526024820152600080516020610d44833981519152604482015290519081900360640190fd5b6040516000906001600160a01b0383169084908381818185875af1925050503d8060008114610ad6576040519150601f19603f3d011682016040523d82523d6000602084013e610adb565b606091505b5050905080610b23576040805162461bcd60e51b815260206004820152600f60248201526e1d1c985b9cd9995c8819985a5b1959608a1b604482015290519081900360640190fd5b505050565b610b3061096a565b610b6f576040805162461bcd60e51b81526020600482018190526024820152600080516020610d44833981519152604482015290519081900360640190fd5b610b7881610c49565b50565b60046020526000908152604090205481565b600082821115610be4576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600082820183811015610c42576040805162461bcd60e51b815260206004820152601b60248201527a536166654d6174683a206164646974696f6e206f766572666c6f7760281b604482015290519081900360640190fd5b9392505050565b6001600160a01b038116610c8e5760405162461bcd60e51b8152600401808060200182810382526026815260200180610cf96026913960400191505060405180910390fd5b600054604080516001600160a01b039283168152918316602083015280517f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09281900390910190a1600080546001600160a01b0319166001600160a01b039290921691909117905556fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737353616e53746f726167653a206e6f7420656e6f75676820616c6c6f77656420746f6b656e734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657253616e53746f726167653a206e6f7420656e6f756768206f776e6564206578636573732073616e20746f6b656e7353616e53746f726167653a206e6f7420656e6f756768206f776e656420746f6b656e734f776e61626c653a2063616c6c6572206973206e6f7420746865206f70657261746f72a265627a7a72315820707ee472011723c629ef3104b8fbed7667417289bd6fa845ada56791e8b879f264736f6c634300050b0032

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100c55760003560e01c806313e7c9d8146100ca57806326a4e8d21461010457806327e235e31461012c578063555b616214610164578063558a72971461016c5780635fbef8671461019a5780636e553f65146101ce578063814f2596146101fa578063853828b61461021e5780638da5cb5b146102265780638f32d59b1461022e5780639e3c9dfb14610236578063c664c71414610262578063f2fde38b1461028e578063fd655073146102b4575b600080fd5b6100f0600480360360208110156100e057600080fd5b50356001600160a01b03166102da565b604080519115158252519081900360200190f35b61012a6004803603602081101561011a57600080fd5b50356001600160a01b03166102ef565b005b6101526004803603602081101561014257600080fd5b50356001600160a01b0316610358565b60408051918252519081900360200190f35b61015261036a565b61012a6004803603604081101561018257600080fd5b506001600160a01b0381351690602001351515610370565b61012a600480360360608110156101b057600080fd5b508035906001600160a01b036020820135811691604001351661041e565b61012a600480360360408110156101e457600080fd5b50803590602001356001600160a01b0316610695565b610202610886565b604080516001600160a01b039092168252519081900360200190f35b61012a610895565b61020261095b565b6100f061096a565b61012a6004803603604081101561024c57600080fd5b50803590602001356001600160a01b031661097b565b61012a6004803603604081101561027857600080fd5b50803590602001356001600160a01b0316610a44565b61012a600480360360208110156102a457600080fd5b50356001600160a01b0316610b28565b610152600480360360208110156102ca57600080fd5b50356001600160a01b0316610b7b565b60026020526000908152604090205460ff1681565b6102f761096a565b610336576040805162461bcd60e51b81526020600482018190526024820152600080516020610d44833981519152604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b60036020526000908152604090205481565b60015481565b61037861096a565b6103b7576040805162461bcd60e51b81526020600482018190526024820152600080516020610d44833981519152604482015290519081900360640190fd5b6001600160a01b0382166103ca57600080fd5b6001600160a01b038216600081815260026020526040808220805460ff191685151590811790915590519092917f1618a22a3b00b9ac70fd5a82f1f5cdd8cb272bd0f1b740ddf7c26ab05881dd5b91a35050565b61042661096a565b610465576040805162461bcd60e51b81526020600482018190526024820152600080516020610d44833981519152604482015290519081900360640190fd5b6005546001600160a01b03838116911614156105525782610510600154846001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b1580156104d857600080fd5b505afa1580156104ec573d6000803e3d6000fd5b505050506040513d602081101561050257600080fd5b50519063ffffffff610b8d16565b101561054d5760405162461bcd60e51b815260040180806020018281038252602e815260200180610d64602e913960400191505060405180910390fd5b610604565b604080516370a0823160e01b8152306004820152905184916001600160a01b038516916370a0823191602480820192602092909190829003018186803b15801561059b57600080fd5b505afa1580156105af573d6000803e3d6000fd5b505050506040513d60208110156105c557600080fd5b505110156106045760405162461bcd60e51b8152600401808060200182810382526023815260200180610d926023913960400191505060405180910390fd5b816001600160a01b031663a9059cbb82856040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561066457600080fd5b505af1158015610678573d6000803e3d6000fd5b505050506040513d602081101561068e57600080fd5b5050505050565b3360009081526002602052604090205460ff166106e35760405162461bcd60e51b8152600401808060200182810382526023815260200180610db56023913960400191505060405180910390fd5b60055460408051636eb1769f60e11b81526001600160a01b03848116600483015230602483015291518593929092169163dd62ed3e91604480820192602092909190829003018186803b15801561073957600080fd5b505afa15801561074d573d6000803e3d6000fd5b505050506040513d602081101561076357600080fd5b505110156107a25760405162461bcd60e51b8152600401808060200182810382526025815260200180610d1f6025913960400191505060405180910390fd5b600554604080516323b872dd60e01b81526001600160a01b03848116600483015230602483015260448201869052915191909216916323b872dd9160648083019260209291908290030181600087803b1580156107fe57600080fd5b505af1158015610812573d6000803e3d6000fd5b505050506040513d602081101561082857600080fd5b50506001600160a01b038116600090815260036020526040902054610853908363ffffffff610bea16565b6001600160a01b03821660009081526003602052604090205560015461087f908363ffffffff610bea16565b6001555050565b6005546001600160a01b031681565b60055433600081815260046020818152604080842054815163a9059cbb60e01b815293840195909552602483019490945292516001600160a01b039094169363a9059cbb9360448084019491938390030190829087803b1580156108f857600080fd5b505af115801561090c573d6000803e3d6000fd5b505050506040513d602081101561092257600080fd5b5050336000908152600460205260409020546001546109469163ffffffff610b8d16565b60015533600090815260046020526040812055565b6000546001600160a01b031690565b6000546001600160a01b0316331490565b3360009081526002602052604090205460ff166109c95760405162461bcd60e51b8152600401808060200182810382526023815260200180610db56023913960400191505060405180910390fd5b6001600160a01b0381166000908152600360205260409020546109f2908363ffffffff610b8d16565b6001600160a01b038216600090815260036020908152604080832093909355600490522054610a27908363ffffffff610bea16565b6001600160a01b0390911660009081526004602052604090205550565b610a4c61096a565b610a8b576040805162461bcd60e51b81526020600482018190526024820152600080516020610d44833981519152604482015290519081900360640190fd5b6040516000906001600160a01b0383169084908381818185875af1925050503d8060008114610ad6576040519150601f19603f3d011682016040523d82523d6000602084013e610adb565b606091505b5050905080610b23576040805162461bcd60e51b815260206004820152600f60248201526e1d1c985b9cd9995c8819985a5b1959608a1b604482015290519081900360640190fd5b505050565b610b3061096a565b610b6f576040805162461bcd60e51b81526020600482018190526024820152600080516020610d44833981519152604482015290519081900360640190fd5b610b7881610c49565b50565b60046020526000908152604090205481565b600082821115610be4576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600082820183811015610c42576040805162461bcd60e51b815260206004820152601b60248201527a536166654d6174683a206164646974696f6e206f766572666c6f7760281b604482015290519081900360640190fd5b9392505050565b6001600160a01b038116610c8e5760405162461bcd60e51b8152600401808060200182810382526026815260200180610cf96026913960400191505060405180910390fd5b600054604080516001600160a01b039283168152918316602083015280517f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09281900390910190a1600080546001600160a01b0319166001600160a01b039290921691909117905556fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737353616e53746f726167653a206e6f7420656e6f75676820616c6c6f77656420746f6b656e734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657253616e53746f726167653a206e6f7420656e6f756768206f776e6564206578636573732073616e20746f6b656e7353616e53746f726167653a206e6f7420656e6f756768206f776e656420746f6b656e734f776e61626c653a2063616c6c6572206973206e6f7420746865206f70657261746f72a265627a7a72315820707ee472011723c629ef3104b8fbed7667417289bd6fa845ada56791e8b879f264736f6c634300050b0032

Deployed Bytecode Sourcemap

104:2315:3:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;104:2315:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;201:41;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;201:41:3;-1:-1:-1;;;;;201:41:3;;:::i;:::-;;;;;;;;;;;;;;;;;;1445:99;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1445:99:3;-1:-1:-1;;;;;1445:99:3;;:::i;:::-;;246:43;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;246:43:3;-1:-1:-1;;;;;246:43:3;;:::i;:::-;;;;;;;;;;;;;;;;170:26;;;:::i;1548:241::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1548:241:3;;;;;;;;;;:::i;1793:454::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1793:454:3;;;-1:-1:-1;;;;;1793:454:3;;;;;;;;;;;;:::i;576:395::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;576:395:3;;;;;;-1:-1:-1;;;;;576:395:3;;:::i;351:32::-;;;:::i;:::-;;;;-1:-1:-1;;;;;351:32:3;;;;;;;;;;;;;;1210:231;;;:::i;807:71:1:-;;;:::i;1126:84::-;;;:::i;975:231:3:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;975:231:3;;;;;;-1:-1:-1;;;;;975:231:3;;:::i;2251:166::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2251:166:3;;;;;;-1:-1:-1;;;;;2251:166:3;;:::i;1827:101:1:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1827:101:1;-1:-1:-1;;;;;1827:101:1;;:::i;293:54:3:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;293:54:3;-1:-1:-1;;;;;293:54:3;;:::i;201:41::-;;;;;;;;;;;;;;;:::o;1445:99::-;993:9:1;:7;:9::i;:::-;985:54;;;;;-1:-1:-1;;;985:54:1;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;985:54:1;;;;;;;;;;;;;;;1511:17:3;:28;;-1:-1:-1;;;;;;1511:28:3;-1:-1:-1;;;;;1511:28:3;;;;;;;;;;1445:99::o;246:43::-;;;;;;;;;;;;;:::o;170:26::-;;;;:::o;1548:241::-;993:9:1;:7;:9::i;:::-;985:54;;;;;-1:-1:-1;;;985:54:1;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;985:54:1;;;;;;;;;;;;;;;-1:-1:-1;;;;;1635:22:3;;1627:31;;;;;;-1:-1:-1;;;;;1708:19:3;;;;;;:9;:19;;;;;;:32;;-1:-1:-1;;1708:32:3;;;;;;;;;;1751:33;;1708:32;;:19;1751:33;;;1548:241;;:::o;1793:454::-;993:9:1;:7;:9::i;:::-;985:54;;;;;-1:-1:-1;;;985:54:1;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;985:54:1;;;;;;;;;;;;;;;1906:17:3;;-1:-1:-1;;;;;1890:33:3;;;1906:17;;1890:33;1886:309;;;2007:6;1941:62;1991:11;;1948:12;-1:-1:-1;;;;;1941:30:3;;1980:4;1941:45;;;;;;;;;;;;;-1:-1:-1;;;;;1941:45:3;-1:-1:-1;;;;;1941:45:3;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1941:45:3;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1941:45:3;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1941:45:3;;:62;:49;:62;:::i;:::-;:72;;1933:131;;;;-1:-1:-1;;;1933:131:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1886:309;;;2093:45;;;-1:-1:-1;;;2093:45:3;;2132:4;2093:45;;;;;;2142:6;;-1:-1:-1;;;;;2093:30:3;;;;;:45;;;;;;;;;;;;;;;:30;:45;;;5:2:-1;;;;30:1;27;20:12;5:2;2093:45:3;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2093:45:3;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2093:45:3;:55;;2085:103;;;;-1:-1:-1;;;2085:103:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2208:12;-1:-1:-1;;;;;2201:29:3;;2231:2;2235:6;2201:41;;;;;;;;;;;;;-1:-1:-1;;;;;2201:41:3;-1:-1:-1;;;;;2201:41:3;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2201:41:3;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2201:41:3;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;1793:454:3:o;576:395::-;436:10;426:21;;;;:9;:21;;;;;;;;418:69;;;;-1:-1:-1;;;418:69:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;671:17;;664:63;;;-1:-1:-1;;;664:63:3;;-1:-1:-1;;;;;664:63:3;;;;;;;721:4;664:63;;;;;;731:6;;671:17;;;;;664:35;;:63;;;;;;;;;;;;;;;671:17;664:63;;;5:2:-1;;;;30:1;27;20:12;5:2;664:63:3;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;664:63:3;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;664:63:3;:73;;656:123;;;;-1:-1:-1;;;656:123:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;792:17;;785:74;;;-1:-1:-1;;;785:74:3;;-1:-1:-1;;;;;785:74:3;;;;;;;845:4;785:74;;;;;;;;;;;;792:17;;;;;785:38;;:74;;;;;;;;;;;;;;792:17;;785:74;;;5:2:-1;;;;30:1;27;20:12;5:2;785:74:3;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;785:74:3;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;;889:21:3;;;;;;:8;785:74;889:21;;;;;:33;;915:6;889:33;:25;:33;:::i;:::-;-1:-1:-1;;;;;865:21:3;;;;;;:8;:21;;;;;:57;943:11;;:23;;959:6;943:23;:15;:23;:::i;:::-;929:11;:37;-1:-1:-1;;576:395:3:o;351:32::-;;;-1:-1:-1;;;;;351:32:3;;:::o;1210:231::-;1253:17;;1281:10;1253:17;1293:31;;;:19;:31;;;;;;;;;1246:79;;-1:-1:-1;;;1246:79:3;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1253:17:3;;;;1246:34;;:79;;;;;1293:31;;1246:79;;;;;;;1253:17;1246:79;;;5:2:-1;;;;30:1;27;20:12;5:2;1246:79:3;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1246:79:3;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;1382:10:3;1362:31;;;;:19;1246:79;1362:31;;;;;1346:11;;:48;;;:15;:48;:::i;:::-;1332:11;:62;1421:10;1435:1;1401:31;;;:19;:31;;;;;:35;1210:231::o;807:71:1:-;845:7;867:6;-1:-1:-1;;;;;867:6:1;807:71;:::o;1126:84::-;1166:4;1199:6;-1:-1:-1;;;;;1199:6:1;1185:10;:20;;1126:84::o;975:231:3:-;436:10;426:21;;;;:9;:21;;;;;;;;418:69;;;;-1:-1:-1;;;418:69:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1083:21:3;;;;;;:8;:21;;;;;;:33;;1109:6;1083:33;:25;:33;:::i;:::-;-1:-1:-1;;;;;1059:21:3;;;;;;:8;:21;;;;;;;;:57;;;;1157:19;:32;;;;:44;;1194:6;1157:44;:36;:44;:::i;:::-;-1:-1:-1;;;;;1122:32:3;;;;;;;:19;:32;;;;;:79;-1:-1:-1;975:231:3:o;2251:166::-;993:9:1;:7;:9::i;:::-;985:54;;;;;-1:-1:-1;;;985:54:1;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;985:54:1;;;;;;;;;;;;;;;2346:25:3;;2328:12;;-1:-1:-1;;;;;2346:7:3;;;2360:6;;2328:12;2346:25;2328:12;2346:25;2360:6;2346:7;:25;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;2327:44:3;;;2385:7;2377:35;;;;;-1:-1:-1;;;2377:35:3;;;;;;;;;;;;-1:-1:-1;;;2377:35:3;;;;;;;;;;;;;;;1045:1:1;2251:166:3;;:::o;1827:101:1:-;993:9;:7;:9::i;:::-;985:54;;;;;-1:-1:-1;;;985:54:1;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;985:54:1;;;;;;;;;;;;;;;1895:28;1914:8;1895:18;:28::i;:::-;1827:101;:::o;293:54:3:-;;;;;;;;;;;;;:::o;1274:179:2:-;1332:7;1364:1;1359;:6;;1351:49;;;;;-1:-1:-1;;;1351:49:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1422:5:2;;;1274:179::o;834:176::-;892:7;923:5;;;946:6;;;;938:46;;;;;-1:-1:-1;;;938:46:2;;;;;;;;;;;;-1:-1:-1;;;938:46:2;;;;;;;;;;;;;;;1002:1;834:176;-1:-1:-1;;;834:176:2:o;2021:211:1:-;-1:-1:-1;;;;;2090:22:1;;2082:73;;;;-1:-1:-1;;;2082:73:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2187:6;;2166:38;;;-1:-1:-1;;;;;2187:6:1;;;2166:38;;;;;;;;;;;;;;;;;;;;;2210:6;:17;;-1:-1:-1;;;;;;2210:17:1;-1:-1:-1;;;;;2210:17:1;;;;;;;;;;2021:211::o

Swarm Source

bzzr://707ee472011723c629ef3104b8fbed7667417289bd6fa845ada56791e8b879f2

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

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.