ETH Price: $1,972.43 (+0.19%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Initialize135554162021-11-05 7:59:471570 days ago1636099187IN
0xd3901504...b0b68888c
0 ETH0.01867153135.55242036

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
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:
ERC677InitializableToken

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 200 runs

Other Settings:
byzantium EvmVersion
pragma solidity 0.4.24;

import "openzeppelin-eth/contracts/token/ERC20/ERC20Burnable.sol";
//import "openzeppelin-eth/contracts/token/ERC20/ERC20Mintable.sol";
import "./ERC20Mintable.sol";
import "openzeppelin-eth/contracts/token/ERC20/ERC20Detailed.sol";
//import "openzeppelin-eth/contracts/ownership/Ownerable.sol";
import "zos-lib/contracts/Initializable.sol";
import "./ERC677Receiver.sol";
import "openzeppelin-eth/contracts/token/ERC20/ERC20.sol";

contract ERC677 is ERC20 {
    event Transfer(address indexed from, address indexed to, uint value, bytes data);

    function transferAndCall(address, uint, bytes) external returns (bool);


}


contract ERC677InitializableToken is
    ERC677,
    ERC20Detailed,
    ERC20Burnable,
    ERC20Mintable {

    event ContractFallbackCallFailed(address from, address to, uint value);

    address public bridgeContract;

    uint256 lastFundingPeriod = 0;
    uint256 totalPeriodFundedAmount = 0;

    FundingRules fundingRules;

    struct FundingRules {
        uint256 periodLength; // refresh period for next funding round in blocks
        uint256 maxPeriodFunds; // max amount to fund in a period
        uint256 threshold; // amount below which a funding event happens
        uint256 amount; // amount to fund
    }

    function initialize(string _name, string _symbol, uint8 _decimals, address _owner) external initializer {
        ERC20Mintable.initialize(_owner);
        ERC20Detailed.initialize(_name, _symbol, _decimals);
    }


    function () payable {}

    function setFundingRules(uint256 _periodLength, uint256 _maxPeriodFunds, uint256 _threshold, uint256 _amount) onlyOwner public {
        fundingRules.periodLength = _periodLength;
        fundingRules.maxPeriodFunds = _maxPeriodFunds;
        fundingRules.threshold = _threshold;
        fundingRules.amount = _amount;
    }

    function getFundingRules() public view returns(uint256, uint256, uint256, uint256){
        return (fundingRules.periodLength,
        fundingRules.maxPeriodFunds,
        fundingRules.threshold,
        fundingRules.amount);
    }

    function fundReceiver(address _to) internal {
        // reset funding period
        if(block.number > fundingRules.periodLength + lastFundingPeriod) {
            lastFundingPeriod = block.number;
            totalPeriodFundedAmount = 0;
        }
        // transfer receiver money only if limits are not met and they are below the threshold
        if(address(_to).balance < fundingRules.threshold && fundingRules.amount + totalPeriodFundedAmount <= fundingRules.maxPeriodFunds) {
            if(address(_to).send(fundingRules.amount)){
                totalPeriodFundedAmount += fundingRules.amount;
            }
        }
    }

    function setBridgeContract(address _bridgeContract) onlyOwner public {
        require(_bridgeContract != address(0) && isContract(_bridgeContract));
        bridgeContract = _bridgeContract;
    }

    modifier validRecipient(address _recipient) {
        require(_recipient != address(0) && _recipient != address(this));
        _;
    }

    function transferAndCall(address _to, uint _value, bytes _data)
        external validRecipient(_to) returns (bool)
    {
        require(superTransfer(_to, _value));
        fundReceiver(_to);
        emit Transfer(msg.sender, _to, _value, _data);

        if (isContract(_to)) {
            require(contractFallback(_to, _value, _data));
        }
        return true;
    }

    function getTokenInterfacesVersion() public pure returns(uint64 major, uint64 minor, uint64 patch) {
        return (2, 0, 0);
    }

    function superTransfer(address _to, uint256 _value) internal returns(bool)
    {
        return super.transfer(_to, _value);
    }

    function transfer(address _to, uint256 _value) public returns (bool)
    {
        require(superTransfer(_to, _value), "failed superTransfer");
        fundReceiver(_to);
        if (isContract(_to) && !contractFallback(_to, _value, new bytes(0))) {
            if (_to == bridgeContract) {
                revert("reverted here");
            } else {
                emit ContractFallbackCallFailed(msg.sender, _to, _value);
            }
        }
        return true;
    }

    function contractFallback(address _to, uint _value, bytes _data)
        private
        returns(bool)
    {
        return _to.call(abi.encodeWithSignature("onTokenTransfer(address,uint256,bytes)",  msg.sender, _value, _data));
    }

    function isContract(address _addr)
        private
        view
        returns (bool)
    {
        uint length;
        assembly { length := extcodesize(_addr) }
        return length > 0;
    }

    function mint(
        address _to,
        uint256 _amount
    )
    public
    hasMintPermission
    returns (bool)
    {
        fundReceiver(_to);
        return super.mint(_to, _amount);
    }

    function finishMinting() public returns (bool) {
        revert();
    }

    function renounceOwnership() public onlyOwner {
        revert();
    }

    function claimTokens(address _token, address _to) public onlyOwner {
        require(_to != address(0));
        if (_token == address(0)) {
            _to.transfer(address(this).balance);
            return;
        }

        ERC20Detailed token = ERC20Detailed(_token);
        uint256 balance = token.balanceOf(address(this));
        require(token.transfer(_to, balance));
    }

}

File 2 of 10 : Initializable.sol
pragma solidity >=0.4.24 <0.6.0;


/**
 * @title Initializable
 *
 * @dev Helper contract to support initializer functions. To use it, replace
 * the constructor with a function that has the `initializer` modifier.
 * WARNING: Unlike constructors, initializer functions must be manually
 * invoked. This applies both to deploying an Initializable contract, as well
 * as extending an Initializable contract via inheritance.
 * WARNING: When used with inheritance, manual care must be taken to not invoke
 * a parent initializer twice, or ensure that all initializers are idempotent,
 * because this is not dealt with automatically as with constructors.
 */
contract Initializable {

  /**
   * @dev Indicates that the contract has been initialized.
   */
  bool private initialized;

  /**
   * @dev Indicates that the contract is in the process of being initialized.
   */
  bool private initializing;

  /**
   * @dev Modifier to use in the initializer function of a contract.
   */
  modifier initializer() {
    require(initializing || isConstructor() || !initialized, "Contract instance has already been initialized");

    bool wasInitializing = initializing;
    initializing = true;
    initialized = true;

    _;

    initializing = wasInitializing;
  }

  /// @dev Returns true if and only if the function is running in the constructor
  function isConstructor() private view returns (bool) {
    // extcodesize checks the size of the code stored in an address, and
    // address returns the current address. Since the code is still not
    // deployed when running a constructor, any checks on its code size will
    // yield zero, making it an effective way to detect if a contract is
    // under construction or not.
    uint256 cs;
    assembly { cs := extcodesize(address) }
    return cs == 0;
  }

  // Reserved storage space to allow for layout changes in the future.
  uint256[50] private ______gap;
}

pragma solidity 0.4.24;


contract ERC677Receiver {
  function onTokenTransfer(address _from, uint _value, bytes _data) external returns(bool);
}

pragma solidity ^0.4.24;

import "zos-lib/contracts/Initializable.sol";
import "openzeppelin-eth/contracts/token/ERC20/ERC20.sol";
import "openzeppelin-eth/contracts/ownership/Ownable.sol";


/**
 * @title ERC20Mintable
 * @dev ERC20 minting logic
 */
contract ERC20Mintable is Initializable, ERC20, Ownable {
  function initialize(address sender) public initializer {
    Ownable.initialize(sender);
  }

  /**
   * @dev Function to mint tokens
   * @param to The address that will receive the minted tokens.
   * @param amount The amount of tokens to mint.
   * @return A boolean that indicates if the operation was successful.
   */
  function mint(
    address to,
    uint256 amount
  )
    public
    onlyOwner
    returns (bool)
  {
    _mint(to, amount);
    return true;
  }


  modifier hasMintPermission() {
    require(msg.sender == owner());
    _;
  }

  uint256[50] private ______gap;
}

pragma solidity ^0.4.24;


/**
 * @title ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/20
 */
interface IERC20 {
  function totalSupply() external view returns (uint256);

  function balanceOf(address who) external view returns (uint256);

  function allowance(address owner, address spender)
    external view returns (uint256);

  function transfer(address to, uint256 value) external returns (bool);

  function approve(address spender, uint256 value)
    external returns (bool);

  function transferFrom(address from, address to, uint256 value)
    external returns (bool);

  event Transfer(
    address indexed from,
    address indexed to,
    uint256 value
  );

  event Approval(
    address indexed owner,
    address indexed spender,
    uint256 value
  );
}

pragma solidity ^0.4.24;

import "zos-lib/contracts/Initializable.sol";
import "./IERC20.sol";


/**
 * @title ERC20Detailed token
 * @dev The decimals are only for visualization purposes.
 * All the operations are done using the smallest and indivisible token unit,
 * just as on Ethereum all the operations are done in wei.
 */
contract ERC20Detailed is Initializable, IERC20 {
  string private _name;
  string private _symbol;
  uint8 private _decimals;

  function initialize(string name, string symbol, uint8 decimals) public initializer {
    _name = name;
    _symbol = symbol;
    _decimals = decimals;
  }

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

  /**
   * @return the symbol of the token.
   */
  function symbol() public view returns(string) {
    return _symbol;
  }

  /**
   * @return the number of decimals of the token.
   */
  function decimals() public view returns(uint8) {
    return _decimals;
  }

  uint256[50] private ______gap;
}

pragma solidity ^0.4.24;

import "zos-lib/contracts/Initializable.sol";
import "./ERC20.sol";


/**
 * @title Burnable Token
 * @dev Token that can be irreversibly burned (destroyed).
 */
contract ERC20Burnable is Initializable, ERC20 {

  /**
   * @dev Burns a specific amount of tokens.
   * @param value The amount of token to be burned.
   */
  function burn(uint256 value) public {
    _burn(msg.sender, value);
  }

  /**
   * @dev Burns a specific amount of tokens from the target address and decrements allowance
   * @param from address The address which you want to send tokens from
   * @param value uint256 The amount of token to be burned
   */
  function burnFrom(address from, uint256 value) public {
    _burnFrom(from, value);
  }

  uint256[50] private ______gap;
}

pragma solidity ^0.4.24;

import "zos-lib/contracts/Initializable.sol";
import "./IERC20.sol";
import "../../math/SafeMath.sol";


/**
 * @title Standard ERC20 token
 *
 * @dev Implementation of the basic standard token.
 * https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md
 * Originally based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol
 */
contract ERC20 is Initializable, IERC20 {
  using SafeMath for uint256;

  mapping (address => uint256) private _balances;

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

  uint256 private _totalSupply;

  /**
  * @dev Total number of tokens in existence
  */
  function totalSupply() public view returns (uint256) {
    return _totalSupply;
  }

  /**
  * @dev Gets the balance of the specified address.
  * @param owner The address to query the the balance of.
  * @return An uint256 representing the amount owned by the passed address.
  */
  function balanceOf(address owner) public view returns (uint256) {
    return _balances[owner];
  }

  /**
   * @dev Function to check the amount of tokens that an owner allowed to a spender.
   * @param owner address The address which owns the funds.
   * @param spender address The address which will spend the funds.
   * @return A uint256 specifying the amount of tokens still available for the spender.
   */
  function allowance(
    address owner,
    address spender
   )
    public
    view
    returns (uint256)
  {
    return _allowed[owner][spender];
  }

  /**
  * @dev Transfer token for a specified address
  * @param to The address to transfer to.
  * @param value The amount to be transferred.
  */
  function transfer(address to, uint256 value) public returns (bool) {
    _transfer(msg.sender, to, value);
    return true;
  }

  /**
   * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender.
   * Beware that changing an allowance with this method brings the risk that someone may use both the old
   * and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this
   * race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards:
   * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
   * @param spender The address which will spend the funds.
   * @param value The amount of tokens to be spent.
   */
  function approve(address spender, uint256 value) public returns (bool) {
    require(spender != address(0));

    _allowed[msg.sender][spender] = value;
    emit Approval(msg.sender, spender, value);
    return true;
  }

  /**
   * @dev Transfer tokens from one address to another
   * @param from address The address which you want to send tokens from
   * @param to address The address which you want to transfer to
   * @param value uint256 the amount of tokens to be transferred
   */
  function transferFrom(
    address from,
    address to,
    uint256 value
  )
    public
    returns (bool)
  {
    require(value <= _allowed[from][msg.sender]);

    _allowed[from][msg.sender] = _allowed[from][msg.sender].sub(value);
    _transfer(from, to, value);
    return true;
  }

  /**
   * @dev Increase the amount of tokens that an owner allowed to a spender.
   * approve should be called when allowed_[_spender] == 0. To increment
   * allowed value is better to use this function to avoid 2 calls (and wait until
   * the first transaction is mined)
   * From MonolithDAO Token.sol
   * @param spender The address which will spend the funds.
   * @param addedValue The amount of tokens to increase the allowance by.
   */
  function increaseAllowance(
    address spender,
    uint256 addedValue
  )
    public
    returns (bool)
  {
    require(spender != address(0));

    _allowed[msg.sender][spender] = (
      _allowed[msg.sender][spender].add(addedValue));
    emit Approval(msg.sender, spender, _allowed[msg.sender][spender]);
    return true;
  }

  /**
   * @dev Decrease the amount of tokens that an owner allowed to a spender.
   * approve should be called when allowed_[_spender] == 0. To decrement
   * allowed value is better to use this function to avoid 2 calls (and wait until
   * the first transaction is mined)
   * From MonolithDAO Token.sol
   * @param spender The address which will spend the funds.
   * @param subtractedValue The amount of tokens to decrease the allowance by.
   */
  function decreaseAllowance(
    address spender,
    uint256 subtractedValue
  )
    public
    returns (bool)
  {
    require(spender != address(0));

    _allowed[msg.sender][spender] = (
      _allowed[msg.sender][spender].sub(subtractedValue));
    emit Approval(msg.sender, spender, _allowed[msg.sender][spender]);
    return true;
  }

  /**
  * @dev Transfer token for a specified addresses
  * @param from The address to transfer from.
  * @param to The address to transfer to.
  * @param value The amount to be transferred.
  */
  function _transfer(address from, address to, uint256 value) internal {
    require(value <= _balances[from]);
    require(to != address(0));

    _balances[from] = _balances[from].sub(value);
    _balances[to] = _balances[to].add(value);
    emit Transfer(from, to, value);
  }

  /**
   * @dev Internal function that mints an amount of the token and assigns it to
   * an account. This encapsulates the modification of balances such that the
   * proper events are emitted.
   * @param account The account that will receive the created tokens.
   * @param amount The amount that will be created.
   */
  function _mint(address account, uint256 amount) internal {
    require(account != 0);
    _totalSupply = _totalSupply.add(amount);
    _balances[account] = _balances[account].add(amount);
    emit Transfer(address(0), account, amount);
  }

  /**
   * @dev Internal function that burns an amount of the token of a given
   * account.
   * @param account The account whose tokens will be burnt.
   * @param amount The amount that will be burnt.
   */
  function _burn(address account, uint256 amount) internal {
    require(account != 0);
    require(amount <= _balances[account]);

    _totalSupply = _totalSupply.sub(amount);
    _balances[account] = _balances[account].sub(amount);
    emit Transfer(account, address(0), amount);
  }

  /**
   * @dev Internal function that burns an amount of the token of a given
   * account, deducting from the sender's allowance for said account. Uses the
   * internal burn function.
   * @param account The account whose tokens will be burnt.
   * @param amount The amount that will be burnt.
   */
  function _burnFrom(address account, uint256 amount) internal {
    require(amount <= _allowed[account][msg.sender]);

    // Should https://github.com/OpenZeppelin/zeppelin-solidity/issues/707 be accepted,
    // this function needs to emit an event with the updated approval.
    _allowed[account][msg.sender] = _allowed[account][msg.sender].sub(
      amount);
    _burn(account, amount);
  }

  uint256[50] private ______gap;
}

pragma solidity ^0.4.24;

import "zos-lib/contracts/Initializable.sol";

/**
 * @title Ownable
 * @dev The Ownable contract has an owner address, and provides basic authorization control
 * functions, this simplifies the implementation of "user permissions".
 */
contract Ownable is Initializable {
  address private _owner;


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


  /**
   * @dev The Ownable constructor sets the original `owner` of the contract to the sender
   * account.
   */
  function initialize(address sender) public initializer {
    _owner = sender;
  }

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

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

  /**
   * @return true if `msg.sender` is the owner of the contract.
   */
  function isOwner() public view returns(bool) {
    return msg.sender == _owner;
  }

  /**
   * @dev Allows the current owner to relinquish control of the contract.
   * @notice Renouncing to ownership will leave the contract without an owner.
   * It will not be possible to call the functions with the `onlyOwner`
   * modifier anymore.
   */
  function renounceOwnership() public onlyOwner {
    emit OwnershipRenounced(_owner);
    _owner = address(0);
  }

  /**
   * @dev Allows the current owner to transfer control of the contract to a newOwner.
   * @param newOwner The address to transfer ownership to.
   */
  function transferOwnership(address newOwner) public onlyOwner {
    _transferOwnership(newOwner);
  }

  /**
   * @dev Transfers control of the contract to a newOwner.
   * @param newOwner The address to transfer ownership to.
   */
  function _transferOwnership(address newOwner) internal {
    require(newOwner != address(0));
    emit OwnershipTransferred(_owner, newOwner);
    _owner = newOwner;
  }

  uint256[50] private ______gap;
}

pragma solidity ^0.4.24;


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

  /**
  * @dev Multiplies two numbers, reverts on overflow.
  */
  function mul(uint256 a, uint256 b) internal pure returns (uint256) {
    // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
    // benefit is lost if 'b' is also tested.
    // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522
    if (a == 0) {
      return 0;
    }

    uint256 c = a * b;
    require(c / a == b);

    return c;
  }

  /**
  * @dev Integer division of two numbers truncating the quotient, reverts on division by zero.
  */
  function div(uint256 a, uint256 b) internal pure returns (uint256) {
    require(b > 0); // Solidity only automatically asserts 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 c;
  }

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

    return c;
  }

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

    return c;
  }

  /**
  * @dev Divides two numbers and returns the remainder (unsigned integer modulo),
  * reverts when dividing by zero.
  */
  function mod(uint256 a, uint256 b) internal pure returns (uint256) {
    require(b != 0);
    return a % b;
  }
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "evmVersion": "byzantium",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

