ETH Price: $2,272.46 (+1.69%)
Gas: 50 Gwei

Contract

0x0011eec8B64Fd3fF941Ec6792397f81E0E924B5a
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multi Chain

Multichain Addresses

0 address found via
Transaction Hash
Method
Block
From
To
Value
Transfer171891382023-05-04 18:39:59215 days 10 hrs ago1683225599IN
0x0011ee...0E924B5a
0 ETH0.0046574183.40500847
Transfer171873122023-05-04 12:29:35215 days 17 hrs ago1683203375IN
0x0011ee...0E924B5a
0 ETH0.0041894775.02503018
Transfer171814332023-05-03 16:40:11216 days 12 hrs ago1683132011IN
0x0011ee...0E924B5a
0 ETH0.0039219370.23388387
Modify Max Trans...171811752023-05-03 15:48:23216 days 13 hrs ago1683128903IN
0x0011ee...0E924B5a
0 ETH0.0021779775.95925787
Approve171810882023-05-03 15:30:47216 days 13 hrs ago1683127847IN
0x0011ee...0E924B5a
0 ETH0.0043468993.80228869
Transfer171759772023-05-02 22:13:35217 days 7 hrs ago1683065615IN
0x0011ee...0E924B5a
0 ETH0.00647774116.00329993
Approve171759682023-05-02 22:11:47217 days 7 hrs ago1683065507IN
0x0011ee...0E924B5a
0 ETH0.00511813110.64570353
Transfer171759132023-05-02 22:00:23217 days 7 hrs ago1683064823IN
0x0011ee...0E924B5a
0 ETH0.005399796.69782597
Transfer171759112023-05-02 21:59:59217 days 7 hrs ago1683064799IN
0x0011ee...0E924B5a
0 ETH0.0053005394.92193953
Transfer171758192023-05-02 21:41:23217 days 7 hrs ago1683063683IN
0x0011ee...0E924B5a
0 ETH0.00602214107.84444205
Transfer171758162023-05-02 21:40:47217 days 7 hrs ago1683063647IN
0x0011ee...0E924B5a
0 ETH0.00609929109.22602698
Transfer171758142023-05-02 21:40:23217 days 7 hrs ago1683063623IN
0x0011ee...0E924B5a
0 ETH0.0054556497.69955094
Transfer171758122023-05-02 21:39:59217 days 7 hrs ago1683063599IN
0x0011ee...0E924B5a
0 ETH0.00570295102.12839214
Transfer171758102023-05-02 21:39:35217 days 7 hrs ago1683063575IN
0x0011ee...0E924B5a
0 ETH0.0055223298.89368288
Transfer171758082023-05-02 21:39:11217 days 7 hrs ago1683063551IN
0x0011ee...0E924B5a
0 ETH0.00561627100.57619809
Transfer171758072023-05-02 21:38:59217 days 7 hrs ago1683063539IN
0x0011ee...0E924B5a
0 ETH0.0054417697.45104381
Decrease Allowan...171758052023-05-02 21:38:35217 days 7 hrs ago1683063515IN
0x0011ee...0E924B5a
0 ETH0.0028723697.6463666
Approve171757972023-05-02 21:36:59217 days 7 hrs ago1683063419IN
0x0011ee...0E924B5a
0 ETH0.00504657108.9289761
Transfer171756692023-05-02 21:11:23217 days 8 hrs ago1683061883IN
0x0011ee...0E924B5a
0 ETH0.00588089105.31507002
Transfer171756632023-05-02 21:10:11217 days 8 hrs ago1683061811IN
0x0011ee...0E924B5a
0 ETH0.00565255101.2258173
Transfer171756602023-05-02 21:09:35217 days 8 hrs ago1683061775IN
0x0011ee...0E924B5a
0 ETH0.00571995102.43286513
Transfer171756562023-05-02 21:08:47217 days 8 hrs ago1683061727IN
0x0011ee...0E924B5a
0 ETH0.00574611102.90141277
Transfer171756472023-05-02 21:06:59217 days 8 hrs ago1683061619IN
0x0011ee...0E924B5a
0 ETH0.00611682109.54004365
Transfer171755892023-05-02 20:55:11217 days 8 hrs ago1683060911IN
0x0011ee...0E924B5a
0 ETH0.0055098298.66988178
Transfer171755562023-05-02 20:48:35217 days 8 hrs ago1683060515IN
0x0011ee...0E924B5a
0 ETH0.00588456105.38067314
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:
OnlyOne

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-05-02
*/

