Contract 0xe086305858d49f65a5d20adaccd31c523d32694f

 

Contract Overview

Balance:
0.000001999945495933 ETH

ETH Value:
Less Than $0.01 (@ $3,564.29/ETH)

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x1912f0c30e88632e15dfa8b8c8e823a512c49c06d69eb2ec138b2cf2c19f527dTransfer Ownersh...2206272021-08-19 1:09:00952 days 17 hrs ago0xc4b60a931929d3ed0ac423f9ea80e5962726da73 IN  0xe086305858d49f65a5d20adaccd31c523d32694f0 ETH0.000285935421 ETH0.436531964
0x3711748a43e9ab3077ab7514c4fe6c848c7a1371fe5d278100a399623f1d6d8a0x608060402206202021-08-19 0:52:37952 days 17 hrs ago0xc4b60a931929d3ed0ac423f9ea80e5962726da73 IN  Create: DxAvatar0 ETH0.004883789528 ETH0.436531964
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x3b8ded4f4e41cdd8992a67aa378b7c816204ac55086873dac6d90bc89f857656863602242023-05-02 0:40:24331 days 17 hrs ago 0x3307ee3f08267c0676a9c7ecfc21fc5c6e8ecce4 0xe086305858d49f65a5d20adaccd31c523d32694f0.000000999999604569 ETH
0x3b50680d776d61f6049c02f3d4f0bc089ce05352f26129a430d728ee51130d51830862322023-04-22 10:24:00341 days 7 hrs ago 0x3307ee3f08267c0676a9c7ecfc21fc5c6e8ecce4 0xe086305858d49f65a5d20adaccd31c523d32694f0.000000999945891364 ETH
0xc43a260b316ad5785214b29ead88a724b80ad8bb3be3298a4059157575b0f6ab542660322023-01-20 10:38:36433 days 7 hrs ago 0xf94b666dda3a3c1dc99378a81bf424e1a18bab89 0xe086305858d49f65a5d20adaccd31c523d32694f0 ETH
0xda78e328de9b07813ba2e214fc17e5f94d949e574aeb30cea8bd23fe6377c8633396222021-09-09 20:37:46930 days 21 hrs ago 0xf94b666dda3a3c1dc99378a81bf424e1a18bab89 0xe086305858d49f65a5d20adaccd31c523d32694f0 ETH
0x16400754595468fd22b707a216ca85148d275d926515a094175271c3921fe84e2580362021-09-02 17:56:39938 days 26 mins ago 0xf94b666dda3a3c1dc99378a81bf424e1a18bab89 0xe086305858d49f65a5d20adaccd31c523d32694f0 ETH
0x16400754595468fd22b707a216ca85148d275d926515a094175271c3921fe84e2580362021-09-02 17:56:39938 days 26 mins ago 0xf94b666dda3a3c1dc99378a81bf424e1a18bab89 0xe086305858d49f65a5d20adaccd31c523d32694f0 ETH
0x16400754595468fd22b707a216ca85148d275d926515a094175271c3921fe84e2580362021-09-02 17:56:39938 days 26 mins ago 0xf94b666dda3a3c1dc99378a81bf424e1a18bab89 0xe086305858d49f65a5d20adaccd31c523d32694f0 ETH
0xeea545f0ddc921366920e057dda3cb4565397420500d01d1ebf0d773dffed2ec2503802021-09-01 22:04:40938 days 20 hrs ago 0xf94b666dda3a3c1dc99378a81bf424e1a18bab89 0xe086305858d49f65a5d20adaccd31c523d32694f0 ETH
0x508409a6a6082347dbe19336804ff1f6bcf69e4ba821cfd01931b22a68f6b1672274152021-08-31 13:16:44940 days 5 hrs ago 0xf94b666dda3a3c1dc99378a81bf424e1a18bab89 0xe086305858d49f65a5d20adaccd31c523d32694f0 ETH
0x508409a6a6082347dbe19336804ff1f6bcf69e4ba821cfd01931b22a68f6b1672274152021-08-31 13:16:44940 days 5 hrs ago 0xf94b666dda3a3c1dc99378a81bf424e1a18bab89 0xe086305858d49f65a5d20adaccd31c523d32694f0 ETH
0x508409a6a6082347dbe19336804ff1f6bcf69e4ba821cfd01931b22a68f6b1672274152021-08-31 13:16:44940 days 5 hrs ago 0xf94b666dda3a3c1dc99378a81bf424e1a18bab89 0xe086305858d49f65a5d20adaccd31c523d32694f0 ETH
0xcf2dbbaa4553caede2071a7c88c7815187b4aa55dca487ba7d9f201f86ec46992274132021-08-31 13:16:16940 days 5 hrs ago 0xf94b666dda3a3c1dc99378a81bf424e1a18bab89 0xe086305858d49f65a5d20adaccd31c523d32694f0 ETH
0xcf2dbbaa4553caede2071a7c88c7815187b4aa55dca487ba7d9f201f86ec46992274132021-08-31 13:16:16940 days 5 hrs ago 0xf94b666dda3a3c1dc99378a81bf424e1a18bab89 0xe086305858d49f65a5d20adaccd31c523d32694f0 ETH
0xcf2dbbaa4553caede2071a7c88c7815187b4aa55dca487ba7d9f201f86ec46992274132021-08-31 13:16:16940 days 5 hrs ago 0xf94b666dda3a3c1dc99378a81bf424e1a18bab89 0xe086305858d49f65a5d20adaccd31c523d32694f0 ETH
0xfa7cb099b3fddfa4394d69debd9e25e488da1c556811a527bf5785a8d0e68b5e2261372021-08-29 11:30:00942 days 6 hrs ago 0xf94b666dda3a3c1dc99378a81bf424e1a18bab89 0xe086305858d49f65a5d20adaccd31c523d32694f0 ETH
0xfa7cb099b3fddfa4394d69debd9e25e488da1c556811a527bf5785a8d0e68b5e2261372021-08-29 11:30:00942 days 6 hrs ago 0xf94b666dda3a3c1dc99378a81bf424e1a18bab89 0xe086305858d49f65a5d20adaccd31c523d32694f0 ETH
0xfa7cb099b3fddfa4394d69debd9e25e488da1c556811a527bf5785a8d0e68b5e2261372021-08-29 11:30:00942 days 6 hrs ago 0xf94b666dda3a3c1dc99378a81bf424e1a18bab89 0xe086305858d49f65a5d20adaccd31c523d32694f0 ETH
0xfa7cb099b3fddfa4394d69debd9e25e488da1c556811a527bf5785a8d0e68b5e2261372021-08-29 11:30:00942 days 6 hrs ago 0xf94b666dda3a3c1dc99378a81bf424e1a18bab89 0xe086305858d49f65a5d20adaccd31c523d32694f0 ETH
0x92e95a2e3f9dbc214c9c2c8679323994853a8191b6d8254244b2b9ddf5c17bfe2261362021-08-29 11:30:00942 days 6 hrs ago 0xf94b666dda3a3c1dc99378a81bf424e1a18bab89 0xe086305858d49f65a5d20adaccd31c523d32694f0 ETH
0x92e95a2e3f9dbc214c9c2c8679323994853a8191b6d8254244b2b9ddf5c17bfe2261362021-08-29 11:30:00942 days 6 hrs ago 0xf94b666dda3a3c1dc99378a81bf424e1a18bab89 0xe086305858d49f65a5d20adaccd31c523d32694f0 ETH
0x92e95a2e3f9dbc214c9c2c8679323994853a8191b6d8254244b2b9ddf5c17bfe2261362021-08-29 11:30:00942 days 6 hrs ago 0xf94b666dda3a3c1dc99378a81bf424e1a18bab89 0xe086305858d49f65a5d20adaccd31c523d32694f0 ETH
0xaaf628098b230abc4fc3a4b8f3099758d17d82e311f1c136f7b9d533b71636022261352021-08-29 11:29:04942 days 6 hrs ago 0xf94b666dda3a3c1dc99378a81bf424e1a18bab89 0xe086305858d49f65a5d20adaccd31c523d32694f0 ETH
0xaaf628098b230abc4fc3a4b8f3099758d17d82e311f1c136f7b9d533b71636022261352021-08-29 11:29:04942 days 6 hrs ago 0xf94b666dda3a3c1dc99378a81bf424e1a18bab89 0xe086305858d49f65a5d20adaccd31c523d32694f0 ETH
0x17c2e8dc1a3aad9a3ea15b624e8b14d5d52bb12892135c9680c644d90d0a8c6c2260912021-08-29 7:35:10942 days 10 hrs ago 0xf94b666dda3a3c1dc99378a81bf424e1a18bab89 0xe086305858d49f65a5d20adaccd31c523d32694f0 ETH
0x23f342655f8c2f80b800c8b56efdb14752085889ae8a7334f0e7b67e651c0a332247572021-08-26 15:22:24945 days 3 hrs ago 0x742092b501b7b36cbba3e0516f352925d8c1d4c4 0xe086305858d49f65a5d20adaccd31c523d32694f0 ETH
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DxAvatar

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU AGPLv3 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Arbiscan.io on 2021-09-01
*/

