ETH Price: $3,066.44 (+1.40%)
Gas: 4 Gwei

Token

ERC20 ***
 

Overview

Max Total Supply

4,180.650542 ERC20 ***

Holders

18

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 6 Decimals)

Balance
0.10271 ERC20 ***

Value
$0.00
0xb086755a5b0b10bd53956936588555f586f5f49d
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
BoostVault

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
Yes with 10000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-10-20
*/

// File: contracts/IERC20.sol

//SPDX-License-Identifier: GPL-3.0-only

pragma solidity 0.5.17;


/**
 * @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: contracts/ITreasury.sol

pragma solidity 0.5.17;



interface ITreasury {
    function defaultToken() external view returns (IERC20);
    function deposit(IERC20 token, uint256 amount) external;
    function withdraw(uint256 amount, address withdrawAddress) external;
}

// File: contracts/vaults/IVault.sol

pragma solidity 0.5.17;



interface IVault {
    function want() external view returns (IERC20);
    function transferFundsToStrategy(address strategy, uint256 amount) external;
    function availableFunds() external view returns (uint256);
}

// File: contracts/vaults/IVaultRewards.sol

pragma solidity 0.5.17;



interface IVaultRewards {
    function want() external view returns (IERC20);
    function notifyRewardAmount(uint256 reward) external;
}

// File: contracts/vaults/IController.sol

pragma solidity 0.5.17;






interface IController {
    function currentEpochTime() external view returns (uint256);
    function balanceOf(address) external view returns (uint256);
    function rewards(address token) external view returns (IVaultRewards);
    function vault(address token) external view returns (IVault);
    function allowableAmount(address) external view returns (uint256);
    function treasury() external view returns (ITreasury);
    function approvedStrategies(address, address) external view returns (bool);
    function getHarvestInfo(address strategy, address user)
        external view returns (
        uint256 vaultRewardPercentage,
        uint256 hurdleAmount,
        uint256 harvestPercentage
    );
    function withdraw(address, uint256) external;
    function earn(address, uint256) external;
    function increaseHurdleRate(address token) external;
}

// File: contracts/SafeMath.sol

pragma solidity 0.5.17;

// Note: This file has been modified to include the sqrt function for quadratic voting
/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow, so we distribute
        return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2);
    }

    /**
    * Imported from: https://github.com/alianse777/solidity-standard-library/blob/master/Math.sol
    * @dev Compute square root of x
    * @return sqrt(x)
    */
   function sqrt(uint256 x) internal pure returns (uint256) {
       uint256 n = x / 2;
       uint256 lstX = 0;
       while (n != lstX){
           lstX = n;
           n = (n + x/n) / 2;
       }
       return uint256(n);
   }
}

/**
 * @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: contracts/zeppelin/Context.sol

pragma solidity 0.5.17;


/*
 * @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: contracts/zeppelin/ERC20.sol

pragma solidity 0.5.17;





contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;
    function totalSupply() public view returns (uint256) {
        return _totalSupply;
    }
    function balanceOf(address account) public view returns (uint256) {
        return _balances[account];
    }
    function transfer(address recipient, uint256 amount) public returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }
    function allowance(address owner, address spender) public view returns (uint256) {
        return _allowances[owner][spender];
    }
    function approve(address spender, uint256 amount) public returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }
    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;
    }
    function increaseAllowance(address spender, uint256 addedValue) public returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }
    function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }
    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);
    }
    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);
    }
    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);
    }
    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);
    }
    function _burnFrom(address account, uint256 amount) internal {
        _burn(account, amount);
        _approve(account, _msgSender(), _allowances[account][_msgSender()].sub(amount, "ERC20: burn amount exceeds allowance"));
    }
}

// File: contracts/zeppelin/ERC20Detailed.sol

pragma solidity 0.5.17;



contract ERC20Detailed is IERC20 {
    string private _name;
    string private _symbol;
    uint8 private _decimals;

    constructor (string memory name, string memory symbol, uint8 decimals) public {
        _name = name;
        _symbol = symbol;
        _decimals = decimals;
    }
    function name() public view returns (string memory) {
        return _name;
    }
    function symbol() public view returns (string memory) {
        return _symbol;
    }
    function decimals() public view returns (uint8) {
        return _decimals;
    }
}

// File: contracts/zeppelin/Address.sol

pragma solidity 0.5.17;


/**
 * @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/zeppelin/SafeERC20.sol

pragma solidity 0.5.17;




/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for ERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves.

        // A Solidity high level call has three parts:
        //  1. The target address is checked to verify it contains contract code
        //  2. The call itself is made, and success asserted
        //  3. The return value is decoded, which in turn checks the size of the returned data.
        // solhint-disable-next-line max-line-length
        require(address(token).isContract(), "SafeERC20: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = address(token).call(data);
        require(success, "SafeERC20: low-level call failed");

        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

// File: contracts/vaults/BoostVault.sol

//SPDX-License-Identifier: MIT
/*
* MIT License
* ===========
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
*/

pragma solidity 0.5.17;







