ETH Price: $1,976.61 (+0.73%)
 

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Contribute97624632020-03-28 21:35:532156 days ago1585431353IN
BountiesNetwork V2
0 ETH0.001786959
Contribute97364872020-03-24 21:25:402160 days ago1585085140IN
BountiesNetwork V2
0 ETH0.000198551
Drain Bounty94477222020-02-09 9:17:402204 days ago1581239860IN
BountiesNetwork V2
0 ETH0.000072092
Drain Bounty93426672020-01-24 5:42:432221 days ago1579844563IN
BountiesNetwork V2
0 ETH0.000036051
Fulfill Bounty93425112020-01-24 5:13:322221 days ago1579842812IN
BountiesNetwork V2
0 ETH0.000101711
Fulfill Bounty93203572020-01-20 19:56:322224 days ago1579550192IN
BountiesNetwork V2
0 ETH0.000101711
Drain Bounty92546042020-01-10 18:13:292234 days ago1578680009IN
BountiesNetwork V2
0 ETH0.000036041
Drain Bounty91012092019-12-13 17:41:022262 days ago1576258862IN
BountiesNetwork V2
0 ETH0.000034981
Drain Bounty91007372019-12-13 15:34:132262 days ago1576251253IN
BountiesNetwork V2
0 ETH0.000288568
Accept Fulfillme...90915342019-12-12 0:29:092264 days ago1576110549IN
BountiesNetwork V2
0 ETH0.0006343911
Accept Fulfillme...90915262019-12-12 0:27:182264 days ago1576110438IN
BountiesNetwork V2
0 ETH0.0005767210
Accept Fulfillme...90915192019-12-12 0:25:412264 days ago1576110341IN
BountiesNetwork V2
0 ETH0.0005767210
Fulfill Bounty90907892019-12-11 21:16:582264 days ago1576099018IN
BountiesNetwork V2
0 ETH0.000366173.6
Accept Fulfillme...90786312019-12-09 17:35:232266 days ago1575912923IN
BountiesNetwork V2
0 ETH0.000057671
Accept Fulfillme...90786262019-12-09 17:34:492266 days ago1575912889IN
BountiesNetwork V2
0 ETH0.000115342
Contribute90116002019-11-27 19:56:582278 days ago1574884618IN
BountiesNetwork V2
0.018 ETH0.00040954.32
Fulfill Bounty90108952019-11-27 17:03:182278 days ago1574874198IN
BountiesNetwork V2
0 ETH0.00022542.2
Fulfill Bounty90058722019-11-26 19:35:222279 days ago1574796922IN
BountiesNetwork V2
0 ETH0.000512275
Fulfill Bounty90046282019-11-26 14:20:132279 days ago1574778013IN
BountiesNetwork V2
0 ETH0.00101439.9
Accept Fulfillme...89962172019-11-25 3:22:522281 days ago1574652172IN
BountiesNetwork V2
0 ETH0.0007043410
Contribute89962062019-11-25 3:19:242281 days ago1574651964IN
BountiesNetwork V2
0 ETH0.000897028.8
Drain Bounty89748892019-11-21 14:28:592284 days ago1574346539IN
BountiesNetwork V2
0 ETH0.0003957510
Contribute89748372019-11-21 14:14:042284 days ago1574345644IN
BountiesNetwork V2
0.15 ETH0.0009479310
Drain Bounty89699862019-11-20 18:56:352285 days ago1574276195IN
BountiesNetwork V2
0 ETH0.000068462
Accept Fulfillme...89688912019-11-20 14:36:212285 days ago1574260581IN
BountiesNetwork V2
0 ETH0.000110862
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
-94477222020-02-09 9:17:402204 days ago1581239860
BountiesNetwork V2
2.34 ETH
-93426672020-01-24 5:42:432221 days ago1579844563
BountiesNetwork V2
0.07201 ETH
-92546042020-01-10 18:13:292234 days ago1578680009
BountiesNetwork V2
0.5 ETH
-91007372019-12-13 15:34:132262 days ago1576251253
BountiesNetwork V2
0.125 ETH
-90915342019-12-12 0:29:092264 days ago1576110549
BountiesNetwork V2
0.018 ETH
-90915262019-12-12 0:27:182264 days ago1576110438
BountiesNetwork V2
0.018 ETH
-90915192019-12-12 0:25:412264 days ago1576110341
BountiesNetwork V2
0.018 ETH
-90786312019-12-09 17:35:232266 days ago1575912923
BountiesNetwork V2
0.018 ETH
-90786262019-12-09 17:34:492266 days ago1575912889
BountiesNetwork V2
0.018 ETH
-89748892019-11-21 14:28:592284 days ago1574346539
BountiesNetwork V2
0.301 ETH
-89278712019-11-13 18:11:562292 days ago1573668716
BountiesNetwork V2
10 ETH
-88842442019-11-06 14:01:122299 days ago1573048872
BountiesNetwork V2
0.083 ETH
-87920712019-10-22 19:16:152314 days ago1571771775
BountiesNetwork V2
0.018 ETH
-87920582019-10-22 19:13:072314 days ago1571771587
BountiesNetwork V2
0.018 ETH
-87525422019-10-16 13:46:392320 days ago1571233599
BountiesNetwork V2
0.018 ETH
-87525312019-10-16 13:43:152320 days ago1571233395
BountiesNetwork V2
0.018 ETH
-87524842019-10-16 13:34:182320 days ago1571232858
BountiesNetwork V2
0.018 ETH
-87524682019-10-16 13:30:012320 days ago1571232601
BountiesNetwork V2
0.018 ETH
-87524582019-10-16 13:28:382320 days ago1571232518
BountiesNetwork V2
0.018 ETH
-87443202019-10-15 6:37:542322 days ago1571121474
BountiesNetwork V2
0.18 ETH
-87443122019-10-15 6:35:472322 days ago1571121347
BountiesNetwork V2
0.18 ETH
-87443122019-10-15 6:35:472322 days ago1571121347
BountiesNetwork V2
0.18 ETH
-87443062019-10-15 6:34:522322 days ago1571121292
BountiesNetwork V2
0.18 ETH
-86811852019-10-05 9:16:062331 days ago1570266966
BountiesNetwork V2
0.1 ETH
-86811602019-10-05 9:09:452331 days ago1570266585
BountiesNetwork V2
0.1 ETH
View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
StandardBounties

Compiler Version
v0.5.7+commit.6da8b019

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2019-04-24
*/

pragma solidity 0.5.7;
pragma experimental ABIEncoderV2;


contract Token {
    /* This is a slight change to the ERC20 base standard.
    function totalSupply() pure returns (uint256 supply);
    is replaced with:
    uint256 public totalSupply;
    This automatically creates a getter function for the totalSupply.
    This is moved to the base contract since public getter functions are not
    currently recognised as an implementation of the matching abstract
    function by the compiler.
    */
    /// total amount of tokens
    uint256 public totalSupply;

    /// @param _owner The address from which the balance will be retrieved
    /// @return The balance
    function balanceOf(address _owner) view public returns (uint256 balance);

    /// @notice send `_value` token to `_to` from `msg.sender`
    /// @param _to The address of the recipient
    /// @param _value The amount of token to be transferred
    /// @return Whether the transfer was successful or not
    function transfer(address _to, uint256 _value) public returns (bool success);

    /// @notice send `_value` token to `_to` from `_from` on the condition it is approved by `_from`
    /// @param _from The address of the sender
    /// @param _to The address of the recipient
    /// @param _value The amount of token to be transferred
    /// @return Whether the transfer was successful or not
    function transferFrom(address _from, address _to, uint256 _value) public returns (bool success);

    /// @notice `msg.sender` approves `_spender` to spend `_value` tokens
    /// @param _spender The address of the account able to transfer the tokens
    /// @param _value The amount of tokens to be approved for transfer
    /// @return Whether the approval was successful or not
    function approve(address _spender, uint256 _value) public returns (bool success);

    /// @param _owner The address of the account owning tokens
    /// @param _spender The address of the account able to transfer the tokens
    /// @return Amount of remaining tokens allowed to spent
    function allowance(address _owner, address _spender) public view returns (uint256 remaining);

    event Transfer(address _from, address _to, uint256 _value);
    event Approval(address _owner, address _spender, uint256 _value);
}


contract ERC20Token is Token {

    function transfer(address _to, uint256 _value) public returns (bool success) {
        //Default assumes totalSupply can't be over max (2^256 - 1).
        //If your token leaves out totalSupply and can issue more tokens as time goes on, you need to check if it doesn't wrap.
        //Replace the if with this one instead.
        //if (balances[msg.sender] >= _value && balances[_to] + _value > balances[_to]) {
        if (balances[msg.sender] >= _value && _value > 0) {
            balances[msg.sender] -= _value;
            balances[_to] += _value;
            emit Transfer(msg.sender, _to, _value);
            return true;
        } else { return false; }
    }

    function transferFrom(address _from, address _to, uint256 _value) public returns (bool success) {
        //same as above. Replace this line with the following if you want to protect against wrapping uints.
        //if (balances[_from] >= _value && allowed[_from][msg.sender] >= _value && balances[_to] + _value > balances[_to]) {
        if (balances[_from] >= _value && allowed[_from][msg.sender] >= _value && _value > 0) {
            balances[_to] += _value;
            balances[_from] -= _value;
            allowed[_from][msg.sender] -= _value;
            emit Transfer(_from, _to, _value);
            return true;
        } else { return false; }
    }

    function balanceOf(address _owner) view public returns (uint256 balance) {
        return balances[_owner];
    }

    function approve(address _spender, uint256 _value) public returns (bool success) {
        allowed[msg.sender][_spender] = _value;
        emit Approval(msg.sender, _spender, _value);
        return true;
    }

    function allowance(address _owner, address _spender) view public returns (uint256 remaining) {
      return allowed[_owner][_spender];
    }

    mapping (address => uint256) balances;
    mapping (address => mapping (address => uint256)) allowed;
}



contract HumanStandardToken is ERC20Token {

    /* Public variables of the token */

    /*
    NOTE:
    The following variables are OPTIONAL vanities. One does not have to include them.
    They allow one to customise the token contract & in no way influences the core functionality.
    Some wallets/interfaces might not even bother to look at this information.
    */
    string public name;                   //fancy name: eg Simon Bucks
    uint8 public decimals;                //How many decimals to show. ie. There could 1000 base units with 3 decimals. Meaning 0.980 SBX = 980 base units. It's like comparing 1 wei to 1 ether.
    string public symbol;                 //An identifier: eg SBX
    string public version = 'H0.1';       //human 0.1 standard. Just an arbitrary versioning scheme.

    constructor(
        uint256 _initialAmount,
        string memory _tokenName,
        uint8 _decimalUnits,
        string memory _tokenSymbol
        ) public {
        balances[msg.sender] = _initialAmount;               // Give the creator all initial tokens
        totalSupply = _initialAmount;                        // Update total supply
        name = _tokenName;                                   // Set the name for display purposes
        decimals = _decimalUnits;                            // Amount of decimals for display purposes
        symbol = _tokenSymbol;                               // Set the symbol for display purposes
    }
    function transfer(address _to, uint256 _value) public returns (bool success) {
        //Default assumes totalSupply can't be over max (2^256 - 1).
        //If your token leaves out totalSupply and can issue more tokens as time goes on, you need to check if it doesn't wrap.
        //Replace the if with this one instead.
        //if (balances[msg.sender] >= _value && balances[_to] + _value > balances[_to]) {
        if (balances[msg.sender] >= _value && _value > 0) {
            balances[msg.sender] -= _value;
            balances[_to] += _value;
            emit Transfer(msg.sender, _to, _value);
            return true;
        } else { return false; }
    }

    function transferFrom(address _from, address _to, uint256 _value) public returns (bool success) {
        //same as above. Replace this line with the following if you want to protect against wrapping uints.
        //if (balances[_from] >= _value && allowed[_from][msg.sender] >= _value && balances[_to] + _value > balances[_to]) {
        if (balances[_from] >= _value && allowed[_from][msg.sender] >= _value && _value > 0) {
            balances[_to] += _value;
            balances[_from] -= _value;
            allowed[_from][msg.sender] -= _value;
            emit Transfer(_from, _to, _value);
            return true;
        } else { return false; }
    }

    function balanceOf(address _owner) view public returns (uint256 balance) {
        return balances[_owner];
    }

    function approve(address _spender, uint256 _value) public returns (bool success) {
        allowed[msg.sender][_spender] = _value;
        emit Approval(msg.sender, _spender, _value);
        return true;
    }

    function allowance(address _owner, address _spender) view public returns (uint256 remaining) {
      return allowed[_owner][_spender];
    }
}

/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */
library SafeMath {

  /**
  * @dev Multiplies two numbers, throws on overflow.
  */
  function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
    // Gas optimization: this is cheaper than asserting '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;
    }

    c = a * b;
    assert(c / a == b);
    return c;
  }

  /**
  * @dev Integer division of two numbers, truncating the quotient.
  */
  function div(uint256 a, uint256 b) internal pure returns (uint256) {
    // assert(b > 0); // Solidity automatically throws when dividing by 0
    // uint256 c = a / b;
    // assert(a == b * c + a % b); // There is no case in which this doesn't hold
    return a / b;
  }

  /**
  * @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).
  */
  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    assert(b <= a);
    return a - b;
  }

  /**
  * @dev Adds two numbers, throws on overflow.
  */
  function add(uint256 a, uint256 b) internal pure returns (uint256 c) {
    c = a + b;
    assert(c >= a);
    return c;
  }
}

/**
 * Utility library of inline functions on addresses
 */
library AddressUtils {

  /**
   * Returns whether the target address is a contract
   * @dev This function will return false if invoked during the constructor of a contract,
   * as the code is not actually created until after the constructor finishes.
   * @param addr address to check
   * @return whether the target address is a contract
   */
  function isContract(address addr) internal view returns (bool) {
    uint256 size;
    // XXX Currently there is no better way to check if there is a contract in an address
    // than to check the size of the code at that address.
    // See https://ethereum.stackexchange.com/a/14016/36603
    // for more details about how this works.
    // TODO Check this again before the Serenity release, because all addresses will be
    // contracts then.
    // solium-disable-next-line security/no-inline-assembly
    assembly { size := extcodesize(addr) }
    return size > 0;
  }

}

/**
 * @title ERC165
 * @dev https://github.com/ethereum/EIPs/blob/master/EIPS/eip-165.md
 */
interface ERC165 {

  /**
   * @notice Query if a contract implements an interface
   * @param _interfaceId The interface identifier, as specified in ERC-165
   * @dev Interface identification is specified in ERC-165. This function
   * uses less than 30,000 gas.
   */
  function supportsInterface(bytes4 _interfaceId)
    external
    view
    returns (bool);
}


/**
 * @title SupportsInterfaceWithLookup
 * @author Matt Condon (@shrugs)
 * @dev Implements ERC165 using a lookup table.
 */
contract SupportsInterfaceWithLookup is ERC165 {
  bytes4 public constant InterfaceId_ERC165 = 0x01ffc9a7;
  /**
   * 0x01ffc9a7 ===
   *   bytes4(keccak256('supportsInterface(bytes4)'))
   */

  /**
   * @dev a mapping of interface id to whether or not it's supported
   */
  mapping(bytes4 => bool) internal supportedInterfaces;

  /**
   * @dev A contract implementing SupportsInterfaceWithLookup
   * implement ERC165 itself
   */
  constructor()
    public
  {
    _registerInterface(InterfaceId_ERC165);
  }

  /**
   * @dev implement supportsInterface(bytes4) using a lookup table
   */
  function supportsInterface(bytes4 _interfaceId)
    external
    view
    returns (bool)
  {
    return supportedInterfaces[_interfaceId];
  }

  /**
   * @dev private method for registering an interface
   */
  function _registerInterface(bytes4 _interfaceId)
    internal
  {
    require(_interfaceId != 0xffffffff);
    supportedInterfaces[_interfaceId] = true;
  }
}

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
contract ERC721Receiver {
  /**
   * @dev Magic value to be returned upon successful reception of an NFT
   *  Equals to `bytes4(keccak256("onERC721Received(address,uint256,bytes)"))`,
   *  which can be also obtained as `ERC721Receiver(0).onERC721Received.selector`
   */
  bytes4 internal constant ERC721_RECEIVED = 0xf0b9e5ba;

  /**
   * @notice Handle the receipt of an NFT
   * @dev The ERC721 smart contract calls this function on the recipient
   * after a `safetransfer`. This function MAY throw to revert and reject the
   * transfer. This function MUST use 50,000 gas or less. Return of other
   * than the magic value MUST result in the transaction being reverted.
   * Note: the contract address is always the message sender.
   * @param _from The sending address
   * @param _tokenId The NFT identifier which is being transfered
   * @param _data Additional data with no specified format
   * @return `bytes4(keccak256("onERC721Received(address,uint256,bytes)"))`
   */
  function onERC721Received(
    address _from,
    uint256 _tokenId,
    bytes memory _data
  )
    public
    returns(bytes4);
}

/**
 * @title ERC721 Non-Fungible Token Standard basic interface
 * @dev see https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
 */
contract ERC721Basic is ERC165 {
  event Transfer(
    address  _from,
    address  _to,
    uint256  _tokenId
  );
  event Approval(
    address  _owner,
    address  _approved,
    uint256  _tokenId
  );
  event ApprovalForAll(
    address  _owner,
    address  _operator,
    bool _approved
  );

  function balanceOf(address _owner) public view returns (uint256 _balance);
  function ownerOf(uint256 _tokenId) public view returns (address _owner);
  function exists(uint256 _tokenId) public view returns (bool _exists);

  function approve(address _to, uint256 _tokenId) public;
  function getApproved(uint256 _tokenId)
    public view returns (address _operator);

  function setApprovalForAll(address _operator, bool _approved) public;
  function isApprovedForAll(address _owner, address _operator)
    public view returns (bool);

  function transferFrom(address _from, address _to, uint256 _tokenId) public;
  function safeTransferFrom(address _from, address _to, uint256 _tokenId)
    public;

  function safeTransferFrom(
    address _from,
    address _to,
    uint256 _tokenId,
    bytes memory _data
  )
    public;
}