API
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_bridgeContract","type":"address"}],"name":"setBridgeContract","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"name","type":"string"},{"name":"symbol","type":"string"},{"name":"decimals","type":"uint8"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"transferAndCall","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"mint","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"value","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_token","type":"address"},{"name":"_to","type":"address"}],"name":"claimTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"value","type":"uint256"}],"name":"burnFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"finishMinting","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getTokenInterfacesVersion","outputs":[{"name":"major","type":"uint64"},{"name":"minor","type":"uint64"},{"name":"patch","type":"uint64"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_periodLength","type":"uint256"},{"name":"_maxPeriodFunds","type":"uint256"},{"name":"_threshold","type":"uint256"},{"name":"_amount","type":"uint256"}],"name":"setFundingRules","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getFundingRules","outputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"sender","type":"address"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"bridgeContract","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"},{"name":"spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"string"},{"name":"_symbol","type":"string"},{"name":"_decimals","type":"uint8"},{"name":"_owner","type":"address"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"from","type":"address"},{"indexed":false,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"ContractFallbackCallFailed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"}],"name":"OwnershipRenounced","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"},{"indexed":false,"name":"data","type":"bytes"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"}]

608060405260006101355560006101365534801561001c57600080fd5b50611a3b8061002c6000396000f3006080604052600436106101745763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610176578063095ea7b3146102005780630b26cf66146102385780631624f6c61461025957806318160ddd146102f557806323b872dd1461031c578063313ce5671461034657806339509351146103715780634000aea01461039557806340c10f19146103c657806342966c68146103ea57806369ffa08a1461040257806370a0823114610429578063715018a61461044a57806379cc67901461045f5780637d64bcb414610483578063859ba28c146104985780638da5cb5b146104d95780638f32d59b1461050a57806395d89b411461051f57806398a8695414610534578063a457c2d714610555578063a9059cbb14610579578063bbc06ebd1461059d578063c4d66de8146105d8578063cd596583146105f9578063dd62ed3e1461060e578063de7ea79d14610635578063f2fde38b14610673575b005b34801561018257600080fd5b5061018b610694565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101c55781810151838201526020016101ad565b50505050905090810190601f1680156101f25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561020c57600080fd5b50610224600160a060020a036004351660243561072b565b604080519115158252519081900360200190f35b34801561024457600080fd5b50610174600160a060020a03600435166107a9565b34801561026557600080fd5b506040805160206004803580820135601f810184900484028501840190955284845261017494369492936024939284019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a9998810197919650918201945092508291508401838280828437509497505050923560ff16935061081392505050565b34801561030157600080fd5b5061030a610911565b60408051918252519081900360200190f35b34801561032857600080fd5b50610224600160a060020a0360043581169060243516604435610917565b34801561035257600080fd5b5061035b6109b4565b6040805160ff9092168252519081900360200190f35b34801561037d57600080fd5b50610224600160a060020a03600435166024356109bd565b3480156103a157600080fd5b5061022460048035600160a060020a0316906024803591604435918201910135610a6d565b3480156103d257600080fd5b50610224600160a060020a0360043516602435610b86565b3480156103f657600080fd5b50610174600435610bbe565b34801561040e57600080fd5b50610174600160a060020a0360043581169060243516610bcb565b34801561043557600080fd5b5061030a600160a060020a0360043516610d7e565b34801561045657600080fd5b50610174610d99565b34801561046b57600080fd5b50610174600160a060020a0360043516602435610db1565b34801561048f57600080fd5b50610224610dbf565b3480156104a457600080fd5b506104ad610dc6565b6040805167ffffffffffffffff9485168152928416602084015292168183015290519081900360600190f35b3480156104e557600080fd5b506104ee610dd0565b60408051600160a060020a039092168252519081900360200190f35b34801561051657600080fd5b50610224610ddf565b34801561052b57600080fd5b5061018b610df0565b34801561054057600080fd5b50610174600435602435604435606435610e51565b34801561056157600080fd5b50610224600160a060020a0360043516602435610e7c565b34801561058557600080fd5b50610224600160a060020a0360043516602435610ec7565b3480156105a957600080fd5b506105b261101e565b604080519485526020850193909352838301919091526060830152519081900360800190f35b3480156105e457600080fd5b50610174600160a060020a0360043516611034565b34801561060557600080fd5b506104ee6110f9565b34801561061a57600080fd5b5061030a600160a060020a0360043581169060243516611109565b34801561064157600080fd5b50610174602460048035828101929082013591813591820191013560ff60443516600160a060020a0360643516611134565b34801561067f57600080fd5b50610174600160a060020a0360043516611267565b60688054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107205780601f106106f557610100808354040283529160200191610720565b820191906000526020600020905b81548152906001019060200180831161070357829003601f168201915b505050505090505b90565b6000600160a060020a038316151561074257600080fd5b336000818152603460209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b6107b1610ddf565b15156107bc57600080fd5b600160a060020a038116158015906107d857506107d881611283565b15156107e357600080fd5b610134805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60008054610100900460ff168061082d575061082d61128b565b8061083b575060005460ff16155b1515610893576040805160e560020a62461bcd02815260206004820152602e60248201526000805160206119d083398151915260448201526000805160206119f0833981519152606482015290519081900360840190fd5b5060008054600161010061ff00198316811760ff191691909117909255845191900460ff16906108ca906068906020870190611941565b5082516108de906069906020860190611941565b50606a805460ff90931660ff1990931692909217909155600080549115156101000261ff00199092169190911790555050565b60355490565b600160a060020a038316600090815260346020908152604080832033845290915281205482111561094757600080fd5b600160a060020a038416600090815260346020908152604080832033845290915290205461097b908363ffffffff61129516565b600160a060020a03851660009081526034602090815260408083203384529091529020556109aa8484846112ac565b5060019392505050565b606a5460ff1690565b6000600160a060020a03831615156109d457600080fd5b336000908152603460209081526040808320600160a060020a0387168452909152902054610a08908363ffffffff6113a016565b336000818152603460209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b600084600160a060020a03811615801590610a915750600160a060020a0381163014155b1515610a9c57600080fd5b610aa686866113b2565b1515610ab157600080fd5b610aba866113be565b85600160a060020a031633600160a060020a03167fe19260aff97b920c7df27010903aeb9c8d2be5d310a2c67824cf3f15396e4c16878787604051808481526020018060200182810382528484828181526020019250808284376040519201829003965090945050505050a3610b2f86611283565b15610b7a57610b6f868686868080601f01602080910402602001604051908101604052809392919081815260200183838082843750611443945050505050565b1515610b7a57600080fd5b50600195945050505050565b6000610b90610dd0565b600160a060020a03163314610ba457600080fd5b610bad836113be565b610bb783836115ad565b9392505050565b610bc833826115cc565b50565b600080610bd6610ddf565b1515610be157600080fd5b600160a060020a0383161515610bf657600080fd5b600160a060020a0384161515610c4257604051600160a060020a03841690303180156108fc02916000818181858888f19350505050158015610c3c573d6000803e3d6000fd5b50610d78565b604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051859350600160a060020a038416916370a082319160248083019260209291908290030181600087803b158015610ca657600080fd5b505af1158015610cba573d6000803e3d6000fd5b505050506040513d6020811015610cd057600080fd5b5051604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0386811660048301526024820184905291519293509084169163a9059cbb916044808201926020929091908290030181600087803b158015610d4157600080fd5b505af1158015610d55573d6000803e3d6000fd5b505050506040513d6020811015610d6b57600080fd5b50511515610d7857600080fd5b50505050565b600160a060020a031660009081526033602052604090205490565b610da1610ddf565b1515610dac57600080fd5b600080fd5b610dbb828261169c565b5050565b6000806000fd5b6002600080909192565b60cf54600160a060020a031690565b60cf54600160a060020a0316331490565b60698054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107205780601f106106f557610100808354040283529160200191610720565b610e59610ddf565b1515610e6457600080fd5b61013793909355610138919091556101395561013a55565b6000600160a060020a0383161515610e9357600080fd5b336000908152603460209081526040808320600160a060020a0387168452909152902054610a08908363ffffffff61129516565b6000610ed383836113b2565b1515610f29576040805160e560020a62461bcd02815260206004820152601460248201527f6661696c65642073757065725472616e73666572000000000000000000000000604482015290519081900360640190fd5b610f32836113be565b610f3b83611283565b8015610f605750604080516000815260208101909152610f5e9084908490611443565b155b156110155761013454600160a060020a0384811691161415610fcc576040805160e560020a62461bcd02815260206004820152600d60248201527f7265766572746564206865726500000000000000000000000000000000000000604482015290519081900360640190fd5b60408051338152600160a060020a038516602082015280820184905290517f11249f0fc79fc134a15a10d1da8291b79515bf987e036ced05b9ec119614070b9181900360600190a15b50600192915050565b61013754610138546101395461013a5490919293565b60008054610100900460ff168061104e575061104e61128b565b8061105c575060005460ff16155b15156110b4576040805160e560020a62461bcd02815260206004820152602e60248201526000805160206119d083398151915260448201526000805160206119f0833981519152606482015290519081900360840190fd5b5060008054600161010061ff00198316811760ff1916919091179092550460ff166110de8261172e565b600080549115156101000261ff001990921691909117905550565b61013454600160a060020a031681565b600160a060020a03918216600090815260346020908152604080832093909416825291909152205490565b60008054610100900460ff168061114e575061114e61128b565b8061115c575060005460ff16155b15156111b4576040805160e560020a62461bcd02815260206004820152602e60248201526000805160206119d083398151915260448201526000805160206119f0833981519152606482015290519081900360840190fd5b5060008054600161010061ff00198316811760ff1916919091179092550460ff166111de82611034565b61124787878080601f0160208091040260200160405190810160405280939291908181526020018383808284375050604080516020601f8d018190048102820181019092528b815294508b93508a92508291508401838280828437508a94506108139350505050565b600080549115156101000261ff0019909216919091179055505050505050565b61126f610ddf565b151561127a57600080fd5b610bc88161180a565b6000903b1190565b303b8015905b5090565b600080838311156112a557600080fd5b5050900390565b600160a060020a0383166000908152603360205260409020548111156112d157600080fd5b600160a060020a03821615156112e657600080fd5b600160a060020a03831660009081526033602052604090205461130f908263ffffffff61129516565b600160a060020a038085166000908152603360205260408082209390935590841681522054611344908263ffffffff6113a016565b600160a060020a0380841660008181526033602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600082820183811015610bb757600080fd5b6000610bb78383611888565b6101355461013754014311156113da5743610135556000610136555b61013954600160a060020a038216311080156114015750610138546101365461013a540111155b15610bc85761013a54604051600160a060020a0383169180156108fc02916000818181858888f1935050505015610bc85761013a546101368054909101905550565b600083600160a060020a03163384846040516024018084600160a060020a0316600160a060020a0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156114b0578181015183820152602001611498565b50505050905090810190601f1680156114dd5780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa4c0ed36000000000000000000000000000000000000000000000000000000001781529051825192975095508594509250905080838360005b8381101561156457818101518382015260200161154c565b50505050905090810190601f1680156115915780820380516001836020036101000a031916815260200191505b509150506000604051808303816000865af19695505050505050565b60006115b7610ddf565b15156115c257600080fd5b6110158383611895565b600160a060020a03821615156115e157600080fd5b600160a060020a03821660009081526033602052604090205481111561160657600080fd5b603554611619908263ffffffff61129516565b603555600160a060020a038216600090815260336020526040902054611645908263ffffffff61129516565b600160a060020a0383166000818152603360209081526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050565b600160a060020a03821660009081526034602090815260408083203384529091529020548111156116cc57600080fd5b600160a060020a0382166000908152603460209081526040808320338452909152902054611700908263ffffffff61129516565b600160a060020a0383166000908152603460209081526040808320338452909152902055610dbb82826115cc565b60008054610100900460ff1680611748575061174861128b565b80611756575060005460ff16155b15156117ae576040805160e560020a62461bcd02815260206004820152602e60248201526000805160206119d083398151915260448201526000805160206119f0833981519152606482015290519081900360840190fd5b506000805460cf805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03949094169390931790925561ff001980831661010090811760ff19166001179091169281900460ff16151502919091179055565b600160a060020a038116151561181f57600080fd5b60cf54604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a360cf805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60006110153384846112ac565b600160a060020a03821615156118aa57600080fd5b6035546118bd908263ffffffff6113a016565b603555600160a060020a0382166000908152603360205260409020546118e9908263ffffffff6113a016565b600160a060020a03831660008181526033602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061198257805160ff19168380011785556119af565b828001600101855582156119af579182015b828111156119af578251825591602001919060010190611994565b50611291926107289250905b8082111561129157600081556001016119bb5600436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a6564000000000000000000000000000000000000a165627a7a72305820adca62dfe3a02e4dd6d62336263be752d07e07421d6a91bc4d4dde2b40c156430029