contract BoostVault is ERC20, ERC20Detailed {
    using SafeERC20 for IERC20;
    using Address for address;
    using SafeMath for uint256;

    IERC20 public want;

    uint256 public maxUtilisation = 9500;
    uint256 public withdrawalFee = 35; // 0.35%
    uint256 public cap;
    uint256 public constant MAX_UTILISATION_ALLOWABLE = 9900; // max 99% utilisation
    uint256 public constant MAX_WITHDRAWAL_FEE = 100; // 1%
    uint256 public constant DENOM = 10000;

    address public gov;
    IController public controller;

    constructor(
        address _want,
        address _gov,
        IController _controller,
        uint256 _cap
    ) public ERC20Detailed(
      string(abi.encodePacked("bfVault-", ERC20Detailed(_want).name())),
      string(abi.encodePacked("bf", ERC20Detailed(_want).symbol())),
      ERC20Detailed(_want).decimals()
  ) {
      want = IERC20(_want);
      gov = _gov;
      controller = _controller;
      cap = _cap;
  }

    function balance() public view returns (uint256) {
        return want.balanceOf(address(this))
            .add(controller.balanceOf(address(want)));
    }

    function setMaxUtilisation(uint256 _maxUtilisation) external {
        require(msg.sender == gov, "not gov");
        require(_maxUtilisation <= MAX_UTILISATION_ALLOWABLE, "min 1%");
        maxUtilisation = _maxUtilisation;
    }

    function setGovernance(address _gov) external {
        require(msg.sender == gov, "not gov");
        gov = _gov;
    }

    function setController(IController _controller) external {
        require(msg.sender == gov, "not gov");
        controller = _controller;
    }

    function setCap(uint256 _cap) external {
        require(msg.sender == gov, "not gov");
        cap = _cap;
    }

    function setWithdrawalFee(uint256 _percent) external {
        require(msg.sender == gov, "not gov");
        require (_percent <= MAX_WITHDRAWAL_FEE, "fee too high");
        withdrawalFee = _percent;
    }

    // Buffer to process small withdrawals
    function availableFunds() public view returns (uint256) {
        return want.balanceOf(address(this)).mul(maxUtilisation).div(DENOM);
    }

    // Strategies will request funds from controller
    // Controller should have checked that
    // 1) Strategy is authorized to pull funds
    // 2) Amount requested is below set cap
    function transferFundsToStrategy(address strategy, uint256 amount) external {
        require(msg.sender == address(controller), "not controller");
        uint256 availAmt = availableFunds();
        require(amount <= availAmt, "too much requested");
        want.safeTransfer(strategy, amount);
    }

    function deposit(uint256 amount) external {
        uint256 poolAmt = balance();
        require(poolAmt.add(amount) <= cap, "cap exceeded");
        want.safeTransferFrom(msg.sender, address(this), amount);
        uint256 shares = 0;
        if (poolAmt == 0) {
            shares = amount;
        } else {
            shares = (amount.mul(totalSupply())).div(poolAmt);
        }
        _mint(msg.sender, shares);
    }

    function withdraw(uint256 shares) external {
        uint256 requestedAmt = (balance().mul(shares)).div(totalSupply());
        _burn(msg.sender, shares);

        // Check balance
        uint256 currentAvailFunds = want.balanceOf(address(this));
        if (currentAvailFunds < requestedAmt) {
            uint256 withdrawDiffAmt = requestedAmt.sub(currentAvailFunds);
            // pull funds from strategies through controller
            controller.withdraw(address(want), withdrawDiffAmt);
            uint256 newAvailFunds = want.balanceOf(address(this));
            uint256 diff = newAvailFunds.sub(currentAvailFunds);
            if (diff < withdrawDiffAmt) {
                requestedAmt = newAvailFunds;
            }
        }

        // Apply withdrawal fee, transfer and notify rewards pool
        uint256 withdrawFee = requestedAmt.mul(withdrawalFee).div(DENOM);
        want.safeTransfer(address(controller.rewards(address(want))), withdrawFee);
        controller.rewards(address(want)).notifyRewardAmount(withdrawFee);

        requestedAmt = requestedAmt.sub(withdrawFee);
        want.safeTransfer(msg.sender, requestedAmt);
    }

    function getPricePerFullShare() public view returns (uint256) {
        return balance().mul(1e18).div(totalSupply());
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_want","type":"address"},{"internalType":"address","name":"_gov","type":"address"},{"internalType":"contract IController","name":"_controller","type":"address"},{"internalType":"uint256","name":"_cap","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"constant":true,"inputs":[],"name":"DENOM","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MAX_UTILISATION_ALLOWABLE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MAX_WITHDRAWAL_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"availableFunds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"balance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"controller","outputs":[{"internalType":"contract IController","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"deposit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getPricePerFullShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"gov","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"maxUtilisation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_cap","type":"uint256"}],"name":"setCap","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"contract IController","name":"_controller","type":"address"}],"name":"setController","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_gov","type":"address"}],"name":"setGovernance","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_maxUtilisation","type":"uint256"}],"name":"setMaxUtilisation","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_percent","type":"uint256"}],"name":"setWithdrawalFee","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"strategy","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFundsToStrategy","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"want","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"shares","type":"uint256"}],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"withdrawalFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"}]