// File: openzeppelin-solidity/contracts/GSN/Context.sol

pragma solidity ^0.5.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor () internal { }
    // solhint-disable-previous-line no-empty-blocks

    function _msgSender() internal view returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

// File: openzeppelin-solidity/contracts/ownership/Ownable.sol

pragma solidity ^0.5.0;

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
contract Ownable is Context {
    address private _owner;

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

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

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

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

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

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

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

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

// File: contracts/daostack/controller/Reputation.sol

pragma solidity 0.5.17;



// Copied from @daostack/infra/contracts/Reputation.sol and added the MintMultiple function

/**
 * @title Reputation system
 * @dev A DAO has Reputation System which allows peers to rate other peers in order to build trust .
 * A reputation is use to assign influence measure to a DAO'S peers.
 * Reputation is similar to regular tokens but with one crucial difference: It is non-transferable.
 * The Reputation contract maintain a map of address to reputation value.
 * It provides an onlyOwner functions to mint and burn reputation _to (or _from) a specific address.
 */
contract Reputation is Ownable {

    uint8 public decimals = 18;             //Number of decimals of the smallest unit
    // Event indicating minting of reputation to an address.
    event Mint(address indexed _to, uint256 _amount);
    // Event indicating burning of reputation for an address.
    event Burn(address indexed _from, uint256 _amount);

      /// @dev `Checkpoint` is the structure that attaches a block number to a
      ///  given value, the block number attached is the one that last changed the
      ///  value
    struct Checkpoint {

    // `fromBlock` is the block number that the value was generated from
        uint128 fromBlock;

          // `value` is the amount of reputation at a specific block number
        uint128 value;
    }

      // `balances` is the map that tracks the balance of each address, in this
      //  contract when the balance changes the block number that the change
      //  occurred is also included in the map
    mapping (address => Checkpoint[]) private balances;

      // Tracks the history of the `totalSupply` of the reputation
    Checkpoint[] private totalSupplyHistory;

      /// @notice Generates `_amount` reputation that are assigned to `_owner`
      /// @param _user The address that will be assigned the new reputation
      /// @param _amount The quantity of reputation generated
      /// @return True if the reputation are generated correctly
    function mint(address _user, uint256 _amount) public onlyOwner returns (bool) {
        uint256 curTotalSupply = totalSupply();
        require(curTotalSupply + _amount >= curTotalSupply); // Check for overflow
        uint256 previousBalanceTo = balanceOf(_user);
        require(previousBalanceTo + _amount >= previousBalanceTo); // Check for overflow
        updateValueAtNow(totalSupplyHistory, curTotalSupply + _amount);
        updateValueAtNow(balances[_user], previousBalanceTo + _amount);
        emit Mint(_user, _amount);
        return true;
    }
    
    /// @notice Generates `_amount` reputation that are assigned to `_owner`	
    /// @param _user The address that will be assigned the new reputation	
    /// @param _amount The quantity of reputation generated	
    /// @return True if the reputation are generated correctly	
    function mintMultiple(address[] memory _user, uint256[] memory _amount) public onlyOwner returns (bool) {	
        for (uint256 i = 0;i < _user.length; i ++){	
          uint256 curTotalSupply = totalSupply();	
          require(curTotalSupply + _amount[i] >= curTotalSupply); // Check for overflow	
          uint256 previousBalanceTo = balanceOf(_user[i]);	
          require(previousBalanceTo + _amount[i] >= previousBalanceTo); // Check for overflow	
          updateValueAtNow(totalSupplyHistory, curTotalSupply + _amount[i]);	
          updateValueAtNow(balances[_user[i]], previousBalanceTo + _amount[i]);	
          emit Mint(_user[i], _amount[i]);	
        }	
        return true;	
    }

      /// @notice Burns `_amount` reputation from `_owner`
      /// @param _user The address that will lose the reputation
      /// @param _amount The quantity of reputation to burn
      /// @return True if the reputation are burned correctly
    function burn(address _user, uint256 _amount) public onlyOwner returns (bool) {
        uint256 curTotalSupply = totalSupply();
        uint256 amountBurned = _amount;
        uint256 previousBalanceFrom = balanceOf(_user);
        if (previousBalanceFrom < amountBurned) {
            amountBurned = previousBalanceFrom;
        }
        updateValueAtNow(totalSupplyHistory, curTotalSupply - amountBurned);
        updateValueAtNow(balances[_user], previousBalanceFrom - amountBurned);
        emit Burn(_user, amountBurned);
        return true;
    }

    /// @dev This function makes it easy to get the total number of reputation
    /// @return The total number of reputation
    function totalSupply() public view returns (uint256) {
        return totalSupplyAt(block.number);
    }

    ////////////////
    // Query balance and totalSupply in History
    ////////////////
    /**
    * @dev return the reputation amount of a given owner
    * @param _owner an address of the owner which we want to get his reputation
    */
    function balanceOf(address _owner) public view returns (uint256 balance) {
        return balanceOfAt(_owner, block.number);
    }

    /// @notice Total amount of reputation at a specific `_blockNumber`.
    /// @param _blockNumber The block number when the totalSupply is queried
    /// @return The total amount of reputation at `_blockNumber`
    function totalSupplyAt(uint256 _blockNumber) public view returns(uint256) {
        if ((totalSupplyHistory.length == 0) || (totalSupplyHistory[0].fromBlock > _blockNumber)) {
            return 0;
          // This will return the expected totalSupply during normal situations
        } else {
            return getValueAt(totalSupplyHistory, _blockNumber);
        }
    }

  /// @dev Queries the balance of `_owner` at a specific `_blockNumber`
  /// @param _owner The address from which the balance will be retrieved
  /// @param _blockNumber The block number when the balance is queried
  /// @return The balance at `_blockNumber`
    function balanceOfAt(address _owner, uint256 _blockNumber)
    public view returns (uint256)
    {
        if ((balances[_owner].length == 0) || (balances[_owner][0].fromBlock > _blockNumber)) {
            return 0;
        // This will return the expected balance during normal situations
        } else {
            return getValueAt(balances[_owner], _blockNumber);
        }
    }
  ////////////////
  // Internal helper functions to query and set a value in a snapshot array
  ////////////////

      /// @dev `getValueAt` retrieves the number of reputation at a given block number
      /// @param checkpoints The history of values being queried
      /// @param _block The block number to retrieve the value at
      /// @return The number of reputation being queried
    function getValueAt(Checkpoint[] storage checkpoints, uint256 _block) internal view returns (uint256) {
        if (checkpoints.length == 0) {
            return 0;
        }

          // Shortcut for the actual value
        if (_block >= checkpoints[checkpoints.length-1].fromBlock) {
            return checkpoints[checkpoints.length-1].value;
        }
        if (_block < checkpoints[0].fromBlock) {
            return 0;
        }

          // Binary search of the value in the array
        uint256 min = 0;
        uint256 max = checkpoints.length-1;
        while (max > min) {
            uint256 mid = (max + min + 1) / 2;
            if (checkpoints[mid].fromBlock <= _block) {
                min = mid;
            } else {
                max = mid-1;
            }
        }
        return checkpoints[min].value;
    }

      /// @dev `updateValueAtNow` used to update the `balances` map and the
      ///  `totalSupplyHistory`
      /// @param checkpoints The history of data being updated
      /// @param _value The new number of reputation
    function updateValueAtNow(Checkpoint[] storage checkpoints, uint256 _value) internal {
        require(uint128(_value) == _value); //check value is in the 128 bits bounderies
        if ((checkpoints.length == 0) || (checkpoints[checkpoints.length - 1].fromBlock < block.number)) {
            Checkpoint storage newCheckPoint = checkpoints[checkpoints.length++];
            newCheckPoint.fromBlock = uint128(block.number);
            newCheckPoint.value = uint128(_value);
        } else {
            Checkpoint storage oldCheckPoint = checkpoints[checkpoints.length-1];
            oldCheckPoint.value = uint128(_value);
        }
    }
}

// File: openzeppelin-solidity/contracts/token/ERC20/IERC20.sol

pragma solidity ^0.5.0;

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

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

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

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

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

// File: openzeppelin-solidity/contracts/math/SafeMath.sol

pragma solidity ^0.5.0;

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

        return c;
    }

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

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot overflow.
     *
     * _Available since v2.4.0._
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

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

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

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

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

        return c;
    }

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

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