/**
 * @title ERC721 Non-Fungible Token Standard basic implementation
 * @dev see https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
 */
contract ERC721BasicToken is SupportsInterfaceWithLookup, ERC721Basic {

  bytes4 private constant InterfaceId_ERC721 = 0x80ac58cd;
  /*
   * 0x80ac58cd ===
   *   bytes4(keccak256('balanceOf(address)')) ^
   *   bytes4(keccak256('ownerOf(uint256)')) ^
   *   bytes4(keccak256('approve(address,uint256)')) ^
   *   bytes4(keccak256('getApproved(uint256)')) ^
   *   bytes4(keccak256('setApprovalForAll(address,bool)')) ^
   *   bytes4(keccak256('isApprovedForAll(address,address)')) ^
   *   bytes4(keccak256('transferFrom(address,address,uint256)')) ^
   *   bytes4(keccak256('safeTransferFrom(address,address,uint256)')) ^
   *   bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)'))
   */

  bytes4 private constant InterfaceId_ERC721Exists = 0x4f558e79;
  /*
   * 0x4f558e79 ===
   *   bytes4(keccak256('exists(uint256)'))
   */

  using SafeMath for uint256;
  using AddressUtils for address;

  // Equals to `bytes4(keccak256("onERC721Received(address,uint256,bytes)"))`
  // which can be also obtained as `ERC721Receiver(0).onERC721Received.selector`
  bytes4 private constant ERC721_RECEIVED = 0xf0b9e5ba;

  // Mapping from token ID to owner
  mapping (uint256 => address) internal tokenOwner;

  // Mapping from token ID to approved address
  mapping (uint256 => address) internal tokenApprovals;

  // Mapping from owner to number of owned token
  mapping (address => uint256) internal ownedTokensCount;

  // Mapping from owner to operator approvals
  mapping (address => mapping (address => bool)) internal operatorApprovals;


  uint public testint;
  /**
   * @dev Guarantees msg.sender is owner of the given token
   * @param _tokenId uint256 ID of the token to validate its ownership belongs to msg.sender
   */
  modifier onlyOwnerOf(uint256 _tokenId) {
    require(ownerOf(_tokenId) == msg.sender);
    _;
  }

  /**
   * @dev Checks msg.sender can transfer a token, by being owner, approved, or operator
   * @param _tokenId uint256 ID of the token to validate
   */
  modifier canTransfer(uint256 _tokenId) {
    require(isApprovedOrOwner(msg.sender, _tokenId));
    _;
  }

  constructor()
    public
  {
    // register the supported interfaces to conform to ERC721 via ERC165
    _registerInterface(InterfaceId_ERC721);
    _registerInterface(InterfaceId_ERC721Exists);
  }

  /**
   * @dev Gets the balance of the specified address
   * @param _owner address to query the balance of
   * @return uint256 representing the amount owned by the passed address
   */
  function balanceOf(address _owner) public view returns (uint256) {
    require(_owner != address(0));
    return ownedTokensCount[_owner];
  }

  /**
   * @dev Gets the owner of the specified token ID
   * @param _tokenId uint256 ID of the token to query the owner of
   * @return owner address currently marked as the owner of the given token ID
   */
  function ownerOf(uint256 _tokenId) public view returns (address) {
    address owner = tokenOwner[_tokenId];
    require(owner != address(0));
    return owner;
  }

  /**
   * @dev Returns whether the specified token exists
   * @param _tokenId uint256 ID of the token to query the existence of
   * @return whether the token exists
   */
  function exists(uint256 _tokenId) public view returns (bool) {
    address owner = tokenOwner[_tokenId];
    return owner != address(0);
  }

  /**
   * @dev Approves another address to transfer the given token ID
   * The zero address indicates there is no approved address.
   * There can only be one approved address per token at a given time.
   * Can only be called by the token owner or an approved operator.
   * @param _to address to be approved for the given token ID
   * @param _tokenId uint256 ID of the token to be approved
   */
  function approve(address _to, uint256 _tokenId) public {
    address owner = ownerOf(_tokenId);
    require(_to != owner);
    require(msg.sender == owner || isApprovedForAll(owner, msg.sender));

    tokenApprovals[_tokenId] = _to;
    emit Approval(owner, _to, _tokenId);
  }

  /**
   * @dev Gets the approved address for a token ID, or zero if no address set
   * @param _tokenId uint256 ID of the token to query the approval of
   * @return address currently approved for the given token ID
   */
  function getApproved(uint256 _tokenId) public view returns (address) {
    return tokenApprovals[_tokenId];
  }

  /**
   * @dev Sets or unsets the approval of a given operator
   * An operator is allowed to transfer all tokens of the sender on their behalf
   * @param _to operator address to set the approval
   * @param _approved representing the status of the approval to be set
   */
  function setApprovalForAll(address _to, bool _approved) public {
    require(_to != msg.sender);
    operatorApprovals[msg.sender][_to] = _approved;
    emit ApprovalForAll(msg.sender, _to, _approved);
  }

  /**
   * @dev Tells whether an operator is approved by a given owner
   * @param _owner owner address which you want to query the approval of
   * @param _operator operator address which you want to query the approval of
   * @return bool whether the given operator is approved by the given owner
   */
  function isApprovedForAll(
    address _owner,
    address _operator
  )
    public
    view
    returns (bool)
  {
    return operatorApprovals[_owner][_operator];
  }

  /**
   * @dev Transfers the ownership of a given token ID to another address
   * Usage of this method is discouraged, use `safeTransferFrom` whenever possible
   * Requires the msg sender to be the owner, approved, or operator
   * @param _from current owner of the token
   * @param _to address to receive the ownership of the given token ID
   * @param _tokenId uint256 ID of the token to be transferred
  */
  function transferFrom(
    address _from,
    address _to,
    uint256 _tokenId
  )
    public
    canTransfer(_tokenId)
  {
    require(_from != address(0));
    require(_to != address(0));

    clearApproval(_from, _tokenId);
    removeTokenFrom(_from, _tokenId);
    addTokenTo(_to, _tokenId);

    emit Transfer(_from, _to, _tokenId);
  }

  /**
   * @dev Safely transfers the ownership of a given token ID to another address
   * If the target address is a contract, it must implement `onERC721Received`,
   * which is called upon a safe transfer, and return the magic value
   * `bytes4(keccak256("onERC721Received(address,uint256,bytes)"))`; otherwise,
   * the transfer is reverted.
   *
   * Requires the msg sender to be the owner, approved, or operator
   * @param _from current owner of the token
   * @param _to address to receive the ownership of the given token ID
   * @param _tokenId uint256 ID of the token to be transferred
  */
  function safeTransferFrom(
    address _from,
    address _to,
    uint256 _tokenId
  )
    public
    canTransfer(_tokenId)
  {
    // solium-disable-next-line arg-overflow
    safeTransferFrom(_from, _to, _tokenId, "");
  }

  /**
   * @dev Safely transfers the ownership of a given token ID to another address
   * If the target address is a contract, it must implement `onERC721Received`,
   * which is called upon a safe transfer, and return the magic value
   * `bytes4(keccak256("onERC721Received(address,uint256,bytes)"))`; otherwise,
   * the transfer is reverted.
   * Requires the msg sender to be the owner, approved, or operator
   * @param _from current owner of the token
   * @param _to address to receive the ownership of the given token ID
   * @param _tokenId uint256 ID of the token to be transferred
   * @param _data bytes data to send along with a safe transfer check
   */
  function safeTransferFrom(
    address _from,
    address _to,
    uint256 _tokenId,
    bytes memory _data
  )
    public
    canTransfer(_tokenId)
  {
    transferFrom(_from, _to, _tokenId);
    // solium-disable-next-line arg-overflow
    require(checkAndCallSafeTransfer(_from, _to, _tokenId, _data));
  }

  /**
   * @dev Returns whether the given spender can transfer a given token ID
   * @param _spender address of the spender to query
   * @param _tokenId uint256 ID of the token to be transferred
   * @return bool whether the msg.sender is approved for the given token ID,
   *  is an operator of the owner, or is the owner of the token
   */
  function isApprovedOrOwner(
    address _spender,
    uint256 _tokenId
  )
    internal
    view
    returns (bool)
  {
    address owner = ownerOf(_tokenId);
    // Disable solium check because of
    // https://github.com/duaraghav8/Solium/issues/175
    // solium-disable-next-line operator-whitespace
    return (
      _spender == owner ||
      getApproved(_tokenId) == _spender ||
      isApprovedForAll(owner, _spender)
    );
  }

  /**
   * @dev Internal function to mint a new token
   * Reverts if the given token ID already exists
   * @param _to The address that will own the minted token
   * @param _tokenId uint256 ID of the token to be minted by the msg.sender
   */
  function _mint(address _to, uint256 _tokenId) internal {
    require(_to != address(0));
    addTokenTo(_to, _tokenId);
    emit Transfer(address(0), _to, _tokenId);
  }

  /**
   * @dev Internal function to burn a specific token
   * Reverts if the token does not exist
   * @param _tokenId uint256 ID of the token being burned by the msg.sender
   */
  function _burn(address _owner, uint256 _tokenId) internal {
    clearApproval(_owner, _tokenId);
    removeTokenFrom(_owner, _tokenId);
    emit Transfer(_owner, address(0), _tokenId);
  }

  /**
   * @dev Internal function to clear current approval of a given token ID
   * Reverts if the given address is not indeed the owner of the token
   * @param _owner owner of the token
   * @param _tokenId uint256 ID of the token to be transferred
   */
  function clearApproval(address _owner, uint256 _tokenId) internal {
    require(ownerOf(_tokenId) == _owner);
    if (tokenApprovals[_tokenId] != address(0)) {
      tokenApprovals[_tokenId] = address(0);
    }
  }

  /**
   * @dev Internal function to add a token ID to the list of a given address
   * @param _to address representing the new owner of the given token ID
   * @param _tokenId uint256 ID of the token to be added to the tokens list of the given address
   */
  function addTokenTo(address _to, uint256 _tokenId) internal {
    require(tokenOwner[_tokenId] == address(0));
    tokenOwner[_tokenId] = _to;
    ownedTokensCount[_to] = ownedTokensCount[_to].add(1);
  }

  /**
   * @dev Internal function to remove a token ID from the list of a given address
   * @param _from address representing the previous owner of the given token ID
   * @param _tokenId uint256 ID of the token to be removed from the tokens list of the given address
   */
  function removeTokenFrom(address _from, uint256 _tokenId) internal {
    require(ownerOf(_tokenId) == _from);
    ownedTokensCount[_from] = ownedTokensCount[_from].sub(1);
    tokenOwner[_tokenId] = address(0);
  }

  /**
   * @dev Internal function to invoke `onERC721Received` on a target address
   * The call is not executed if the target address is not a contract
   * @param _from address representing the previous owner of the given token ID
   * @param _to target address that will receive the tokens
   * @param _tokenId uint256 ID of the token to be transferred
   * @param _data bytes optional data to send along with the call
   * @return whether the call correctly returned the expected magic value
   */
  function checkAndCallSafeTransfer(
    address _from,
    address _to,
    uint256 _tokenId,
    bytes memory _data
  )
    internal
    returns (bool)
  {
    if (!_to.isContract()) {
      return true;
    }
    bytes4 retval = ERC721Receiver(_to).onERC721Received(
      _from, _tokenId, _data);
    return (retval == ERC721_RECEIVED);
  }
}

contract ERC721BasicTokenMock is ERC721BasicToken {
  function mint(address _to, uint256 _tokenId) public {
    super._mint(_to, _tokenId);
  }

  function burn(uint256 _tokenId) public {
    super._burn(ownerOf(_tokenId), _tokenId);
  }
}