608060405261251c60065560236007553480156200001c57600080fd5b50604051620024a9380380620024a9833981810160405260808110156200004257600080fd5b508051602082015160408084015160609094015181516306fdde0360e01b815291519394929390916001600160a01b038616916306fdde0391600480820192600092909190829003018186803b1580156200009c57600080fd5b505afa158015620000b1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015620000db57600080fd5b8101908080516040519392919084640100000000821115620000fc57600080fd5b9083019060208201858111156200011257600080fd5b82516401000000008111828201881017156200012d57600080fd5b82525081516020918201929091019080838360005b838110156200015c57818101518382015260200162000142565b50505050905090810190601f1680156200018a5780820380516001836020036101000a031916815260200191505b5060405250505060405160200180806762665661756c742d60c01b81525060080182805190602001908083835b60208310620001d85780518252601f199092019160209182019101620001b7565b6001836020036101000a038019825116818451168082178552505050505050905001915050604051602081830303815290604052846001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b1580156200024657600080fd5b505afa1580156200025b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156200028557600080fd5b8101908080516040519392919084640100000000821115620002a657600080fd5b908301906020820185811115620002bc57600080fd5b8251640100000000811182820188101715620002d757600080fd5b82525081516020918201929091019080838360005b8381101562000306578181015183820152602001620002ec565b50505050905090810190601f168015620003345780820380516001836020036101000a031916815260200191505b50604052505050604051602001808061313360f11b81525060020182805190602001908083835b602083106200037c5780518252601f1990920191602091820191016200035b565b6001836020036101000a038019825116818451168082178552505050505050905001915050604051602081830303815290604052856001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015620003ea57600080fd5b505afa158015620003ff573d6000803e3d6000fd5b505050506040513d60208110156200041657600080fd5b505182516200042d906003906020860190620004a5565b50815162000443906004906020850190620004a5565b506005805460ff191660ff9290921691909117610100600160a81b0319166101006001600160a01b03988916021790555050600980546001600160a01b0319908116948616949094179055600a8054909316919093161790556008556200054a565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620004e857805160ff191683800117855562000518565b8280016001018555821562000518579182015b8281111562000518578251825591602001919060010190620004fb565b50620005269291506200052a565b5090565b6200054791905b8082111562000526576000815560010162000531565b90565b611f4f806200055a6000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c806377c7b8fc1161010f578063ac1e5025116100a2578063dd62ed3e11610071578063dd62ed3e14610521578063eb6ed3301461054f578063ed21444814610557578063f77c479114610574576101e5565b8063ac1e5025146104d7578063b69ef8a8146104f4578063b6b55f25146104fc578063dc89231714610519576101e5565b806395d89b41116100de57806395d89b4114610451578063a457c2d714610459578063a9059cbb14610485578063ab033ea9146104b1576101e5565b806377c7b8fc146103ef5780638bc7e8c4146103f75780638bebf069146103ff57806392eefe9b1461042b576101e5565b80632daecab5116101875780633950935111610156578063395093511461037857806346fcff4c146103a457806347786d37146103ac57806370a08231146103c9576101e5565b80632daecab51461032b5780632e1a7d4d14610333578063313ce56714610352578063355274ea14610370576101e5565b806316343da4116101c357806316343da4146102cb57806318160ddd146102e55780631f1fcd51146102ed57806323b872dd146102f5576101e5565b806306fdde03146101ea578063095ea7b31461026757806312d43a51146102a7575b600080fd5b6101f261057c565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561022c578181015183820152602001610214565b50505050905090810190601f1680156102595780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102936004803603604081101561027d57600080fd5b506001600160a01b038135169060200135610630565b604080519115158252519081900360200190f35b6102af61064e565b604080516001600160a01b039092168252519081900360200190f35b6102d361065d565b60408051918252519081900360200190f35b6102d3610663565b6102af610669565b6102936004803603606081101561030b57600080fd5b506001600160a01b0381358116916020810135909116906040013561067d565b6102d361070a565b6103506004803603602081101561034957600080fd5b5035610710565b005b61035a610b6d565b6040805160ff9092168252519081900360200190f35b6102d3610b76565b6102936004803603604081101561038e57600080fd5b506001600160a01b038135169060200135610b7c565b6102d3610bd0565b610350600480360360208110156103c257600080fd5b5035610c86565b6102d3600480360360208110156103df57600080fd5b50356001600160a01b0316610cea565b6102d3610d05565b6102d3610d26565b6103506004803603604081101561041557600080fd5b506001600160a01b038135169060200135610d2c565b6103506004803603602081101561044157600080fd5b50356001600160a01b0316610e0d565b6101f2610ea6565b6102936004803603604081101561046f57600080fd5b506001600160a01b038135169060200135610f25565b6102936004803603604081101561049b57600080fd5b506001600160a01b038135169060200135610f93565b610350600480360360208110156104c757600080fd5b50356001600160a01b0316610fa7565b610350600480360360208110156104ed57600080fd5b5035611040565b6102d36110fa565b6103506004803603602081101561051257600080fd5b5035611238565b6102d36112ff565b6102d36004803603604081101561053757600080fd5b506001600160a01b0381358116916020013516611305565b6102d3611330565b6103506004803603602081101561056d57600080fd5b5035611335565b6102af6113f0565b60038054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106265780601f106105fb57610100808354040283529160200191610626565b820191906000526020600020905b81548152906001019060200180831161060957829003601f168201915b5050505050905090565b600061064461063d6113ff565b8484611403565b5060015b92915050565b6009546001600160a01b031681565b61271081565b60025490565b60055461010090046001600160a01b031681565b600061068a8484846114ef565b610700846106966113ff565b6106fb85604051806060016040528060288152602001611e3a602891396001600160a01b038a166000908152600160205260408120906106d46113ff565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61164b16565b611403565b5060019392505050565b6126ac81565b600061074161071d610663565b610735846107296110fa565b9063ffffffff6116e216565b9063ffffffff61174216565b905061074d3383611784565b600554604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905160009261010090046001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156107b657600080fd5b505afa1580156107ca573d6000803e3d6000fd5b505050506040513d60208110156107e057600080fd5b505190508181101561094a5760006107fe838363ffffffff61188016565b600a54600554604080517ff3fef3a30000000000000000000000000000000000000000000000000000000081526001600160a01b036101009093048316600482015260248101859052905193945091169163f3fef3a39160448082019260009290919082900301818387803b15801561087657600080fd5b505af115801561088a573d6000803e3d6000fd5b5050600554604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051600094506101009092046001600160a01b031692506370a08231916024808301926020929190829003018186803b1580156108f857600080fd5b505afa15801561090c573d6000803e3d6000fd5b505050506040513d602081101561092257600080fd5b505190506000610938828563ffffffff61188016565b905082811015610946578194505b5050505b6000610967612710610735600754866116e290919063ffffffff16565b600a54600554604080517f0700037d0000000000000000000000000000000000000000000000000000000081526101009092046001600160a01b0390811660048401529051939450610a2093921691630700037d91602480820192602092909190829003018186803b1580156109dc57600080fd5b505afa1580156109f0573d6000803e3d6000fd5b505050506040513d6020811015610a0657600080fd5b505160055461010090046001600160a01b031690836118c2565b600a54600554604080517f0700037d0000000000000000000000000000000000000000000000000000000081526101009092046001600160a01b0390811660048401529051921691630700037d91602480820192602092909190829003018186803b158015610a8e57600080fd5b505afa158015610aa2573d6000803e3d6000fd5b505050506040513d6020811015610ab857600080fd5b5051604080517f3c6b16ab0000000000000000000000000000000000000000000000000000000081526004810184905290516001600160a01b0390921691633c6b16ab9160248082019260009290919082900301818387803b158015610b1d57600080fd5b505af1158015610b31573d6000803e3d6000fd5b50505050610b48818461188090919063ffffffff16565b600554909350610b679061010090046001600160a01b031633856118c2565b50505050565b60055460ff1690565b60085481565b6000610644610b896113ff565b846106fb8560016000610b9a6113ff565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff61194216565b6000610c81612710610735600654600560019054906101000a90046001600160a01b03166001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015610c4957600080fd5b505afa158015610c5d573d6000803e3d6000fd5b505050506040513d6020811015610c7357600080fd5b50519063ffffffff6116e216565b905090565b6009546001600160a01b03163314610ce5576040805162461bcd60e51b815260206004820152600760248201527f6e6f7420676f7600000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600855565b6001600160a01b031660009081526020819052604090205490565b6000610c81610d12610663565b610735670de0b6b3a76400006107296110fa565b60075481565b600a546001600160a01b03163314610d8b576040805162461bcd60e51b815260206004820152600e60248201527f6e6f7420636f6e74726f6c6c6572000000000000000000000000000000000000604482015290519081900360640190fd5b6000610d95610bd0565b905080821115610dec576040805162461bcd60e51b815260206004820152601260248201527f746f6f206d756368207265717565737465640000000000000000000000000000604482015290519081900360640190fd5b600554610e089061010090046001600160a01b031684846118c2565b505050565b6009546001600160a01b03163314610e6c576040805162461bcd60e51b815260206004820152600760248201527f6e6f7420676f7600000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600a80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b60048054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106265780601f106105fb57610100808354040283529160200191610626565b6000610644610f326113ff565b846106fb85604051806060016040528060258152602001611ef66025913960016000610f5c6113ff565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61164b16565b6000610644610fa06113ff565b84846114ef565b6009546001600160a01b03163314611006576040805162461bcd60e51b815260206004820152600760248201527f6e6f7420676f7600000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600980547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6009546001600160a01b0316331461109f576040805162461bcd60e51b815260206004820152600760248201527f6e6f7420676f7600000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b60648111156110f5576040805162461bcd60e51b815260206004820152600c60248201527f66656520746f6f20686967680000000000000000000000000000000000000000604482015290519081900360640190fd5b600755565b600a54600554604080517f70a082310000000000000000000000000000000000000000000000000000000081526001600160a01b03610100909304831660048201529051600093610c819316916370a08231916024808301926020929190829003018186803b15801561116c57600080fd5b505afa158015611180573d6000803e3d6000fd5b505050506040513d602081101561119657600080fd5b5051600554604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290516101009092046001600160a01b0316916370a0823191602480820192602092909190829003018186803b15801561120057600080fd5b505afa158015611214573d6000803e3d6000fd5b505050506040513d602081101561122a57600080fd5b50519063ffffffff61194216565b60006112426110fa565b600854909150611258828463ffffffff61194216565b11156112ab576040805162461bcd60e51b815260206004820152600c60248201527f6361702065786365656465640000000000000000000000000000000000000000604482015290519081900360640190fd5b6005546112c89061010090046001600160a01b031633308561199c565b6000816112d65750816112f5565b6112f2826107356112e5610663565b869063ffffffff6116e216565b90505b610e083382611a24565b60065481565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b606481565b6009546001600160a01b03163314611394576040805162461bcd60e51b815260206004820152600760248201527f6e6f7420676f7600000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6126ac8111156113eb576040805162461bcd60e51b815260206004820152600660248201527f6d696e2031250000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600655565b600a546001600160a01b031681565b3390565b6001600160a01b0383166114485760405162461bcd60e51b8152600401808060200182810382526024815260200180611ea86024913960400191505060405180910390fd5b6001600160a01b03821661148d5760405162461bcd60e51b8152600401808060200182810382526022815260200180611dd16022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166115345760405162461bcd60e51b8152600401808060200182810382526025815260200180611e836025913960400191505060405180910390fd5b6001600160a01b0382166115795760405162461bcd60e51b8152600401808060200182810382526023815260200180611d8c6023913960400191505060405180910390fd5b6115bc81604051806060016040528060268152602001611df3602691396001600160a01b038616600090815260208190526040902054919063ffffffff61164b16565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546115f1908263ffffffff61194216565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156116da5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561169f578181015183820152602001611687565b50505050905090810190601f1680156116cc5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000826116f157506000610648565b828202828482816116fe57fe5b041461173b5760405162461bcd60e51b8152600401808060200182810382526021815260200180611e196021913960400191505060405180910390fd5b9392505050565b600061173b83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611b14565b6001600160a01b0382166117c95760405162461bcd60e51b8152600401808060200182810382526021815260200180611e626021913960400191505060405180910390fd5b61180c81604051806060016040528060228152602001611daf602291396001600160a01b038516600090815260208190526040902054919063ffffffff61164b16565b6001600160a01b038316600090815260208190526040902055600254611838908263ffffffff61188016565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600061173b83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061164b565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610e08908490611b79565b60008282018381101561173b576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd00000000000000000000000000000000000000000000000000000000179052610b67908590611b79565b6001600160a01b038216611a7f576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b600254611a92908263ffffffff61194216565b6002556001600160a01b038216600090815260208190526040902054611abe908263ffffffff61194216565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b60008183611b635760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561169f578181015183820152602001611687565b506000838581611b6f57fe5b0495945050505050565b611b8b826001600160a01b0316611d4f565b611bdc576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b60208310611c3857805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101611bfb565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611c9a576040519150601f19603f3d011682016040523d82523d6000602084013e611c9f565b606091505b509150915081611cf6576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b805115610b6757808060200190516020811015611d1257600080fd5b5051610b675760405162461bcd60e51b815260040180806020018281038252602a815260200180611ecc602a913960400191505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708115801590611d835750808214155b94935050505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa265627a7a723158204128322fdf79d4bccd7f24a4299dcf5690e3be2ca760dde46aa10c6a6d3aeef664736f6c63430005110032000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000d87e80bcd2527508b617dc33f4b73dc5dda200a20000000000000000000000005a1a95dde7dc3c12630d1049c7a70c5dff7b2b71000000000000000000000000000000000000000000000000000000174876e800

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101e55760003560e01c806377c7b8fc1161010f578063ac1e5025116100a2578063dd62ed3e11610071578063dd62ed3e14610521578063eb6ed3301461054f578063ed21444814610557578063f77c479114610574576101e5565b8063ac1e5025146104d7578063b69ef8a8146104f4578063b6b55f25146104fc578063dc89231714610519576101e5565b806395d89b41116100de57806395d89b4114610451578063a457c2d714610459578063a9059cbb14610485578063ab033ea9146104b1576101e5565b806377c7b8fc146103ef5780638bc7e8c4146103f75780638bebf069146103ff57806392eefe9b1461042b576101e5565b80632daecab5116101875780633950935111610156578063395093511461037857806346fcff4c146103a457806347786d37146103ac57806370a08231146103c9576101e5565b80632daecab51461032b5780632e1a7d4d14610333578063313ce56714610352578063355274ea14610370576101e5565b806316343da4116101c357806316343da4146102cb57806318160ddd146102e55780631f1fcd51146102ed57806323b872dd146102f5576101e5565b806306fdde03146101ea578063095ea7b31461026757806312d43a51146102a7575b600080fd5b6101f261057c565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561022c578181015183820152602001610214565b50505050905090810190601f1680156102595780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102936004803603604081101561027d57600080fd5b506001600160a01b038135169060200135610630565b604080519115158252519081900360200190f35b6102af61064e565b604080516001600160a01b039092168252519081900360200190f35b6102d361065d565b60408051918252519081900360200190f35b6102d3610663565b6102af610669565b6102936004803603606081101561030b57600080fd5b506001600160a01b0381358116916020810135909116906040013561067d565b6102d361070a565b6103506004803603602081101561034957600080fd5b5035610710565b005b61035a610b6d565b6040805160ff9092168252519081900360200190f35b6102d3610b76565b6102936004803603604081101561038e57600080fd5b506001600160a01b038135169060200135610b7c565b6102d3610bd0565b610350600480360360208110156103c257600080fd5b5035610c86565b6102d3600480360360208110156103df57600080fd5b50356001600160a01b0316610cea565b6102d3610d05565b6102d3610d26565b6103506004803603604081101561041557600080fd5b506001600160a01b038135169060200135610d2c565b6103506004803603602081101561044157600080fd5b50356001600160a01b0316610e0d565b6101f2610ea6565b6102936004803603604081101561046f57600080fd5b506001600160a01b038135169060200135610f25565b6102936004803603604081101561049b57600080fd5b506001600160a01b038135169060200135610f93565b610350600480360360208110156104c757600080fd5b50356001600160a01b0316610fa7565b610350600480360360208110156104ed57600080fd5b5035611040565b6102d36110fa565b6103506004803603602081101561051257600080fd5b5035611238565b6102d36112ff565b6102d36004803603604081101561053757600080fd5b506001600160a01b0381358116916020013516611305565b6102d3611330565b6103506004803603602081101561056d57600080fd5b5035611335565b6102af6113f0565b60038054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106265780601f106105fb57610100808354040283529160200191610626565b820191906000526020600020905b81548152906001019060200180831161060957829003601f168201915b5050505050905090565b600061064461063d6113ff565b8484611403565b5060015b92915050565b6009546001600160a01b031681565b61271081565b60025490565b60055461010090046001600160a01b031681565b600061068a8484846114ef565b610700846106966113ff565b6106fb85604051806060016040528060288152602001611e3a602891396001600160a01b038a166000908152600160205260408120906106d46113ff565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61164b16565b611403565b5060019392505050565b6126ac81565b600061074161071d610663565b610735846107296110fa565b9063ffffffff6116e216565b9063ffffffff61174216565b905061074d3383611784565b600554604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905160009261010090046001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156107b657600080fd5b505afa1580156107ca573d6000803e3d6000fd5b505050506040513d60208110156107e057600080fd5b505190508181101561094a5760006107fe838363ffffffff61188016565b600a54600554604080517ff3fef3a30000000000000000000000000000000000000000000000000000000081526001600160a01b036101009093048316600482015260248101859052905193945091169163f3fef3a39160448082019260009290919082900301818387803b15801561087657600080fd5b505af115801561088a573d6000803e3d6000fd5b5050600554604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051600094506101009092046001600160a01b031692506370a08231916024808301926020929190829003018186803b1580156108f857600080fd5b505afa15801561090c573d6000803e3d6000fd5b505050506040513d602081101561092257600080fd5b505190506000610938828563ffffffff61188016565b905082811015610946578194505b5050505b6000610967612710610735600754866116e290919063ffffffff16565b600a54600554604080517f0700037d0000000000000000000000000000000000000000000000000000000081526101009092046001600160a01b0390811660048401529051939450610a2093921691630700037d91602480820192602092909190829003018186803b1580156109dc57600080fd5b505afa1580156109f0573d6000803e3d6000fd5b505050506040513d6020811015610a0657600080fd5b505160055461010090046001600160a01b031690836118c2565b600a54600554604080517f0700037d0000000000000000000000000000000000000000000000000000000081526101009092046001600160a01b0390811660048401529051921691630700037d91602480820192602092909190829003018186803b158015610a8e57600080fd5b505afa158015610aa2573d6000803e3d6000fd5b505050506040513d6020811015610ab857600080fd5b5051604080517f3c6b16ab0000000000000000000000000000000000000000000000000000000081526004810184905290516001600160a01b0390921691633c6b16ab9160248082019260009290919082900301818387803b158015610b1d57600080fd5b505af1158015610b31573d6000803e3d6000fd5b50505050610b48818461188090919063ffffffff16565b600554909350610b679061010090046001600160a01b031633856118c2565b50505050565b60055460ff1690565b60085481565b6000610644610b896113ff565b846106fb8560016000610b9a6113ff565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff61194216565b6000610c81612710610735600654600560019054906101000a90046001600160a01b03166001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015610c4957600080fd5b505afa158015610c5d573d6000803e3d6000fd5b505050506040513d6020811015610c7357600080fd5b50519063ffffffff6116e216565b905090565b6009546001600160a01b03163314610ce5576040805162461bcd60e51b815260206004820152600760248201527f6e6f7420676f7600000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600855565b6001600160a01b031660009081526020819052604090205490565b6000610c81610d12610663565b610735670de0b6b3a76400006107296110fa565b60075481565b600a546001600160a01b03163314610d8b576040805162461bcd60e51b815260206004820152600e60248201527f6e6f7420636f6e74726f6c6c6572000000000000000000000000000000000000604482015290519081900360640190fd5b6000610d95610bd0565b905080821115610dec576040805162461bcd60e51b815260206004820152601260248201527f746f6f206d756368207265717565737465640000000000000000000000000000604482015290519081900360640190fd5b600554610e089061010090046001600160a01b031684846118c2565b505050565b6009546001600160a01b03163314610e6c576040805162461bcd60e51b815260206004820152600760248201527f6e6f7420676f7600000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600a80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b60048054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106265780601f106105fb57610100808354040283529160200191610626565b6000610644610f326113ff565b846106fb85604051806060016040528060258152602001611ef66025913960016000610f5c6113ff565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61164b16565b6000610644610fa06113ff565b84846114ef565b6009546001600160a01b03163314611006576040805162461bcd60e51b815260206004820152600760248201527f6e6f7420676f7600000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600980547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6009546001600160a01b0316331461109f576040805162461bcd60e51b815260206004820152600760248201527f6e6f7420676f7600000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b60648111156110f5576040805162461bcd60e51b815260206004820152600c60248201527f66656520746f6f20686967680000000000000000000000000000000000000000604482015290519081900360640190fd5b600755565b600a54600554604080517f70a082310000000000000000000000000000000000000000000000000000000081526001600160a01b03610100909304831660048201529051600093610c819316916370a08231916024808301926020929190829003018186803b15801561116c57600080fd5b505afa158015611180573d6000803e3d6000fd5b505050506040513d602081101561119657600080fd5b5051600554604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290516101009092046001600160a01b0316916370a0823191602480820192602092909190829003018186803b15801561120057600080fd5b505afa158015611214573d6000803e3d6000fd5b505050506040513d602081101561122a57600080fd5b50519063ffffffff61194216565b60006112426110fa565b600854909150611258828463ffffffff61194216565b11156112ab576040805162461bcd60e51b815260206004820152600c60248201527f6361702065786365656465640000000000000000000000000000000000000000604482015290519081900360640190fd5b6005546112c89061010090046001600160a01b031633308561199c565b6000816112d65750816112f5565b6112f2826107356112e5610663565b869063ffffffff6116e216565b90505b610e083382611a24565b60065481565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b606481565b6009546001600160a01b03163314611394576040805162461bcd60e51b815260206004820152600760248201527f6e6f7420676f7600000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6126ac8111156113eb576040805162461bcd60e51b815260206004820152600660248201527f6d696e2031250000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600655565b600a546001600160a01b031681565b3390565b6001600160a01b0383166114485760405162461bcd60e51b8152600401808060200182810382526024815260200180611ea86024913960400191505060405180910390fd5b6001600160a01b03821661148d5760405162461bcd60e51b8152600401808060200182810382526022815260200180611dd16022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166115345760405162461bcd60e51b8152600401808060200182810382526025815260200180611e836025913960400191505060405180910390fd5b6001600160a01b0382166115795760405162461bcd60e51b8152600401808060200182810382526023815260200180611d8c6023913960400191505060405180910390fd5b6115bc81604051806060016040528060268152602001611df3602691396001600160a01b038616600090815260208190526040902054919063ffffffff61164b16565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546115f1908263ffffffff61194216565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156116da5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561169f578181015183820152602001611687565b50505050905090810190601f1680156116cc5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000826116f157506000610648565b828202828482816116fe57fe5b041461173b5760405162461bcd60e51b8152600401808060200182810382526021815260200180611e196021913960400191505060405180910390fd5b9392505050565b600061173b83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611b14565b6001600160a01b0382166117c95760405162461bcd60e51b8152600401808060200182810382526021815260200180611e626021913960400191505060405180910390fd5b61180c81604051806060016040528060228152602001611daf602291396001600160a01b038516600090815260208190526040902054919063ffffffff61164b16565b6001600160a01b038316600090815260208190526040902055600254611838908263ffffffff61188016565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600061173b83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061164b565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610e08908490611b79565b60008282018381101561173b576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd00000000000000000000000000000000000000000000000000000000179052610b67908590611b79565b6001600160a01b038216611a7f576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b600254611a92908263ffffffff61194216565b6002556001600160a01b038216600090815260208190526040902054611abe908263ffffffff61194216565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b60008183611b635760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561169f578181015183820152602001611687565b506000838581611b6f57fe5b0495945050505050565b611b8b826001600160a01b0316611d4f565b611bdc576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b60208310611c3857805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101611bfb565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611c9a576040519150601f19603f3d011682016040523d82523d6000602084013e611c9f565b606091505b509150915081611cf6576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b805115610b6757808060200190516020811015611d1257600080fd5b5051610b675760405162461bcd60e51b815260040180806020018281038252602a815260200180611ecc602a913960400191505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708115801590611d835750808214155b94935050505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa265627a7a723158204128322fdf79d4bccd7f24a4299dcf5690e3be2ca760dde46aa10c6a6d3aeef664736f6c63430005110032

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