// File: openzeppelin-solidity/contracts/token/ERC20/ERC20.sol

pragma solidity ^0.5.0;




/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20Mintable}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20};
     *
     * Requirements:
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for `sender`'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }

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

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

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

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

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

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

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

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

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

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

    /**
     * @dev Destroys `amount` tokens from `account`.`amount` is then deducted
     * from the caller's allowance.
     *
     * See {_burn} and {_approve}.
     */
    function _burnFrom(address account, uint256 amount) internal {
        _burn(account, amount);
        _approve(account, _msgSender(), _allowances[account][_msgSender()].sub(amount, "ERC20: burn amount exceeds allowance"));
    }
}

// File: openzeppelin-solidity/contracts/token/ERC20/ERC20Burnable.sol

pragma solidity ^0.5.0;



/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev See {ERC20-_burnFrom}.
     */
    function burnFrom(address account, uint256 amount) public {
        _burnFrom(account, amount);
    }
}

// File: contracts/daostack/controller/DAOToken.sol

pragma solidity ^0.5.4;





/**
 * @title DAOToken, base on zeppelin contract.
 * @dev ERC20 compatible token. It is a mintable, burnable token.
 */

contract DAOToken is ERC20, ERC20Burnable, Ownable {

    string public name;
    string public symbol;
    // solhint-disable-next-line const-name-snakecase
    uint8 public constant decimals = 18;
    uint256 public cap;

    /**
    * @dev Constructor
    * @param _name - token name
    * @param _symbol - token symbol
    * @param _cap - token cap - 0 value means no cap
    */
    constructor(string memory _name, string memory _symbol, uint256 _cap)
    public {
        name = _name;
        symbol = _symbol;
        cap = _cap;
    }

    /**
     * @dev Function to mint tokens
     * @param _to The address that will receive the minted tokens.
     * @param _amount The amount of tokens to mint.
     */
    function mint(address _to, uint256 _amount) public onlyOwner returns (bool) {
        if (cap > 0)
            require(totalSupply().add(_amount) <= cap);
        _mint(_to, _amount);
        return true;
    }
}

// File: openzeppelin-solidity/contracts/utils/Address.sol