contract StandardBounties {

  using SafeMath for uint256;

  /*
   * Structs
   */

  struct Bounty {
    address payable [] issuers; // An array of individuals who have complete control over the bounty, and can edit any of its parameters
    address [] approvers; // An array of individuals who are allowed to accept the fulfillments for a particular bounty
    uint deadline; // The Unix timestamp before which all submissions must be made, and after which refunds may be processed
    address token; // The address of the token associated with the bounty (should be disregarded if the tokenVersion is 0)
    uint tokenVersion; // The version of the token being used for the bounty (0 for ETH, 20 for ERC20, 721 for ERC721)
    uint balance; // The number of tokens which the bounty is able to pay out or refund
    bool hasPaidOut; // A boolean storing whether or not the bounty has paid out at least once, meaning refunds are no longer allowed
    Fulfillment [] fulfillments; // An array of Fulfillments which store the various submissions which have been made to the bounty
    Contribution [] contributions; // An array of Contributions which store the contributions which have been made to the bounty
  }

  struct Fulfillment {
    address payable [] fulfillers; // An array of addresses who should receive payouts for a given submission
    address submitter; // The address of the individual who submitted the fulfillment, who is able to update the submission as needed
  }

  struct Contribution {
    address payable contributor; // The address of the individual who contributed
    uint amount; // The amount of tokens the user contributed
    bool refunded; // A boolean storing whether or not the contribution has been refunded yet
  }

  /*
   * Storage
   */

  uint public numBounties; // An integer storing the total number of bounties in the contract
  mapping(uint => Bounty) public bounties; // A mapping of bountyIDs to bounties
  mapping (uint => mapping (uint => bool)) public tokenBalances; // A mapping of bountyIds to tokenIds to booleans, storing whether a given bounty has a given ERC721 token in its balance


  address public owner; // The address of the individual who's allowed to set the metaTxRelayer address
  address public metaTxRelayer; // The address of the meta transaction relayer whose _sender is automatically trusted for all contract calls

  bool public callStarted; // Ensures mutex for the entire contract

  /*
   * Modifiers
   */

  modifier callNotStarted(){
    require(!callStarted);
    callStarted = true;
    _;
    callStarted = false;
  }

  modifier validateBountyArrayIndex(
    uint _index)
  {
    require(_index < numBounties);
    _;
  }

  modifier validateContributionArrayIndex(
    uint _bountyId,
    uint _index)
  {
    require(_index < bounties[_bountyId].contributions.length);
    _;
  }

  modifier validateFulfillmentArrayIndex(
    uint _bountyId,
    uint _index)
  {
    require(_index < bounties[_bountyId].fulfillments.length);
    _;
  }

  modifier validateIssuerArrayIndex(
    uint _bountyId,
    uint _index)
  {
    require(_index < bounties[_bountyId].issuers.length);
    _;
  }

  modifier validateApproverArrayIndex(
    uint _bountyId,
    uint _index)
  {
    require(_index < bounties[_bountyId].approvers.length);
    _;
  }

  modifier onlyIssuer(
  address _sender,
  uint _bountyId,
  uint _issuerId)
  {
  require(_sender == bounties[_bountyId].issuers[_issuerId]);
  _;
  }

  modifier onlySubmitter(
    address _sender,
    uint _bountyId,
    uint _fulfillmentId)
  {
    require(_sender ==
            bounties[_bountyId].fulfillments[_fulfillmentId].submitter);
    _;
  }

  modifier onlyContributor(
  address _sender,
  uint _bountyId,
  uint _contributionId)
  {
    require(_sender ==
            bounties[_bountyId].contributions[_contributionId].contributor);
    _;
  }

  modifier isApprover(
    address _sender,
    uint _bountyId,
    uint _approverId)
  {
    require(_sender == bounties[_bountyId].approvers[_approverId]);
    _;
  }

  modifier hasNotPaid(
    uint _bountyId)
  {
    require(!bounties[_bountyId].hasPaidOut);
    _;
  }

  modifier hasNotRefunded(
    uint _bountyId,
    uint _contributionId)
  {
    require(!bounties[_bountyId].contributions[_contributionId].refunded);
    _;
  }

  modifier senderIsValid(
    address _sender)
  {
    require(msg.sender == _sender || msg.sender == metaTxRelayer);
    _;
  }

 /*
  * Public functions
  */

  constructor() public {
    // The owner of the contract is automatically designated to be the deployer of the contract
    owner = msg.sender;
  }

  /// @dev setMetaTxRelayer(): Sets the address of the meta transaction relayer
  /// @param _relayer the address of the relayer
  function setMetaTxRelayer(address _relayer)
    external
  {
    require(msg.sender == owner); // Checks that only the owner can call
    require(metaTxRelayer == address(0)); // Ensures the meta tx relayer can only be set once
    metaTxRelayer = _relayer;
  }

  /// @dev issueBounty(): creates a new bounty
  /// @param _sender the sender of the transaction issuing the bounty (should be the same as msg.sender unless the txn is called by the meta tx relayer)
  /// @param _issuers the array of addresses who will be the issuers of the bounty
  /// @param _approvers the array of addresses who will be the approvers of the bounty
  /// @param _data the IPFS hash representing the JSON object storing the details of the bounty (see docs for schema details)
  /// @param _deadline the timestamp which will become the deadline of the bounty
  /// @param _token the address of the token which will be used for the bounty
  /// @param _tokenVersion the version of the token being used for the bounty (0 for ETH, 20 for ERC20, 721 for ERC721)
  function issueBounty(
    address payable _sender,
    address payable [] memory _issuers,
    address [] memory _approvers,
    string memory _data,
    uint _deadline,
    address _token,
    uint _tokenVersion)
    public
    senderIsValid(_sender)
    returns (uint)
  {
    require(_tokenVersion == 0 || _tokenVersion == 20 || _tokenVersion == 721); // Ensures a bounty can only be issued with a valid token version
    require(_issuers.length > 0 || _approvers.length > 0); // Ensures there's at least 1 issuer or approver, so funds don't get stuck

    uint bountyId = numBounties; // The next bounty's index will always equal the number of existing bounties

    Bounty storage newBounty = bounties[bountyId];
    newBounty.issuers = _issuers;
    newBounty.approvers = _approvers;
    newBounty.deadline = _deadline;
    newBounty.tokenVersion = _tokenVersion;

    if (_tokenVersion != 0) {
      newBounty.token = _token;
    }

    numBounties = numBounties.add(1); // Increments the number of bounties, since a new one has just been added

    emit BountyIssued(bountyId,
                      _sender,
                      _issuers,
                      _approvers,
                      _data, // Instead of storing the string on-chain, it is emitted within the event for easy off-chain consumption
                      _deadline,
                      _token,
                      _tokenVersion);

    return (bountyId);
  }

  /// @param _depositAmount the amount of tokens being deposited to the bounty, which will create a new contribution to the bounty


  function issueAndContribute(
    address payable _sender,
    address payable [] memory _issuers,
    address [] memory _approvers,
    string memory _data,
    uint _deadline,
    address _token,
    uint _tokenVersion,
    uint _depositAmount)
    public
    payable
    returns(uint)
  {
    uint bountyId = issueBounty(_sender, _issuers, _approvers, _data, _deadline, _token, _tokenVersion);

    contribute(_sender, bountyId, _depositAmount);
  }


  /// @dev contribute(): Allows users to contribute tokens to a given bounty.
  ///                    Contributing merits no privelages to administer the
  ///                    funds in the bounty or accept submissions. Contributions
  ///                    are refundable but only on the condition that the deadline
  ///                    has elapsed, and the bounty has not yet paid out any funds.
  ///                    All funds deposited in a bounty are at the mercy of a
  ///                    bounty's issuers and approvers, so please be careful!
  /// @param _sender the sender of the transaction issuing the bounty (should be the same as msg.sender unless the txn is called by the meta tx relayer)
  /// @param _bountyId the index of the bounty
  /// @param _amount the amount of tokens being contributed
  function contribute(
    address payable _sender,
    uint _bountyId,
    uint _amount)
    public
    payable
    senderIsValid(_sender)
    validateBountyArrayIndex(_bountyId)
    callNotStarted
  {
    require(_amount > 0); // Contributions of 0 tokens or token ID 0 should fail

    bounties[_bountyId].contributions.push(
      Contribution(_sender, _amount, false)); // Adds the contribution to the bounty

    if (bounties[_bountyId].tokenVersion == 0){

      bounties[_bountyId].balance = bounties[_bountyId].balance.add(_amount); // Increments the balance of the bounty

      require(msg.value == _amount);
    } else if (bounties[_bountyId].tokenVersion == 20) {

      bounties[_bountyId].balance = bounties[_bountyId].balance.add(_amount); // Increments the balance of the bounty

      require(msg.value == 0); // Ensures users don't accidentally send ETH alongside a token contribution, locking up funds
      require(ERC20Token(bounties[_bountyId].token).transferFrom(_sender,
                                                                 address(this),
                                                                 _amount));
    } else if (bounties[_bountyId].tokenVersion == 721) {
      tokenBalances[_bountyId][_amount] = true; // Adds the 721 token to the balance of the bounty


      require(msg.value == 0); // Ensures users don't accidentally send ETH alongside a token contribution, locking up funds
      ERC721BasicToken(bounties[_bountyId].token).transferFrom(_sender,
                                                               address(this),
                                                               _amount);
    } else {
      revert();
    }

    emit ContributionAdded(_bountyId,
                           bounties[_bountyId].contributions.length - 1, // The new contributionId
                           _sender,
                           _amount);
  }

  /// @dev refundContribution(): Allows users to refund the contributions they've
  ///                            made to a particular bounty, but only if the bounty
  ///                            has not yet paid out, and the deadline has elapsed.
  /// @param _sender the sender of the transaction issuing the bounty (should be the same as msg.sender unless the txn is called by the meta tx relayer)
  /// @param _bountyId the index of the bounty
  /// @param _contributionId the index of the contribution being refunded
  function refundContribution(
    address _sender,
    uint _bountyId,
    uint _contributionId)
    public
    senderIsValid(_sender)
    validateBountyArrayIndex(_bountyId)
    validateContributionArrayIndex(_bountyId, _contributionId)
    onlyContributor(_sender, _bountyId, _contributionId)
    hasNotPaid(_bountyId)
    hasNotRefunded(_bountyId, _contributionId)
    callNotStarted
  {
    require(now > bounties[_bountyId].deadline); // Refunds may only be processed after the deadline has elapsed

    Contribution storage contribution =
      bounties[_bountyId].contributions[_contributionId];

    contribution.refunded = true;

    transferTokens(_bountyId, contribution.contributor, contribution.amount); // Performs the disbursal of tokens to the contributor

    emit ContributionRefunded(_bountyId, _contributionId);
  }

  /// @dev refundMyContributions(): Allows users to refund their contributions in bulk
  /// @param _sender the sender of the transaction issuing the bounty (should be the same as msg.sender unless the txn is called by the meta tx relayer)
  /// @param _bountyId the index of the bounty
  /// @param _contributionIds the array of indexes of the contributions being refunded
  function refundMyContributions(
    address _sender,
    uint _bountyId,
    uint [] memory _contributionIds)
    public
    senderIsValid(_sender)
  {
    for (uint i = 0; i < _contributionIds.length; i++){
      refundContribution(_sender, _bountyId, _contributionIds[i]);
    }
  }

  /// @dev refundContributions(): Allows users to refund their contributions in bulk
  /// @param _sender the sender of the transaction issuing the bounty (should be the same as msg.sender unless the txn is called by the meta tx relayer)
  /// @param _bountyId the index of the bounty
  /// @param _issuerId the index of the issuer who is making the call
  /// @param _contributionIds the array of indexes of the contributions being refunded
  function refundContributions(
    address _sender,
    uint _bountyId,
    uint _issuerId,
    uint [] memory _contributionIds)
    public
    senderIsValid(_sender)
    validateBountyArrayIndex(_bountyId)
    onlyIssuer(_sender, _bountyId, _issuerId)
    callNotStarted
  {
    for (uint i = 0; i < _contributionIds.length; i++){
      require(_contributionIds[i] <= bounties[_bountyId].contributions.length);

      Contribution storage contribution =
        bounties[_bountyId].contributions[_contributionIds[i]];

      require(!contribution.refunded);

      transferTokens(_bountyId, contribution.contributor, contribution.amount); // Performs the disbursal of tokens to the contributor
    }

    emit ContributionsRefunded(_bountyId, _sender, _contributionIds);
  }

  /// @dev drainBounty(): Allows an issuer to drain the funds from the bounty
  /// @param _sender the sender of the transaction issuing the bounty (should be the same as msg.sender unless the txn is called by the meta tx relayer)
  /// @param _bountyId the index of the bounty
  /// @param _issuerId the index of the issuer who is making the call
  /// @param _amounts an array of amounts of tokens to be sent. The length of the array should be 1 if the bounty is in ETH or ERC20 tokens. If it's an ERC721 bounty, the array should be the list of tokenIDs.
  function drainBounty(
    address payable _sender,
    uint _bountyId,
    uint _issuerId,
    uint [] memory _amounts)
    public
    senderIsValid(_sender)
    validateBountyArrayIndex(_bountyId)
    onlyIssuer(_sender, _bountyId, _issuerId)
    callNotStarted
  {
    if (bounties[_bountyId].tokenVersion == 0 || bounties[_bountyId].tokenVersion == 20){
      require(_amounts.length == 1); // ensures there's only 1 amount of tokens to be returned
      require(_amounts[0] <= bounties[_bountyId].balance); // ensures an issuer doesn't try to drain the bounty of more tokens than their balance permits
      transferTokens(_bountyId, _sender, _amounts[0]); // Performs the draining of tokens to the issuer
    } else {
      for (uint i = 0; i < _amounts.length; i++){
        require(tokenBalances[_bountyId][_amounts[i]]);// ensures an issuer doesn't try to drain the bounty of a token it doesn't have in its balance
        transferTokens(_bountyId, _sender, _amounts[i]);
      }
    }

    emit BountyDrained(_bountyId, _sender, _amounts);
  }

  /// @dev performAction(): Allows users to perform any generalized action
  ///                       associated with a particular bounty, such as applying for it
  /// @param _sender the sender of the transaction issuing the bounty (should be the same as msg.sender unless the txn is called by the meta tx relayer)
  /// @param _bountyId the index of the bounty
  /// @param _data the IPFS hash corresponding to a JSON object which contains the details of the action being performed (see docs for schema details)
  function performAction(
    address _sender,
    uint _bountyId,
    string memory _data)
    public
    senderIsValid(_sender)
    validateBountyArrayIndex(_bountyId)
  {
    emit ActionPerformed(_bountyId, _sender, _data); // The _data string is emitted in an event for easy off-chain consumption
  }

  /// @dev fulfillBounty(): Allows users to fulfill the bounty to get paid out
  /// @param _sender the sender of the transaction issuing the bounty (should be the same as msg.sender unless the txn is called by the meta tx relayer)
  /// @param _bountyId the index of the bounty
  /// @param _fulfillers the array of addresses which will receive payouts for the submission
  /// @param _data the IPFS hash corresponding to a JSON object which contains the details of the submission (see docs for schema details)
  function fulfillBounty(
    address _sender,
    uint _bountyId,
    address payable [] memory  _fulfillers,
    string memory _data)
    public
    senderIsValid(_sender)
    validateBountyArrayIndex(_bountyId)
  {
    require(now < bounties[_bountyId].deadline); // Submissions are only allowed to be made before the deadline
    require(_fulfillers.length > 0); // Submissions with no fulfillers would mean no one gets paid out

    bounties[_bountyId].fulfillments.push(Fulfillment(_fulfillers, _sender));

    emit BountyFulfilled(_bountyId,
                         (bounties[_bountyId].fulfillments.length - 1),
                         _fulfillers,
                         _data, // The _data string is emitted in an event for easy off-chain consumption
                         _sender);
  }

  /// @dev updateFulfillment(): Allows the submitter of a fulfillment to update their submission
  /// @param _sender the sender of the transaction issuing the bounty (should be the same as msg.sender unless the txn is called by the meta tx relayer)
  /// @param _bountyId the index of the bounty
  /// @param _fulfillmentId the index of the fulfillment
  /// @param _fulfillers the new array of addresses which will receive payouts for the submission
  /// @param _data the new IPFS hash corresponding to a JSON object which contains the details of the submission (see docs for schema details)
  function updateFulfillment(
  address _sender,
  uint _bountyId,
  uint _fulfillmentId,
  address payable [] memory _fulfillers,
  string memory _data)
  public
  senderIsValid(_sender)
  validateBountyArrayIndex(_bountyId)
  validateFulfillmentArrayIndex(_bountyId, _fulfillmentId)
  onlySubmitter(_sender, _bountyId, _fulfillmentId) // Only the original submitter of a fulfillment may update their submission
  {
    bounties[_bountyId].fulfillments[_fulfillmentId].fulfillers = _fulfillers;
    emit FulfillmentUpdated(_bountyId,
                            _fulfillmentId,
                            _fulfillers,
                            _data); // The _data string is emitted in an event for easy off-chain consumption
  }

  /// @dev acceptFulfillment(): Allows any of the approvers to accept a given submission
  /// @param _sender the sender of the transaction issuing the bounty (should be the same as msg.sender unless the txn is called by the meta tx relayer)
  /// @param _bountyId the index of the bounty
  /// @param _fulfillmentId the index of the fulfillment to be accepted
  /// @param _approverId the index of the approver which is making the call
  /// @param _tokenAmounts the array of token amounts which will be paid to the
  ///                      fulfillers, whose length should equal the length of the
  ///                      _fulfillers array of the submission. If the bounty pays
  ///                      in ERC721 tokens, then these should be the token IDs
  ///                      being sent to each of the individual fulfillers
  function acceptFulfillment(
    address _sender,
    uint _bountyId,
    uint _fulfillmentId,
    uint _approverId,
    uint[] memory _tokenAmounts)
    public
    senderIsValid(_sender)
    validateBountyArrayIndex(_bountyId)
    validateFulfillmentArrayIndex(_bountyId, _fulfillmentId)
    isApprover(_sender, _bountyId, _approverId)
    callNotStarted
  {
    // now that the bounty has paid out at least once, refunds are no longer possible
    bounties[_bountyId].hasPaidOut = true;

    Fulfillment storage fulfillment =
      bounties[_bountyId].fulfillments[_fulfillmentId];

    require(_tokenAmounts.length == fulfillment.fulfillers.length); // Each fulfiller should get paid some amount of tokens (this can be 0)

    for (uint256 i = 0; i < fulfillment.fulfillers.length; i++){
        if (_tokenAmounts[i] > 0) {
          // for each fulfiller associated with the submission
          transferTokens(_bountyId, fulfillment.fulfillers[i], _tokenAmounts[i]);
        }
    }
    emit FulfillmentAccepted(_bountyId,
                             _fulfillmentId,
                             _sender,
                             _tokenAmounts);
  }

  /// @dev fulfillAndAccept(): Allows any of the approvers to fulfill and accept a submission simultaneously
  /// @param _sender the sender of the transaction issuing the bounty (should be the same as msg.sender unless the txn is called by the meta tx relayer)
  /// @param _bountyId the index of the bounty
  /// @param _fulfillers the array of addresses which will receive payouts for the submission
  /// @param _data the IPFS hash corresponding to a JSON object which contains the details of the submission (see docs for schema details)
  /// @param _approverId the index of the approver which is making the call
  /// @param _tokenAmounts the array of token amounts which will be paid to the
  ///                      fulfillers, whose length should equal the length of the
  ///                      _fulfillers array of the submission. If the bounty pays
  ///                      in ERC721 tokens, then these should be the token IDs
  ///                      being sent to each of the individual fulfillers
  function fulfillAndAccept(
    address _sender,
    uint _bountyId,
    address payable [] memory _fulfillers,
    string memory _data,
    uint _approverId,
    uint[] memory _tokenAmounts)
    public
    senderIsValid(_sender)
  {
    // first fulfills the bounty on behalf of the fulfillers
    fulfillBounty(_sender, _bountyId, _fulfillers, _data);

    // then accepts the fulfillment
    acceptFulfillment(_sender,
                      _bountyId,
                      bounties[_bountyId].fulfillments.length - 1,
                      _approverId,
                      _tokenAmounts);
  }



  /// @dev changeBounty(): Allows any of the issuers to change the bounty
  /// @param _sender the sender of the transaction issuing the bounty (should be the same as msg.sender unless the txn is called by the meta tx relayer)
  /// @param _bountyId the index of the bounty
  /// @param _issuerId the index of the issuer who is calling the function
  /// @param _issuers the new array of addresses who will be the issuers of the bounty
  /// @param _approvers the new array of addresses who will be the approvers of the bounty
  /// @param _data the new IPFS hash representing the JSON object storing the details of the bounty (see docs for schema details)
  /// @param _deadline the new timestamp which will become the deadline of the bounty
  function changeBounty(
    address _sender,
    uint _bountyId,
    uint _issuerId,
    address payable [] memory _issuers,
    address payable [] memory _approvers,
    string memory _data,
    uint _deadline)
    public
    senderIsValid(_sender)
  {
    require(_bountyId < numBounties); // makes the validateBountyArrayIndex modifier in-line to avoid stack too deep errors
    require(_issuerId < bounties[_bountyId].issuers.length); // makes the validateIssuerArrayIndex modifier in-line to avoid stack too deep errors
    require(_sender == bounties[_bountyId].issuers[_issuerId]); // makes the onlyIssuer modifier in-line to avoid stack too deep errors

    require(_issuers.length > 0 || _approvers.length > 0); // Ensures there's at least 1 issuer or approver, so funds don't get stuck

    bounties[_bountyId].issuers = _issuers;
    bounties[_bountyId].approvers = _approvers;
    bounties[_bountyId].deadline = _deadline;
    emit BountyChanged(_bountyId,
                       _sender,
                       _issuers,
                       _approvers,
                       _data,
                       _deadline);
  }

  /// @dev changeIssuer(): Allows any of the issuers to change a particular issuer of the bounty
  /// @param _sender the sender of the transaction issuing the bounty (should be the same as msg.sender unless the txn is called by the meta tx relayer)
  /// @param _bountyId the index of the bounty
  /// @param _issuerId the index of the issuer who is calling the function
  /// @param _issuerIdToChange the index of the issuer who is being changed
  /// @param _newIssuer the address of the new issuer
  function changeIssuer(
    address _sender,
    uint _bountyId,
    uint _issuerId,
    uint _issuerIdToChange,
    address payable _newIssuer)
    public
    senderIsValid(_sender)
    validateBountyArrayIndex(_bountyId)
    validateIssuerArrayIndex(_bountyId, _issuerIdToChange)
    onlyIssuer(_sender, _bountyId, _issuerId)
  {
    require(_issuerId < bounties[_bountyId].issuers.length || _issuerId == 0);

    bounties[_bountyId].issuers[_issuerIdToChange] = _newIssuer;

    emit BountyIssuersUpdated(_bountyId, _sender, bounties[_bountyId].issuers);
  }

  /// @dev changeApprover(): Allows any of the issuers to change a particular approver of the bounty
  /// @param _sender the sender of the transaction issuing the bounty (should be the same as msg.sender unless the txn is called by the meta tx relayer)
  /// @param _bountyId the index of the bounty
  /// @param _issuerId the index of the issuer who is calling the function
  /// @param _approverId the index of the approver who is being changed
  /// @param _approver the address of the new approver
  function changeApprover(
    address _sender,
    uint _bountyId,
    uint _issuerId,
    uint _approverId,
    address payable _approver)
    external
    senderIsValid(_sender)
    validateBountyArrayIndex(_bountyId)
    onlyIssuer(_sender, _bountyId, _issuerId)
    validateApproverArrayIndex(_bountyId, _approverId)
  {
    bounties[_bountyId].approvers[_approverId] = _approver;

    emit BountyApproversUpdated(_bountyId, _sender, bounties[_bountyId].approvers);
  }

  /// @dev changeData(): Allows any of the issuers to change the data the bounty
  /// @param _sender the sender of the transaction issuing the bounty (should be the same as msg.sender unless the txn is called by the meta tx relayer)
  /// @param _bountyId the index of the bounty
  /// @param _issuerId the index of the issuer who is calling the function
  /// @param _data the new IPFS hash representing the JSON object storing the details of the bounty (see docs for schema details)
  function changeData(
    address _sender,
    uint _bountyId,
    uint _issuerId,
    string memory _data)
    public
    senderIsValid(_sender)
    validateBountyArrayIndex(_bountyId)
    validateIssuerArrayIndex(_bountyId, _issuerId)
    onlyIssuer(_sender, _bountyId, _issuerId)
  {
    emit BountyDataChanged(_bountyId, _sender, _data); // The new _data is emitted within an event rather than being stored on-chain for minimized gas costs
  }

  /// @dev changeDeadline(): Allows any of the issuers to change the deadline the bounty
  /// @param _sender the sender of the transaction issuing the bounty (should be the same as msg.sender unless the txn is called by the meta tx relayer)
  /// @param _bountyId the index of the bounty
  /// @param _issuerId the index of the issuer who is calling the function
  /// @param _deadline the new timestamp which will become the deadline of the bounty
  function changeDeadline(
    address _sender,
    uint _bountyId,
    uint _issuerId,
    uint _deadline)
    external
    senderIsValid(_sender)
    validateBountyArrayIndex(_bountyId)
    validateIssuerArrayIndex(_bountyId, _issuerId)
    onlyIssuer(_sender, _bountyId, _issuerId)
  {
    bounties[_bountyId].deadline = _deadline;

    emit BountyDeadlineChanged(_bountyId, _sender, _deadline);
  }

  /// @dev addIssuers(): Allows any of the issuers to add more issuers to the bounty
  /// @param _sender the sender of the transaction issuing the bounty (should be the same as msg.sender unless the txn is called by the meta tx relayer)
  /// @param _bountyId the index of the bounty
  /// @param _issuerId the index of the issuer who is calling the function
  /// @param _issuers the array of addresses to add to the list of valid issuers
  function addIssuers(
    address _sender,
    uint _bountyId,
    uint _issuerId,
    address payable [] memory _issuers)
    public
    senderIsValid(_sender)
    validateBountyArrayIndex(_bountyId)
    validateIssuerArrayIndex(_bountyId, _issuerId)
    onlyIssuer(_sender, _bountyId, _issuerId)
  {
    for (uint i = 0; i < _issuers.length; i++){
      bounties[_bountyId].issuers.push(_issuers[i]);
    }

    emit BountyIssuersUpdated(_bountyId, _sender, bounties[_bountyId].issuers);
  }

  /// @dev replaceIssuers(): Allows any of the issuers to replace the issuers of the bounty
  /// @param _sender the sender of the transaction issuing the bounty (should be the same as msg.sender unless the txn is called by the meta tx relayer)
  /// @param _bountyId the index of the bounty
  /// @param _issuerId the index of the issuer who is calling the function
  /// @param _issuers the array of addresses to replace the list of valid issuers
  function replaceIssuers(
    address _sender,
    uint _bountyId,
    uint _issuerId,
    address payable [] memory _issuers)
    public
    senderIsValid(_sender)
    validateBountyArrayIndex(_bountyId)
    validateIssuerArrayIndex(_bountyId, _issuerId)
    onlyIssuer(_sender, _bountyId, _issuerId)
  {
    require(_issuers.length > 0 || bounties[_bountyId].approvers.length > 0); // Ensures there's at least 1 issuer or approver, so funds don't get stuck

    bounties[_bountyId].issuers = _issuers;

    emit BountyIssuersUpdated(_bountyId, _sender, bounties[_bountyId].issuers);
  }

  /// @dev addApprovers(): Allows any of the issuers to add more approvers to the bounty
  /// @param _sender the sender of the transaction issuing the bounty (should be the same as msg.sender unless the txn is called by the meta tx relayer)
  /// @param _bountyId the index of the bounty
  /// @param _issuerId the index of the issuer who is calling the function
  /// @param _approvers the array of addresses to add to the list of valid approvers
  function addApprovers(
    address _sender,
    uint _bountyId,
    uint _issuerId,
    address [] memory _approvers)
    public
    senderIsValid(_sender)
    validateBountyArrayIndex(_bountyId)
    validateIssuerArrayIndex(_bountyId, _issuerId)
    onlyIssuer(_sender, _bountyId, _issuerId)
  {
    for (uint i = 0; i < _approvers.length; i++){
      bounties[_bountyId].approvers.push(_approvers[i]);
    }

    emit BountyApproversUpdated(_bountyId, _sender, bounties[_bountyId].approvers);
  }

  /// @dev replaceApprovers(): Allows any of the issuers to replace the approvers of the bounty
  /// @param _sender the sender of the transaction issuing the bounty (should be the same as msg.sender unless the txn is called by the meta tx relayer)
  /// @param _bountyId the index of the bounty
  /// @param _issuerId the index of the issuer who is calling the function
  /// @param _approvers the array of addresses to replace the list of valid approvers
  function replaceApprovers(
    address _sender,
    uint _bountyId,
    uint _issuerId,
    address [] memory _approvers)
    public
    senderIsValid(_sender)
    validateBountyArrayIndex(_bountyId)
    validateIssuerArrayIndex(_bountyId, _issuerId)
    onlyIssuer(_sender, _bountyId, _issuerId)
  {
    require(bounties[_bountyId].issuers.length > 0 || _approvers.length > 0); // Ensures there's at least 1 issuer or approver, so funds don't get stuck
    bounties[_bountyId].approvers = _approvers;

    emit BountyApproversUpdated(_bountyId, _sender, bounties[_bountyId].approvers);
  }

  /// @dev getBounty(): Returns the details of the bounty
  /// @param _bountyId the index of the bounty
  /// @return Returns a tuple for the bounty
  function getBounty(uint _bountyId)
    external
    view
    returns (Bounty memory)
  {
    return bounties[_bountyId];
  }


  function transferTokens(uint _bountyId, address payable _to, uint _amount)
    internal
  {
    if (bounties[_bountyId].tokenVersion == 0){
      require(_amount > 0); // Sending 0 tokens should throw
      require(bounties[_bountyId].balance >= _amount);

      bounties[_bountyId].balance = bounties[_bountyId].balance.sub(_amount);

      _to.transfer(_amount);
    } else if (bounties[_bountyId].tokenVersion == 20) {
      require(_amount > 0); // Sending 0 tokens should throw
      require(bounties[_bountyId].balance >= _amount);

      bounties[_bountyId].balance = bounties[_bountyId].balance.sub(_amount);

      require(ERC20Token(bounties[_bountyId].token).transfer(_to, _amount));
    } else if (bounties[_bountyId].tokenVersion == 721) {
      require(tokenBalances[_bountyId][_amount]);

      tokenBalances[_bountyId][_amount] = false; // Removes the 721 token from the balance of the bounty

      ERC721BasicToken(bounties[_bountyId].token).transferFrom(address(this),
                                                               _to,
                                                               _amount);
    } else {
      revert();
    }
  }

  /*
   * Events
   */

  event BountyIssued(uint _bountyId, address payable _creator, address payable [] _issuers, address [] _approvers, string _data, uint _deadline, address _token, uint _tokenVersion);
  event ContributionAdded(uint _bountyId, uint _contributionId, address payable _contributor, uint _amount);
  event ContributionRefunded(uint _bountyId, uint _contributionId);
  event ContributionsRefunded(uint _bountyId, address _issuer, uint [] _contributionIds);
  event BountyDrained(uint _bountyId, address _issuer, uint [] _amounts);
  event ActionPerformed(uint _bountyId, address _fulfiller, string _data);
  event BountyFulfilled(uint _bountyId, uint _fulfillmentId, address payable [] _fulfillers, string _data, address _submitter);
  event FulfillmentUpdated(uint _bountyId, uint _fulfillmentId, address payable [] _fulfillers, string _data);
  event FulfillmentAccepted(uint _bountyId, uint  _fulfillmentId, address _approver, uint[] _tokenAmounts);
  event BountyChanged(uint _bountyId, address _changer, address payable [] _issuers, address payable [] _approvers, string _data, uint _deadline);
  event BountyIssuersUpdated(uint _bountyId, address _changer, address payable [] _issuers);
  event BountyApproversUpdated(uint _bountyId, address _changer, address [] _approvers);
  event BountyDataChanged(uint _bountyId, address _changer, string _data);
  event BountyDeadlineChanged(uint _bountyId, address _changer, uint _deadline);
}