000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000d87e80bcd2527508b617dc33f4b73dc5dda200a20000000000000000000000005a1a95dde7dc3c12630d1049c7a70c5dff7b2b71000000000000000000000000000000000000000000000000000000174876e800

-----Decoded View---------------
Arg [0] : _want (address): 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
Arg [1] : _gov (address): 0xd87e80bCd2527508b617dc33F4b73Dc5DdA200a2
Arg [2] : _controller (address): 0x5A1A95DdE7dC3c12630D1049c7a70c5dFf7b2b71
Arg [3] : _cap (uint256): 100000000000

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
Arg [1] : 000000000000000000000000d87e80bcd2527508b617dc33f4b73dc5dda200a2
Arg [2] : 0000000000000000000000005a1a95dde7dc3c12630d1049c7a70c5dff7b2b71
Arg [3] : 000000000000000000000000000000000000000000000000000000174876e800


Deployed Bytecode Sourcemap

24939:4494:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24939:4494:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16526:83;;;:::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;16526:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13466:152;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;13466:152:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;25427:18;;;:::i;:::-;;;;-1:-1:-1;;;;;25427:18:0;;;;;;;;;;;;;;25381:37;;;:::i;:::-;;;;;;;;;;;;;;;;12949:91;;;:::i;25090:18::-;;;:::i;13624:304::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;13624:304:0;;;;;;;;;;;;;;;;;:::i;25234:56::-;;;:::i;28118:1178::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;28118:1178:0;;:::i;:::-;;16708:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;25209:18;;;:::i;13934:210::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;13934:210:0;;;;;;;;:::i;27020:142::-;;;:::i;26633:116::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26633:116:0;;:::i;13046:110::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;13046:110:0;-1:-1:-1;;;;;13046:110:0;;:::i;29304:126::-;;;:::i;25160:33::-;;;:::i;27361:307::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;27361:307:0;;;;;;;;:::i;26477:148::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26477:148:0;-1:-1:-1;;;;;26477:148:0;;:::i;16615:87::-;;;:::i;14150:261::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;14150:261:0;;;;;;;;:::i;13162:158::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;13162:158:0;;;;;;;;:::i;26346:123::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26346:123:0;-1:-1:-1;;;;;26346:123:0;;:::i;26757:211::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26757:211:0;;:::i;25937:159::-;;;:::i;27676:434::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;27676:434:0;;:::i;25117:36::-;;;:::i;13326:134::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;13326:134:0;;;;;;;;;;:::i;25320:48::-;;;:::i;26104:234::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26104:234:0;;:::i;25452:29::-;;;:::i;16526:83::-;16596:5;16589:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16563:13;;16589:12;;16596:5;;16589:12;;16596:5;16589:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16526:83;:::o;13466:152::-;13532:4;13549:39;13558:12;:10;:12::i;:::-;13572:7;13581:6;13549:8;:39::i;:::-;-1:-1:-1;13606:4:0;13466:152;;;;;:::o;25427:18::-;;;-1:-1:-1;;;;;25427:18:0;;:::o;25381:37::-;25413:5;25381:37;:::o;12949:91::-;13020:12;;12949:91;:::o;25090:18::-;;;;;;-1:-1:-1;;;;;25090:18:0;;:::o;13624:304::-;13713:4;13730:36;13740:6;13748:9;13759:6;13730:9;:36::i;:::-;13777:121;13786:6;13794:12;:10;:12::i;:::-;13808:89;13846:6;13808:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;13808:19:0;;;;;;:11;:19;;;;;;13828:12;:10;:12::i;:::-;-1:-1:-1;;;;;13808:33:0;;;;;;;;;;;;-1:-1:-1;13808:33:0;;;:89;;:37;:89;:::i;:::-;13777:8;:121::i;:::-;-1:-1:-1;13916:4:0;13624:304;;;;;:::o;25234:56::-;25286:4;25234:56;:::o;28118:1178::-;28172:20;28195:42;28223:13;:11;:13::i;:::-;28196:21;28210:6;28196:9;:7;:9::i;:::-;:13;:21;:13;:21;:::i;:::-;28195:27;:42;:27;:42;:::i;:::-;28172:65;;28248:25;28254:10;28266:6;28248:5;:25::i;:::-;28340:4;;:29;;;;;;28363:4;28340:29;;;;;;-1:-1:-1;;28340:4:0;;;-1:-1:-1;;;;;28340:4:0;;:14;;:29;;;;;;;;;;;;;;:4;:29;;;5:2:-1;;;;30:1;27;20:12;5:2;28340:29:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;28340:29:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;28340:29:0;;-1:-1:-1;28384:32:0;;;28380:493;;;28433:23;28459:35;:12;28476:17;28459:35;:16;:35;:::i;:::-;28571:10;;28599:4;;28571:51;;;;;;-1:-1:-1;;;;;28571:10:0;28599:4;;;;;28571:51;;;;;;;;;;;;;;-1:-1:-1;28571:10:0;;;:19;;:51;;;;;-1:-1:-1;;28571:51:0;;;;;;;;-1:-1:-1;28571:10:0;:51;;;5:2:-1;;;;30:1;27;20:12;5:2;28571:51:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;28661:4:0;;:29;;;;;;28684:4;28661:29;;;;;;-1:-1:-1;;;28661:4:0;;;;-1:-1:-1;;;;;28661:4:0;;-1:-1:-1;28661:14:0;;:29;;;;;;;;;;;;;;:4;:29;;;5:2:-1;;;;30:1;27;20:12;5:2;28661:29:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;28661:29:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;28661:29:0;;-1:-1:-1;28705:12:0;28720:36;28661:29;28738:17;28720:36;:17;:36;:::i;:::-;28705:51;;28782:15;28775:4;:22;28771:91;;;28833:13;28818:28;;28771:91;28380:493;;;;28952:19;28974:42;25413:5;28974:31;28991:13;;28974:12;:16;;:31;;;;:::i;:42::-;29053:10;;29080:4;;29053:33;;;;;;:10;29080:4;;;-1:-1:-1;;;;;29080:4:0;;;29053:33;;;;;;28952:64;;-1:-1:-1;29027:74:0;;29053:10;;;:18;;:33;;;;;;;;;;;;;;;:10;:33;;;5:2:-1;;;;30:1;27;20:12;5:2;29053:33:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;29053:33:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;29053:33:0;29027:4;;;;;-1:-1:-1;;;;;29027:4:0;;29089:11;29027:17;:74::i;:::-;29112:10;;29139:4;;29112:33;;;;;;:10;29139:4;;;-1:-1:-1;;;;;29139:4:0;;;29112:33;;;;;;:10;;;:18;;:33;;;;;;;;;;;;;;;:10;:33;;;5:2:-1;;;;30:1;27;20:12;5:2;29112:33:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;29112:33:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;29112:33:0;:65;;;;;;;;;;;;;;-1:-1:-1;;;;;29112:52:0;;;;;;:65;;;;;-1:-1:-1;;29112:65:0;;;;;;;;-1:-1:-1;29112:52:0;:65;;;5:2:-1;;;;30:1;27;20:12;5:2;29112:65:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;29112:65:0;;;;29205:29;29222:11;29205:12;:16;;:29;;;;:::i;:::-;29245:4;;29190:44;;-1:-1:-1;29245:43:0;;:4;;;-1:-1:-1;;;;;29245:4:0;29263:10;29190:44;29245:17;:43::i;:::-;28118:1178;;;;:::o;16708:83::-;16774:9;;;;16708:83;:::o;25209:18::-;;;;:::o;13934:210::-;14014:4;14031:83;14040:12;:10;:12::i;:::-;14054:7;14063:50;14102:10;14063:11;:25;14075:12;:10;:12::i;:::-;-1:-1:-1;;;;;14063:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;14063:25:0;;;:34;;;;;;;;;;;:50;:38;:50;:::i;27020:142::-;27067:7;27094:60;25413:5;27094:49;27128:14;;27094:4;;;;;;;;;-1:-1:-1;;;;;27094:4:0;-1:-1:-1;;;;;27094:14:0;;27117:4;27094:29;;;;;;;;;;;;;-1:-1:-1;;;;;27094:29:0;-1:-1:-1;;;;;27094:29:0;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;27094:29:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;27094:29:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;27094:29:0;;:49;:33;:49;:::i;:60::-;27087:67;;27020:142;:::o;26633:116::-;26705:3;;-1:-1:-1;;;;;26705:3:0;26691:10;:17;26683:37;;;;;-1:-1:-1;;;26683:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;26731:3;:10;26633:116::o;13046:110::-;-1:-1:-1;;;;;13130:18:0;13103:7;13130:18;;;;;;;;;;;;13046:110::o;29304:126::-;29357:7;29384:38;29408:13;:11;:13::i;:::-;29384:19;29398:4;29384:9;:7;:9::i;25160:33::-;;;;:::o;27361:307::-;27478:10;;-1:-1:-1;;;;;27478:10:0;27456;:33;27448:60;;;;;-1:-1:-1;;;27448:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;27519:16;27538;:14;:16::i;:::-;27519:35;;27583:8;27573:6;:18;;27565:49;;;;;-1:-1:-1;;;27565:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;27625:4;;:35;;:4;;;-1:-1:-1;;;;;27625:4:0;27643:8;27653:6;27625:17;:35::i;:::-;27361:307;;;:::o;26477:148::-;26567:3;;-1:-1:-1;;;;;26567:3:0;26553:10;:17;26545:37;;;;;-1:-1:-1;;;26545:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;26593:10;:24;;;;-1:-1:-1;;;;;26593:24:0;;;;;;;;;;26477:148::o;16615:87::-;16687:7;16680:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16654:13;;16680:14;;16687:7;;16680:14;;16687:7;16680:14;;;;;;;;;;;;;;;;;;;;;;;;14150:261;14235:4;14252:129;14261:12;:10;:12::i;:::-;14275:7;14284:96;14323:15;14284:96;;;;;;;;;;;;;;;;;:11;:25;14296:12;:10;:12::i;:::-;-1:-1:-1;;;;;14284:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;14284:25:0;;;:34;;;;;;;;;;;:96;;:38;:96;:::i;13162:158::-;13231:4;13248:42;13258:12;:10;:12::i;:::-;13272:9;13283:6;13248:9;:42::i;26346:123::-;26425:3;;-1:-1:-1;;;;;26425:3:0;26411:10;:17;26403:37;;;;;-1:-1:-1;;;26403:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;26451:3;:10;;;;-1:-1:-1;;;;;26451:10:0;;;;;;;;;;26346:123::o;26757:211::-;26843:3;;-1:-1:-1;;;;;26843:3:0;26829:10;:17;26821:37;;;;;-1:-1:-1;;;26821:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;25365:3;26878:8;:30;;26869:56;;;;;-1:-1:-1;;;26869:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;26936:13;:24;26757:211::o;25937:159::-;26052:10;;26081:4;;26052:35;;;;;;-1:-1:-1;;;;;26052:10:0;26081:4;;;;;26052:35;;;;;;-1:-1:-1;;26004:84:0;;26052:10;;:20;;:35;;;;;;;;;;;;;;:10;:35;;;5:2:-1;;;;30:1;27;20:12;5:2;26052:35:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;26052:35:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26052:35:0;26004:4;;:29;;;;;;26027:4;26004:29;;;;;;:4;;;;-1:-1:-1;;;;;26004:4:0;;:14;;:29;;;;;26052:35;;26004:29;;;;;;;;:4;:29;;;5:2:-1;;;;30:1;27;20:12;5:2;26004:29:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;26004:29:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26004:29:0;;:84;:47;:84;:::i;27676:434::-;27729:15;27747:9;:7;:9::i;:::-;27798:3;;27729:27;;-1:-1:-1;27775:19:0;27729:27;27787:6;27775:19;:11;:19;:::i;:::-;:26;;27767:51;;;;;-1:-1:-1;;;27767:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;27829:4;;:56;;:4;;;-1:-1:-1;;;;;27829:4:0;27851:10;27871:4;27878:6;27829:21;:56::i;:::-;27896:14;27929:12;27925:142;;-1:-1:-1;27967:6:0;27925:142;;;28015:40;28047:7;28016:25;28027:13;:11;:13::i;:::-;28016:6;;:25;:10;:25;:::i;28015:40::-;28006:49;;27925:142;28077:25;28083:10;28095:6;28077:5;:25::i;25117:36::-;;;;:::o;13326:134::-;-1:-1:-1;;;;;13425:18:0;;;13398:7;13425:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;13326:134::o;25320:48::-;25365:3;25320:48;:::o;26104:234::-;26198:3;;-1:-1:-1;;;;;26198:3:0;26184:10;:17;26176:37;;;;;-1:-1:-1;;;26176:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;25286:4;26232:15;:44;;26224:63;;;;;-1:-1:-1;;;26224:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;26298:14;:32;26104:234::o;25452:29::-;;;-1:-1:-1;;;;;25452:29:0;;:::o;12291:98::-;12371:10;12291:98;:::o;15562:338::-;-1:-1:-1;;;;;15656:19:0;;15648:68;;;;-1:-1:-1;;;15648:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15735:21:0;;15727:68;;;;-1:-1:-1;;;15727:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15808:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;15860:32;;;;;;;;;;;;;;;;;15562:338;;;:::o;14417:471::-;-1:-1:-1;;;;;14515:20:0;;14507:70;;;;-1:-1:-1;;;14507:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;14596:23:0;;14588:71;;;;-1:-1:-1;;;14588:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14692;14714:6;14692:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;14692:17:0;;:9;:17;;;;;;;;;;;;:71;;:21;:71;:::i;:::-;-1:-1:-1;;;;;14672:17:0;;;:9;:17;;;;;;;;;;;:91;;;;14797:20;;;;;;;:32;;14822:6;14797:32;:24;:32;:::i;:::-;-1:-1:-1;;;;;14774:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;14845:35;;;;;;;14774:20;;14845:35;;;;;;;;;;;;;14417:471;;;:::o;7772:192::-;7858:7;7894:12;7886:6;;;;7878:29;;;;-1:-1:-1;;;7878:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;7878:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;7930:5:0;;;7772:192::o;8215:471::-;8273:7;8518:6;8514:47;;-1:-1:-1;8548:1:0;8541:8;;8514:47;8585:5;;;8589:1;8585;:5;:1;8609:5;;;;;:10;8601:56;;;;-1:-1:-1;;;8601:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8677:1;8215:471;-1:-1:-1;;;8215:471:0:o;9154:132::-;9212:7;9239:39;9243:1;9246;9239:39;;;;;;;;;;;;;;;;;:3;:39::i;15208:348::-;-1:-1:-1;;;;;15284:21:0;;15276:67;;;;-1:-1:-1;;;15276:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15377:68;15400:6;15377:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15377:18:0;;:9;:18;;;;;;;;;;;;:68;;:22;:68;:::i;:::-;-1:-1:-1;;;;;15356:18:0;;:9;:18;;;;;;;;;;:89;15471:12;;:24;;15488:6;15471:24;:16;:24;:::i;:::-;15456:12;:39;15511:37;;;;;;;;15537:1;;-1:-1:-1;;;;;15511:37:0;;;;;;;;;;;;15208:348;;:::o;7299:136::-;7357:7;7384:43;7388:1;7391;7384:43;;;;;;;;;;;;;;;;;:3;:43::i;20562:176::-;20671:58;;;-1:-1:-1;;;;;20671:58:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;20671:58:0;;;;;;;;25:18:-1;;61:17;;20671:58:0;182:15:-1;20694:23:0;179:29:-1;160:49;;20645:85:0;;20664:5;;20645:18;:85::i;6843:181::-;6901:7;6933:5;;;6957:6;;;;6949:46;;;;;-1:-1:-1;;;6949:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;20746:204;20873:68;;;-1:-1:-1;;;;;20873:68:0;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;20873:68:0;;;;;;;;25:18:-1;;61:17;;20873:68:0;182:15:-1;20896:27:0;179:29:-1;160:49;;20847:95:0;;20866:5;;20847:18;:95::i;14894:308::-;-1:-1:-1;;;;;14970:21:0;;14962:65;;;;;-1:-1:-1;;;14962:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;15055:12;;:24;;15072:6;15055:24;:16;:24;:::i;:::-;15040:12;:39;-1:-1:-1;;;;;15111:18:0;;:9;:18;;;;;;;;;;;:30;;15134:6;15111:30;:22;:30;:::i;:::-;-1:-1:-1;;;;;15090:18:0;;:9;:18;;;;;;;;;;;:51;;;;15157:37;;;;;;;15090:18;;:9;;15157:37;;;;;;;;;;14894:308;;:::o;9816:345::-;9902:7;10004:12;9997:5;9989:28;;;;-1:-1:-1;;;9989:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;9989:28:0;;10028:9;10044:1;10040;:5;;;;;;;9816:345;-1:-1:-1;;;;;9816:345:0:o;22601:1114::-;23205:27;23213:5;-1:-1:-1;;;;;23205:25:0;;:27::i;:::-;23197:71;;;;;-1:-1:-1;;;23197:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;23342:12;23356:23;23391:5;-1:-1:-1;;;;;23383:19:0;23403:4;23383:25;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;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;;;23383:25: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;;23341:67:0;;;;23427:7;23419:52;;;;;-1:-1:-1;;;23419:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23488:17;;:21;23484:224;;23630:10;23619:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23619:30:0;23611:85;;;;-1:-1:-1;;;23611:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17417:810;17477:4;18136:20;;17979:66;18176:15;;;;;:42;;;18207:11;18195:8;:23;;18176:42;18168:51;17417:810;-1:-1:-1;;;;17417:810:0:o

Swarm Source

bzzr://4128322fdf79d4bccd7f24a4299dcf5690e3be2ca760dde46aa10c6a6d3aeef6
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.