pragma solidity ^0.5.5;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * This test is non-exhaustive, and there may be false-negatives: during the
     * execution of a contract's constructor, its address will be reported as
     * not containing a contract.
     *
     * IMPORTANT: It is unsafe to assume that an address for which this
     * function returns false is an externally-owned account (EOA) and not a
     * contract.
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies in extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != 0x0 && codehash != accountHash);
    }

    /**
     * @dev Converts an `address` into `address payable`. Note that this is
     * simply a type cast: the actual underlying value is not changed.
     *
     * _Available since v2.4.0._
     */
    function toPayable(address account) internal pure returns (address payable) {
        return address(uint160(account));
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     *
     * _Available since v2.4.0._
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-call-value
        (bool success, ) = recipient.call.value(amount)("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }
}

// File: contracts/daostack/libs/SafeERC20.sol

/*

SafeERC20 by daostack.
The code is based on a fix by SECBIT Team.

USE WITH CAUTION & NO WARRANTY

REFERENCE & RELATED READING
- https://github.com/ethereum/solidity/issues/4116
- https://medium.com/@chris_77367/explaining-unexpected-reverts-starting-with-solidity-0-4-22-3ada6e82308c
- https://medium.com/coinmonks/missing-return-value-bug-at-least-130-tokens-affected-d67bf08521ca
- https://gist.github.com/BrendanChou/88a2eeb80947ff00bcf58ffdafeaeb61

*/
pragma solidity ^0.5.4;



library SafeERC20 {
    using Address for address;

    bytes4 constant private TRANSFER_SELECTOR = bytes4(keccak256(bytes("transfer(address,uint256)")));
    bytes4 constant private TRANSFERFROM_SELECTOR = bytes4(keccak256(bytes("transferFrom(address,address,uint256)")));
    bytes4 constant private APPROVE_SELECTOR = bytes4(keccak256(bytes("approve(address,uint256)")));

    function safeTransfer(address _erc20Addr, address _to, uint256 _value) internal {

        // Must be a contract addr first!
        require(_erc20Addr.isContract());

        (bool success, bytes memory returnValue) =
        // solhint-disable-next-line avoid-low-level-calls
        _erc20Addr.call(abi.encodeWithSelector(TRANSFER_SELECTOR, _to, _value));
        // call return false when something wrong
        require(success);
        //check return value
        require(returnValue.length == 0 || (returnValue.length == 32 && (returnValue[31] != 0)));
    }

    function safeTransferFrom(address _erc20Addr, address _from, address _to, uint256 _value) internal {

        // Must be a contract addr first!
        require(_erc20Addr.isContract());

        (bool success, bytes memory returnValue) =
        // solhint-disable-next-line avoid-low-level-calls
        _erc20Addr.call(abi.encodeWithSelector(TRANSFERFROM_SELECTOR, _from, _to, _value));
        // call return false when something wrong
        require(success);
        //check return value
        require(returnValue.length == 0 || (returnValue.length == 32 && (returnValue[31] != 0)));
    }

    function safeApprove(address _erc20Addr, address _spender, uint256 _value) internal {

        // Must be a contract addr first!
        require(_erc20Addr.isContract());

        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero.
        require((_value == 0) || (IERC20(_erc20Addr).allowance(address(this), _spender) == 0));

        (bool success, bytes memory returnValue) =
        // solhint-disable-next-line avoid-low-level-calls
        _erc20Addr.call(abi.encodeWithSelector(APPROVE_SELECTOR, _spender, _value));
        // call return false when something wrong
        require(success);
        //check return value
        require(returnValue.length == 0 || (returnValue.length == 32 && (returnValue[31] != 0)));
    }
}

// File: contracts/daostack/controller/Avatar.sol

pragma solidity ^0.5.4;







/**
 * @title An Avatar holds tokens, reputation and ether for a controller
 */
contract Avatar is Ownable {
    using SafeERC20 for address;

    string public orgName;
    DAOToken public nativeToken;
    Reputation public nativeReputation;

    event GenericCall(address indexed _contract, bytes _data, uint _value, bool _success);
    event SendEther(uint256 _amountInWei, address indexed _to);
    event ExternalTokenTransfer(address indexed _externalToken, address indexed _to, uint256 _value);
    event ExternalTokenTransferFrom(address indexed _externalToken, address _from, address _to, uint256 _value);
    event ExternalTokenApproval(address indexed _externalToken, address _spender, uint256 _value);
    event ReceiveEther(address indexed _sender, uint256 _value);
    event MetaData(string _metaData);

    /**
    * @dev the constructor takes organization name, native token and reputation system
    and creates an avatar for a controller
    */
    constructor(string memory _orgName, DAOToken _nativeToken, Reputation _nativeReputation) public {
        orgName = _orgName;
        nativeToken = _nativeToken;
        nativeReputation = _nativeReputation;
    }

    /**
    * @dev enables an avatar to receive ethers
    */
    function() external payable {
        emit ReceiveEther(msg.sender, msg.value);
    }

    /**
    * @dev perform a generic call to an arbitrary contract
    * @param _contract  the contract's address to call
    * @param _data ABI-encoded contract call to call `_contract` address.
    * @param _value value (ETH) to transfer with the transaction
    * @return bool    success or fail
    *         bytes - the return bytes of the called contract's function.
    */
    function genericCall(address _contract, bytes memory _data, uint256 _value)
    public
    onlyOwner
    returns(bool success, bytes memory returnValue) {
      // solhint-disable-next-line avoid-call-value
        (success, returnValue) = _contract.call.value(_value)(_data);
        emit GenericCall(_contract, _data, _value, success);
    }

    /**
    * @dev send ethers from the avatar's wallet
    * @param _amountInWei amount to send in Wei units
    * @param _to send the ethers to this address
    * @return bool which represents success
    */
    function sendEther(uint256 _amountInWei, address payable _to) public onlyOwner returns(bool) {
        _to.transfer(_amountInWei);
        emit SendEther(_amountInWei, _to);
        return true;
    }

    /**
    * @dev external token transfer
    * @param _externalToken the token contract
    * @param _to the destination address
    * @param _value the amount of tokens to transfer
    * @return bool which represents success
    */
    function externalTokenTransfer(IERC20 _externalToken, address _to, uint256 _value)
    public onlyOwner returns(bool)
    {
        address(_externalToken).safeTransfer(_to, _value);
        emit ExternalTokenTransfer(address(_externalToken), _to, _value);
        return true;
    }

    /**
    * @dev external token transfer from a specific account
    * @param _externalToken the token contract
    * @param _from the account to spend token from
    * @param _to the destination address
    * @param _value the amount of tokens to transfer
    * @return bool which represents success
    */
    function externalTokenTransferFrom(
        IERC20 _externalToken,
        address _from,
        address _to,
        uint256 _value
    )
    public onlyOwner returns(bool)
    {
        address(_externalToken).safeTransferFrom(_from, _to, _value);
        emit ExternalTokenTransferFrom(address(_externalToken), _from, _to, _value);
        return true;
    }

    /**
    * @dev externalTokenApproval approve the spender address to spend a specified amount of tokens
    *      on behalf of msg.sender.
    * @param _externalToken the address of the Token Contract
    * @param _spender address
    * @param _value the amount of ether (in Wei) which the approval is referring to.
    * @return bool which represents a success
    */
    function externalTokenApproval(IERC20 _externalToken, address _spender, uint256 _value)
    public onlyOwner returns(bool)
    {
        address(_externalToken).safeApprove(_spender, _value);
        emit ExternalTokenApproval(address(_externalToken), _spender, _value);
        return true;
    }

    /**
    * @dev metaData emits an event with a string, should contain the hash of some meta data.
    * @param _metaData a string representing a hash of the meta data
    * @return bool which represents a success
    */
    function metaData(string memory _metaData) public onlyOwner returns(bool) {
        emit MetaData(_metaData);
        return true;
    }


}

// File: contracts/dxdao/DxAvatar.sol

pragma solidity ^0.5.4;



contract DxAvatar is Avatar {
    constructor(string memory _orgName, DAOToken _nativeToken, Reputation _nativeReputation)
        public
        Avatar(_orgName, _nativeToken, _nativeReputation)
    {}
}

Contract ABI

[{"inputs":[{"internalType":"string","name":"_orgName","type":"string"},{"internalType":"contract DAOToken","name":"_nativeToken","type":"address"},{"internalType":"contract Reputation","name":"_nativeReputation","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_externalToken","type":"address"},{"indexed":false,"internalType":"address","name":"_spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"ExternalTokenApproval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_externalToken","type":"address"},{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"ExternalTokenTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_externalToken","type":"address"},{"indexed":false,"internalType":"address","name":"_from","type":"address"},{"indexed":false,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"ExternalTokenTransferFrom","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_contract","type":"address"},{"indexed":false,"internalType":"bytes","name":"_data","type":"bytes"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"},{"indexed":false,"internalType":"bool","name":"_success","type":"bool"}],"name":"GenericCall","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_metaData","type":"string"}],"name":"MetaData","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"ReceiveEther","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_amountInWei","type":"uint256"},{"indexed":true,"internalType":"address","name":"_to","type":"address"}],"name":"SendEther","type":"event"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"constant":false,"inputs":[{"internalType":"contract IERC20","name":"_externalToken","type":"address"},{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"externalTokenApproval","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"contract IERC20","name":"_externalToken","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"externalTokenTransfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"contract IERC20","name":"_externalToken","type":"address"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"externalTokenTransferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_contract","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"genericCall","outputs":[{"internalType":"bool","name":"success","type":"bool"},{"internalType":"bytes","name":"returnValue","type":"bytes"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"string","name":"_metaData","type":"string"}],"name":"metaData","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"nativeReputation","outputs":[{"internalType":"contract Reputation","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"nativeToken","outputs":[{"internalType":"contract DAOToken","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"orgName","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_amountInWei","type":"uint256"},{"internalType":"address payable","name":"_to","type":"address"}],"name":"sendEther","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620014dd380380620014dd833981810160405260608110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b9083019060208201858111156200006e57600080fd5b82516401000000008111828201881017156200008957600080fd5b82525081516020918201929091019080838360005b83811015620000b85781810151838201526020016200009e565b50505050905090810190601f168015620000e65780820380516001836020036101000a031916815260200191505b506040908152602082015191015190925090508282826200010f6001600160e01b03620001a416565b600080546001600160a01b0319166001600160a01b03928316178082556040519216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a382516200016c906001906020860190620001a9565b50600280546001600160a01b039384166001600160a01b03199182161790915560038054929093169116179055506200024b92505050565b335b90565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001ec57805160ff19168380011785556200021c565b828001600101855582156200021c579182015b828111156200021c578251825591602001919060010190620001ff565b506200022a9291506200022e565b5090565b620001a691905b808211156200022a576000815560010162000235565b611282806200025b6000396000f3fe6080604052600436106100c25760003560e01c80638f32d59b1161007f578063cb16d4a211610059578063cb16d4a214610491578063dab0efff146104ca578063e1758bd81461050d578063f2fde38b14610522576100c2565b80638f32d59b146103f0578063ab751f7114610405578063b756d5a214610448576100c2565b80631386dc2d146100fa5780632bf1645814610184578063715018a6146102cc578063890ac46c146102e357806389ae1c90146103aa5780638da5cb5b146103db575b60408051348152905133917ff32a9f77675fd5917534c7746608fd3e309eac68fbdcbf5925e24ca97a704396919081900360200190a2005b34801561010657600080fd5b5061010f610555565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610149578181015183820152602001610131565b50505050905090810190601f1680156101765780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561019057600080fd5b50610249600480360360608110156101a757600080fd5b6001600160a01b0382351691908101906040810160208201356401000000008111156101d257600080fd5b8201836020820111156101e457600080fd5b8035906020019184600183028401116401000000008311171561020657600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955050913592506105e2915050565b604051808315151515815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610290578181015183820152602001610278565b50505050905090810190601f1680156102bd5780820380516001836020036101000a031916815260200191505b50935050505060405180910390f35b3480156102d857600080fd5b506102e1610797565b005b3480156102ef57600080fd5b506103966004803603602081101561030657600080fd5b81019060208101813564010000000081111561032157600080fd5b82018360208201111561033357600080fd5b8035906020019184600183028401116401000000008311171561035557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610828945050505050565b604080519115158252519081900360200190f35b3480156103b657600080fd5b506103bf610912565b604080516001600160a01b039092168252519081900360200190f35b3480156103e757600080fd5b506103bf610921565b3480156103fc57600080fd5b50610396610930565b34801561041157600080fd5b506103966004803603606081101561042857600080fd5b506001600160a01b03813581169160208101359091169060400135610954565b34801561045457600080fd5b506103966004803603608081101561046b57600080fd5b506001600160a01b03813581169160208101358216916040820135169060600135610a07565b34801561049d57600080fd5b50610396600480360360408110156104b457600080fd5b50803590602001356001600160a01b0316610ac5565b3480156104d657600080fd5b50610396600480360360608110156104ed57600080fd5b506001600160a01b03813581169160208101359091169060400135610b8d565b34801561051957600080fd5b506103bf610c45565b34801561052e57600080fd5b506102e16004803603602081101561054557600080fd5b50356001600160a01b0316610c54565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105da5780601f106105af576101008083540402835291602001916105da565b820191906000526020600020905b8154815290600101906020018083116105bd57829003601f168201915b505050505081565b600060606105ee610930565b61062d576040805162461bcd60e51b8152602060048201819052602482015260008051602061122e833981519152604482015290519081900360640190fd5b846001600160a01b031683856040518082805190602001908083835b602083106106685780518252601f199092019160209182019101610649565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146106ca576040519150601f19603f3d011682016040523d82523d6000602084013e6106cf565b606091505b508092508193505050846001600160a01b03167f534b52c783549f909f9e743120524d0b7154058e4a54cdc895c2c0b587a1c7e0858585604051808060200184815260200183151515158152602001828103825285818151815260200191508051906020019080838360005b8381101561075357818101518382015260200161073b565b50505050905090810190601f1680156107805780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a2935093915050565b61079f610930565b6107de576040805162461bcd60e51b8152602060048201819052602482015260008051602061122e833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000610832610930565b610871576040805162461bcd60e51b8152602060048201819052602482015260008051602061122e833981519152604482015290519081900360640190fd5b7ff9deba4938ba20070ec5a45ddf59bccba49cf83124215228ec1232182ef0ba2b826040518080602001828103825283818151815260200191508051906020019080838360005b838110156108d05781810151838201526020016108b8565b50505050905090810190601f1680156108fd5780820380516001836020036101000a031916815260200191505b509250505060405180910390a1506001919050565b6003546001600160a01b031681565b6000546001600160a01b031690565b600080546001600160a01b0316610945610ca7565b6001600160a01b031614905090565b600061095e610930565b61099d576040805162461bcd60e51b8152602060048201819052602482015260008051602061122e833981519152604482015290519081900360640190fd5b6109b76001600160a01b038516848463ffffffff610cab16565b604080516001600160a01b038581168252602082018590528251908716927f3a48a4d6253b30fd10e57a347c1f9bcb0604946481fae0b2fdad6e74f2a9cbb3928290030190a25060019392505050565b6000610a11610930565b610a50576040805162461bcd60e51b8152602060048201819052602482015260008051602061122e833981519152604482015290519081900360640190fd5b610a6b6001600160a01b03861685858563ffffffff610ebc16565b604080516001600160a01b03868116825285811660208301528183018590529151918716917f179c15de44aa7ab84896301974328eb40b5b40fe01cfe0fee2924ea712c3e8439181900360600190a2506001949350505050565b6000610acf610930565b610b0e576040805162461bcd60e51b8152602060048201819052602482015260008051602061122e833981519152604482015290519081900360640190fd5b6040516001600160a01b0383169084156108fc029085906000818181858888f19350505050158015610b44573d6000803e3d6000fd5b506040805184815290516001600160a01b038416917f22fca66666089f39bc900dd6605b489df4aae6260cc8ea8257594cfb8c84926c919081900360200190a250600192915050565b6000610b97610930565b610bd6576040805162461bcd60e51b8152602060048201819052602482015260008051602061122e833981519152604482015290519081900360640190fd5b610bf06001600160a01b038516848463ffffffff61103f16565b826001600160a01b0316846001600160a01b03167f49dc2a60d2599a7b6932d78fb694c30dfc596fe4e0282b5d0fd184b52472c04d846040518082815260200191505060405180910390a35060019392505050565b6002546001600160a01b031681565b610c5c610930565b610c9b576040805162461bcd60e51b8152602060048201819052602482015260008051602061122e833981519152604482015290519081900360640190fd5b610ca481611106565b50565b3390565b610cbd836001600160a01b03166111a6565b610cc657600080fd5b801580610d4c575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015610d1e57600080fd5b505afa158015610d32573d6000803e3d6000fd5b505050506040513d6020811015610d4857600080fd5b5051155b610d5557600080fd5b604080518082018252601881527f617070726f766528616464726573732c75696e7432353629000000000000000060209182015281516001600160a01b0385811660248301526044808301869052845180840390910181526064909201845291810180516001600160e01b031663095ea7b360e01b1781529251815160009460609489169392918291908083835b60208310610e025780518252601f199092019160209182019101610de3565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114610e64576040519150601f19603f3d011682016040523d82523d6000602084013e610e69565b606091505b509150915081610e7857600080fd5b80511580610eac575080516020148015610eac575080601f81518110610e9a57fe5b01602001516001600160f81b03191615155b610eb557600080fd5b5050505050565b610ece846001600160a01b03166111a6565b610ed757600080fd5b60006060856001600160a01b03166040518060600160405280602581526020016111e3602591398051602091820120604080516001600160a01b03808b166024830152891660448201526064808201899052825180830390910181526084909101825292830180516001600160e01b03166001600160e01b0319909316929092178252518251909182918083835b60208310610f845780518252601f199092019160209182019101610f65565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114610fe6576040519150601f19603f3d011682016040523d82523d6000602084013e610feb565b606091505b509150915081610ffa57600080fd5b8051158061102e57508051602014801561102e575080601f8151811061101c57fe5b01602001516001600160f81b03191615155b61103757600080fd5b505050505050565b611051836001600160a01b03166111a6565b61105a57600080fd5b604080518082018252601981527f7472616e7366657228616464726573732c75696e74323536290000000000000060209182015281516001600160a01b0385811660248301526044808301869052845180840390910181526064909201845291810180516001600160e01b031663a9059cbb60e01b17815292518151600094606094891693929182919080838360208310610e025780518252601f199092019160209182019101610de3565b6001600160a01b03811661114b5760405162461bcd60e51b81526004018080602001828103825260268152602001806112086026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081158015906111da5750808214155b94935050505056fe7472616e7366657246726f6d28616464726573732c616464726573732c75696e74323536294f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a265627a7a723158208b19858d45a1e23d979eca6eb722e34a852723d382d89ab61bcfe89a283018cf64736f6c634300051100320000000000000000000000000000000000000000000000000000000000000060000000000000000000000000c3ae0333f0f34aa734d5493276223d95b8f9cb37000000000000000000000000232af049e34770dad94f452ccdc6feb0ecd426230000000000000000000000000000000000000000000000000000000000000005445864616f000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106100c25760003560e01c80638f32d59b1161007f578063cb16d4a211610059578063cb16d4a214610491578063dab0efff146104ca578063e1758bd81461050d578063f2fde38b14610522576100c2565b80638f32d59b146103f0578063ab751f7114610405578063b756d5a214610448576100c2565b80631386dc2d146100fa5780632bf1645814610184578063715018a6146102cc578063890ac46c146102e357806389ae1c90146103aa5780638da5cb5b146103db575b60408051348152905133917ff32a9f77675fd5917534c7746608fd3e309eac68fbdcbf5925e24ca97a704396919081900360200190a2005b34801561010657600080fd5b5061010f610555565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610149578181015183820152602001610131565b50505050905090810190601f1680156101765780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561019057600080fd5b50610249600480360360608110156101a757600080fd5b6001600160a01b0382351691908101906040810160208201356401000000008111156101d257600080fd5b8201836020820111156101e457600080fd5b8035906020019184600183028401116401000000008311171561020657600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955050913592506105e2915050565b604051808315151515815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610290578181015183820152602001610278565b50505050905090810190601f1680156102bd5780820380516001836020036101000a031916815260200191505b50935050505060405180910390f35b3480156102d857600080fd5b506102e1610797565b005b3480156102ef57600080fd5b506103966004803603602081101561030657600080fd5b81019060208101813564010000000081111561032157600080fd5b82018360208201111561033357600080fd5b8035906020019184600183028401116401000000008311171561035557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610828945050505050565b604080519115158252519081900360200190f35b3480156103b657600080fd5b506103bf610912565b604080516001600160a01b039092168252519081900360200190f35b3480156103e757600080fd5b506103bf610921565b3480156103fc57600080fd5b50610396610930565b34801561041157600080fd5b506103966004803603606081101561042857600080fd5b506001600160a01b03813581169160208101359091169060400135610954565b34801561045457600080fd5b506103966004803603608081101561046b57600080fd5b506001600160a01b03813581169160208101358216916040820135169060600135610a07565b34801561049d57600080fd5b50610396600480360360408110156104b457600080fd5b50803590602001356001600160a01b0316610ac5565b3480156104d657600080fd5b50610396600480360360608110156104ed57600080fd5b506001600160a01b03813581169160208101359091169060400135610b8d565b34801561051957600080fd5b506103bf610c45565b34801561052e57600080fd5b506102e16004803603602081101561054557600080fd5b50356001600160a01b0316610c54565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105da5780601f106105af576101008083540402835291602001916105da565b820191906000526020600020905b8154815290600101906020018083116105bd57829003601f168201915b505050505081565b600060606105ee610930565b61062d576040805162461bcd60e51b8152602060048201819052602482015260008051602061122e833981519152604482015290519081900360640190fd5b846001600160a01b031683856040518082805190602001908083835b602083106106685780518252601f199092019160209182019101610649565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146106ca576040519150601f19603f3d011682016040523d82523d6000602084013e6106cf565b606091505b508092508193505050846001600160a01b03167f534b52c783549f909f9e743120524d0b7154058e4a54cdc895c2c0b587a1c7e0858585604051808060200184815260200183151515158152602001828103825285818151815260200191508051906020019080838360005b8381101561075357818101518382015260200161073b565b50505050905090810190601f1680156107805780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a2935093915050565b61079f610930565b6107de576040805162461bcd60e51b8152602060048201819052602482015260008051602061122e833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000610832610930565b610871576040805162461bcd60e51b8152602060048201819052602482015260008051602061122e833981519152604482015290519081900360640190fd5b7ff9deba4938ba20070ec5a45ddf59bccba49cf83124215228ec1232182ef0ba2b826040518080602001828103825283818151815260200191508051906020019080838360005b838110156108d05781810151838201526020016108b8565b50505050905090810190601f1680156108fd5780820380516001836020036101000a031916815260200191505b509250505060405180910390a1506001919050565b6003546001600160a01b031681565b6000546001600160a01b031690565b600080546001600160a01b0316610945610ca7565b6001600160a01b031614905090565b600061095e610930565b61099d576040805162461bcd60e51b8152602060048201819052602482015260008051602061122e833981519152604482015290519081900360640190fd5b6109b76001600160a01b038516848463ffffffff610cab16565b604080516001600160a01b038581168252602082018590528251908716927f3a48a4d6253b30fd10e57a347c1f9bcb0604946481fae0b2fdad6e74f2a9cbb3928290030190a25060019392505050565b6000610a11610930565b610a50576040805162461bcd60e51b8152602060048201819052602482015260008051602061122e833981519152604482015290519081900360640190fd5b610a6b6001600160a01b03861685858563ffffffff610ebc16565b604080516001600160a01b03868116825285811660208301528183018590529151918716917f179c15de44aa7ab84896301974328eb40b5b40fe01cfe0fee2924ea712c3e8439181900360600190a2506001949350505050565b6000610acf610930565b610b0e576040805162461bcd60e51b8152602060048201819052602482015260008051602061122e833981519152604482015290519081900360640190fd5b6040516001600160a01b0383169084156108fc029085906000818181858888f19350505050158015610b44573d6000803e3d6000fd5b506040805184815290516001600160a01b038416917f22fca66666089f39bc900dd6605b489df4aae6260cc8ea8257594cfb8c84926c919081900360200190a250600192915050565b6000610b97610930565b610bd6576040805162461bcd60e51b8152602060048201819052602482015260008051602061122e833981519152604482015290519081900360640190fd5b610bf06001600160a01b038516848463ffffffff61103f16565b826001600160a01b0316846001600160a01b03167f49dc2a60d2599a7b6932d78fb694c30dfc596fe4e0282b5d0fd184b52472c04d846040518082815260200191505060405180910390a35060019392505050565b6002546001600160a01b031681565b610c5c610930565b610c9b576040805162461bcd60e51b8152602060048201819052602482015260008051602061122e833981519152604482015290519081900360640190fd5b610ca481611106565b50565b3390565b610cbd836001600160a01b03166111a6565b610cc657600080fd5b801580610d4c575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015610d1e57600080fd5b505afa158015610d32573d6000803e3d6000fd5b505050506040513d6020811015610d4857600080fd5b5051155b610d5557600080fd5b604080518082018252601881527f617070726f766528616464726573732c75696e7432353629000000000000000060209182015281516001600160a01b0385811660248301526044808301869052845180840390910181526064909201845291810180516001600160e01b031663095ea7b360e01b1781529251815160009460609489169392918291908083835b60208310610e025780518252601f199092019160209182019101610de3565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114610e64576040519150601f19603f3d011682016040523d82523d6000602084013e610e69565b606091505b509150915081610e7857600080fd5b80511580610eac575080516020148015610eac575080601f81518110610e9a57fe5b01602001516001600160f81b03191615155b610eb557600080fd5b5050505050565b610ece846001600160a01b03166111a6565b610ed757600080fd5b60006060856001600160a01b03166040518060600160405280602581526020016111e3602591398051602091820120604080516001600160a01b03808b166024830152891660448201526064808201899052825180830390910181526084909101825292830180516001600160e01b03166001600160e01b0319909316929092178252518251909182918083835b60208310610f845780518252601f199092019160209182019101610f65565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114610fe6576040519150601f19603f3d011682016040523d82523d6000602084013e610feb565b606091505b509150915081610ffa57600080fd5b8051158061102e57508051602014801561102e575080601f8151811061101c57fe5b01602001516001600160f81b03191615155b61103757600080fd5b505050505050565b611051836001600160a01b03166111a6565b61105a57600080fd5b604080518082018252601981527f7472616e7366657228616464726573732c75696e74323536290000000000000060209182015281516001600160a01b0385811660248301526044808301869052845180840390910181526064909201845291810180516001600160e01b031663a9059cbb60e01b17815292518151600094606094891693929182919080838360208310610e025780518252601f199092019160209182019101610de3565b6001600160a01b03811661114b5760405162461bcd60e51b81526004018080602001828103825260268152602001806112086026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081158015906111da5750808214155b94935050505056fe7472616e7366657246726f6d28616464726573732c616464726573732c75696e74323536294f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a265627a7a723158208b19858d45a1e23d979eca6eb722e34a852723d382d89ab61bcfe89a283018cf64736f6c63430005110032

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

0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000c3ae0333f0f34aa734d5493276223d95b8f9cb37000000000000000000000000232af049e34770dad94f452ccdc6feb0ecd426230000000000000000000000000000000000000000000000000000000000000005445864616f000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _orgName (string): DXdao
Arg [1] : _nativeToken (address): 0xC3Ae0333F0F34aa734D5493276223d95B8F9Cb37
Arg [2] : _nativeReputation (address): 0x232Af049e34770DAd94f452cCDC6FEb0EcD42623

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 000000000000000000000000c3ae0333f0f34aa734d5493276223d95b8f9cb37
Arg [2] : 000000000000000000000000232af049e34770dad94f452ccdc6feb0ecd42623
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [4] : 445864616f000000000000000000000000000000000000000000000000000000


Deployed ByteCode Sourcemap

42022:209:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38417:35;;;38442:9;38417:35;;;;38430:10;;38417:35;;;;;;;;;;42022:209;37248:21;;8:9:-1;5:2;;;30:1;27;20:12;5:2;37248:21:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;37248:21:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38856:350;;8:9:-1;5:2;;;30:1;27;20:12;5:2;38856:350:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;38856:350:0;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;38856:350:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;38856:350:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;38856:350:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;38856:350:0;;-1:-1:-1;;38856:350:0;;;-1:-1:-1;38856:350:0;;-1:-1:-1;;38856:350:0:i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;38856:350:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2936:140;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2936:140:0;;;:::i;:::-;;41800:139;;8:9:-1;5:2;;;30:1;27;20:12;5:2;41800:139:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;41800:139:0;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;41800:139:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;41800:139:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;41800:139:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;41800:139:0;;-1:-1:-1;41800:139:0;;-1:-1:-1;;;;;41800:139:0:i;:::-;;;;;;;;;;;;;;;;;;37310:34;;8:9:-1;5:2;;;30:1;27;20:12;5:2;37310:34:0;;;:::i;:::-;;;;-1:-1:-1;;;;;37310:34:0;;;;;;;;;;;;;;2125:79;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2125:79:0;;;:::i;2491:94::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2491:94:0;;;:::i;41261:303::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;41261:303:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;41261:303:0;;;;;;;;;;;;;;;;;:::i;40499:373::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;40499:373:0;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;;40499:373:0;;;;;;;;;;;;;;;;;;;;;;:::i;39430:204::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;39430:204:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;39430:204:0;;;;;;-1:-1:-1;;;;;39430:204:0;;:::i;39884:289::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;39884:289:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;39884:289:0;;;;;;;;;;;;;;;;;:::i;37276:27::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;37276:27:0;;;:::i;3231:109::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3231:109:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3231:109:0;-1:-1:-1;;;;;3231:109:0;;:::i;37248:21::-;;;;;;;;;;;;;;;-1:-1:-1;;37248:21:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;38856:350::-;38972:12;38986:24;2337:9;:7;:9::i;:::-;2329:54;;;;;-1:-1:-1;;;2329:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2329:54:0;;;;;;;;;;;;;;;39101:9;-1:-1:-1;;;;;39101:14:0;39122:6;39130:5;39101:35;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;39101:35:0;;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;39076:60:0;;;;;;;;39164:9;-1:-1:-1;;;;;39152:46:0;;39175:5;39182:6;39190:7;39152:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;39152:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38856:350;;;;;;:::o;2936:140::-;2337:9;:7;:9::i;:::-;2329:54;;;;;-1:-1:-1;;;2329:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2329:54:0;;;;;;;;;;;;;;;3035:1;3019:6;;2998:40;;-1:-1:-1;;;;;3019:6:0;;;;2998:40;;3035:1;;2998:40;3066:1;3049:19;;-1:-1:-1;;;;;;3049:19:0;;;2936:140::o;41800:139::-;41868:4;2337:9;:7;:9::i;:::-;2329:54;;;;;-1:-1:-1;;;2329:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2329:54:0;;;;;;;;;;;;;;;41890:19;41899:9;41890:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;41890:19:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41927:4:0;41800:139;;;:::o;37310:34::-;;;-1:-1:-1;;;;;37310:34:0;;:::o;2125:79::-;2163:7;2190:6;-1:-1:-1;;;;;2190:6:0;2125:79;:::o;2491:94::-;2531:4;2571:6;;-1:-1:-1;;;;;2571:6:0;2555:12;:10;:12::i;:::-;-1:-1:-1;;;;;2555:22:0;;2548:29;;2491:94;:::o;41261:303::-;41379:4;2337:9;:7;:9::i;:::-;2329:54;;;;;-1:-1:-1;;;2329:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2329:54:0;;;;;;;;;;;;;;;41401:53;-1:-1:-1;;;;;41401:35:0;;41437:8;41447:6;41401:53;:35;:53;:::i;:::-;41470:64;;;-1:-1:-1;;;;;41470:64:0;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41552:4:0;41261:303;;;;;:::o;40499:373::-;40674:4;2337:9;:7;:9::i;:::-;2329:54;;;;;-1:-1:-1;;;2329:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2329:54:0;;;;;;;;;;;;;;;40696:60;-1:-1:-1;;;;;40696:40:0;;40737:5;40744:3;40749:6;40696:60;:40;:60;:::i;:::-;40772:70;;;-1:-1:-1;;;;;40772:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40860:4:0;40499:373;;;;;;:::o;39430:204::-;39517:4;2337:9;:7;:9::i;:::-;2329:54;;;;;-1:-1:-1;;;2329:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2329:54:0;;;;;;;;;;;;;;;39534:26;;-1:-1:-1;;;;;39534:12:0;;;:26;;;;;39547:12;;39534:26;;;;39547:12;39534;:26;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;39576:28:0;;;;;;;;-1:-1:-1;;;;;39576:28:0;;;;;;;;;;;;;-1:-1:-1;39622:4:0;39430:204;;;;:::o;39884:289::-;39997:4;2337:9;:7;:9::i;:::-;2329:54;;;;;-1:-1:-1;;;2329:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2329:54:0;;;;;;;;;;;;;;;40019:49;-1:-1:-1;;;;;40019:36:0;;40056:3;40061:6;40019:49;:36;:49;:::i;:::-;40131:3;-1:-1:-1;;;;;40084:59:0;40114:14;-1:-1:-1;;;;;40084:59:0;;40136:6;40084:59;;;;;;;;;;;;;;;;;;-1:-1:-1;40161:4:0;39884:289;;;;;:::o;37276:27::-;;;-1:-1:-1;;;;;37276:27:0;;:::o;3231:109::-;2337:9;:7;:9::i;:::-;2329:54;;;;;-1:-1:-1;;;2329:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2329:54:0;;;;;;;;;;;;;;;3304:28;3323:8;3304:18;:28::i;:::-;3231:109;:::o;866:98::-;946:10;866:98;:::o;36187:809::-;36335:23;:10;-1:-1:-1;;;;;36335:21:0;;:23::i;:::-;36327:32;;;;;;36504:11;;;36503:77;;-1:-1:-1;36521:53:0;;;-1:-1:-1;;;36521:53:0;;36558:4;36521:53;;;;-1:-1:-1;;;;;36521:53:0;;;;;;;;;:28;;;;;;:53;;;;;;;;;;;;;;;:28;:53;;;5:2:-1;;;;30:1;27;20:12;5:2;36521:53:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;36521:53:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;36521:53:0;:58;36503:77;36495:86;;;;;;34939:33;;;;;;;;;;;;;;;;;36722:58;;-1:-1:-1;;;;;36722:58:0;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;36722:58:0;;;;;;25:18:-1;;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;36706:75:0;;;;36595:12;;36609:24;;36706:15;;;36722:58;36706:75;;;25:18:-1;36706:75:0;;25:18:-1;36:153;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;36706:75:0;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;36594:187:0;;;;36851:7;36843:16;;;;;;36908:18;;:23;;:79;;;36936:11;:18;36958:2;36936:24;:50;;;;;36965:11;36977:2;36965:15;;;;;;;;;;;;-1:-1:-1;;;;;;36965:15:0;:20;;36936:50;36900:88;;;;;;36187:809;;;;;:::o;35570:609::-;35733:23;:10;-1:-1:-1;;;;;35733:21:0;;:23::i;:::-;35725:32;;;;;;35771:12;35785:24;35882:10;-1:-1:-1;;;;;35882:15:0;34824:46;;;;;;;;;;;;;;;;;34814:57;;;;;;;35898:65;;;-1:-1:-1;;;;;35898:65:0;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;35898:65:0;;;;;;25:18:-1;;;61:17;;-1:-1;;;;;182:15;-1:-1;;;;;;35898:65:0;;;179:29:-1;;;;160:49;;35882:82:0;;;;;;;;;25:18:-1;36:153;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;35882:82:0;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;35770:194:0;;;;36034:7;36026:16;;;;;;36091:18;;:23;;:79;;;36119:11;:18;36141:2;36119:24;:50;;;;;36148:11;36160:2;36148:15;;;;;;;;;;;;-1:-1:-1;;;;;;36148:15:0;:20;;36119:50;36083:88;;;;;;35570:609;;;;;;:::o;34983:579::-;35127:23;:10;-1:-1:-1;;;;;35127:21:0;;:23::i;:::-;35119:32;;;;;;34716:34;;;;;;;;;;;;;;;;;35292:54;;-1:-1:-1;;;;;35292:54:0;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;35292:54:0;;;;;;25:18:-1;;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;35276:71:0;;;;35165:12;;35179:24;;35276:15;;;35292:54;35276:71;;;25:18:-1;35276:71:0;;25:18:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;3446:229:0;-1:-1:-1;;;;;3520:22:0;;3512:73;;;;-1:-1:-1;;;3512:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3622:6;;;3601:38;;-1:-1:-1;;;;;3601:38:0;;;;3622:6;;;3601:38;;;3650:6;:17;;-1:-1:-1;;;;;;3650:17:0;-1:-1:-1;;;;;3650:17:0;;;;;;;;;;3446:229::o;31530:810::-;31590:4;32249:20;;32092:66;32289:15;;;;;:42;;;32320:11;32308:8;:23;;32289:42;32281:51;31530:810;-1:-1:-1;;;;31530:810:0:o

Metadata Hash

8b19858d45a1e23d979eca6eb722e34a852723d382d89ab61bcfe89a283018cf
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.