Contract Security Audit

Contract ABI

API
[{"constant":false,"inputs":[{"name":"_sender","type":"address"},{"name":"_bountyId","type":"uint256"},{"name":"_fulfillmentId","type":"uint256"},{"name":"_approverId","type":"uint256"},{"name":"_tokenAmounts","type":"uint256[]"}],"name":"acceptFulfillment","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_sender","type":"address"},{"name":"_issuers","type":"address[]"},{"name":"_approvers","type":"address[]"},{"name":"_data","type":"string"},{"name":"_deadline","type":"uint256"},{"name":"_token","type":"address"},{"name":"_tokenVersion","type":"uint256"},{"name":"_depositAmount","type":"uint256"}],"name":"issueAndContribute","outputs":[{"name":"","type":"uint256"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_sender","type":"address"},{"name":"_bountyId","type":"uint256"},{"name":"_issuerId","type":"uint256"},{"name":"_approverId","type":"uint256"},{"name":"_approver","type":"address"}],"name":"changeApprover","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_sender","type":"address"},{"name":"_bountyId","type":"uint256"},{"name":"_issuerId","type":"uint256"},{"name":"_amounts","type":"uint256[]"}],"name":"drainBounty","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_sender","type":"address"},{"name":"_bountyId","type":"uint256"},{"name":"_data","type":"string"}],"name":"performAction","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_sender","type":"address"},{"name":"_bountyId","type":"uint256"},{"name":"_issuerId","type":"uint256"},{"name":"_approvers","type":"address[]"}],"name":"addApprovers","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_sender","type":"address"},{"name":"_issuers","type":"address[]"},{"name":"_approvers","type":"address[]"},{"name":"_data","type":"string"},{"name":"_deadline","type":"uint256"},{"name":"_token","type":"address"},{"name":"_tokenVersion","type":"uint256"}],"name":"issueBounty","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_relayer","type":"address"}],"name":"setMetaTxRelayer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_sender","type":"address"},{"name":"_bountyId","type":"uint256"},{"name":"_issuerId","type":"uint256"},{"name":"_approvers","type":"address[]"}],"name":"replaceApprovers","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"callStarted","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_sender","type":"address"},{"name":"_bountyId","type":"uint256"},{"name":"_issuerId","type":"uint256"},{"name":"_data","type":"string"}],"name":"changeData","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"numBounties","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_sender","type":"address"},{"name":"_bountyId","type":"uint256"},{"name":"_contributionId","type":"uint256"}],"name":"refundContribution","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_sender","type":"address"},{"name":"_bountyId","type":"uint256"},{"name":"_fulfillers","type":"address[]"},{"name":"_data","type":"string"}],"name":"fulfillBounty","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_sender","type":"address"},{"name":"_bountyId","type":"uint256"},{"name":"_issuerId","type":"uint256"},{"name":"_issuers","type":"address[]"}],"name":"replaceIssuers","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_sender","type":"address"},{"name":"_bountyId","type":"uint256"},{"name":"_issuerId","type":"uint256"},{"name":"_issuerIdToChange","type":"uint256"},{"name":"_newIssuer","type":"address"}],"name":"changeIssuer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_sender","type":"address"},{"name":"_bountyId","type":"uint256"},{"name":"_issuerId","type":"uint256"},{"name":"_contributionIds","type":"uint256[]"}],"name":"refundContributions","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_sender","type":"address"},{"name":"_bountyId","type":"uint256"},{"name":"_amount","type":"uint256"}],"name":"contribute","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_sender","type":"address"},{"name":"_bountyId","type":"uint256"},{"name":"_issuerId","type":"uint256"},{"name":"_deadline","type":"uint256"}],"name":"changeDeadline","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_sender","type":"address"},{"name":"_bountyId","type":"uint256"},{"name":"_issuerId","type":"uint256"},{"name":"_issuers","type":"address[]"},{"name":"_approvers","type":"address[]"},{"name":"_data","type":"string"},{"name":"_deadline","type":"uint256"}],"name":"changeBounty","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"metaTxRelayer","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_sender","type":"address"},{"name":"_bountyId","type":"uint256"},{"name":"_fulfillers","type":"address[]"},{"name":"_data","type":"string"},{"name":"_approverId","type":"uint256"},{"name":"_tokenAmounts","type":"uint256[]"}],"name":"fulfillAndAccept","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_sender","type":"address"},{"name":"_bountyId","type":"uint256"},{"name":"_fulfillmentId","type":"uint256"},{"name":"_fulfillers","type":"address[]"},{"name":"_data","type":"string"}],"name":"updateFulfillment","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_sender","type":"address"},{"name":"_bountyId","type":"uint256"},{"name":"_issuerId","type":"uint256"},{"name":"_issuers","type":"address[]"}],"name":"addIssuers","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"bounties","outputs":[{"name":"deadline","type":"uint256"},{"name":"token","type":"address"},{"name":"tokenVersion","type":"uint256"},{"name":"balance","type":"uint256"},{"name":"hasPaidOut","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"}],"name":"tokenBalances","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_sender","type":"address"},{"name":"_bountyId","type":"uint256"},{"name":"_contributionIds","type":"uint256[]"}],"name":"refundMyContributions","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_bountyId","type":"uint256"}],"name":"getBounty","outputs":[{"components":[{"name":"issuers","type":"address[]"},{"name":"approvers","type":"address[]"},{"name":"deadline","type":"uint256"},{"name":"token","type":"address"},{"name":"tokenVersion","type":"uint256"},{"name":"balance","type":"uint256"},{"name":"hasPaidOut","type":"bool"},{"components":[{"name":"fulfillers","type":"address[]"},{"name":"submitter","type":"address"}],"name":"fulfillments","type":"tuple[]"},{"components":[{"name":"contributor","type":"address"},{"name":"amount","type":"uint256"},{"name":"refunded","type":"bool"}],"name":"contributions","type":"tuple[]"}],"name":"","type":"tuple"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_bountyId","type":"uint256"},{"indexed":false,"name":"_creator","type":"address"},{"indexed":false,"name":"_issuers","type":"address[]"},{"indexed":false,"name":"_approvers","type":"address[]"},{"indexed":false,"name":"_data","type":"string"},{"indexed":false,"name":"_deadline","type":"uint256"},{"indexed":false,"name":"_token","type":"address"},{"indexed":false,"name":"_tokenVersion","type":"uint256"}],"name":"BountyIssued","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_bountyId","type":"uint256"},{"indexed":false,"name":"_contributionId","type":"uint256"},{"indexed":false,"name":"_contributor","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"}],"name":"ContributionAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_bountyId","type":"uint256"},{"indexed":false,"name":"_contributionId","type":"uint256"}],"name":"ContributionRefunded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_bountyId","type":"uint256"},{"indexed":false,"name":"_issuer","type":"address"},{"indexed":false,"name":"_contributionIds","type":"uint256[]"}],"name":"ContributionsRefunded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_bountyId","type":"uint256"},{"indexed":false,"name":"_issuer","type":"address"},{"indexed":false,"name":"_amounts","type":"uint256[]"}],"name":"BountyDrained","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_bountyId","type":"uint256"},{"indexed":false,"name":"_fulfiller","type":"address"},{"indexed":false,"name":"_data","type":"string"}],"name":"ActionPerformed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_bountyId","type":"uint256"},{"indexed":false,"name":"_fulfillmentId","type":"uint256"},{"indexed":false,"name":"_fulfillers","type":"address[]"},{"indexed":false,"name":"_data","type":"string"},{"indexed":false,"name":"_submitter","type":"address"}],"name":"BountyFulfilled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_bountyId","type":"uint256"},{"indexed":false,"name":"_fulfillmentId","type":"uint256"},{"indexed":false,"name":"_fulfillers","type":"address[]"},{"indexed":false,"name":"_data","type":"string"}],"name":"FulfillmentUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_bountyId","type":"uint256"},{"indexed":false,"name":"_fulfillmentId","type":"uint256"},{"indexed":false,"name":"_approver","type":"address"},{"indexed":false,"name":"_tokenAmounts","type":"uint256[]"}],"name":"FulfillmentAccepted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_bountyId","type":"uint256"},{"indexed":false,"name":"_changer","type":"address"},{"indexed":false,"name":"_issuers","type":"address[]"},{"indexed":false,"name":"_approvers","type":"address[]"},{"indexed":false,"name":"_data","type":"string"},{"indexed":false,"name":"_deadline","type":"uint256"}],"name":"BountyChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_bountyId","type":"uint256"},{"indexed":false,"name":"_changer","type":"address"},{"indexed":false,"name":"_issuers","type":"address[]"}],"name":"BountyIssuersUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_bountyId","type":"uint256"},{"indexed":false,"name":"_changer","type":"address"},{"indexed":false,"name":"_approvers","type":"address[]"}],"name":"BountyApproversUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_bountyId","type":"uint256"},{"indexed":false,"name":"_changer","type":"address"},{"indexed":false,"name":"_data","type":"string"}],"name":"BountyDataChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_bountyId","type":"uint256"},{"indexed":false,"name":"_changer","type":"address"},{"indexed":false,"name":"_deadline","type":"uint256"}],"name":"BountyDeadlineChanged","type":"event"}]