Deployed Bytecode

0x6080604052600436106101745763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610176578063095ea7b3146102005780630b26cf66146102385780631624f6c61461025957806318160ddd146102f557806323b872dd1461031c578063313ce5671461034657806339509351146103715780634000aea01461039557806340c10f19146103c657806342966c68146103ea57806369ffa08a1461040257806370a0823114610429578063715018a61461044a57806379cc67901461045f5780637d64bcb414610483578063859ba28c146104985780638da5cb5b146104d95780638f32d59b1461050a57806395d89b411461051f57806398a8695414610534578063a457c2d714610555578063a9059cbb14610579578063bbc06ebd1461059d578063c4d66de8146105d8578063cd596583146105f9578063dd62ed3e1461060e578063de7ea79d14610635578063f2fde38b14610673575b005b34801561018257600080fd5b5061018b610694565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101c55781810151838201526020016101ad565b50505050905090810190601f1680156101f25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561020c57600080fd5b50610224600160a060020a036004351660243561072b565b604080519115158252519081900360200190f35b34801561024457600080fd5b50610174600160a060020a03600435166107a9565b34801561026557600080fd5b506040805160206004803580820135601f810184900484028501840190955284845261017494369492936024939284019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a9998810197919650918201945092508291508401838280828437509497505050923560ff16935061081392505050565b34801561030157600080fd5b5061030a610911565b60408051918252519081900360200190f35b34801561032857600080fd5b50610224600160a060020a0360043581169060243516604435610917565b34801561035257600080fd5b5061035b6109b4565b6040805160ff9092168252519081900360200190f35b34801561037d57600080fd5b50610224600160a060020a03600435166024356109bd565b3480156103a157600080fd5b5061022460048035600160a060020a0316906024803591604435918201910135610a6d565b3480156103d257600080fd5b50610224600160a060020a0360043516602435610b86565b3480156103f657600080fd5b50610174600435610bbe565b34801561040e57600080fd5b50610174600160a060020a0360043581169060243516610bcb565b34801561043557600080fd5b5061030a600160a060020a0360043516610d7e565b34801561045657600080fd5b50610174610d99565b34801561046b57600080fd5b50610174600160a060020a0360043516602435610db1565b34801561048f57600080fd5b50610224610dbf565b3480156104a457600080fd5b506104ad610dc6565b6040805167ffffffffffffffff9485168152928416602084015292168183015290519081900360600190f35b3480156104e557600080fd5b506104ee610dd0565b60408051600160a060020a039092168252519081900360200190f35b34801561051657600080fd5b50610224610ddf565b34801561052b57600080fd5b5061018b610df0565b34801561054057600080fd5b50610174600435602435604435606435610e51565b34801561056157600080fd5b50610224600160a060020a0360043516602435610e7c565b34801561058557600080fd5b50610224600160a060020a0360043516602435610ec7565b3480156105a957600080fd5b506105b261101e565b604080519485526020850193909352838301919091526060830152519081900360800190f35b3480156105e457600080fd5b50610174600160a060020a0360043516611034565b34801561060557600080fd5b506104ee6110f9565b34801561061a57600080fd5b5061030a600160a060020a0360043581169060243516611109565b34801561064157600080fd5b50610174602460048035828101929082013591813591820191013560ff60443516600160a060020a0360643516611134565b34801561067f57600080fd5b50610174600160a060020a0360043516611267565b60688054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107205780601f106106f557610100808354040283529160200191610720565b820191906000526020600020905b81548152906001019060200180831161070357829003601f168201915b505050505090505b90565b6000600160a060020a038316151561074257600080fd5b336000818152603460209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b6107b1610ddf565b15156107bc57600080fd5b600160a060020a038116158015906107d857506107d881611283565b15156107e357600080fd5b610134805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60008054610100900460ff168061082d575061082d61128b565b8061083b575060005460ff16155b1515610893576040805160e560020a62461bcd02815260206004820152602e60248201526000805160206119d083398151915260448201526000805160206119f0833981519152606482015290519081900360840190fd5b5060008054600161010061ff00198316811760ff191691909117909255845191900460ff16906108ca906068906020870190611941565b5082516108de906069906020860190611941565b50606a805460ff90931660ff1990931692909217909155600080549115156101000261ff00199092169190911790555050565b60355490565b600160a060020a038316600090815260346020908152604080832033845290915281205482111561094757600080fd5b600160a060020a038416600090815260346020908152604080832033845290915290205461097b908363ffffffff61129516565b600160a060020a03851660009081526034602090815260408083203384529091529020556109aa8484846112ac565b5060019392505050565b606a5460ff1690565b6000600160a060020a03831615156109d457600080fd5b336000908152603460209081526040808320600160a060020a0387168452909152902054610a08908363ffffffff6113a016565b336000818152603460209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b600084600160a060020a03811615801590610a915750600160a060020a0381163014155b1515610a9c57600080fd5b610aa686866113b2565b1515610ab157600080fd5b610aba866113be565b85600160a060020a031633600160a060020a03167fe19260aff97b920c7df27010903aeb9c8d2be5d310a2c67824cf3f15396e4c16878787604051808481526020018060200182810382528484828181526020019250808284376040519201829003965090945050505050a3610b2f86611283565b15610b7a57610b6f868686868080601f01602080910402602001604051908101604052809392919081815260200183838082843750611443945050505050565b1515610b7a57600080fd5b50600195945050505050565b6000610b90610dd0565b600160a060020a03163314610ba457600080fd5b610bad836113be565b610bb783836115ad565b9392505050565b610bc833826115cc565b50565b600080610bd6610ddf565b1515610be157600080fd5b600160a060020a0383161515610bf657600080fd5b600160a060020a0384161515610c4257604051600160a060020a03841690303180156108fc02916000818181858888f19350505050158015610c3c573d6000803e3d6000fd5b50610d78565b604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051859350600160a060020a038416916370a082319160248083019260209291908290030181600087803b158015610ca657600080fd5b505af1158015610cba573d6000803e3d6000fd5b505050506040513d6020811015610cd057600080fd5b5051604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0386811660048301526024820184905291519293509084169163a9059cbb916044808201926020929091908290030181600087803b158015610d4157600080fd5b505af1158015610d55573d6000803e3d6000fd5b505050506040513d6020811015610d6b57600080fd5b50511515610d7857600080fd5b50505050565b600160a060020a031660009081526033602052604090205490565b610da1610ddf565b1515610dac57600080fd5b600080fd5b610dbb828261169c565b5050565b6000806000fd5b6002600080909192565b60cf54600160a060020a031690565b60cf54600160a060020a0316331490565b60698054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107205780601f106106f557610100808354040283529160200191610720565b610e59610ddf565b1515610e6457600080fd5b61013793909355610138919091556101395561013a55565b6000600160a060020a0383161515610e9357600080fd5b336000908152603460209081526040808320600160a060020a0387168452909152902054610a08908363ffffffff61129516565b6000610ed383836113b2565b1515610f29576040805160e560020a62461bcd02815260206004820152601460248201527f6661696c65642073757065725472616e73666572000000000000000000000000604482015290519081900360640190fd5b610f32836113be565b610f3b83611283565b8015610f605750604080516000815260208101909152610f5e9084908490611443565b155b156110155761013454600160a060020a0384811691161415610fcc576040805160e560020a62461bcd02815260206004820152600d60248201527f7265766572746564206865726500000000000000000000000000000000000000604482015290519081900360640190fd5b60408051338152600160a060020a038516602082015280820184905290517f11249f0fc79fc134a15a10d1da8291b79515bf987e036ced05b9ec119614070b9181900360600190a15b50600192915050565b61013754610138546101395461013a5490919293565b60008054610100900460ff168061104e575061104e61128b565b8061105c575060005460ff16155b15156110b4576040805160e560020a62461bcd02815260206004820152602e60248201526000805160206119d083398151915260448201526000805160206119f0833981519152606482015290519081900360840190fd5b5060008054600161010061ff00198316811760ff1916919091179092550460ff166110de8261172e565b600080549115156101000261ff001990921691909117905550565b61013454600160a060020a031681565b600160a060020a03918216600090815260346020908152604080832093909416825291909152205490565b60008054610100900460ff168061114e575061114e61128b565b8061115c575060005460ff16155b15156111b4576040805160e560020a62461bcd02815260206004820152602e60248201526000805160206119d083398151915260448201526000805160206119f0833981519152606482015290519081900360840190fd5b5060008054600161010061ff00198316811760ff1916919091179092550460ff166111de82611034565b61124787878080601f0160208091040260200160405190810160405280939291908181526020018383808284375050604080516020601f8d018190048102820181019092528b815294508b93508a92508291508401838280828437508a94506108139350505050565b600080549115156101000261ff0019909216919091179055505050505050565b61126f610ddf565b151561127a57600080fd5b610bc88161180a565b6000903b1190565b303b8015905b5090565b600080838311156112a557600080fd5b5050900390565b600160a060020a0383166000908152603360205260409020548111156112d157600080fd5b600160a060020a03821615156112e657600080fd5b600160a060020a03831660009081526033602052604090205461130f908263ffffffff61129516565b600160a060020a038085166000908152603360205260408082209390935590841681522054611344908263ffffffff6113a016565b600160a060020a0380841660008181526033602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600082820183811015610bb757600080fd5b6000610bb78383611888565b6101355461013754014311156113da5743610135556000610136555b61013954600160a060020a038216311080156114015750610138546101365461013a540111155b15610bc85761013a54604051600160a060020a0383169180156108fc02916000818181858888f1935050505015610bc85761013a546101368054909101905550565b600083600160a060020a03163384846040516024018084600160a060020a0316600160a060020a0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156114b0578181015183820152602001611498565b50505050905090810190601f1680156114dd5780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa4c0ed36000000000000000000000000000000000000000000000000000000001781529051825192975095508594509250905080838360005b8381101561156457818101518382015260200161154c565b50505050905090810190601f1680156115915780820380516001836020036101000a031916815260200191505b509150506000604051808303816000865af19695505050505050565b60006115b7610ddf565b15156115c257600080fd5b6110158383611895565b600160a060020a03821615156115e157600080fd5b600160a060020a03821660009081526033602052604090205481111561160657600080fd5b603554611619908263ffffffff61129516565b603555600160a060020a038216600090815260336020526040902054611645908263ffffffff61129516565b600160a060020a0383166000818152603360209081526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050565b600160a060020a03821660009081526034602090815260408083203384529091529020548111156116cc57600080fd5b600160a060020a0382166000908152603460209081526040808320338452909152902054611700908263ffffffff61129516565b600160a060020a0383166000908152603460209081526040808320338452909152902055610dbb82826115cc565b60008054610100900460ff1680611748575061174861128b565b80611756575060005460ff16155b15156117ae576040805160e560020a62461bcd02815260206004820152602e60248201526000805160206119d083398151915260448201526000805160206119f0833981519152606482015290519081900360840190fd5b506000805460cf805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03949094169390931790925561ff001980831661010090811760ff19166001179091169281900460ff16151502919091179055565b600160a060020a038116151561181f57600080fd5b60cf54604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a360cf805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60006110153384846112ac565b600160a060020a03821615156118aa57600080fd5b6035546118bd908263ffffffff6113a016565b603555600160a060020a0382166000908152603360205260409020546118e9908263ffffffff6113a016565b600160a060020a03831660008181526033602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061198257805160ff19168380011785556119af565b828001600101855582156119af579182015b828111156119af578251825591602001919060010190611994565b50611291926107289250905b8082111561129157600081556001016119bb5600436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a6564000000000000000000000000000000000000a165627a7a72305820adca62dfe3a02e4dd6d62336263be752d07e07421d6a91bc4d4dde2b40c156430029

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

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