// SPDX-License-Identifier: MIT
//                      .*(%@@@@&#*.                                      .*(%@@@@&(*.          @@@@@@@@@@@@@@@@@@@@@@                              @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#               
//               %@@@@@@@@@@@@@@@@@@@@@@@#                         %@@@@@@@@@@@@@@@@@@@@@@@(    &@@@@%               @@@    /@@@@@@@@@@@@@@@@@@@@@@@%*@@*          @@      .@@@         @@@@@.           
//            (@@@@@.@@%       @@@    &@@@@@@@/                 %@@@@@,@@(       @@@    @@@@@@@@,   @@@@@&              @@@    %@@  @@@@,   (@@( #@@@@@@@@,         @@   *@@@@@@@@#      @@  /@@@(        
//          @@@@(  #@@    .@@@@@@@@/     *@@@,@@@.           ,@@@@/  &@@    ,@@@@@@@@,     (@@&/@@@   @@@@@@/             @@%    @@@   /@@&@@& *@@, ,@@@@@@         @@   *@@     ,@@@    @@  ,@@ @@@      
//        @@@@    %@@    &@@    .@@@/       @@@ &@@.       .@@@@    @@&    @@@    ,@@@.      .@@& @@@  .@@&(@@&            ,@@%    @@%   /@@% #@@ &@@,   @@         @@   *@@ @@@@@@@@@@( @@  ,@@ /@@      
//      *@@@,    ,@@    @@&       @@@        ,@@, @@&     #@@@     (@@    @@(       @@@        /@@. @@%  *@@@@@@@            *@@(   ,@@/  @@( @@,&@&     @@.        @@   *@@ @@/@.    ,@@@@  ,@@ /@@      
//     #@@@      @@(   #@@         @@@         @@, #@@   &@@&      @@,   &@@         @@#        ,@@  &@@   &@@  @@@.           (@@,   %@@.@@( @@.@@%     @@.        @@   *@@ @@@@@@@*    %@@@/@@ /@@      
//    .@@@      .@@    @@,         (@@         *@@  /@@ *@@&      ,@@   .@@          %@@         /@@  %@@  /@@  @@&@@,           %@@    @@@@( @@,&@%     @@.        @@   *@@@@@@@* @@@@#    /@@@*/@@      
//    %@@       (@@   /@@           @@,         @@(  @@%&@@       &@@   #@&          ,@@          @@,  @@/ /@@ %@&  @@@,           @@@    @@( @@,%@&     @@.        @@@@@@@@(  @@* @@. @@      ,@@@@      
//    @@&       #@@   &@@           @@*         @@%  *@@@@#       @@@   @@#           @@          @@/  (@& /@@ @@, (@@%@@,           @@@  @@( @@*#@&     @@.        @@#%@@@@@. @@* @@. @@                 
//    @@&       (@@   @@@           @@*         @@/   @@@@#       &@@   @@#           @@          @@,  ,@@ /@@ @@, @@(  #@@,           @@&@@( @@*(@&     @@.        @@      #@@@@* @@. @@ @(              
//    %@@.      ,@@   %@@           @@,        /@@   ,@@&@@       *@@   &@%          *@@         #@@   /@@ /@@ @@* @@/    &@@.          .@@@( @@//@@     @@         @@    &@@@%@@* @@. @@@@&@@@@          
//    .@@@       @@(  .@@          %@@        .@@.   @@&/@@@       @@,  *@@          &@@        *@@    @@( /@@ #@@ &@@      &@@           *@@#&@(*@@     @@         @@    &@@@@@   @@.&@@@@   @@@@/       
//     &@@@,     ,@@   @@/         @@&       (@@    *@@  @@@@.     (@@   @@.        .@@(       %@@    #@@ /@@@* @@( @@.       @@@           @@&@(,@@    .@@         @@    &@@  &@@*@@@&  @@   @@.*@@@     
//      @@@@@     %@@  ,@@        @@@      ,@@&    /@@    @@@@@     @@&  /@@        @@@      /@@(    (@@ @@@ @@, @@**@@         @@@         @@%@#.@@    (@@         @@    &@@    @@@*    @@   @@.  @@     
//       %@@@@@(   #@@  /@@      @@@.    #@@%     &@@      &@@@@@/   &@@  #@@     .@@@     &@@#     @@@%@@.   @@@ @@&*@@.        *@@#       @@%@%.@@    @@(         @@    &@@ ,@@@       @@   @@.  @@     
//         @@@.@@@@,.@@# ,@@%  &@@@  /@@@@      #@@*        .@@&,@@@&.*@@/ *@@(  @@@@  (@@@%      %@@@@@&%%%%%%&@@@@@@(@@&         (@@%%%%%%@@#@&.@@ %@@@&%%%%%%%%%%@@%%%%@@@@@@%%%%%%%%%@@   @@.  @@     
//           @@@, .@@@@@@@@@@@@@@@@@@@        @@@*            .@@@  .@@@@@@@@@@@@@@@@@@&        @@@.#@@              #@@@@@%         &@@      #@@.@@ @@(                                      @@.  @@     
//             *@@@#                      *@@@%                  (@@@(                      /@@@#   #@@@@@@@@@@@@@@@@@@@@@@@@@         @@@    (@@.@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.  @@     
//                 #@@@@@#.         /&@@@@@.                         %@@@@&(.        .(&@@@@&.        %@@&%%%%%%%%%%%%%%%%%@@@@@@%      *@@@@@@@@@@%  .@@&                                         @@     
//                       *%@@@@@@@@@/                                      *&@@@@@@@@@/                                                                 .@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@  

pragma solidity ^0.8.0;

abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

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 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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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.
     *
     * 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 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` 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 from, address to, uint256 amount) external returns (bool);
}

interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the default value returned by this function, unless
     * it's overridden.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(address from, address to, uint256 amount) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 amount) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {}
}

contract OnlyOne is ERC20 {
                                                                                                                                                                                                    
    mapping(address => bool) public banned;
    uint256 public maxTransferAmount = 1*10**18;
    uint256 public threshold;
    address public owner;


    enum ProposalType { Ban, Unban, UpdateThreshold }
    struct Proposal {
        ProposalType proposalType;
        address target;
        uint256 endTime;
        uint256 value;
        uint256 totalStaked;
        bool executed;
        mapping(address => uint256) staked;
    }

    mapping(uint256 => Proposal) public proposals;
    uint256 public nextProposalId;

    event Ban(address indexed target, bool status);
    event ProposalCreated(uint256 indexed proposalId, ProposalType proposalType, address target, uint256 value, uint256 endTime);
    event Stake(uint256 indexed proposalId, address indexed staker, uint256 amount);
    event Withdraw(uint256 indexed proposalId, address indexed staker, uint256 amount);
    event ProposalExecuted(uint256 indexed proposalId);

    constructor(
        string memory name,
        string memory symbol,
        uint256 initialSupply,
        uint256 initialThreshold
    ) ERC20(name, symbol) {
        _mint(msg.sender, initialSupply);
        threshold = initialThreshold;
        owner = msg.sender;
    }
    function transferOwnership(address newOwner) public {
        require(msg.sender == owner,"Not original owner");
        owner = newOwner;
    }

    function modifyMaxTransferAmount(uint256 amount) public {
        require(msg.sender == owner,"Not original owner");
        maxTransferAmount = amount;
    }
    function createProposal(ProposalType proposalType, address target, uint256 value, uint256 duration) public {
        uint256 endTime = block.timestamp + duration;
        Proposal storage proposal = proposals[nextProposalId];
        proposal.proposalType = proposalType;
        proposal.target = target;
        proposal.endTime = endTime;
        proposal.value = value;

        emit ProposalCreated(nextProposalId, proposalType, target, value, endTime);
        nextProposalId++;
    }

    function stake(uint256 proposalId, uint256 amount) public {
        Proposal storage proposal = proposals[proposalId];
        require(block.timestamp <= proposal.endTime, "Proposal has ended");

        _transfer(msg.sender, address(this), amount);
        proposal.staked[msg.sender] += amount;
        proposal.totalStaked += amount;

        emit Stake(proposalId, msg.sender, amount);
    }

    function withdraw(uint256 proposalId, uint256 amount) public {
        Proposal storage proposal = proposals[proposalId];
        require(block.timestamp > proposal.endTime, "Proposal is still ongoing");

        uint256 stakedAmount = proposal.staked[msg.sender];
        require(stakedAmount >= amount, "Trying to withdraw more than staked");

        _transfer(address(this), msg.sender, amount);
        proposal.staked[msg.sender] -= amount;
        proposal.totalStaked -= amount;

        emit Withdraw(proposalId, msg.sender, amount);
    }

    function executeProposal(uint256 proposalId) public {
        Proposal storage proposal = proposals[proposalId];
        require(block.timestamp > proposal.endTime, "Proposal has not ended");
        require(!isProposalExecuted(proposalId), "Proposal already executed");

        bool passed = proposal.totalStaked * 100 >= threshold * totalSupply();
        if (passed) {
            if (proposal.proposalType == ProposalType.Ban) {
                address target = proposal.target;
                require(!banned[target], "Address is already banned");
                banned[target] = true;
                emit Ban(target, true);
            } else if (proposal.proposalType == ProposalType.Unban) {
                address target = proposal.target;
                require(banned[target], "Address is not banned");
                banned[target] = false;
                emit Ban(target, false);
             } else if (proposal.proposalType == ProposalType.UpdateThreshold) {
                require(proposal.value <= 100,  "Invalid threshold percentage");
                threshold = proposal.value;
            }
            _setProposalExecuted(proposalId);
        }
        emit ProposalExecuted(proposalId);
    }

    function isProposalExecuted(uint256 proposalId) public view returns (bool) {
        Proposal storage proposal = proposals[proposalId];
        return proposal.executed;
    }

    function _setProposalExecuted(uint256 proposalId) internal {
        Proposal storage proposal = proposals[proposalId];
        proposal.executed = true;
    }

    function _beforeTokenTransfer(address from, address to, uint256 amount) internal override {
    if (from != address(0)) {
        require(!banned[from], "Sender address is banned");
    }
    require(amount <= maxTransferAmount, "Exceed maxTransfer amount" );
    super._beforeTokenTransfer(from, to, amount);
}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"initialSupply","type":"uint256"},{"internalType":"uint256","name":"initialThreshold","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"bool","name":"status","type":"bool"}],"name":"Ban","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"proposalId","type":"uint256"},{"indexed":false,"internalType":"enum OnlyOne.ProposalType","name":"proposalType","type":"uint8"},{"indexed":false,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"endTime","type":"uint256"}],"name":"ProposalCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"proposalId","type":"uint256"}],"name":"ProposalExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"proposalId","type":"uint256"},{"indexed":true,"internalType":"address","name":"staker","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Stake","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"proposalId","type":"uint256"},{"indexed":true,"internalType":"address","name":"staker","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"banned","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"enum OnlyOne.ProposalType","name":"proposalType","type":"uint8"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"duration","type":"uint256"}],"name":"createProposal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"proposalId","type":"uint256"}],"name":"executeProposal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"proposalId","type":"uint256"}],"name":"isProposalExecuted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransferAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"modifyMaxTransferAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextProposalId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"proposals","outputs":[{"internalType":"enum OnlyOne.ProposalType","name":"proposalType","type":"uint8"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"endTime","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"totalStaked","type":"uint256"},{"internalType":"bool","name":"executed","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"proposalId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"threshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"proposalId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052670de0b6b3a76400006006553480156200001d57600080fd5b506040516200191738038062001917833981016040819052620000409162000318565b8383600362000050838262000420565b5060046200005f828262000420565b5050506200007433836200009260201b60201c565b6007555050600880546001600160a01b031916331790555062000514565b6001600160a01b038216620000ee5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b620000fc6000838362000167565b8060026000828254620001109190620004ec565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b03831615620001e2576001600160a01b03831660009081526005602052604090205460ff1615620001e25760405162461bcd60e51b815260206004820152601860248201527f53656e64657220616464726573732069732062616e6e656400000000000000006044820152606401620000e5565b600654811115620002365760405162461bcd60e51b815260206004820152601960248201527f457863656564206d61785472616e7366657220616d6f756e74000000000000006044820152606401620000e5565b6200024e8383836200024e60201b62000cb01760201c565b505050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200027b57600080fd5b81516001600160401b038082111562000298576200029862000253565b604051601f8301601f19908116603f01168101908282118183101715620002c357620002c362000253565b81604052838152602092508683858801011115620002e057600080fd5b600091505b83821015620003045785820183015181830184015290820190620002e5565b600093810190920192909252949350505050565b600080600080608085870312156200032f57600080fd5b84516001600160401b03808211156200034757600080fd5b620003558883890162000269565b955060208701519150808211156200036c57600080fd5b506200037b8782880162000269565b604087015160609097015195989097509350505050565b600181811c90821680620003a757607f821691505b602082108103620003c857634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200024e57600081815260208120601f850160051c81016020861015620003f75750805b601f850160051c820191505b81811015620004185782815560010162000403565b505050505050565b81516001600160401b038111156200043c576200043c62000253565b62000454816200044d845462000392565b84620003ce565b602080601f8311600181146200048c5760008415620004735750858301515b600019600386901b1c1916600185901b17855562000418565b600085815260208120601f198616915b82811015620004bd578886015182559484019460019091019084016200049c565b5085821015620004dc5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200050e57634e487b7160e01b600052601160045260246000fd5b92915050565b6113f380620005246000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c8063441a3e70116100c3578063a457c2d71161007c578063a457c2d714610337578063a9059cbb1461034a578063a9e757231461035d578063d00c1aec14610366578063dd62ed3e1461038c578063f2fde38b1461039f57600080fd5b8063441a3e701461029257806370a08231146102a55780637b0472f0146102ce5780638da5cb5b146102e157806395d89b411461030c5780639c8d83bb1461031457600080fd5b806323b872dd1161011557806323b872dd14610238578063257c41371461024b5780632ab09d141461025e578063313ce56714610267578063395093511461027657806342cde4e81461028957600080fd5b8063013cf08b1461015d57806306fdde03146101c6578063095ea7b3146101db5780630d61b519146101fe57806318160ddd146102135780631b655b0814610225575b600080fd5b6101ab61016b3660046110c4565b6009602052600090815260409020805460018201546002830154600384015460049094015460ff808516956101009095046001600160a01b031694911686565b6040516101bd96959493929190611115565b60405180910390f35b6101ce6103b2565b6040516101bd9190611156565b6101ee6101e93660046111c0565b610444565b60405190151581526020016101bd565b61021161020c3660046110c4565b61045e565b005b6002545b6040519081526020016101bd565b6102116102333660046111ea565b6107dc565b6101ee610246366004611232565b6108aa565b6102116102593660046110c4565b6108ce565b610217600a5481565b604051601281526020016101bd565b6101ee6102843660046111c0565b610922565b61021760075481565b6102116102a036600461126e565b610944565b6102176102b3366004611290565b6001600160a01b031660009081526020819052604090205490565b6102116102dc36600461126e565b610a9c565b6008546102f4906001600160a01b031681565b6040516001600160a01b0390911681526020016101bd565b6101ce610b7c565b6101ee610322366004611290565b60056020526000908152604090205460ff1681565b6101ee6103453660046111c0565b610b8b565b6101ee6103583660046111c0565b610c06565b61021760065481565b6101ee6103743660046110c4565b60009081526009602052604090206004015460ff1690565b61021761039a3660046112b2565b610c14565b6102116103ad366004611290565b610c3f565b6060600380546103c1906112e5565b80601f01602080910402602001604051908101604052809291908181526020018280546103ed906112e5565b801561043a5780601f1061040f5761010080835404028352916020019161043a565b820191906000526020600020905b81548152906001019060200180831161041d57829003601f168201915b5050505050905090565b600033610452818585610cb5565b60019150505b92915050565b6000818152600960205260409020600181015442116104bd5760405162461bcd60e51b8152602060048201526016602482015275141c9bdc1bdcd85b081a185cc81b9bdd08195b99195960521b60448201526064015b60405180910390fd5b60008281526009602052604090206004015460ff161561051f5760405162461bcd60e51b815260206004820152601960248201527f50726f706f73616c20616c72656164792065786563757465640000000000000060448201526064016104b4565b600061052a60025490565b6007546105379190611335565b6003830154610547906064611335565b10801591506107ac576000825460ff166002811115610568576105686110dd565b0361063d57815461010090046001600160a01b031660008181526005602052604090205460ff16156105dc5760405162461bcd60e51b815260206004820152601960248201527f4164647265737320697320616c72656164792062616e6e65640000000000000060448201526064016104b4565b6001600160a01b038116600081815260056020908152604091829020805460ff1916600190811790915591519182527f7b4fa29ddc1c10119d9f5d6420d86f292a592fcb7a2d822a4e37469d818a305291015b60405180910390a25061078a565b6001825460ff166002811115610655576106556110dd565b0361070f57815461010090046001600160a01b031660008181526005602052604090205460ff166106c05760405162461bcd60e51b81526020600482015260156024820152741059191c995cdcc81a5cc81b9bdd0818985b9b9959605a1b60448201526064016104b4565b6001600160a01b0381166000818152600560209081526040808320805460ff19169055519182527f7b4fa29ddc1c10119d9f5d6420d86f292a592fcb7a2d822a4e37469d818a3052910161062f565b6002825460ff166002811115610727576107276110dd565b0361078a576064826002015411156107815760405162461bcd60e51b815260206004820152601c60248201527f496e76616c6964207468726573686f6c642070657263656e746167650000000060448201526064016104b4565b60028201546007555b6107ac836000908152600960205260409020600401805460ff19166001179055565b60405183907f712ae1383f79ac853f8d882153778e0260ef8f03b504e2866e0593e04d2b291f90600090a2505050565b60006107e8824261134c565b600a5460009081526009602052604090208054919250908690829060ff1916600183600281111561081b5761081b6110dd565b02179055508054610100600160a81b0319166101006001600160a01b038716021781556001810182905560028101849055600a546040517ff91d30821731fbcabaf67ed0304c374ce0973aee435b5d9227ad8a26e98094699061088590899089908990889061135f565b60405180910390a2600a805490600061089d83611391565b9190505550505050505050565b6000336108b8858285610dd1565b6108c3858585610e4b565b506001949350505050565b6008546001600160a01b0316331461091d5760405162461bcd60e51b81526020600482015260126024820152712737ba1037b934b3b4b730b61037bbb732b960711b60448201526064016104b4565b600655565b6000336104528185856109358383610c14565b61093f919061134c565b610cb5565b6000828152600960205260409020600181015442116109a55760405162461bcd60e51b815260206004820152601960248201527f50726f706f73616c206973207374696c6c206f6e676f696e670000000000000060448201526064016104b4565b33600090815260058201602052604090205482811015610a135760405162461bcd60e51b815260206004820152602360248201527f547279696e6720746f207769746864726177206d6f7265207468616e207374616044820152621ad95960ea1b60648201526084016104b4565b610a1e303385610e4b565b33600090815260058301602052604081208054859290610a3f9084906113aa565b9250508190555082826003016000828254610a5a91906113aa565b9091555050604051838152339085907f9da6493a92039daf47d1f2d7a782299c5994c6323eb1e972f69c432089ec52bf9060200160405180910390a350505050565b60008281526009602052604090206001810154421115610af35760405162461bcd60e51b8152602060048201526012602482015271141c9bdc1bdcd85b081a185cc8195b99195960721b60448201526064016104b4565b610afe333084610e4b565b33600090815260058201602052604081208054849290610b1f90849061134c565b9250508190555081816003016000828254610b3a919061134c565b9091555050604051828152339084907f02567b2553aeb44e4ddd5d68462774dc3de158cb0f2c2da1740e729b22086aff906020015b60405180910390a3505050565b6060600480546103c1906112e5565b60003381610b998286610c14565b905083811015610bf95760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016104b4565b6108c38286868403610cb5565b600033610452818585610e4b565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6008546001600160a01b03163314610c8e5760405162461bcd60e51b81526020600482015260126024820152712737ba1037b934b3b4b730b61037bbb732b960711b60448201526064016104b4565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b505050565b6001600160a01b038316610d175760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104b4565b6001600160a01b038216610d785760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104b4565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259101610b6f565b6000610ddd8484610c14565b90506000198114610e455781811015610e385760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016104b4565b610e458484848403610cb5565b50505050565b6001600160a01b038316610eaf5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104b4565b6001600160a01b038216610f115760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104b4565b610f1c838383610ffa565b6001600160a01b03831660009081526020819052604090205481811015610f945760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016104b4565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610e45565b6001600160a01b03831615611072576001600160a01b03831660009081526005602052604090205460ff16156110725760405162461bcd60e51b815260206004820152601860248201527f53656e64657220616464726573732069732062616e6e6564000000000000000060448201526064016104b4565b600654811115610cb05760405162461bcd60e51b815260206004820152601960248201527f457863656564206d61785472616e7366657220616d6f756e740000000000000060448201526064016104b4565b6000602082840312156110d657600080fd5b5035919050565b634e487b7160e01b600052602160045260246000fd5b6003811061111157634e487b7160e01b600052602160045260246000fd5b9052565b60c0810161112382896110f3565b6001600160a01b03969096166020820152604081019490945260608401929092526080830152151560a090910152919050565b600060208083528351808285015260005b8181101561118357858101830151858201604001528201611167565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146111bb57600080fd5b919050565b600080604083850312156111d357600080fd5b6111dc836111a4565b946020939093013593505050565b6000806000806080858703121561120057600080fd5b84356003811061120f57600080fd5b935061121d602086016111a4565b93969395505050506040820135916060013590565b60008060006060848603121561124757600080fd5b611250846111a4565b925061125e602085016111a4565b9150604084013590509250925092565b6000806040838503121561128157600080fd5b50508035926020909101359150565b6000602082840312156112a257600080fd5b6112ab826111a4565b9392505050565b600080604083850312156112c557600080fd5b6112ce836111a4565b91506112dc602084016111a4565b90509250929050565b600181811c908216806112f957607f821691505b60208210810361131957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176104585761045861131f565b808201808211156104585761045861131f565b6080810161136d82876110f3565b6001600160a01b039490941660208201526040810192909252606090910152919050565b6000600182016113a3576113a361131f565b5060010190565b818103818111156104585761045861131f56fea2646970667358221220c3bb6a893d4c13c60d71ecd32cb58b77737567e842d9b9af2b72b007fb4ded7964736f6c63430008120033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000074f6e6c794f6e65000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005204f4f4e45000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101585760003560e01c8063441a3e70116100c3578063a457c2d71161007c578063a457c2d714610337578063a9059cbb1461034a578063a9e757231461035d578063d00c1aec14610366578063dd62ed3e1461038c578063f2fde38b1461039f57600080fd5b8063441a3e701461029257806370a08231146102a55780637b0472f0146102ce5780638da5cb5b146102e157806395d89b411461030c5780639c8d83bb1461031457600080fd5b806323b872dd1161011557806323b872dd14610238578063257c41371461024b5780632ab09d141461025e578063313ce56714610267578063395093511461027657806342cde4e81461028957600080fd5b8063013cf08b1461015d57806306fdde03146101c6578063095ea7b3146101db5780630d61b519146101fe57806318160ddd146102135780631b655b0814610225575b600080fd5b6101ab61016b3660046110c4565b6009602052600090815260409020805460018201546002830154600384015460049094015460ff808516956101009095046001600160a01b031694911686565b6040516101bd96959493929190611115565b60405180910390f35b6101ce6103b2565b6040516101bd9190611156565b6101ee6101e93660046111c0565b610444565b60405190151581526020016101bd565b61021161020c3660046110c4565b61045e565b005b6002545b6040519081526020016101bd565b6102116102333660046111ea565b6107dc565b6101ee610246366004611232565b6108aa565b6102116102593660046110c4565b6108ce565b610217600a5481565b604051601281526020016101bd565b6101ee6102843660046111c0565b610922565b61021760075481565b6102116102a036600461126e565b610944565b6102176102b3366004611290565b6001600160a01b031660009081526020819052604090205490565b6102116102dc36600461126e565b610a9c565b6008546102f4906001600160a01b031681565b6040516001600160a01b0390911681526020016101bd565b6101ce610b7c565b6101ee610322366004611290565b60056020526000908152604090205460ff1681565b6101ee6103453660046111c0565b610b8b565b6101ee6103583660046111c0565b610c06565b61021760065481565b6101ee6103743660046110c4565b60009081526009602052604090206004015460ff1690565b61021761039a3660046112b2565b610c14565b6102116103ad366004611290565b610c3f565b6060600380546103c1906112e5565b80601f01602080910402602001604051908101604052809291908181526020018280546103ed906112e5565b801561043a5780601f1061040f5761010080835404028352916020019161043a565b820191906000526020600020905b81548152906001019060200180831161041d57829003601f168201915b5050505050905090565b600033610452818585610cb5565b60019150505b92915050565b6000818152600960205260409020600181015442116104bd5760405162461bcd60e51b8152602060048201526016602482015275141c9bdc1bdcd85b081a185cc81b9bdd08195b99195960521b60448201526064015b60405180910390fd5b60008281526009602052604090206004015460ff161561051f5760405162461bcd60e51b815260206004820152601960248201527f50726f706f73616c20616c72656164792065786563757465640000000000000060448201526064016104b4565b600061052a60025490565b6007546105379190611335565b6003830154610547906064611335565b10801591506107ac576000825460ff166002811115610568576105686110dd565b0361063d57815461010090046001600160a01b031660008181526005602052604090205460ff16156105dc5760405162461bcd60e51b815260206004820152601960248201527f4164647265737320697320616c72656164792062616e6e65640000000000000060448201526064016104b4565b6001600160a01b038116600081815260056020908152604091829020805460ff1916600190811790915591519182527f7b4fa29ddc1c10119d9f5d6420d86f292a592fcb7a2d822a4e37469d818a305291015b60405180910390a25061078a565b6001825460ff166002811115610655576106556110dd565b0361070f57815461010090046001600160a01b031660008181526005602052604090205460ff166106c05760405162461bcd60e51b81526020600482015260156024820152741059191c995cdcc81a5cc81b9bdd0818985b9b9959605a1b60448201526064016104b4565b6001600160a01b0381166000818152600560209081526040808320805460ff19169055519182527f7b4fa29ddc1c10119d9f5d6420d86f292a592fcb7a2d822a4e37469d818a3052910161062f565b6002825460ff166002811115610727576107276110dd565b0361078a576064826002015411156107815760405162461bcd60e51b815260206004820152601c60248201527f496e76616c6964207468726573686f6c642070657263656e746167650000000060448201526064016104b4565b60028201546007555b6107ac836000908152600960205260409020600401805460ff19166001179055565b60405183907f712ae1383f79ac853f8d882153778e0260ef8f03b504e2866e0593e04d2b291f90600090a2505050565b60006107e8824261134c565b600a5460009081526009602052604090208054919250908690829060ff1916600183600281111561081b5761081b6110dd565b02179055508054610100600160a81b0319166101006001600160a01b038716021781556001810182905560028101849055600a546040517ff91d30821731fbcabaf67ed0304c374ce0973aee435b5d9227ad8a26e98094699061088590899089908990889061135f565b60405180910390a2600a805490600061089d83611391565b9190505550505050505050565b6000336108b8858285610dd1565b6108c3858585610e4b565b506001949350505050565b6008546001600160a01b0316331461091d5760405162461bcd60e51b81526020600482015260126024820152712737ba1037b934b3b4b730b61037bbb732b960711b60448201526064016104b4565b600655565b6000336104528185856109358383610c14565b61093f919061134c565b610cb5565b6000828152600960205260409020600181015442116109a55760405162461bcd60e51b815260206004820152601960248201527f50726f706f73616c206973207374696c6c206f6e676f696e670000000000000060448201526064016104b4565b33600090815260058201602052604090205482811015610a135760405162461bcd60e51b815260206004820152602360248201527f547279696e6720746f207769746864726177206d6f7265207468616e207374616044820152621ad95960ea1b60648201526084016104b4565b610a1e303385610e4b565b33600090815260058301602052604081208054859290610a3f9084906113aa565b9250508190555082826003016000828254610a5a91906113aa565b9091555050604051838152339085907f9da6493a92039daf47d1f2d7a782299c5994c6323eb1e972f69c432089ec52bf9060200160405180910390a350505050565b60008281526009602052604090206001810154421115610af35760405162461bcd60e51b8152602060048201526012602482015271141c9bdc1bdcd85b081a185cc8195b99195960721b60448201526064016104b4565b610afe333084610e4b565b33600090815260058201602052604081208054849290610b1f90849061134c565b9250508190555081816003016000828254610b3a919061134c565b9091555050604051828152339084907f02567b2553aeb44e4ddd5d68462774dc3de158cb0f2c2da1740e729b22086aff906020015b60405180910390a3505050565b6060600480546103c1906112e5565b60003381610b998286610c14565b905083811015610bf95760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016104b4565b6108c38286868403610cb5565b600033610452818585610e4b565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6008546001600160a01b03163314610c8e5760405162461bcd60e51b81526020600482015260126024820152712737ba1037b934b3b4b730b61037bbb732b960711b60448201526064016104b4565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b505050565b6001600160a01b038316610d175760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104b4565b6001600160a01b038216610d785760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104b4565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259101610b6f565b6000610ddd8484610c14565b90506000198114610e455781811015610e385760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016104b4565b610e458484848403610cb5565b50505050565b6001600160a01b038316610eaf5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104b4565b6001600160a01b038216610f115760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104b4565b610f1c838383610ffa565b6001600160a01b03831660009081526020819052604090205481811015610f945760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016104b4565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610e45565b6001600160a01b03831615611072576001600160a01b03831660009081526005602052604090205460ff16156110725760405162461bcd60e51b815260206004820152601860248201527f53656e64657220616464726573732069732062616e6e6564000000000000000060448201526064016104b4565b600654811115610cb05760405162461bcd60e51b815260206004820152601960248201527f457863656564206d61785472616e7366657220616d6f756e740000000000000060448201526064016104b4565b6000602082840312156110d657600080fd5b5035919050565b634e487b7160e01b600052602160045260246000fd5b6003811061111157634e487b7160e01b600052602160045260246000fd5b9052565b60c0810161112382896110f3565b6001600160a01b03969096166020820152604081019490945260608401929092526080830152151560a090910152919050565b600060208083528351808285015260005b8181101561118357858101830151858201604001528201611167565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146111bb57600080fd5b919050565b600080604083850312156111d357600080fd5b6111dc836111a4565b946020939093013593505050565b6000806000806080858703121561120057600080fd5b84356003811061120f57600080fd5b935061121d602086016111a4565b93969395505050506040820135916060013590565b60008060006060848603121561124757600080fd5b611250846111a4565b925061125e602085016111a4565b9150604084013590509250925092565b6000806040838503121561128157600080fd5b50508035926020909101359150565b6000602082840312156112a257600080fd5b6112ab826111a4565b9392505050565b600080604083850312156112c557600080fd5b6112ce836111a4565b91506112dc602084016111a4565b90509250929050565b600181811c908216806112f957607f821691505b60208210810361131957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176104585761045861131f565b808201808211156104585761045861131f565b6080810161136d82876110f3565b6001600160a01b039490941660208201526040810192909252606090910152919050565b6000600182016113a3576113a361131f565b5060010190565b818103818111156104585761045861131f56fea2646970667358221220c3bb6a893d4c13c60d71ecd32cb58b77737567e842d9b9af2b72b007fb4ded7964736f6c63430008120033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000074f6e6c794f6e65000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005204f4f4e45000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): OnlyOne
Arg [1] : symbol (string): OONE
Arg [2] : initialSupply (uint256): 1000000000000000000
Arg [3] : initialThreshold (uint256): 14

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [5] : 4f6e6c794f6e6500000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [7] : 204f4f4e45000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

19262:5227:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19947:45;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19947:45:0;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;8269:100;;;:::i;:::-;;;;;;;:::i;10629:201::-;;;;;;:::i;:::-;;:::i;:::-;;;2343:14:1;;2336:22;2318:41;;2306:2;2291:18;10629:201:0;2178:187:1;22556:1249:0;;;;;;:::i;:::-;;:::i;:::-;;9398:108;9486:12;;9398:108;;;2516:25:1;;;2504:2;2489:18;9398:108:0;2370:177:1;21068:500:0;;;;;;:::i;:::-;;:::i;11410:261::-;;;;;;:::i;:::-;;:::i;20901:161::-;;;;;;:::i;:::-;;:::i;19999:29::-;;;;;;9240:93;;;9323:2;3515:36:1;;3503:2;3488:18;9240:93:0;3373:184:1;12080:238:0;;;;;;:::i;:::-;;:::i;19588:24::-;;;;;;21988:560;;;;;;:::i;:::-;;:::i;9569:127::-;;;;;;:::i;:::-;-1:-1:-1;;;;;9670:18:0;9643:7;9670:18;;;;;;;;;;;;9569:127;21576:404;;;;;;:::i;:::-;;:::i;19619:20::-;;;;;-1:-1:-1;;;;;19619:20:0;;;;;;-1:-1:-1;;;;;4170:32:1;;;4152:51;;4140:2;4125:18;19619:20:0;4006:203:1;8488:104:0;;;:::i;19493:38::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;12821:436;;;;;;:::i;:::-;;:::i;9902:193::-;;;;;;:::i;:::-;;:::i;19538:43::-;;;;;;23813:178;;;;;;:::i;:::-;23882:4;23927:21;;;:9;:21;;;;;23966:17;;;;;;23813:178;10158:151;;;;;;:::i;:::-;;:::i;20746:147::-;;;;;;:::i;:::-;;:::i;8269:100::-;8323:13;8356:5;8349:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8269:100;:::o;10629:201::-;10712:4;4454:10;10768:32;4454:10;10784:7;10793:6;10768:8;:32::i;:::-;10818:4;10811:11;;;10629:201;;;;;:::o;22556:1249::-;22619:25;22647:21;;;:9;:21;;;;;22705:16;;;;22687:15;:34;22679:69;;;;-1:-1:-1;;;22679:69:0;;5066:2:1;22679:69:0;;;5048:21:1;5105:2;5085:18;;;5078:30;-1:-1:-1;;;5124:18:1;;;5117:52;5186:18;;22679:69:0;;;;;;;;;23882:4;23927:21;;;:9;:21;;;;;23966:17;;;;;22767:31;22759:69;;;;-1:-1:-1;;;22759:69:0;;5417:2:1;22759:69:0;;;5399:21:1;5456:2;5436:18;;;5429:30;5495:27;5475:18;;;5468:55;5540:18;;22759:69:0;5215:349:1;22759:69:0;22841:11;22897:13;9486:12;;;9398:108;22897:13;22885:9;;:25;;;;:::i;:::-;22855:20;;;;:26;;22878:3;22855:26;:::i;:::-;:55;;;;-1:-1:-1;22921:833:0;;22977:16;22952:21;;;;:41;;;;;;;;:::i;:::-;;22948:748;;23031:15;;;;;-1:-1:-1;;;;;23031:15:0;23014:14;23074;;;:6;:14;;;;;;;;23073:15;23065:53;;;;-1:-1:-1;;;23065:53:0;;6076:2:1;23065:53:0;;;6058:21:1;6115:2;6095:18;;;6088:30;6154:27;6134:18;;;6127:55;6199:18;;23065:53:0;5874:349:1;23065:53:0;-1:-1:-1;;;;;23137:14:0;;;;;;:6;:14;;;;;;;;;:21;;-1:-1:-1;;23137:21:0;23154:4;23137:21;;;;;;23182:17;;2318:41:1;;;23182:17:0;;2291:18:1;23182:17:0;;;;;;;;22995:220;22948:748;;;23250:18;23225:21;;;;:43;;;;;;;;:::i;:::-;;23221:475;;23306:15;;;;;-1:-1:-1;;;;;23306:15:0;23289:14;23348;;;:6;:14;;;;;;;;23340:48;;;;-1:-1:-1;;;23340:48:0;;6430:2:1;23340:48:0;;;6412:21:1;6469:2;6449:18;;;6442:30;-1:-1:-1;;;6488:18:1;;;6481:51;6549:18;;23340:48:0;6228:345:1;23340:48:0;-1:-1:-1;;;;;23407:14:0;;23424:5;23407:14;;;:6;:14;;;;;;;;:22;;-1:-1:-1;;23407:22:0;;;23453:18;2318:41:1;;;23453:18:0;;2291::1;23453::0;2178:187:1;23221:475:0;23523:28;23498:21;;;;:53;;;;;;;;:::i;:::-;;23494:202;;23598:3;23580:8;:14;;;:21;;23572:63;;;;-1:-1:-1;;;23572:63:0;;6780:2:1;23572:63:0;;;6762:21:1;6819:2;6799:18;;;6792:30;6858;6838:18;;;6831:58;6906:18;;23572:63:0;6578:352:1;23572:63:0;23666:14;;;;23654:9;:26;23494:202;23710:32;23731:10;24069:25;24097:21;;;:9;:21;;;;;24129:17;;:24;;-1:-1:-1;;24129:24:0;24149:4;24129:24;;;23999:162;23710:32;23769:28;;23786:10;;23769:28;;;;;22608:1197;;22556:1249;:::o;21068:500::-;21186:15;21204:26;21222:8;21204:15;:26;:::i;:::-;21279:14;;21241:25;21269;;;:9;:25;;;;;21305:36;;21186:44;;-1:-1:-1;21269:25:0;21329:12;;21269:25;;-1:-1:-1;;21305:36:0;;21329:12;21305:36;;;;;;;;:::i;:::-;;;;;-1:-1:-1;21352:24:0;;-1:-1:-1;;;;;;21352:24:0;;-1:-1:-1;;;;;21352:24:0;;;;;;-1:-1:-1;21387:16:0;;:26;;;21424:14;;;:22;;;21480:14;;21464:69;;;;;;21496:12;;21352:24;;21424:22;;21387:26;;21464:69;:::i;:::-;;;;;;;;21544:14;:16;;;:14;:16;;;:::i;:::-;;;;;;21175:393;;21068:500;;;;:::o;11410:261::-;11507:4;4454:10;11565:38;11581:4;4454:10;11596:6;11565:15;:38::i;:::-;11614:27;11624:4;11630:2;11634:6;11614:9;:27::i;:::-;-1:-1:-1;11659:4:0;;11410:261;-1:-1:-1;;;;11410:261:0:o;20901:161::-;20990:5;;-1:-1:-1;;;;;20990:5:0;20976:10;:19;20968:49;;;;-1:-1:-1;;;20968:49:0;;7865:2:1;20968:49:0;;;7847:21:1;7904:2;7884:18;;;7877:30;-1:-1:-1;;;7923:18:1;;;7916:48;7981:18;;20968:49:0;7663:342:1;20968:49:0;21028:17;:26;20901:161::o;12080:238::-;12168:4;4454:10;12224:64;4454:10;12240:7;12277:10;12249:25;4454:10;12240:7;12249:9;:25::i;:::-;:38;;;;:::i;:::-;12224:8;:64::i;21988:560::-;22060:25;22088:21;;;:9;:21;;;;;22146:16;;;;22128:15;:34;22120:72;;;;-1:-1:-1;;;22120:72:0;;8212:2:1;22120:72:0;;;8194:21:1;8251:2;8231:18;;;8224:30;8290:27;8270:18;;;8263:55;8335:18;;22120:72:0;8010:349:1;22120:72:0;22244:10;22205:20;22228:27;;;:15;;;:27;;;;;;22274:22;;;;22266:70;;;;-1:-1:-1;;;22266:70:0;;8566:2:1;22266:70:0;;;8548:21:1;8605:2;8585:18;;;8578:30;8644:34;8624:18;;;8617:62;-1:-1:-1;;;8695:18:1;;;8688:33;8738:19;;22266:70:0;8364:399:1;22266:70:0;22349:44;22367:4;22374:10;22386:6;22349:9;:44::i;:::-;22420:10;22404:27;;;;:15;;;:27;;;;;:37;;22435:6;;22404:27;:37;;22435:6;;22404:37;:::i;:::-;;;;;;;;22476:6;22452:8;:20;;;:30;;;;;;;:::i;:::-;;;;-1:-1:-1;;22500:40:0;;2516:25:1;;;22521:10:0;;22509;;22500:40;;2504:2:1;2489:18;22500:40:0;;;;;;;22049:499;;21988:560;;:::o;21576:404::-;21645:25;21673:21;;;:9;:21;;;;;21732:16;;;;21713:15;:35;;21705:66;;;;-1:-1:-1;;;21705:66:0;;9103:2:1;21705:66:0;;;9085:21:1;9142:2;9122:18;;;9115:30;-1:-1:-1;;;9161:18:1;;;9154:48;9219:18;;21705:66:0;8901:342:1;21705:66:0;21784:44;21794:10;21814:4;21821:6;21784:9;:44::i;:::-;21855:10;21839:27;;;;:15;;;:27;;;;;:37;;21870:6;;21839:27;:37;;21870:6;;21839:37;:::i;:::-;;;;;;;;21911:6;21887:8;:20;;;:30;;;;;;;:::i;:::-;;;;-1:-1:-1;;21935:37:0;;2516:25:1;;;21953:10:0;;21941;;21935:37;;2504:2:1;2489:18;21935:37:0;;;;;;;;21634:346;21576:404;;:::o;8488:104::-;8544:13;8577:7;8570:14;;;;;:::i;12821:436::-;12914:4;4454:10;12914:4;12997:25;4454:10;13014:7;12997:9;:25::i;:::-;12970:52;;13061:15;13041:16;:35;;13033:85;;;;-1:-1:-1;;;13033:85:0;;9450:2:1;13033:85:0;;;9432:21:1;9489:2;9469:18;;;9462:30;9528:34;9508:18;;;9501:62;-1:-1:-1;;;9579:18:1;;;9572:35;9624:19;;13033:85:0;9248:401:1;13033:85:0;13154:60;13163:5;13170:7;13198:15;13179:16;:34;13154:8;:60::i;9902:193::-;9981:4;4454:10;10037:28;4454:10;10054:2;10058:6;10037:9;:28::i;10158:151::-;-1:-1:-1;;;;;10274:18:0;;;10247:7;10274:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;10158:151::o;20746:147::-;20831:5;;-1:-1:-1;;;;;20831:5:0;20817:10;:19;20809:49;;;;-1:-1:-1;;;20809:49:0;;7865:2:1;20809:49:0;;;7847:21:1;7904:2;7884:18;;;7877:30;-1:-1:-1;;;7923:18:1;;;7916:48;7981:18;;20809:49:0;7663:342:1;20809:49:0;20869:5;:16;;-1:-1:-1;;;;;;20869:16:0;-1:-1:-1;;;;;20869:16:0;;;;;;;;;;20746:147::o;18470:91::-;;;;:::o;16814:346::-;-1:-1:-1;;;;;16916:19:0;;16908:68;;;;-1:-1:-1;;;16908:68:0;;9856:2:1;16908:68:0;;;9838:21:1;9895:2;9875:18;;;9868:30;9934:34;9914:18;;;9907:62;-1:-1:-1;;;9985:18:1;;;9978:34;10029:19;;16908:68:0;9654:400:1;16908:68:0;-1:-1:-1;;;;;16995:21:0;;16987:68;;;;-1:-1:-1;;;16987:68:0;;10261:2:1;16987:68:0;;;10243:21:1;10300:2;10280:18;;;10273:30;10339:34;10319:18;;;10312:62;-1:-1:-1;;;10390:18:1;;;10383:32;10432:19;;16987:68:0;10059:398:1;16987:68:0;-1:-1:-1;;;;;17068:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;17120:32;;2516:25:1;;;17120:32:0;;2489:18:1;17120:32:0;2370:177:1;17451:419:0;17552:24;17579:25;17589:5;17596:7;17579:9;:25::i;:::-;17552:52;;-1:-1:-1;;17619:16:0;:37;17615:248;;17701:6;17681:16;:26;;17673:68;;;;-1:-1:-1;;;17673:68:0;;10664:2:1;17673:68:0;;;10646:21:1;10703:2;10683:18;;;10676:30;10742:31;10722:18;;;10715:59;10791:18;;17673:68:0;10462:353:1;17673:68:0;17785:51;17794:5;17801:7;17829:6;17810:16;:25;17785:8;:51::i;:::-;17541:329;17451:419;;;:::o;13727:806::-;-1:-1:-1;;;;;13824:18:0;;13816:68;;;;-1:-1:-1;;;13816:68:0;;11022:2:1;13816:68:0;;;11004:21:1;11061:2;11041:18;;;11034:30;11100:34;11080:18;;;11073:62;-1:-1:-1;;;11151:18:1;;;11144:35;11196:19;;13816:68:0;10820:401:1;13816:68:0;-1:-1:-1;;;;;13903:16:0;;13895:64;;;;-1:-1:-1;;;13895:64:0;;11428:2:1;13895:64:0;;;11410:21:1;11467:2;11447:18;;;11440:30;11506:34;11486:18;;;11479:62;-1:-1:-1;;;11557:18:1;;;11550:33;11600:19;;13895:64:0;11226:399:1;13895:64:0;13972:38;13993:4;13999:2;14003:6;13972:20;:38::i;:::-;-1:-1:-1;;;;;14045:15:0;;14023:19;14045:15;;;;;;;;;;;14079:21;;;;14071:72;;;;-1:-1:-1;;;14071:72:0;;11832:2:1;14071:72:0;;;11814:21:1;11871:2;11851:18;;;11844:30;11910:34;11890:18;;;11883:62;-1:-1:-1;;;11961:18:1;;;11954:36;12007:19;;14071:72:0;11630:402:1;14071:72:0;-1:-1:-1;;;;;14179:15:0;;;:9;:15;;;;;;;;;;;14197:20;;;14179:38;;14397:13;;;;;;;;;;:23;;;;;;14449:26;;2516:25:1;;;14397:13:0;;14449:26;;2489:18:1;14449:26:0;;;;;;;14488:37;18470:91;24169:317;-1:-1:-1;;;;;24270:18:0;;;24266:93;;-1:-1:-1;;;;;24310:12:0;;;;;;:6;:12;;;;;;;;24309:13;24301:50;;;;-1:-1:-1;;;24301:50:0;;12239:2:1;24301:50:0;;;12221:21:1;12278:2;12258:18;;;12251:30;12317:26;12297:18;;;12290:54;12361:18;;24301:50:0;12037:348:1;24301:50:0;24383:17;;24373:6;:27;;24365:66;;;;-1:-1:-1;;;24365:66:0;;12592:2:1;24365:66:0;;;12574:21:1;12631:2;12611:18;;;12604:30;12670:27;12650:18;;;12643:55;12715:18;;24365:66:0;12390:349:1;14:180;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;-1:-1:-1;165:23:1;;14:180;-1:-1:-1;14:180:1:o;199:127::-;260:10;255:3;251:20;248:1;241:31;291:4;288:1;281:15;315:4;312:1;305:15;331:240;415:1;408:5;405:12;395:143;;460:10;455:3;451:20;448:1;441:31;495:4;492:1;485:15;523:4;520:1;513:15;395:143;547:18;;331:240::o;576:607::-;858:3;843:19;;871:47;847:9;900:6;871:47;:::i;:::-;-1:-1:-1;;;;;954:32:1;;;;949:2;934:18;;927:60;1018:2;1003:18;;996:34;;;;1061:2;1046:18;;1039:34;;;;1104:3;1089:19;;1082:35;1161:14;1154:22;974:3;1133:19;;;1126:51;954:32;576:607;-1:-1:-1;576:607:1:o;1188:548::-;1300:4;1329:2;1358;1347:9;1340:21;1390:6;1384:13;1433:6;1428:2;1417:9;1413:18;1406:34;1458:1;1468:140;1482:6;1479:1;1476:13;1468:140;;;1577:14;;;1573:23;;1567:30;1543:17;;;1562:2;1539:26;1532:66;1497:10;;1468:140;;;1472:3;1657:1;1652:2;1643:6;1632:9;1628:22;1624:31;1617:42;1727:2;1720;1716:7;1711:2;1703:6;1699:15;1695:29;1684:9;1680:45;1676:54;1668:62;;;;1188:548;;;;:::o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2552:483::-;2654:6;2662;2670;2678;2731:3;2719:9;2710:7;2706:23;2702:33;2699:53;;;2748:1;2745;2738:12;2699:53;2787:9;2774:23;2826:1;2819:5;2816:12;2806:40;;2842:1;2839;2832:12;2806:40;2865:5;-1:-1:-1;2889:38:1;2923:2;2908:18;;2889:38;:::i;:::-;2552:483;;2879:48;;-1:-1:-1;;;;2974:2:1;2959:18;;2946:32;;3025:2;3010:18;2997:32;;2552:483::o;3040:328::-;3117:6;3125;3133;3186:2;3174:9;3165:7;3161:23;3157:32;3154:52;;;3202:1;3199;3192:12;3154:52;3225:29;3244:9;3225:29;:::i;:::-;3215:39;;3273:38;3307:2;3296:9;3292:18;3273:38;:::i;:::-;3263:48;;3358:2;3347:9;3343:18;3330:32;3320:42;;3040:328;;;;;:::o;3562:248::-;3630:6;3638;3691:2;3679:9;3670:7;3666:23;3662:32;3659:52;;;3707:1;3704;3697:12;3659:52;-1:-1:-1;;3730:23:1;;;3800:2;3785:18;;;3772:32;;-1:-1:-1;3562:248:1:o;3815:186::-;3874:6;3927:2;3915:9;3906:7;3902:23;3898:32;3895:52;;;3943:1;3940;3933:12;3895:52;3966:29;3985:9;3966:29;:::i;:::-;3956:39;3815:186;-1:-1:-1;;;3815:186:1:o;4214:260::-;4282:6;4290;4343:2;4331:9;4322:7;4318:23;4314:32;4311:52;;;4359:1;4356;4349:12;4311:52;4382:29;4401:9;4382:29;:::i;:::-;4372:39;;4430:38;4464:2;4453:9;4449:18;4430:38;:::i;:::-;4420:48;;4214:260;;;;;:::o;4479:380::-;4558:1;4554:12;;;;4601;;;4622:61;;4676:4;4668:6;4664:17;4654:27;;4622:61;4729:2;4721:6;4718:14;4698:18;4695:38;4692:161;;4775:10;4770:3;4766:20;4763:1;4756:31;4810:4;4807:1;4800:15;4838:4;4835:1;4828:15;4692:161;;4479:380;;;:::o;5569:127::-;5630:10;5625:3;5621:20;5618:1;5611:31;5661:4;5658:1;5651:15;5685:4;5682:1;5675:15;5701:168;5774:9;;;5805;;5822:15;;;5816:22;;5802:37;5792:71;;5843:18;;:::i;6935:125::-;7000:9;;;7021:10;;;7018:36;;;7034:18;;:::i;7065:453::-;7297:3;7282:19;;7310:47;7286:9;7339:6;7310:47;:::i;:::-;-1:-1:-1;;;;;7393:32:1;;;;7388:2;7373:18;;7366:60;7457:2;7442:18;;7435:34;;;;7500:2;7485:18;;;7478:34;7065:453;;-1:-1:-1;7065:453:1:o;7523:135::-;7562:3;7583:17;;;7580:43;;7603:18;;:::i;:::-;-1:-1:-1;7650:1:1;7639:13;;7523:135::o;8768:128::-;8835:9;;;8856:11;;;8853:37;;;8870:18;;:::i

Swarm Source

ipfs://c3bb6a893d4c13c60d71ecd32cb58b77737567e842d9b9af2b72b007fb4ded79

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

Validator Index Block Amount
View All Withdrawals

Txn 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.