608060405234801561001057600080fd5b5033600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550615c0980620000626000396000f3fe6080604052600436106101c15760003560e01c806397d76665116100f7578063c1107c1111610095578063dc2f874411610064578063dc2f8744146105dd578063ec41e4cd1461061e578063edba70131461065b578063ee8c4bbf14610684576101c1565b8063c1107c1114610537578063c22215b814610562578063c49604501461058b578063c6a8b42b146105b4576101c1565b8063a071fbd5116100d1578063a071fbd5146104a0578063a08f793c146104c9578063aa17aaef146104e5578063b178d7681461050e576101c1565b806397d76665146104255780639d2bdb441461044e5780639e64d9bf14610477576101c1565b806361cf2213116101645780637ef8213c1161013e5780637ef8213c1461037d57806388db0f52146103a65780638da5cb5b146103d157806393c1ccc9146103fc576101c1565b806361cf221314610300578063651bad5214610329578063720dc00c14610352576101c1565b80633756f3c8116101a05780633756f3c8146102485780634ac4e25a146102715780634daf1bb51461029a578063567b3d2e146102c3576101c1565b8062f27e38146101c657806306060ae3146101ef5780632092e2591461021f575b600080fd5b3480156101d257600080fd5b506101ed60048036036101e89190810190614af6565b6106c1565b005b6102096004803603610204919081019061425e565b6109b6565b60405161021691906152de565b60405180910390f35b34801561022b57600080fd5b5061024660048036036102419190810190614a7f565b6109e2565b005b34801561025457600080fd5b5061026f600480360361026a91908101906143a7565b610bf7565b005b34801561027d57600080fd5b50610298600480360361029391908101906145ed565b610ee6565b005b3480156102a657600080fd5b506102c160048036036102bc91908101906146a3565b610fc8565b005b3480156102cf57600080fd5b506102ea60048036036102e59190810190614178565b61121c565b6040516102f791906152de565b60405180910390f35b34801561030c57600080fd5b506103276004803603610322919081019061414f565b61140c565b005b34801561033557600080fd5b50610350600480360361034b91908101906146a3565b611505565b005b34801561035e57600080fd5b5061036761170c565b60405161037491906152a1565b60405180910390f35b34801561038957600080fd5b506103a4600480360361039f91908101906149a1565b61171f565b005b3480156103b257600080fd5b506103bb6118b4565b6040516103c891906152de565b60405180910390f35b3480156103dd57600080fd5b506103e66118ba565b6040516103f391906151ef565b60405180910390f35b34801561040857600080fd5b50610423600480360361041e9190810190614654565b6118e0565b005b34801561043157600080fd5b5061044c60048036036104479190810190614422565b611bed565b005b34801561045a57600080fd5b506104756004803603610470919081019061471e565b611df2565b005b34801561048357600080fd5b5061049e60048036036104999190810190614a7f565b611ff9565b005b3480156104ac57600080fd5b506104c760048036036104c29190810190614926565b61223e565b005b6104e360048036036104de9190810190614358565b6124e6565b005b3480156104f157600080fd5b5061050c60048036036105079190810190614a1c565b6129fb565b005b34801561051a57600080fd5b5061053560048036036105309190810190614799565b612bab565b005b34801561054357600080fd5b5061054c612dc8565b60405161055991906151ef565b60405180910390f35b34801561056e57600080fd5b50610589600480360361058491908101906144b5565b612dee565b005b34801561059757600080fd5b506105b260048036036105ad919081019061487f565b612ebc565b005b3480156105c057600080fd5b506105db60048036036105d6919081019061471e565b6130a2565b005b3480156105e957600080fd5b5061060460048036036105ff9190810190614bae565b6132f6565b60405161061595949392919061556f565b60405180910390f35b34801561062a57600080fd5b5061064560048036036106409190810190614bd7565b613359565b60405161065291906152a1565b60405180910390f35b34801561066757600080fd5b50610682600480360361067d9190810190614586565b613388565b005b34801561069057600080fd5b506106ab60048036036106a69190810190614bae565b61345a565b6040516106b891906152bc565b60405180910390f35b848073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806107495750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61075257600080fd5b84600054811061076157600080fd5b85856001600083815260200190815260200160002060070180549050811061078857600080fd5b8888876001600083815260200190815260200160002060010181815481106107ac57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461080e57600080fd5b600460149054906101000a900460ff161561082857600080fd5b6001600460146101000a81548160ff02191690831515021790555060018060008d815260200190815260200160002060060160006101000a81548160ff0219169083151502179055506000600160008d81526020019081526020016000206007018b8154811061089457fe5b9060005260206000209060020201905080600001805490508951146108b857600080fd5b60008090505b816000018054905081101561094e5760008a82815181106108db57fe5b60200260200101511115610941576109408d8360000183815481106108fc57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168c848151811061093357fe5b6020026020010151613850565b5b80806001019150506108be565b507f4d54a229a804a61c5213bec479b1407ce270c57b24fd8299d6ea98b6b2ab05208c8c8f8c6040516109849493929190615630565b60405180910390a1506000600460146101000a81548160ff021916908315150217905550505050505050505050505050565b6000806109c88a8a8a8a8a8a8a61121c565b90506109d58a82856124e6565b5098975050505050505050565b848073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610a6a5750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610a7357600080fd5b846000548110610a8257600080fd5b868686600160008381526020019081526020016000206000018181548110610aa657fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614610b0857600080fd5b888760016000838152602001908152602001600020600101805490508110610b2f57600080fd5b87600160008d81526020019081526020016000206001018a81548110610b5157fe5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f43a4e4542993b08827123085341d156186f40b28b6343f301c246a1d5f49d9f78b8d600160008f8152602001908152602001600020600101604051610be1939291906153ca565b60405180910390a1505050505050505050505050565b838073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610c7f5750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610c8857600080fd5b836000548110610c9757600080fd5b858585600160008381526020019081526020016000206000018181548110610cbb57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614610d1d57600080fd5b600460149054906101000a900460ff1615610d3757600080fd5b6001600460146101000a81548160ff0219169083151502179055506000600160008a8152602001908152602001600020600401541480610d8d57506014600160008a815260200190815260200160002060040154145b15610dfb576001865114610da057600080fd5b600160008981526020019081526020016000206005015486600081518110610dc457fe5b60200260200101511115610dd757600080fd5b610df6888a88600081518110610de957fe5b6020026020010151613850565b610e85565b60008090505b8651811015610e8357600260008a81526020019081526020016000206000888381518110610e2b57fe5b6020026020010151815260200190815260200160002060009054906101000a900460ff16610e5857600080fd5b610e76898b898481518110610e6957fe5b6020026020010151613850565b8080600101915050610e01565b505b7fc9db45671da2b4994b84d56a8832d4e0bcc3722230dffce39df6886f9ec2d7d6888a88604051610eb89392919061538c565b60405180910390a16000600460146101000a81548160ff021916908315150217905550505050505050505050565b828073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610f6e5750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610f7757600080fd5b826000548110610f8657600080fd5b7fd54885079d7edd9bea77e3f09e83bd65a121db3d3a14892227e0d2cffe73970f848685604051610fb9939291906154fa565b60405180910390a15050505050565b838073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806110505750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61105957600080fd5b83600054811061106857600080fd5b84846001600083815260200190815260200160002060000180549050811061108f57600080fd5b8787876001600083815260200190815260200160002060000181815481106110b357fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461111557600080fd5b60008090505b88518110156111be57600160008c815260200190815260200160002060010189828151811061114657fe5b602002602001015190806001815401808255809150509060018203906000526020600020016000909192909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050808060010191505061111b565b507f43a4e4542993b08827123085341d156186f40b28b6343f301c246a1d5f49d9f78a8c600160008e8152602001908152602001600020600101604051611207939291906153ca565b60405180910390a15050505050505050505050565b6000878073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806112a65750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6112af57600080fd5b60008314806112be5750601483145b806112ca57506102d183145b6112d357600080fd5b6000885111806112e4575060008751115b6112ed57600080fd5b600080549050600060016000838152602001908152602001600020905089816000019080519060200190611322929190613c10565b508881600101908051906020019061133b929190613c9a565b508681600201819055508481600401819055506000851461139a57858160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b6113b06001600054613bdf90919063ffffffff16565b6000819055507feea6c8039af43860e84bc876245a0d129d92b942390135da1051b219149c100e828c8c8c8c8c8c8c6040516113f39897969594939291906152f9565b60405180910390a1819350505050979650505050505050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461146657600080fd5b600073ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146114c157600080fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b838073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061158d5750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61159657600080fd5b8360005481106115a557600080fd5b8484600160008381526020019081526020016000206000018054905081106115cc57600080fd5b8787876001600083815260200190815260200160002060000181815481106115f057fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461165257600080fd5b6000600160008c815260200190815260200160002060000180549050118061167b575060008851115b61168457600080fd5b87600160008c815260200190815260200160002060010190805190602001906116ae929190613c9a565b507f43a4e4542993b08827123085341d156186f40b28b6343f301c246a1d5f49d9f78a8c600160008e81526020019081526020016000206001016040516116f7939291906153ca565b60405180910390a15050505050505050505050565b600460149054906101000a900460ff1681565b838073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806117a75750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6117b057600080fd5b8360005481106117bf57600080fd5b8484600160008381526020019081526020016000206000018054905081106117e657600080fd5b87878760016000838152602001908152602001600020600001818154811061180a57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461186c57600080fd5b7fdc41a74d84036920901cf73075fc7f917d75b1f5dbd7955c12f92033362472338a8c8a60405161189f939291906154fa565b60405180910390a15050505050505050505050565b60005481565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b828073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806119685750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61197157600080fd5b82600054811061198057600080fd5b8383600160008381526020019081526020016000206008018054905081106119a757600080fd5b8686866001600083815260200190815260200160002060080181815481106119cb57fe5b906000526020600020906003020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611a3457600080fd5b886001600082815260200190815260200160002060060160009054906101000a900460ff1615611a6357600080fd5b8989600160008381526020019081526020016000206008018181548110611a8657fe5b906000526020600020906003020160020160009054906101000a900460ff1615611aaf57600080fd5b600460149054906101000a900460ff1615611ac957600080fd5b6001600460146101000a81548160ff021916908315150217905550600160008d8152602001908152602001600020600201544211611b0657600080fd5b6000600160008e81526020019081526020016000206008018c81548110611b2957fe5b9060005260206000209060030201905060018160020160006101000a81548160ff021916908315150217905550611b898d8260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168360010154613850565b7ffb1da5cbf027ad18b7c1f786bf81e9920cc0db09d7e299a8e4f3dbb64ce32f018d8d604051611bba9291906155c2565b60405180910390a1506000600460146101000a81548160ff02191690831515021790555050505050505050505050505050565b838073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611c755750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611c7e57600080fd5b836000548110611c8d57600080fd5b60016000868152602001908152602001600020600201544210611caf57600080fd5b6000845111611cbd57600080fd5b6001600086815260200190815260200160002060070160405180604001604052808681526020018873ffffffffffffffffffffffffffffffffffffffff16815250908060018154018082558091505090600182039060005260206000209060020201600090919290919091506000820151816000019080519060200190611d45929190613d24565b5060208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050507fb9fb09db36801e95ddbb658a96b7ecf81b9b7e105e4a82d8887b1e7eadd45b84856001806000898152602001908152602001600020600701805490500386868a604051611de29594939291906156cf565b60405180910390a1505050505050565b838073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611e7a5750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611e8357600080fd5b836000548110611e9257600080fd5b848460016000838152602001908152602001600020600001805490508110611eb957600080fd5b878787600160008381526020019081526020016000206000018181548110611edd57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611f3f57600080fd5b600088511180611f6857506000600160008c815260200190815260200160002060010180549050115b611f7157600080fd5b87600160008c81526020019081526020016000206000019080519060200190611f9b929190613c10565b507fc969620b1b90646a0d597289d87dcf90d4cc4e554bddf0c003dfc05954a6d3598a8c600160008e8152602001908152602001600020600001604051611fe49392919061547e565b60405180910390a15050505050505050505050565b848073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806120815750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61208a57600080fd5b84600054811061209957600080fd5b8584600160008381526020019081526020016000206000018054905081106120c057600080fd5b8888886001600083815260200190815260200160002060000181815481106120e457fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461214657600080fd5b600160008c8152602001908152602001600020600001805490508a108061216d575060008a145b61217657600080fd5b87600160008d81526020019081526020016000206000018a8154811061219857fe5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fc969620b1b90646a0d597289d87dcf90d4cc4e554bddf0c003dfc05954a6d3598b8d600160008f81526020019081526020016000206000016040516122289392919061547e565b60405180910390a1505050505050505050505050565b838073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806122c65750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6122cf57600080fd5b8360005481106122de57600080fd5b85858560016000838152602001908152602001600020600001818154811061230257fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461236457600080fd5b600460149054906101000a900460ff161561237e57600080fd5b6001600460146101000a81548160ff02191690831515021790555060008090505b865181101561248457600160008a8152602001908152602001600020600801805490508782815181106123ce57fe5b602002602001015111156123e157600080fd5b6000600160008b815260200190815260200160002060080188838151811061240557fe5b60200260200101518154811061241757fe5b906000526020600020906003020190508060020160009054906101000a900460ff161561244357600080fd5b6124768a8260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168360010154613850565b50808060010191505061239f565b507fc55c552370ad68c2faed667a8224a8ab373e39368872484a40619b1e884336de888a886040516124b8939291906154bc565b60405180910390a16000600460146101000a81548160ff021916908315150217905550505050505050505050565b828073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061256e5750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61257757600080fd5b82600054811061258657600080fd5b600460149054906101000a900460ff16156125a057600080fd5b6001600460146101000a81548160ff021916908315150217905550600083116125c857600080fd5b6001600085815260200190815260200160002060080160405180606001604052808773ffffffffffffffffffffffffffffffffffffffff168152602001858152602001600015158152509080600181540180825580915050906001820390600052602060002090600302016000909192909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001015560408201518160020160006101000a81548160ff021916908315150217905550505050600060016000868152602001908152602001600020600401541415612724576126f9836001600087815260200190815260200160002060050154613bdf90919063ffffffff16565b600160008681526020019081526020016000206005018190555082341461271f57600080fd5b612981565b6014600160008681526020019081526020016000206004015414156128665761276c836001600087815260200190815260200160002060050154613bdf90919063ffffffff16565b60016000868152602001908152602001600020600501819055506000341461279357600080fd5b6001600085815260200190815260200160002060030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd8630866040518463ffffffff1660e01b81526004016128069392919061520a565b602060405180830381600087803b15801561282057600080fd5b505af1158015612834573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506128589190810190614b85565b61286157600080fd5b612980565b6102d16001600086815260200190815260200160002060040154141561297a57600160026000868152602001908152602001600020600085815260200190815260200160002060006101000a81548160ff021916908315150217905550600034146128d057600080fd5b6001600085815260200190815260200160002060030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd8630866040518463ffffffff1660e01b81526004016129439392919061520a565b600060405180830381600087803b15801561295d57600080fd5b505af1158015612971573d6000803e3d6000fd5b5050505061297f565b600080fd5b5b5b7f7431e5e30247dcb2379eab9b0e60e49038c5ddb5cac27f27a17e950c0220a693846001806000888152602001908152602001600020600801805490500387866040516129d194939291906155eb565b60405180910390a16000600460146101000a81548160ff0219169083151502179055505050505050565b838073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480612a835750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b612a8c57600080fd5b836000548110612a9b57600080fd5b848460016000838152602001908152602001600020600001805490508110612ac257600080fd5b878787600160008381526020019081526020016000206000018181548110612ae657fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612b4857600080fd5b87600160008c8152602001908152602001600020600201819055507f946e60a77ecf689f0595d6dcd6cf1537564a1d82472a69a3be00f7e8cb6f8b7d8a8c8a604051612b9693929190615538565b60405180910390a15050505050505050505050565b868073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480612c335750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b612c3c57600080fd5b6000548710612c4a57600080fd5b60016000888152602001908152602001600020600001805490508610612c6f57600080fd5b600160008881526020019081526020016000206000018681548110612c9057fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff1614612cf257600080fd5b600085511180612d03575060008451115b612d0c57600080fd5b84600160008981526020019081526020016000206000019080519060200190612d36929190613c10565b5083600160008981526020019081526020016000206001019080519060200190612d61929190613dae565b508160016000898152602001908152602001600020600201819055507f588a0d2c7e36ab3050cd6b8b12441530ae5407613e9f2a62dc10bc43a302ed9c878987878787604051612db696959493929190615408565b60405180910390a15050505050505050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b858073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480612e765750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b612e7f57600080fd5b612e8b87878787611bed565b612eb3878760018060008b8152602001908152602001600020600701805490500386866106c1565b50505050505050565b848073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480612f445750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b612f4d57600080fd5b846000548110612f5c57600080fd5b858560016000838152602001908152602001600020600701805490508110612f8357600080fd5b888888600160008381526020019081526020016000206007018181548110612fa757fe5b906000526020600020906002020160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461301057600080fd5b88600160008d81526020019081526020016000206007018b8154811061303257fe5b90600052602060002090600202016000019080519060200190613056929190613c10565b507fde0d52ad68b0a792924de426fb3a2f2c1ce908be531894e35d85e533fbb8ec168b8b8b8b60405161308c949392919061567c565b60405180910390a1505050505050505050505050565b838073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061312a5750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61313357600080fd5b83600054811061314257600080fd5b84846001600083815260200190815260200160002060000180549050811061316957600080fd5b87878760016000838152602001908152602001600020600001818154811061318d57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146131ef57600080fd5b60008090505b885181101561329857600160008c815260200190815260200160002060000189828151811061322057fe5b602002602001015190806001815401808255809150509060018203906000526020600020016000909192909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505080806001019150506131f5565b507fc969620b1b90646a0d597289d87dcf90d4cc4e554bddf0c003dfc05954a6d3598a8c600160008e81526020019081526020016000206000016040516132e19392919061547e565b60405180910390a15050505050505050505050565b60016020528060005260406000206000915090508060020154908060030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060040154908060050154908060060160009054906101000a900460ff16905085565b60026020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b828073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806134105750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61341957600080fd5b60008090505b825181101561345357613446858585848151811061343957fe5b60200260200101516118e0565b808060010191505061341f565b5050505050565b613462613e38565b60016000838152602001908152602001600020604051806101200160405290816000820180548060200260200160405190810160405280929190818152602001828054801561350657602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190600101908083116134bc575b505050505081526020016001820180548060200260200160405190810160405280929190818152602001828054801561359457602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001906001019080831161354a575b50505050508152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160048201548152602001600582015481526020016006820160009054906101000a900460ff1615151515815260200160078201805480602002602001604051908101604052809291908181526020016000905b828210156137675783829060005260206000209060020201604051806040016040529081600082018054806020026020016040519081016040528092919081815260200182805480156136f957602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190600101908083116136af575b505050505081526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152505081526020019060010190613651565b50505050815260200160088201805480602002602001604051908101604052809291908181526020016000905b8282101561384157838290600052602060002090600302016040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600182015481526020016002820160009054906101000a900460ff16151515158152505081526020019060010190613794565b50505050815250509050919050565b60006001600085815260200190815260200160002060040154141561392e576000811161387c57600080fd5b806001600085815260200190815260200160002060050154101561389f57600080fd5b6138c8816001600086815260200190815260200160002060050154613bf990919063ffffffff16565b60016000858152602001908152602001600020600501819055508173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015613928573d6000803e3d6000fd5b50613bda565b601460016000858152602001908152602001600020600401541415613a91576000811161395a57600080fd5b806001600085815260200190815260200160002060050154101561397d57600080fd5b6139a6816001600086815260200190815260200160002060050154613bf990919063ffffffff16565b60016000858152602001908152602001600020600501819055506001600084815260200190815260200160002060030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b8152600401613a31929190615241565b602060405180830381600087803b158015613a4b57600080fd5b505af1158015613a5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250613a839190810190614b85565b613a8c57600080fd5b613bd9565b6102d160016000858152602001908152602001600020600401541415613bd35760026000848152602001908152602001600020600082815260200190815260200160002060009054906101000a900460ff16613aec57600080fd5b600060026000858152602001908152602001600020600083815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600084815260200190815260200160002060030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3084846040518463ffffffff1660e01b8152600401613b9c9392919061526a565b600060405180830381600087803b158015613bb657600080fd5b505af1158015613bca573d6000803e3d6000fd5b50505050613bd8565b600080fd5b5b5b505050565b6000818301905082811015613bf057fe5b80905092915050565b600082821115613c0557fe5b818303905092915050565b828054828255906000526020600020908101928215613c89579160200282015b82811115613c885782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190613c30565b5b509050613c969190613e9c565b5090565b828054828255906000526020600020908101928215613d13579160200282015b82811115613d125782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190613cba565b5b509050613d209190613edf565b5090565b828054828255906000526020600020908101928215613d9d579160200282015b82811115613d9c5782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190613d44565b5b509050613daa9190613e9c565b5090565b828054828255906000526020600020908101928215613e27579160200282015b82811115613e265782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190613dce565b5b509050613e349190613edf565b5090565b604051806101200160405280606081526020016060815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600081526020016000815260200160001515815260200160608152602001606081525090565b613edc91905b80821115613ed857600081816101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905550600101613ea2565b5090565b90565b613f1f91905b80821115613f1b57600081816101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905550600101613ee5565b5090565b90565b6000613f2e8235615a85565b905092915050565b6000613f428235615a97565b905092915050565b600082601f830112613f5b57600080fd5b8135613f6e613f698261575d565b615730565b91508181835260208401935060208101905083856020840282011115613f9357600080fd5b60005b83811015613fc35781613fa98882613f22565b845260208401935060208301925050600181019050613f96565b5050505092915050565b600082601f830112613fde57600080fd5b8135613ff1613fec82615785565b615730565b9150818183526020840193506020810190508385602084028201111561401657600080fd5b60005b83811015614046578161402c8882613f36565b845260208401935060208301925050600181019050614019565b5050505092915050565b600082601f83011261406157600080fd5b813561407461406f826157ad565b615730565b9150818183526020840193506020810190508385602084028201111561409957600080fd5b60005b838110156140c957816140af888261413b565b84526020840193506020830192505060018101905061409c565b5050505092915050565b60006140df8251615aa9565b905092915050565b600082601f8301126140f857600080fd5b813561410b614106826157d5565b615730565b9150808252602083016020830185838301111561412757600080fd5b614132838284615b15565b50505092915050565b60006141478235615ad5565b905092915050565b60006020828403121561416157600080fd5b600061416f84828501613f22565b91505092915050565b600080600080600080600060e0888a03121561419357600080fd5b60006141a18a828b01613f36565b975050602088013567ffffffffffffffff8111156141be57600080fd5b6141ca8a828b01613fcd565b965050604088013567ffffffffffffffff8111156141e757600080fd5b6141f38a828b01613f4a565b955050606088013567ffffffffffffffff81111561421057600080fd5b61421c8a828b016140e7565b945050608061422d8a828b0161413b565b93505060a061423e8a828b01613f22565b92505060c061424f8a828b0161413b565b91505092959891949750929550565b600080600080600080600080610100898b03121561427b57600080fd5b60006142898b828c01613f36565b985050602089013567ffffffffffffffff8111156142a657600080fd5b6142b28b828c01613fcd565b975050604089013567ffffffffffffffff8111156142cf57600080fd5b6142db8b828c01613f4a565b965050606089013567ffffffffffffffff8111156142f857600080fd5b6143048b828c016140e7565b95505060806143158b828c0161413b565b94505060a06143268b828c01613f22565b93505060c06143378b828c0161413b565b92505060e06143488b828c0161413b565b9150509295985092959890939650565b60008060006060848603121561436d57600080fd5b600061437b86828701613f36565b935050602061438c8682870161413b565b925050604061439d8682870161413b565b9150509250925092565b600080600080608085870312156143bd57600080fd5b60006143cb87828801613f36565b94505060206143dc8782880161413b565b93505060406143ed8782880161413b565b925050606085013567ffffffffffffffff81111561440a57600080fd5b61441687828801614050565b91505092959194509250565b6000806000806080858703121561443857600080fd5b600061444687828801613f22565b94505060206144578782880161413b565b935050604085013567ffffffffffffffff81111561447457600080fd5b61448087828801613fcd565b925050606085013567ffffffffffffffff81111561449d57600080fd5b6144a9878288016140e7565b91505092959194509250565b60008060008060008060c087890312156144ce57600080fd5b60006144dc89828a01613f22565b96505060206144ed89828a0161413b565b955050604087013567ffffffffffffffff81111561450a57600080fd5b61451689828a01613fcd565b945050606087013567ffffffffffffffff81111561453357600080fd5b61453f89828a016140e7565b935050608061455089828a0161413b565b92505060a087013567ffffffffffffffff81111561456d57600080fd5b61457989828a01614050565b9150509295509295509295565b60008060006060848603121561459b57600080fd5b60006145a986828701613f22565b93505060206145ba8682870161413b565b925050604084013567ffffffffffffffff8111156145d757600080fd5b6145e386828701614050565b9150509250925092565b60008060006060848603121561460257600080fd5b600061461086828701613f22565b93505060206146218682870161413b565b925050604084013567ffffffffffffffff81111561463e57600080fd5b61464a868287016140e7565b9150509250925092565b60008060006060848603121561466957600080fd5b600061467786828701613f22565b93505060206146888682870161413b565b92505060406146998682870161413b565b9150509250925092565b600080600080608085870312156146b957600080fd5b60006146c787828801613f22565b94505060206146d88782880161413b565b93505060406146e98782880161413b565b925050606085013567ffffffffffffffff81111561470657600080fd5b61471287828801613f4a565b91505092959194509250565b6000806000806080858703121561473457600080fd5b600061474287828801613f22565b94505060206147538782880161413b565b93505060406147648782880161413b565b925050606085013567ffffffffffffffff81111561478157600080fd5b61478d87828801613fcd565b91505092959194509250565b600080600080600080600060e0888a0312156147b457600080fd5b60006147c28a828b01613f22565b97505060206147d38a828b0161413b565b96505060406147e48a828b0161413b565b955050606088013567ffffffffffffffff81111561480157600080fd5b61480d8a828b01613fcd565b945050608088013567ffffffffffffffff81111561482a57600080fd5b6148368a828b01613fcd565b93505060a088013567ffffffffffffffff81111561485357600080fd5b61485f8a828b016140e7565b92505060c06148708a828b0161413b565b91505092959891949750929550565b600080600080600060a0868803121561489757600080fd5b60006148a588828901613f22565b95505060206148b68882890161413b565b94505060406148c78882890161413b565b935050606086013567ffffffffffffffff8111156148e457600080fd5b6148f088828901613fcd565b925050608086013567ffffffffffffffff81111561490d57600080fd5b614919888289016140e7565b9150509295509295909350565b6000806000806080858703121561493c57600080fd5b600061494a87828801613f22565b945050602061495b8782880161413b565b935050604061496c8782880161413b565b925050606085013567ffffffffffffffff81111561498957600080fd5b61499587828801614050565b91505092959194509250565b600080600080608085870312156149b757600080fd5b60006149c587828801613f22565b94505060206149d68782880161413b565b93505060406149e78782880161413b565b925050606085013567ffffffffffffffff811115614a0457600080fd5b614a10878288016140e7565b91505092959194509250565b60008060008060808587031215614a3257600080fd5b6000614a4087828801613f22565b9450506020614a518782880161413b565b9350506040614a628782880161413b565b9250506060614a738782880161413b565b91505092959194509250565b600080600080600060a08688031215614a9757600080fd5b6000614aa588828901613f22565b9550506020614ab68882890161413b565b9450506040614ac78882890161413b565b9350506060614ad88882890161413b565b9250506080614ae988828901613f36565b9150509295509295909350565b600080600080600060a08688031215614b0e57600080fd5b6000614b1c88828901613f22565b9550506020614b2d8882890161413b565b9450506040614b3e8882890161413b565b9350506060614b4f8882890161413b565b925050608086013567ffffffffffffffff811115614b6c57600080fd5b614b7888828901614050565b9150509295509295909350565b600060208284031215614b9757600080fd5b6000614ba5848285016140d3565b91505092915050565b600060208284031215614bc057600080fd5b6000614bce8482850161413b565b91505092915050565b60008060408385031215614bea57600080fd5b6000614bf88582860161413b565b9250506020614c098582860161413b565b9150509250929050565b6000614c1f8383614c96565b60208301905092915050565b6000614c378383614cb4565b60208301905092915050565b6000614c4f8383615152565b60608301905092915050565b6000614c678383615194565b905092915050565b6000614c7b83836151d1565b60208301905092915050565b614c9081615adf565b82525050565b614c9f816159fd565b82525050565b614cae816159fd565b82525050565b614cbd816159eb565b82525050565b614ccc816159eb565b82525050565b6000614cdd8261588b565b614ce78185615974565b9350614cf28361580e565b60005b82811015614d2057614d08868351614c2b565b9550614d13826158fb565b9150600181019050614cf5565b50849250505092915050565b6000614d3782615880565b614d418185615963565b9350614d4c83615801565b60005b82811015614d7a57614d62868351614c2b565b9550614d6d826158ee565b9150600181019050614d4f565b50849250505092915050565b6000614d9182615896565b614d9b8185615974565b9350614da68361581b565b60005b82811015614ddb57614dc386614dbe84615b8b565b614c2b565b9550614dce82615908565b9150600181019050614da9565b50849250505092915050565b6000614df2826158ac565b614dfc8185615996565b9350614e078361583a565b60005b82811015614e3557614e1d868351614c13565b9550614e2882615922565b9150600181019050614e0a565b50849250505092915050565b6000614e4c826158a1565b614e568185615985565b9350614e618361582d565b60005b82811015614e8f57614e77868351614c13565b9550614e8282615915565b9150600181019050614e64565b50849250505092915050565b6000614ea6826158b7565b614eb08185615996565b9350614ebb83615847565b60005b82811015614ef057614ed886614ed384615b9e565b614c13565b9550614ee38261592f565b9150600181019050614ebe565b50849250505092915050565b6000614f07826158c2565b614f1181856159a7565b9350614f1c83615859565b60005b82811015614f4a57614f32868351614c43565b9550614f3d8261593c565b9150600181019050614f1f565b50849250505092915050565b6000614f61826158cd565b614f6b81856159b8565b935083602082028501614f7d85615866565b60005b84811015614fb6578383038852614f98838351614c5b565b9250614fa382615949565b9150602088019750600181019050614f80565b508196508694505050505092915050565b6000614fd2826158d8565b614fdc81856159c9565b9350614fe783615873565b60005b8281101561501557614ffd868351614c6f565b955061500882615956565b9150600181019050614fea565b50849250505092915050565b61502a81615a0f565b82525050565b61503981615a0f565b82525050565b600061504a826158e3565b61505481856159da565b9350615064818560208601615b24565b61506d81615bb1565b840191505092915050565b60006101208301600083015184820360008601526150968282614e41565b915050602083015184820360208601526150b08282614d2c565b91505060408301516150c560408601826151d1565b5060608301516150d86060860182614cb4565b5060808301516150eb60808601826151d1565b5060a08301516150fe60a08601826151d1565b5060c083015161511160c0860182615021565b5060e083015184820360e08601526151298282614f56565b9150506101008301518482036101008601526151458282614efc565b9150508091505092915050565b6060820160008201516151686000850182614c96565b50602082015161517b60208501826151d1565b50604082015161518e6040850182615021565b50505050565b600060408301600083015184820360008601526151b18282614e41565b91505060208301516151c66020860182614cb4565b508091505092915050565b6151da81615a3b565b82525050565b6151e981615a3b565b82525050565b60006020820190506152046000830184614cc3565b92915050565b600060608201905061521f6000830186614c87565b61522c6020830185614cc3565b61523960408301846151e0565b949350505050565b60006040820190506152566000830185614c87565b61526360208301846151e0565b9392505050565b600060608201905061527f6000830186614cc3565b61528c6020830185614c87565b61529960408301846151e0565b949350505050565b60006020820190506152b66000830184615030565b92915050565b600060208201905081810360008301526152d68184615078565b905092915050565b60006020820190506152f360008301846151e0565b92915050565b60006101008201905061530f600083018b6151e0565b61531c602083018a614ca5565b818103604083015261532e8189614de7565b905081810360608301526153428188614cd2565b90508181036080830152615356818761503f565b905061536560a08301866151e0565b61537260c0830185614cc3565b61537f60e08301846151e0565b9998505050505050505050565b60006060820190506153a160008301866151e0565b6153ae6020830185614c87565b81810360408301526153c08184614fc7565b9050949350505050565b60006060820190506153df60008301866151e0565b6153ec6020830185614cc3565b81810360408301526153fe8184614d86565b9050949350505050565b600060c08201905061541d60008301896151e0565b61542a6020830188614cc3565b818103604083015261543c8187614de7565b905081810360608301526154508186614de7565b90508181036080830152615464818561503f565b905061547360a08301846151e0565b979650505050505050565b600060608201905061549360008301866151e0565b6154a06020830185614cc3565b81810360408301526154b28184614e9b565b9050949350505050565b60006060820190506154d160008301866151e0565b6154de6020830185614cc3565b81810360408301526154f08184614fc7565b9050949350505050565b600060608201905061550f60008301866151e0565b61551c6020830185614cc3565b818103604083015261552e818461503f565b9050949350505050565b600060608201905061554d60008301866151e0565b61555a6020830185614cc3565b61556760408301846151e0565b949350505050565b600060a08201905061558460008301886151e0565b6155916020830187614cc3565b61559e60408301866151e0565b6155ab60608301856151e0565b6155b86080830184615030565b9695505050505050565b60006040820190506155d760008301856151e0565b6155e460208301846151e0565b9392505050565b600060808201905061560060008301876151e0565b61560d60208301866151e0565b61561a6040830185614ca5565b61562760608301846151e0565b95945050505050565b600060808201905061564560008301876151e0565b61565260208301866151e0565b61565f6040830185614cc3565b81810360608301526156718184614fc7565b905095945050505050565b600060808201905061569160008301876151e0565b61569e60208301866151e0565b81810360408301526156b08185614de7565b905081810360608301526156c4818461503f565b905095945050505050565b600060a0820190506156e460008301886151e0565b6156f160208301876151e0565b81810360408301526157038186614de7565b90508181036060830152615717818561503f565b90506157266080830184614cc3565b9695505050505050565b6000604051905081810181811067ffffffffffffffff8211171561575357600080fd5b8060405250919050565b600067ffffffffffffffff82111561577457600080fd5b602082029050602081019050919050565b600067ffffffffffffffff82111561579c57600080fd5b602082029050602081019050919050565b600067ffffffffffffffff8211156157c457600080fd5b602082029050602081019050919050565b600067ffffffffffffffff8211156157ec57600080fd5b601f19601f8301169050602081019050919050565b6000602082019050919050565b6000602082019050919050565b60008160005260206000209050919050565b6000602082019050919050565b6000602082019050919050565b60008160005260206000209050919050565b6000602082019050919050565b6000602082019050919050565b6000602082019050919050565b600081519050919050565b600081519050919050565b600081549050919050565b600081519050919050565b600081519050919050565b600081549050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b6000600182019050919050565b6000602082019050919050565b6000602082019050919050565b6000600182019050919050565b6000602082019050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b60006159f682615a1b565b9050919050565b6000615a0882615a1b565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000615a9082615ab5565b9050919050565b6000615aa282615ab5565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000615aea82615af1565b9050919050565b6000615afc82615b03565b9050919050565b6000615b0e82615a1b565b9050919050565b82818337600083830152505050565b60005b83811015615b42578082015181840152602081019050615b27565b83811115615b51576000848401525b50505050565b6000615b6a615b6583615bc2565b615a45565b9050919050565b6000615b84615b7f83615bc2565b615a65565b9050919050565b6000615b978254615b57565b9050919050565b6000615baa8254615b71565b9050919050565b6000601f19601f8301169050919050565b60008160001c905091905056fea265627a7a7230582033f869bc66b7292d947520a5f0100169f9e5ac8c0293280af0a07895a53ce6646c6578706572696d656e74616cf50037

Deployed Bytecode

0x6080604052600436106101c15760003560e01c806397d76665116100f7578063c1107c1111610095578063dc2f874411610064578063dc2f8744146105dd578063ec41e4cd1461061e578063edba70131461065b578063ee8c4bbf14610684576101c1565b8063c1107c1114610537578063c22215b814610562578063c49604501461058b578063c6a8b42b146105b4576101c1565b8063a071fbd5116100d1578063a071fbd5146104a0578063a08f793c146104c9578063aa17aaef146104e5578063b178d7681461050e576101c1565b806397d76665146104255780639d2bdb441461044e5780639e64d9bf14610477576101c1565b806361cf2213116101645780637ef8213c1161013e5780637ef8213c1461037d57806388db0f52146103a65780638da5cb5b146103d157806393c1ccc9146103fc576101c1565b806361cf221314610300578063651bad5214610329578063720dc00c14610352576101c1565b80633756f3c8116101a05780633756f3c8146102485780634ac4e25a146102715780634daf1bb51461029a578063567b3d2e146102c3576101c1565b8062f27e38146101c657806306060ae3146101ef5780632092e2591461021f575b600080fd5b3480156101d257600080fd5b506101ed60048036036101e89190810190614af6565b6106c1565b005b6102096004803603610204919081019061425e565b6109b6565b60405161021691906152de565b60405180910390f35b34801561022b57600080fd5b5061024660048036036102419190810190614a7f565b6109e2565b005b34801561025457600080fd5b5061026f600480360361026a91908101906143a7565b610bf7565b005b34801561027d57600080fd5b50610298600480360361029391908101906145ed565b610ee6565b005b3480156102a657600080fd5b506102c160048036036102bc91908101906146a3565b610fc8565b005b3480156102cf57600080fd5b506102ea60048036036102e59190810190614178565b61121c565b6040516102f791906152de565b60405180910390f35b34801561030c57600080fd5b506103276004803603610322919081019061414f565b61140c565b005b34801561033557600080fd5b50610350600480360361034b91908101906146a3565b611505565b005b34801561035e57600080fd5b5061036761170c565b60405161037491906152a1565b60405180910390f35b34801561038957600080fd5b506103a4600480360361039f91908101906149a1565b61171f565b005b3480156103b257600080fd5b506103bb6118b4565b6040516103c891906152de565b60405180910390f35b3480156103dd57600080fd5b506103e66118ba565b6040516103f391906151ef565b60405180910390f35b34801561040857600080fd5b50610423600480360361041e9190810190614654565b6118e0565b005b34801561043157600080fd5b5061044c60048036036104479190810190614422565b611bed565b005b34801561045a57600080fd5b506104756004803603610470919081019061471e565b611df2565b005b34801561048357600080fd5b5061049e60048036036104999190810190614a7f565b611ff9565b005b3480156104ac57600080fd5b506104c760048036036104c29190810190614926565b61223e565b005b6104e360048036036104de9190810190614358565b6124e6565b005b3480156104f157600080fd5b5061050c60048036036105079190810190614a1c565b6129fb565b005b34801561051a57600080fd5b5061053560048036036105309190810190614799565b612bab565b005b34801561054357600080fd5b5061054c612dc8565b60405161055991906151ef565b60405180910390f35b34801561056e57600080fd5b50610589600480360361058491908101906144b5565b612dee565b005b34801561059757600080fd5b506105b260048036036105ad919081019061487f565b612ebc565b005b3480156105c057600080fd5b506105db60048036036105d6919081019061471e565b6130a2565b005b3480156105e957600080fd5b5061060460048036036105ff9190810190614bae565b6132f6565b60405161061595949392919061556f565b60405180910390f35b34801561062a57600080fd5b5061064560048036036106409190810190614bd7565b613359565b60405161065291906152a1565b60405180910390f35b34801561066757600080fd5b50610682600480360361067d9190810190614586565b613388565b005b34801561069057600080fd5b506106ab60048036036106a69190810190614bae565b61345a565b6040516106b891906152bc565b60405180910390f35b848073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806107495750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61075257600080fd5b84600054811061076157600080fd5b85856001600083815260200190815260200160002060070180549050811061078857600080fd5b8888876001600083815260200190815260200160002060010181815481106107ac57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461080e57600080fd5b600460149054906101000a900460ff161561082857600080fd5b6001600460146101000a81548160ff02191690831515021790555060018060008d815260200190815260200160002060060160006101000a81548160ff0219169083151502179055506000600160008d81526020019081526020016000206007018b8154811061089457fe5b9060005260206000209060020201905080600001805490508951146108b857600080fd5b60008090505b816000018054905081101561094e5760008a82815181106108db57fe5b60200260200101511115610941576109408d8360000183815481106108fc57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168c848151811061093357fe5b6020026020010151613850565b5b80806001019150506108be565b507f4d54a229a804a61c5213bec479b1407ce270c57b24fd8299d6ea98b6b2ab05208c8c8f8c6040516109849493929190615630565b60405180910390a1506000600460146101000a81548160ff021916908315150217905550505050505050505050505050565b6000806109c88a8a8a8a8a8a8a61121c565b90506109d58a82856124e6565b5098975050505050505050565b848073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610a6a5750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610a7357600080fd5b846000548110610a8257600080fd5b868686600160008381526020019081526020016000206000018181548110610aa657fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614610b0857600080fd5b888760016000838152602001908152602001600020600101805490508110610b2f57600080fd5b87600160008d81526020019081526020016000206001018a81548110610b5157fe5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f43a4e4542993b08827123085341d156186f40b28b6343f301c246a1d5f49d9f78b8d600160008f8152602001908152602001600020600101604051610be1939291906153ca565b60405180910390a1505050505050505050505050565b838073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610c7f5750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610c8857600080fd5b836000548110610c9757600080fd5b858585600160008381526020019081526020016000206000018181548110610cbb57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614610d1d57600080fd5b600460149054906101000a900460ff1615610d3757600080fd5b6001600460146101000a81548160ff0219169083151502179055506000600160008a8152602001908152602001600020600401541480610d8d57506014600160008a815260200190815260200160002060040154145b15610dfb576001865114610da057600080fd5b600160008981526020019081526020016000206005015486600081518110610dc457fe5b60200260200101511115610dd757600080fd5b610df6888a88600081518110610de957fe5b6020026020010151613850565b610e85565b60008090505b8651811015610e8357600260008a81526020019081526020016000206000888381518110610e2b57fe5b6020026020010151815260200190815260200160002060009054906101000a900460ff16610e5857600080fd5b610e76898b898481518110610e6957fe5b6020026020010151613850565b8080600101915050610e01565b505b7fc9db45671da2b4994b84d56a8832d4e0bcc3722230dffce39df6886f9ec2d7d6888a88604051610eb89392919061538c565b60405180910390a16000600460146101000a81548160ff021916908315150217905550505050505050505050565b828073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610f6e5750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610f7757600080fd5b826000548110610f8657600080fd5b7fd54885079d7edd9bea77e3f09e83bd65a121db3d3a14892227e0d2cffe73970f848685604051610fb9939291906154fa565b60405180910390a15050505050565b838073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806110505750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61105957600080fd5b83600054811061106857600080fd5b84846001600083815260200190815260200160002060000180549050811061108f57600080fd5b8787876001600083815260200190815260200160002060000181815481106110b357fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461111557600080fd5b60008090505b88518110156111be57600160008c815260200190815260200160002060010189828151811061114657fe5b602002602001015190806001815401808255809150509060018203906000526020600020016000909192909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050808060010191505061111b565b507f43a4e4542993b08827123085341d156186f40b28b6343f301c246a1d5f49d9f78a8c600160008e8152602001908152602001600020600101604051611207939291906153ca565b60405180910390a15050505050505050505050565b6000878073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806112a65750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6112af57600080fd5b60008314806112be5750601483145b806112ca57506102d183145b6112d357600080fd5b6000885111806112e4575060008751115b6112ed57600080fd5b600080549050600060016000838152602001908152602001600020905089816000019080519060200190611322929190613c10565b508881600101908051906020019061133b929190613c9a565b508681600201819055508481600401819055506000851461139a57858160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b6113b06001600054613bdf90919063ffffffff16565b6000819055507feea6c8039af43860e84bc876245a0d129d92b942390135da1051b219149c100e828c8c8c8c8c8c8c6040516113f39897969594939291906152f9565b60405180910390a1819350505050979650505050505050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461146657600080fd5b600073ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146114c157600080fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b838073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061158d5750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61159657600080fd5b8360005481106115a557600080fd5b8484600160008381526020019081526020016000206000018054905081106115cc57600080fd5b8787876001600083815260200190815260200160002060000181815481106115f057fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461165257600080fd5b6000600160008c815260200190815260200160002060000180549050118061167b575060008851115b61168457600080fd5b87600160008c815260200190815260200160002060010190805190602001906116ae929190613c9a565b507f43a4e4542993b08827123085341d156186f40b28b6343f301c246a1d5f49d9f78a8c600160008e81526020019081526020016000206001016040516116f7939291906153ca565b60405180910390a15050505050505050505050565b600460149054906101000a900460ff1681565b838073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806117a75750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6117b057600080fd5b8360005481106117bf57600080fd5b8484600160008381526020019081526020016000206000018054905081106117e657600080fd5b87878760016000838152602001908152602001600020600001818154811061180a57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461186c57600080fd5b7fdc41a74d84036920901cf73075fc7f917d75b1f5dbd7955c12f92033362472338a8c8a60405161189f939291906154fa565b60405180910390a15050505050505050505050565b60005481565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b828073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806119685750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61197157600080fd5b82600054811061198057600080fd5b8383600160008381526020019081526020016000206008018054905081106119a757600080fd5b8686866001600083815260200190815260200160002060080181815481106119cb57fe5b906000526020600020906003020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611a3457600080fd5b886001600082815260200190815260200160002060060160009054906101000a900460ff1615611a6357600080fd5b8989600160008381526020019081526020016000206008018181548110611a8657fe5b906000526020600020906003020160020160009054906101000a900460ff1615611aaf57600080fd5b600460149054906101000a900460ff1615611ac957600080fd5b6001600460146101000a81548160ff021916908315150217905550600160008d8152602001908152602001600020600201544211611b0657600080fd5b6000600160008e81526020019081526020016000206008018c81548110611b2957fe5b9060005260206000209060030201905060018160020160006101000a81548160ff021916908315150217905550611b898d8260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168360010154613850565b7ffb1da5cbf027ad18b7c1f786bf81e9920cc0db09d7e299a8e4f3dbb64ce32f018d8d604051611bba9291906155c2565b60405180910390a1506000600460146101000a81548160ff02191690831515021790555050505050505050505050505050565b838073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611c755750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611c7e57600080fd5b836000548110611c8d57600080fd5b60016000868152602001908152602001600020600201544210611caf57600080fd5b6000845111611cbd57600080fd5b6001600086815260200190815260200160002060070160405180604001604052808681526020018873ffffffffffffffffffffffffffffffffffffffff16815250908060018154018082558091505090600182039060005260206000209060020201600090919290919091506000820151816000019080519060200190611d45929190613d24565b5060208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050507fb9fb09db36801e95ddbb658a96b7ecf81b9b7e105e4a82d8887b1e7eadd45b84856001806000898152602001908152602001600020600701805490500386868a604051611de29594939291906156cf565b60405180910390a1505050505050565b838073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611e7a5750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611e8357600080fd5b836000548110611e9257600080fd5b848460016000838152602001908152602001600020600001805490508110611eb957600080fd5b878787600160008381526020019081526020016000206000018181548110611edd57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611f3f57600080fd5b600088511180611f6857506000600160008c815260200190815260200160002060010180549050115b611f7157600080fd5b87600160008c81526020019081526020016000206000019080519060200190611f9b929190613c10565b507fc969620b1b90646a0d597289d87dcf90d4cc4e554bddf0c003dfc05954a6d3598a8c600160008e8152602001908152602001600020600001604051611fe49392919061547e565b60405180910390a15050505050505050505050565b848073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806120815750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61208a57600080fd5b84600054811061209957600080fd5b8584600160008381526020019081526020016000206000018054905081106120c057600080fd5b8888886001600083815260200190815260200160002060000181815481106120e457fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461214657600080fd5b600160008c8152602001908152602001600020600001805490508a108061216d575060008a145b61217657600080fd5b87600160008d81526020019081526020016000206000018a8154811061219857fe5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fc969620b1b90646a0d597289d87dcf90d4cc4e554bddf0c003dfc05954a6d3598b8d600160008f81526020019081526020016000206000016040516122289392919061547e565b60405180910390a1505050505050505050505050565b838073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806122c65750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6122cf57600080fd5b8360005481106122de57600080fd5b85858560016000838152602001908152602001600020600001818154811061230257fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461236457600080fd5b600460149054906101000a900460ff161561237e57600080fd5b6001600460146101000a81548160ff02191690831515021790555060008090505b865181101561248457600160008a8152602001908152602001600020600801805490508782815181106123ce57fe5b602002602001015111156123e157600080fd5b6000600160008b815260200190815260200160002060080188838151811061240557fe5b60200260200101518154811061241757fe5b906000526020600020906003020190508060020160009054906101000a900460ff161561244357600080fd5b6124768a8260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168360010154613850565b50808060010191505061239f565b507fc55c552370ad68c2faed667a8224a8ab373e39368872484a40619b1e884336de888a886040516124b8939291906154bc565b60405180910390a16000600460146101000a81548160ff021916908315150217905550505050505050505050565b828073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061256e5750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61257757600080fd5b82600054811061258657600080fd5b600460149054906101000a900460ff16156125a057600080fd5b6001600460146101000a81548160ff021916908315150217905550600083116125c857600080fd5b6001600085815260200190815260200160002060080160405180606001604052808773ffffffffffffffffffffffffffffffffffffffff168152602001858152602001600015158152509080600181540180825580915050906001820390600052602060002090600302016000909192909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001015560408201518160020160006101000a81548160ff021916908315150217905550505050600060016000868152602001908152602001600020600401541415612724576126f9836001600087815260200190815260200160002060050154613bdf90919063ffffffff16565b600160008681526020019081526020016000206005018190555082341461271f57600080fd5b612981565b6014600160008681526020019081526020016000206004015414156128665761276c836001600087815260200190815260200160002060050154613bdf90919063ffffffff16565b60016000868152602001908152602001600020600501819055506000341461279357600080fd5b6001600085815260200190815260200160002060030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd8630866040518463ffffffff1660e01b81526004016128069392919061520a565b602060405180830381600087803b15801561282057600080fd5b505af1158015612834573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506128589190810190614b85565b61286157600080fd5b612980565b6102d16001600086815260200190815260200160002060040154141561297a57600160026000868152602001908152602001600020600085815260200190815260200160002060006101000a81548160ff021916908315150217905550600034146128d057600080fd5b6001600085815260200190815260200160002060030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd8630866040518463ffffffff1660e01b81526004016129439392919061520a565b600060405180830381600087803b15801561295d57600080fd5b505af1158015612971573d6000803e3d6000fd5b5050505061297f565b600080fd5b5b5b7f7431e5e30247dcb2379eab9b0e60e49038c5ddb5cac27f27a17e950c0220a693846001806000888152602001908152602001600020600801805490500387866040516129d194939291906155eb565b60405180910390a16000600460146101000a81548160ff0219169083151502179055505050505050565b838073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480612a835750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b612a8c57600080fd5b836000548110612a9b57600080fd5b848460016000838152602001908152602001600020600001805490508110612ac257600080fd5b878787600160008381526020019081526020016000206000018181548110612ae657fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612b4857600080fd5b87600160008c8152602001908152602001600020600201819055507f946e60a77ecf689f0595d6dcd6cf1537564a1d82472a69a3be00f7e8cb6f8b7d8a8c8a604051612b9693929190615538565b60405180910390a15050505050505050505050565b868073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480612c335750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b612c3c57600080fd5b6000548710612c4a57600080fd5b60016000888152602001908152602001600020600001805490508610612c6f57600080fd5b600160008881526020019081526020016000206000018681548110612c9057fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff1614612cf257600080fd5b600085511180612d03575060008451115b612d0c57600080fd5b84600160008981526020019081526020016000206000019080519060200190612d36929190613c10565b5083600160008981526020019081526020016000206001019080519060200190612d61929190613dae565b508160016000898152602001908152602001600020600201819055507f588a0d2c7e36ab3050cd6b8b12441530ae5407613e9f2a62dc10bc43a302ed9c878987878787604051612db696959493929190615408565b60405180910390a15050505050505050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b858073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480612e765750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b612e7f57600080fd5b612e8b87878787611bed565b612eb3878760018060008b8152602001908152602001600020600701805490500386866106c1565b50505050505050565b848073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480612f445750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b612f4d57600080fd5b846000548110612f5c57600080fd5b858560016000838152602001908152602001600020600701805490508110612f8357600080fd5b888888600160008381526020019081526020016000206007018181548110612fa757fe5b906000526020600020906002020160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461301057600080fd5b88600160008d81526020019081526020016000206007018b8154811061303257fe5b90600052602060002090600202016000019080519060200190613056929190613c10565b507fde0d52ad68b0a792924de426fb3a2f2c1ce908be531894e35d85e533fbb8ec168b8b8b8b60405161308c949392919061567c565b60405180910390a1505050505050505050505050565b838073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061312a5750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61313357600080fd5b83600054811061314257600080fd5b84846001600083815260200190815260200160002060000180549050811061316957600080fd5b87878760016000838152602001908152602001600020600001818154811061318d57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146131ef57600080fd5b60008090505b885181101561329857600160008c815260200190815260200160002060000189828151811061322057fe5b602002602001015190806001815401808255809150509060018203906000526020600020016000909192909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505080806001019150506131f5565b507fc969620b1b90646a0d597289d87dcf90d4cc4e554bddf0c003dfc05954a6d3598a8c600160008e81526020019081526020016000206000016040516132e19392919061547e565b60405180910390a15050505050505050505050565b60016020528060005260406000206000915090508060020154908060030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060040154908060050154908060060160009054906101000a900460ff16905085565b60026020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b828073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806134105750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61341957600080fd5b60008090505b825181101561345357613446858585848151811061343957fe5b60200260200101516118e0565b808060010191505061341f565b5050505050565b613462613e38565b60016000838152602001908152602001600020604051806101200160405290816000820180548060200260200160405190810160405280929190818152602001828054801561350657602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190600101908083116134bc575b505050505081526020016001820180548060200260200160405190810160405280929190818152602001828054801561359457602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001906001019080831161354a575b50505050508152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160048201548152602001600582015481526020016006820160009054906101000a900460ff1615151515815260200160078201805480602002602001604051908101604052809291908181526020016000905b828210156137675783829060005260206000209060020201604051806040016040529081600082018054806020026020016040519081016040528092919081815260200182805480156136f957602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190600101908083116136af575b505050505081526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152505081526020019060010190613651565b50505050815260200160088201805480602002602001604051908101604052809291908181526020016000905b8282101561384157838290600052602060002090600302016040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600182015481526020016002820160009054906101000a900460ff16151515158152505081526020019060010190613794565b50505050815250509050919050565b60006001600085815260200190815260200160002060040154141561392e576000811161387c57600080fd5b806001600085815260200190815260200160002060050154101561389f57600080fd5b6138c8816001600086815260200190815260200160002060050154613bf990919063ffffffff16565b60016000858152602001908152602001600020600501819055508173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015613928573d6000803e3d6000fd5b50613bda565b601460016000858152602001908152602001600020600401541415613a91576000811161395a57600080fd5b806001600085815260200190815260200160002060050154101561397d57600080fd5b6139a6816001600086815260200190815260200160002060050154613bf990919063ffffffff16565b60016000858152602001908152602001600020600501819055506001600084815260200190815260200160002060030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b8152600401613a31929190615241565b602060405180830381600087803b158015613a4b57600080fd5b505af1158015613a5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250613a839190810190614b85565b613a8c57600080fd5b613bd9565b6102d160016000858152602001908152602001600020600401541415613bd35760026000848152602001908152602001600020600082815260200190815260200160002060009054906101000a900460ff16613aec57600080fd5b600060026000858152602001908152602001600020600083815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600084815260200190815260200160002060030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3084846040518463ffffffff1660e01b8152600401613b9c9392919061526a565b600060405180830381600087803b158015613bb657600080fd5b505af1158015613bca573d6000803e3d6000fd5b50505050613bd8565b600080fd5b5b5b505050565b6000818301905082811015613bf057fe5b80905092915050565b600082821115613c0557fe5b818303905092915050565b828054828255906000526020600020908101928215613c89579160200282015b82811115613c885782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190613c30565b5b509050613c969190613e9c565b5090565b828054828255906000526020600020908101928215613d13579160200282015b82811115613d125782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190613cba565b5b509050613d209190613edf565b5090565b828054828255906000526020600020908101928215613d9d579160200282015b82811115613d9c5782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190613d44565b5b509050613daa9190613e9c565b5090565b828054828255906000526020600020908101928215613e27579160200282015b82811115613e265782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190613dce565b5b509050613e349190613edf565b5090565b604051806101200160405280606081526020016060815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600081526020016000815260200160001515815260200160608152602001606081525090565b613edc91905b80821115613ed857600081816101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905550600101613ea2565b5090565b90565b613f1f91905b80821115613f1b57600081816101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905550600101613ee5565b5090565b90565b6000613f2e8235615a85565b905092915050565b6000613f428235615a97565b905092915050565b600082601f830112613f5b57600080fd5b8135613f6e613f698261575d565b615730565b91508181835260208401935060208101905083856020840282011115613f9357600080fd5b60005b83811015613fc35781613fa98882613f22565b845260208401935060208301925050600181019050613f96565b5050505092915050565b600082601f830112613fde57600080fd5b8135613ff1613fec82615785565b615730565b9150818183526020840193506020810190508385602084028201111561401657600080fd5b60005b83811015614046578161402c8882613f36565b845260208401935060208301925050600181019050614019565b5050505092915050565b600082601f83011261406157600080fd5b813561407461406f826157ad565b615730565b9150818183526020840193506020810190508385602084028201111561409957600080fd5b60005b838110156140c957816140af888261413b565b84526020840193506020830192505060018101905061409c565b5050505092915050565b60006140df8251615aa9565b905092915050565b600082601f8301126140f857600080fd5b813561410b614106826157d5565b615730565b9150808252602083016020830185838301111561412757600080fd5b614132838284615b15565b50505092915050565b60006141478235615ad5565b905092915050565b60006020828403121561416157600080fd5b600061416f84828501613f22565b91505092915050565b600080600080600080600060e0888a03121561419357600080fd5b60006141a18a828b01613f36565b975050602088013567ffffffffffffffff8111156141be57600080fd5b6141ca8a828b01613fcd565b965050604088013567ffffffffffffffff8111156141e757600080fd5b6141f38a828b01613f4a565b955050606088013567ffffffffffffffff81111561421057600080fd5b61421c8a828b016140e7565b945050608061422d8a828b0161413b565b93505060a061423e8a828b01613f22565b92505060c061424f8a828b0161413b565b91505092959891949750929550565b600080600080600080600080610100898b03121561427b57600080fd5b60006142898b828c01613f36565b985050602089013567ffffffffffffffff8111156142a657600080fd5b6142b28b828c01613fcd565b975050604089013567ffffffffffffffff8111156142cf57600080fd5b6142db8b828c01613f4a565b965050606089013567ffffffffffffffff8111156142f857600080fd5b6143048b828c016140e7565b95505060806143158b828c0161413b565b94505060a06143268b828c01613f22565b93505060c06143378b828c0161413b565b92505060e06143488b828c0161413b565b9150509295985092959890939650565b60008060006060848603121561436d57600080fd5b600061437b86828701613f36565b935050602061438c8682870161413b565b925050604061439d8682870161413b565b9150509250925092565b600080600080608085870312156143bd57600080fd5b60006143cb87828801613f36565b94505060206143dc8782880161413b565b93505060406143ed8782880161413b565b925050606085013567ffffffffffffffff81111561440a57600080fd5b61441687828801614050565b91505092959194509250565b6000806000806080858703121561443857600080fd5b600061444687828801613f22565b94505060206144578782880161413b565b935050604085013567ffffffffffffffff81111561447457600080fd5b61448087828801613fcd565b925050606085013567ffffffffffffffff81111561449d57600080fd5b6144a9878288016140e7565b91505092959194509250565b60008060008060008060c087890312156144ce57600080fd5b60006144dc89828a01613f22565b96505060206144ed89828a0161413b565b955050604087013567ffffffffffffffff81111561450a57600080fd5b61451689828a01613fcd565b945050606087013567ffffffffffffffff81111561453357600080fd5b61453f89828a016140e7565b935050608061455089828a0161413b565b92505060a087013567ffffffffffffffff81111561456d57600080fd5b61457989828a01614050565b9150509295509295509295565b60008060006060848603121561459b57600080fd5b60006145a986828701613f22565b93505060206145ba8682870161413b565b925050604084013567ffffffffffffffff8111156145d757600080fd5b6145e386828701614050565b9150509250925092565b60008060006060848603121561460257600080fd5b600061461086828701613f22565b93505060206146218682870161413b565b925050604084013567ffffffffffffffff81111561463e57600080fd5b61464a868287016140e7565b9150509250925092565b60008060006060848603121561466957600080fd5b600061467786828701613f22565b93505060206146888682870161413b565b92505060406146998682870161413b565b9150509250925092565b600080600080608085870312156146b957600080fd5b60006146c787828801613f22565b94505060206146d88782880161413b565b93505060406146e98782880161413b565b925050606085013567ffffffffffffffff81111561470657600080fd5b61471287828801613f4a565b91505092959194509250565b6000806000806080858703121561473457600080fd5b600061474287828801613f22565b94505060206147538782880161413b565b93505060406147648782880161413b565b925050606085013567ffffffffffffffff81111561478157600080fd5b61478d87828801613fcd565b91505092959194509250565b600080600080600080600060e0888a0312156147b457600080fd5b60006147c28a828b01613f22565b97505060206147d38a828b0161413b565b96505060406147e48a828b0161413b565b955050606088013567ffffffffffffffff81111561480157600080fd5b61480d8a828b01613fcd565b945050608088013567ffffffffffffffff81111561482a57600080fd5b6148368a828b01613fcd565b93505060a088013567ffffffffffffffff81111561485357600080fd5b61485f8a828b016140e7565b92505060c06148708a828b0161413b565b91505092959891949750929550565b600080600080600060a0868803121561489757600080fd5b60006148a588828901613f22565b95505060206148b68882890161413b565b94505060406148c78882890161413b565b935050606086013567ffffffffffffffff8111156148e457600080fd5b6148f088828901613fcd565b925050608086013567ffffffffffffffff81111561490d57600080fd5b614919888289016140e7565b9150509295509295909350565b6000806000806080858703121561493c57600080fd5b600061494a87828801613f22565b945050602061495b8782880161413b565b935050604061496c8782880161413b565b925050606085013567ffffffffffffffff81111561498957600080fd5b61499587828801614050565b91505092959194509250565b600080600080608085870312156149b757600080fd5b60006149c587828801613f22565b94505060206149d68782880161413b565b93505060406149e78782880161413b565b925050606085013567ffffffffffffffff811115614a0457600080fd5b614a10878288016140e7565b91505092959194509250565b60008060008060808587031215614a3257600080fd5b6000614a4087828801613f22565b9450506020614a518782880161413b565b9350506040614a628782880161413b565b9250506060614a738782880161413b565b91505092959194509250565b600080600080600060a08688031215614a9757600080fd5b6000614aa588828901613f22565b9550506020614ab68882890161413b565b9450506040614ac78882890161413b565b9350506060614ad88882890161413b565b9250506080614ae988828901613f36565b9150509295509295909350565b600080600080600060a08688031215614b0e57600080fd5b6000614b1c88828901613f22565b9550506020614b2d8882890161413b565b9450506040614b3e8882890161413b565b9350506060614b4f8882890161413b565b925050608086013567ffffffffffffffff811115614b6c57600080fd5b614b7888828901614050565b9150509295509295909350565b600060208284031215614b9757600080fd5b6000614ba5848285016140d3565b91505092915050565b600060208284031215614bc057600080fd5b6000614bce8482850161413b565b91505092915050565b60008060408385031215614bea57600080fd5b6000614bf88582860161413b565b9250506020614c098582860161413b565b9150509250929050565b6000614c1f8383614c96565b60208301905092915050565b6000614c378383614cb4565b60208301905092915050565b6000614c4f8383615152565b60608301905092915050565b6000614c678383615194565b905092915050565b6000614c7b83836151d1565b60208301905092915050565b614c9081615adf565b82525050565b614c9f816159fd565b82525050565b614cae816159fd565b82525050565b614cbd816159eb565b82525050565b614ccc816159eb565b82525050565b6000614cdd8261588b565b614ce78185615974565b9350614cf28361580e565b60005b82811015614d2057614d08868351614c2b565b9550614d13826158fb565b9150600181019050614cf5565b50849250505092915050565b6000614d3782615880565b614d418185615963565b9350614d4c83615801565b60005b82811015614d7a57614d62868351614c2b565b9550614d6d826158ee565b9150600181019050614d4f565b50849250505092915050565b6000614d9182615896565b614d9b8185615974565b9350614da68361581b565b60005b82811015614ddb57614dc386614dbe84615b8b565b614c2b565b9550614dce82615908565b9150600181019050614da9565b50849250505092915050565b6000614df2826158ac565b614dfc8185615996565b9350614e078361583a565b60005b82811015614e3557614e1d868351614c13565b9550614e2882615922565b9150600181019050614e0a565b50849250505092915050565b6000614e4c826158a1565b614e568185615985565b9350614e618361582d565b60005b82811015614e8f57614e77868351614c13565b9550614e8282615915565b9150600181019050614e64565b50849250505092915050565b6000614ea6826158b7565b614eb08185615996565b9350614ebb83615847565b60005b82811015614ef057614ed886614ed384615b9e565b614c13565b9550614ee38261592f565b9150600181019050614ebe565b50849250505092915050565b6000614f07826158c2565b614f1181856159a7565b9350614f1c83615859565b60005b82811015614f4a57614f32868351614c43565b9550614f3d8261593c565b9150600181019050614f1f565b50849250505092915050565b6000614f61826158cd565b614f6b81856159b8565b935083602082028501614f7d85615866565b60005b84811015614fb6578383038852614f98838351614c5b565b9250614fa382615949565b9150602088019750600181019050614f80565b508196508694505050505092915050565b6000614fd2826158d8565b614fdc81856159c9565b9350614fe783615873565b60005b8281101561501557614ffd868351614c6f565b955061500882615956565b9150600181019050614fea565b50849250505092915050565b61502a81615a0f565b82525050565b61503981615a0f565b82525050565b600061504a826158e3565b61505481856159da565b9350615064818560208601615b24565b61506d81615bb1565b840191505092915050565b60006101208301600083015184820360008601526150968282614e41565b915050602083015184820360208601526150b08282614d2c565b91505060408301516150c560408601826151d1565b5060608301516150d86060860182614cb4565b5060808301516150eb60808601826151d1565b5060a08301516150fe60a08601826151d1565b5060c083015161511160c0860182615021565b5060e083015184820360e08601526151298282614f56565b9150506101008301518482036101008601526151458282614efc565b9150508091505092915050565b6060820160008201516151686000850182614c96565b50602082015161517b60208501826151d1565b50604082015161518e6040850182615021565b50505050565b600060408301600083015184820360008601526151b18282614e41565b91505060208301516151c66020860182614cb4565b508091505092915050565b6151da81615a3b565b82525050565b6151e981615a3b565b82525050565b60006020820190506152046000830184614cc3565b92915050565b600060608201905061521f6000830186614c87565b61522c6020830185614cc3565b61523960408301846151e0565b949350505050565b60006040820190506152566000830185614c87565b61526360208301846151e0565b9392505050565b600060608201905061527f6000830186614cc3565b61528c6020830185614c87565b61529960408301846151e0565b949350505050565b60006020820190506152b66000830184615030565b92915050565b600060208201905081810360008301526152d68184615078565b905092915050565b60006020820190506152f360008301846151e0565b92915050565b60006101008201905061530f600083018b6151e0565b61531c602083018a614ca5565b818103604083015261532e8189614de7565b905081810360608301526153428188614cd2565b90508181036080830152615356818761503f565b905061536560a08301866151e0565b61537260c0830185614cc3565b61537f60e08301846151e0565b9998505050505050505050565b60006060820190506153a160008301866151e0565b6153ae6020830185614c87565b81810360408301526153c08184614fc7565b9050949350505050565b60006060820190506153df60008301866151e0565b6153ec6020830185614cc3565b81810360408301526153fe8184614d86565b9050949350505050565b600060c08201905061541d60008301896151e0565b61542a6020830188614cc3565b818103604083015261543c8187614de7565b905081810360608301526154508186614de7565b90508181036080830152615464818561503f565b905061547360a08301846151e0565b979650505050505050565b600060608201905061549360008301866151e0565b6154a06020830185614cc3565b81810360408301526154b28184614e9b565b9050949350505050565b60006060820190506154d160008301866151e0565b6154de6020830185614cc3565b81810360408301526154f08184614fc7565b9050949350505050565b600060608201905061550f60008301866151e0565b61551c6020830185614cc3565b818103604083015261552e818461503f565b9050949350505050565b600060608201905061554d60008301866151e0565b61555a6020830185614cc3565b61556760408301846151e0565b949350505050565b600060a08201905061558460008301886151e0565b6155916020830187614cc3565b61559e60408301866151e0565b6155ab60608301856151e0565b6155b86080830184615030565b9695505050505050565b60006040820190506155d760008301856151e0565b6155e460208301846151e0565b9392505050565b600060808201905061560060008301876151e0565b61560d60208301866151e0565b61561a6040830185614ca5565b61562760608301846151e0565b95945050505050565b600060808201905061564560008301876151e0565b61565260208301866151e0565b61565f6040830185614cc3565b81810360608301526156718184614fc7565b905095945050505050565b600060808201905061569160008301876151e0565b61569e60208301866151e0565b81810360408301526156b08185614de7565b905081810360608301526156c4818461503f565b905095945050505050565b600060a0820190506156e460008301886151e0565b6156f160208301876151e0565b81810360408301526157038186614de7565b90508181036060830152615717818561503f565b90506157266080830184614cc3565b9695505050505050565b6000604051905081810181811067ffffffffffffffff8211171561575357600080fd5b8060405250919050565b600067ffffffffffffffff82111561577457600080fd5b602082029050602081019050919050565b600067ffffffffffffffff82111561579c57600080fd5b602082029050602081019050919050565b600067ffffffffffffffff8211156157c457600080fd5b602082029050602081019050919050565b600067ffffffffffffffff8211156157ec57600080fd5b601f19601f8301169050602081019050919050565b6000602082019050919050565b6000602082019050919050565b60008160005260206000209050919050565b6000602082019050919050565b6000602082019050919050565b60008160005260206000209050919050565b6000602082019050919050565b6000602082019050919050565b6000602082019050919050565b600081519050919050565b600081519050919050565b600081549050919050565b600081519050919050565b600081519050919050565b600081549050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b6000600182019050919050565b6000602082019050919050565b6000602082019050919050565b6000600182019050919050565b6000602082019050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b60006159f682615a1b565b9050919050565b6000615a0882615a1b565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000615a9082615ab5565b9050919050565b6000615aa282615ab5565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000615aea82615af1565b9050919050565b6000615afc82615b03565b9050919050565b6000615b0e82615a1b565b9050919050565b82818337600083830152505050565b60005b83811015615b42578082015181840152602081019050615b27565b83811115615b51576000848401525b50505050565b6000615b6a615b6583615bc2565b615a45565b9050919050565b6000615b84615b7f83615bc2565b615a65565b9050919050565b6000615b978254615b57565b9050919050565b6000615baa8254615b71565b9050919050565b6000601f19601f8301169050919050565b60008160001c905091905056fea265627a7a7230582033f869bc66b7292d947520a5f0100169f9e5ac8c0293280af0a07895a53ce6646c6578706572696d656e74616cf50037

Swarm Source

bzzr://33f869bc66b7292d947520a5f0100169f9e5ac8c0293280af0a07895a53ce664

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.