Contract 0x9130683157C9Cb6dDa44674a753Daacb056fF63B

 
 
Txn Hash
Method
Block
From
To
Value
0x2706f9382b29155c0d0964b1ee1295dd6c91c8ab2d441529ab2978a08bd65039Transfer Ownersh...108929302020-09-19 13:21:10808 days 20 hrs agoSoda.Finance: Deployer IN  0x9130683157c9cb6dda44674a753daacb056ff63b0 Ether0.00432824140
0x7c23bcb80a9db9a283e72cba6bc8ad4cc48f467f6c582c60d01162b71e65eea20x60806040108921092020-09-19 10:24:13808 days 23 hrs agoSoda.Finance: Deployer IN  Create: SoETHETHLPVault0 Ether0.25538292120
[ Download CSV Export 
View more zero value Internal Transactions in Advanced View mode
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SoETHETHLPVault

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-09-19
*/

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.12;

// File: @openzeppelin/contracts/math/SafeMath.sol

/**
 * @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.
     */
    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.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        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.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

// File: @openzeppelin/contracts/GSN/Context.sol


/*
 * @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.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

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

// File: @openzeppelin/contracts/access/Ownable.sol


/**
 * @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.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * 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 {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @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(_owner == _msgSender(), "Ownable: caller is not the 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 virtual 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 virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
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/contracts/utils/Address.sol

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is 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.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // 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 != accountHash && codehash != 0x0);
    }

    /**
     * @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].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

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

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return _functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: @openzeppelin/contracts/token/ERC20/ERC20.sol

/**
 * @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 {ERC20PresetMinterPauser}.
 *
 * 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;
    using Address for address;

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name, string memory symbol) public {
        _name = name;
        _symbol = symbol;
        _decimals = 18;
    }

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

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

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

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view override 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 virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

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

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override 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 virtual override 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 virtual 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 virtual 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 virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        _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 virtual {
        require(account != address(0), "ERC20: mint to the zero address");

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

        _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 virtual {
        require(account != address(0), "ERC20: burn from the zero address");

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

        _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 virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

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

    /**
     * @dev Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal {
        _decimals = decimals_;
    }

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

// File: contracts/strategies/IStrategy.sol

// Assume the strategy generates `TOKEN`.
interface IStrategy {

    function approve(IERC20 _token) external;

    function getValuePerShare(address _vault) external view returns(uint256);
    function pendingValuePerShare(address _vault) external view returns (uint256);

    // Deposit tokens to a farm to yield more tokens.
    function deposit(address _vault, uint256 _amount) external;

    // Claim the profit from a farm.
    function claim(address _vault) external;

    // Withdraw the principal from a farm.
    function withdraw(address _vault, uint256 _amount) external;

    // Target farming token of this strategy.
    function getTargetToken() external view returns(address);
}

// File: contracts/SodaMaster.sol

/*

Here we have a list of constants. In order to get access to an address
managed by SodaMaster, the calling contract should copy and define
some of these constants and use them as keys.

Keys themselves are immutable. Addresses can be immutable or mutable.

a) Vault addresses are immutable once set, and the list may grow:

K_VAULT_WETH = 0;
K_VAULT_USDT_ETH_SUSHI_LP = 1;
K_VAULT_SOETH_ETH_UNI_V2_LP = 2;
K_VAULT_SODA_ETH_UNI_V2_LP = 3;
K_VAULT_GT = 4;
K_VAULT_GT_ETH_UNI_V2_LP = 5;


b) SodaMade token addresses are immutable once set, and the list may grow:

K_MADE_SOETH = 0;


c) Strategy addresses are mutable:

K_STRATEGY_CREATE_SODA = 0;
K_STRATEGY_EAT_SUSHI = 1;
K_STRATEGY_SHARE_REVENUE = 2;


d) Calculator addresses are mutable:

K_CALCULATOR_WETH = 0;

Solidity doesn't allow me to define global constants, so please
always make sure the key name and key value are copied as the same
in different contracts.

*/


// SodaMaster manages the addresses all the other contracts of the system.
// This contract is owned by Timelock.
contract SodaMaster is Ownable {

    address public pool;
    address public bank;
    address public revenue;
    address public dev;

    address public soda;
    address public wETH;
    address public usdt;

    address public uniswapV2Factory;

    mapping(address => bool) public isVault;
    mapping(uint256 => address) public vaultByKey;

    mapping(address => bool) public isSodaMade;
    mapping(uint256 => address) public sodaMadeByKey;

    mapping(address => bool) public isStrategy;
    mapping(uint256 => address) public strategyByKey;

    mapping(address => bool) public isCalculator;
    mapping(uint256 => address) public calculatorByKey;

    // Immutable once set.
    function setPool(address _pool) external onlyOwner {
        require(pool == address(0));
        pool = _pool;
    }

    // Immutable once set.
    // Bank owns all the SodaMade tokens.
    function setBank(address _bank) external onlyOwner {
        require(bank == address(0));
        bank = _bank;
    }

    // Mutable in case we want to upgrade this module.
    function setRevenue(address _revenue) external onlyOwner {
        revenue = _revenue;
    }

    // Mutable in case we want to upgrade this module.
    function setDev(address _dev) external onlyOwner {
        dev = _dev;
    }

    // Mutable, in case Uniswap has changed or we want to switch to sushi.
    // The core systems, Pool and Bank, don't rely on Uniswap, so there is no risk.
    function setUniswapV2Factory(address _uniswapV2Factory) external onlyOwner {
        uniswapV2Factory = _uniswapV2Factory;
    }

    // Immutable once set.
    function setWETH(address _wETH) external onlyOwner {
       require(wETH == address(0));
       wETH = _wETH;
    }

    // Immutable once set. Hopefully Tether is reliable.
    // Even if it fails, not a big deal, we only used USDT to estimate APY.
    function setUSDT(address _usdt) external onlyOwner {
        require(usdt == address(0));
        usdt = _usdt;
    }
 
    // Immutable once set.
    function setSoda(address _soda) external onlyOwner {
        require(soda == address(0));
        soda = _soda;
    }

    // Immutable once added, and you can always add more.
    function addVault(uint256 _key, address _vault) external onlyOwner {
        require(vaultByKey[_key] == address(0), "vault: key is taken");

        isVault[_vault] = true;
        vaultByKey[_key] = _vault;
    }

    // Immutable once added, and you can always add more.
    function addSodaMade(uint256 _key, address _sodaMade) external onlyOwner {
        require(sodaMadeByKey[_key] == address(0), "sodaMade: key is taken");

        isSodaMade[_sodaMade] = true;
        sodaMadeByKey[_key] = _sodaMade;
    }

    // Mutable and removable.
    function addStrategy(uint256 _key, address _strategy) external onlyOwner {
        isStrategy[_strategy] = true;
        strategyByKey[_key] = _strategy;
    }

    function removeStrategy(uint256 _key) external onlyOwner {
        isStrategy[strategyByKey[_key]] = false;
        delete strategyByKey[_key];
    }

    // Mutable and removable.
    function addCalculator(uint256 _key, address _calculator) external onlyOwner {
        isCalculator[_calculator] = true;
        calculatorByKey[_key] = _calculator;
    }

    function removeCalculator(uint256 _key) external onlyOwner {
        isCalculator[calculatorByKey[_key]] = false;
        delete calculatorByKey[_key];
    }
}

// File: contracts/tokens/SodaVault.sol

// SodaVault is owned by Timelock
contract SodaVault is ERC20, Ownable {
    using SafeMath for uint256;

    uint256 constant PER_SHARE_SIZE = 1e12;

    mapping (address => uint256) public lockedAmount;
    mapping (address => mapping(uint256 => uint256)) public rewards;
    mapping (address => mapping(uint256 => uint256)) public debts;

    IStrategy[] public strategies;

    SodaMaster public sodaMaster;

    constructor (SodaMaster _sodaMaster, string memory _name, string memory _symbol) ERC20(_name, _symbol) public  {
        sodaMaster = _sodaMaster;
    }

    function setStrategies(IStrategy[] memory _strategies) public onlyOwner {
        delete strategies;
        for (uint256 i = 0; i < _strategies.length; ++i) {
            strategies.push(_strategies[i]);
        }
    }

    function getStrategyCount() view public returns(uint count) {
        return strategies.length;
    }

    /// @notice Creates `_amount` token to `_to`. Must only be called by SodaPool.
    function mintByPool(address _to, uint256 _amount) public {
        require(_msgSender() == sodaMaster.pool(), "not pool");

        _deposit(_amount);
        _updateReward(_to);
        if (_amount > 0) {
            _mint(_to, _amount);
        }
        _updateDebt(_to);
    }

    // Must only be called by SodaPool.
    function burnByPool(address _account, uint256 _amount) public {
        require(_msgSender() == sodaMaster.pool(), "not pool");

        uint256 balance = balanceOf(_account);
        require(lockedAmount[_account] + _amount <= balance, "Vault: burn too much");

        _withdraw(_amount);
        _updateReward(_account);
        _burn(_account, _amount);
        _updateDebt(_account);
    }

    // Must only be called by SodaBank.
    function transferByBank(address _from, address _to, uint256 _amount) public {
        require(_msgSender() == sodaMaster.bank(), "not bank");

        uint256 balance = balanceOf(_from);
        require(lockedAmount[_from] + _amount <= balance);

        _claim();
        _updateReward(_from);
        _updateReward(_to);
        _transfer(_from, _to, _amount);
        _updateDebt(_to);
        _updateDebt(_from);
    }

    // Any user can transfer to another user.
    function transfer(address _to, uint256 _amount) public override returns (bool) {
        uint256 balance = balanceOf(_msgSender());
        require(lockedAmount[_msgSender()] + _amount <= balance, "transfer: <= balance");

        _updateReward(_msgSender());
        _updateReward(_to);
        _transfer(_msgSender(), _to, _amount);
        _updateDebt(_to);
        _updateDebt(_msgSender());

        return true;
    }

    // Must only be called by SodaBank.
    function lockByBank(address _account, uint256 _amount) public {
        require(_msgSender() == sodaMaster.bank(), "not bank");

        uint256 balance = balanceOf(_account);
        require(lockedAmount[_account] + _amount <= balance, "Vault: lock too much");
        lockedAmount[_account] += _amount;
    }

    // Must only be called by SodaBank.
    function unlockByBank(address _account, uint256 _amount) public {
        require(_msgSender() == sodaMaster.bank(), "not bank");

        require(_amount <= lockedAmount[_account], "Vault: unlock too much");
        lockedAmount[_account] -= _amount;
    }

    // Must only be called by SodaPool.
    function clearRewardByPool(address _who) public {
        require(_msgSender() == sodaMaster.pool(), "not pool");

        for (uint256 i = 0; i < strategies.length; ++i) {
            rewards[_who][i] = 0;
        }
    }

    function getPendingReward(address _who, uint256 _index) public view returns (uint256) {
        uint256 total = totalSupply();
        if (total == 0 || _index >= strategies.length) {
            return 0;
        }

        uint256 value = strategies[_index].getValuePerShare(address(this));
        uint256 pending = strategies[_index].pendingValuePerShare(address(this));
        uint256 balance = balanceOf(_who);

        return balance.mul(value.add(pending)).div(PER_SHARE_SIZE).sub(debts[_who][_index]);
    }

    function _deposit(uint256 _amount) internal {
        for (uint256 i = 0; i < strategies.length; ++i) {
            strategies[i].deposit(address(this), _amount);
        }
    }

    function _withdraw(uint256 _amount) internal {
        for (uint256 i = 0; i < strategies.length; ++i) {
            strategies[i].withdraw(address(this), _amount);
        }
    }

    function _claim() internal {
        for (uint256 i = 0; i < strategies.length; ++i) {
            strategies[i].claim(address(this));
        }
    }

    function _updateReward(address _who) internal {
        uint256 balance = balanceOf(_who);
        if (balance > 0) {
            for (uint256 i = 0; i < strategies.length; ++i) {
                uint256 value = strategies[i].getValuePerShare(address(this));
                rewards[_who][i] = rewards[_who][i].add(balance.mul(
                    value).div(PER_SHARE_SIZE).sub(debts[_who][i]));
            }
        }
    }

    function _updateDebt(address _who) internal {
        uint256 balance = balanceOf(_who);
        for (uint256 i = 0; i < strategies.length; ++i) {
            uint256 value = strategies[i].getValuePerShare(address(this));
            debts[_who][i] = balance.mul(value).div(PER_SHARE_SIZE);
        }
    }
}

// File: contracts/tokens/vaults/SoETHETHLPVault.sol

// Owned by Timelock
contract SoETHETHLPVault is SodaVault {

    constructor (
        SodaMaster _sodaMaster,
        IStrategy _createSoda
    ) SodaVault(_sodaMaster, "Soda SoETH-ETH-UNI-V2-LP Vault", "vSoETH-ETH-UNI-V2-LP") public  {
        IStrategy[] memory strategies = new IStrategy[](1);
        strategies[0] = _createSoda;
        setStrategies(strategies);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract SodaMaster","name":"_sodaMaster","type":"address"},{"internalType":"contract IStrategy","name":"_createSoda","type":"address"}],"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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burnByPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_who","type":"address"}],"name":"clearRewardByPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"debts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_who","type":"address"},{"internalType":"uint256","name":"_index","type":"uint256"}],"name":"getPendingReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getStrategyCount","outputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"lockByBank","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lockedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintByPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IStrategy[]","name":"_strategies","type":"address[]"}],"name":"setStrategies","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sodaMaster","outputs":[{"internalType":"contract SodaMaster","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"strategies","outputs":[{"internalType":"contract IStrategy","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transferByBank","outputs":[],"stateMutability":"nonpayable","type":"function"},{"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"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"unlockByBank","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040516200266c3803806200266c833981810160405260408110156200003757600080fd5b508051602091820151604080518082018252601e81527f536f646120536f4554482d4554482d554e492d56322d4c50205661756c7400008186019081528251808401909352601483527f76536f4554482d4554482d554e492d56322d4c5000000000000000000000000095830195909552805193949293859391929183918391620000c69160039190620002b8565b508051620000dc906004906020840190620002b8565b50506005805460ff19166012179055506000620000f8620001ce565b60058054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35050600a80546001600160a01b0319166001600160a01b03939093169290921790915550604080516001808252818301909252606091602080830190803683370190505090508181600081518110620001a257fe5b6001600160a01b0390921660209283029190910190910152620001c581620001d2565b50505062000377565b3390565b620001dc620001ce565b60055461010090046001600160a01b0390811691161462000244576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b62000252600960006200033d565b60005b8151811015620002b45760098282815181106200026e57fe5b60209081029190910181015182546001808201855560009485529290932090920180546001600160a01b0319166001600160a01b03909316929092179091550162000255565b5050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620002fb57805160ff19168380011785556200032b565b828001600101855582156200032b579182015b828111156200032b5782518255916020019190600101906200030e565b506200033992915062000360565b5090565b50805460008255906000526020600020908101906200035d919062000360565b50565b5b8082111562000339576000815560010162000361565b6122e580620003876000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c80638da5cb5b116100f9578063a9059cbb11610097578063b933ceac11610071578063b933ceac14610611578063d574ea3d1461063d578063dd62ed3e1461065a578063f2fde38b14610688576101c4565b8063a9059cbb146105b1578063adf334eb146105dd578063aeb97405146105e5576101c4565b80639a4620b7116100d35780639a4620b714610490578063a153e70814610533578063a457c2d714610559578063a8b49d9f14610585576101c4565b80638da5cb5b1461043857806395d89b411461045c578063999ffd9714610464576101c4565b80636576b25b11610166578063715018a611610140578063715018a6146103a2578063722dcab6146103aa5780637fd2c5d8146103d65780638d1b119914610402576101c4565b80636576b25b146103285780636f81a8011461035057806370a082311461037c576101c4565b806323b872dd116101a257806323b872dd146102a0578063313ce567146102d657806331e19cfa146102f457806339509351146102fc576101c4565b806306fdde03146101c9578063095ea7b31461024657806318160ddd14610286575b600080fd5b6101d16106ae565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561020b5781810151838201526020016101f3565b50505050905090810190601f1680156102385780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102726004803603604081101561025c57600080fd5b506001600160a01b038135169060200135610744565b604080519115158252519081900360200190f35b61028e610762565b60408051918252519081900360200190f35b610272600480360360608110156102b657600080fd5b506001600160a01b03813581169160208101359091169060400135610768565b6102de6107ef565b6040805160ff9092168252519081900360200190f35b61028e6107f8565b6102726004803603604081101561031257600080fd5b506001600160a01b0381351690602001356107fe565b61034e6004803603602081101561033e57600080fd5b50356001600160a01b031661084c565b005b61028e6004803603604081101561036657600080fd5b506001600160a01b03813516906020013561095a565b61028e6004803603602081101561039257600080fd5b50356001600160a01b0316610977565b61034e610992565b61034e600480360360408110156103c057600080fd5b506001600160a01b038135169060200135610a51565b61034e600480360360408110156103ec57600080fd5b506001600160a01b038135169060200135610bb9565b61034e6004803603606081101561041857600080fd5b506001600160a01b03813581169160208101359091169060400135610d28565b610440610e6b565b604080516001600160a01b039092168252519081900360200190f35b6101d1610e7f565b61028e6004803603604081101561047a57600080fd5b506001600160a01b038135169060200135610ee0565b61034e600480360360208110156104a657600080fd5b8101906020810181356401000000008111156104c157600080fd5b8201836020820111156104d357600080fd5b803590602001918460208302840111640100000000831117156104f557600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550611090945050505050565b61028e6004803603602081101561054957600080fd5b50356001600160a01b031661116a565b6102726004803603604081101561056f57600080fd5b506001600160a01b03813516906020013561117c565b61034e6004803603604081101561059b57600080fd5b506001600160a01b0381351690602001356111e4565b610272600480360360408110156105c757600080fd5b506001600160a01b03813516906020013561133e565b610440611411565b61034e600480360360408110156105fb57600080fd5b506001600160a01b038135169060200135611420565b61028e6004803603604081101561062757600080fd5b506001600160a01b03813516906020013561151c565b6104406004803603602081101561065357600080fd5b5035611539565b61028e6004803603604081101561067057600080fd5b506001600160a01b0381358116916020013516611560565b61034e6004803603602081101561069e57600080fd5b50356001600160a01b031661158b565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561073a5780601f1061070f5761010080835404028352916020019161073a565b820191906000526020600020905b81548152906001019060200180831161071d57829003601f168201915b5050505050905090565b60006107586107516116a6565b84846116aa565b5060015b92915050565b60025490565b6000610775848484611796565b6107e5846107816116a6565b6107e0856040518060600160405280602881526020016121f9602891396001600160a01b038a166000908152600160205260408120906107bf6116a6565b6001600160a01b0316815260208101919091526040016000205491906118f1565b6116aa565b5060019392505050565b60055460ff1690565b60095490565b600061075861080b6116a6565b846107e0856001600061081c6116a6565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611988565b600a60009054906101000a90046001600160a01b03166001600160a01b03166316f0115b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561089a57600080fd5b505afa1580156108ae573d6000803e3d6000fd5b505050506040513d60208110156108c457600080fd5b50516001600160a01b03166108d76116a6565b6001600160a01b03161461091d576040805162461bcd60e51b81526020600482015260086024820152671b9bdd081c1bdbdb60c21b604482015290519081900360640190fd5b60005b600954811015610956576001600160a01b0382166000908152600760209081526040808320848452909152812055600101610920565b5050565b600860209081526000928352604080842090915290825290205481565b6001600160a01b031660009081526020819052604090205490565b61099a6116a6565b60055461010090046001600160a01b03908116911614610a01576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b600a60009054906101000a90046001600160a01b03166001600160a01b03166376cdb03b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610a9f57600080fd5b505afa158015610ab3573d6000803e3d6000fd5b505050506040513d6020811015610ac957600080fd5b50516001600160a01b0316610adc6116a6565b6001600160a01b031614610b22576040805162461bcd60e51b81526020600482015260086024820152676e6f742062616e6b60c01b604482015290519081900360640190fd5b6000610b2d83610977565b6001600160a01b0384166000908152600660205260409020549091508201811015610b96576040805162461bcd60e51b81526020600482015260146024820152730acc2ead8e87440d8dec6d640e8dede40daeac6d60631b604482015290519081900360640190fd5b506001600160a01b03909116600090815260066020526040902080549091019055565b600a60009054906101000a90046001600160a01b03166001600160a01b03166316f0115b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610c0757600080fd5b505afa158015610c1b573d6000803e3d6000fd5b505050506040513d6020811015610c3157600080fd5b50516001600160a01b0316610c446116a6565b6001600160a01b031614610c8a576040805162461bcd60e51b81526020600482015260086024820152671b9bdd081c1bdbdb60c21b604482015290519081900360640190fd5b6000610c9583610977565b6001600160a01b0384166000908152600660205260409020549091508201811015610cfe576040805162461bcd60e51b81526020600482015260146024820152730acc2ead8e87440c4eae4dc40e8dede40daeac6d60631b604482015290519081900360640190fd5b610d07826119e9565b610d1083611a7b565b610d1a8383611bbe565b610d2383611cba565b505050565b600a60009054906101000a90046001600160a01b03166001600160a01b03166376cdb03b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610d7657600080fd5b505afa158015610d8a573d6000803e3d6000fd5b505050506040513d6020811015610da057600080fd5b50516001600160a01b0316610db36116a6565b6001600160a01b031614610df9576040805162461bcd60e51b81526020600482015260086024820152676e6f742062616e6b60c01b604482015290519081900360640190fd5b6000610e0484610977565b6001600160a01b0385166000908152600660205260409020549091508201811015610e2e57600080fd5b610e36611da0565b610e3f84611a7b565b610e4883611a7b565b610e53848484611796565b610e5c83611cba565b610e6584611cba565b50505050565b60055461010090046001600160a01b031690565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561073a5780601f1061070f5761010080835404028352916020019161073a565b600080610eeb610762565b9050801580610efc57506009548310155b15610f0b57600091505061075c565b600060098481548110610f1a57fe5b600091825260209182902001546040805163012ac71b60e01b815230600482015290516001600160a01b039092169263012ac71b92602480840193829003018186803b158015610f6957600080fd5b505afa158015610f7d573d6000803e3d6000fd5b505050506040513d6020811015610f9357600080fd5b50516009805491925060009186908110610fa957fe5b6000918252602091829020015460408051632908849760e21b815230600482015290516001600160a01b039092169263a422125c92602480840193829003018186803b158015610ff857600080fd5b505afa15801561100c573d6000803e3d6000fd5b505050506040513d602081101561102257600080fd5b50519050600061103187610977565b6001600160a01b03881660009081526008602090815260408083208a84529091529020549091506110859061107f64e8d4a510006110796110728888611988565b8690611e2e565b90611e87565b90611ec9565b979650505050505050565b6110986116a6565b60055461010090046001600160a01b039081169116146110ff576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61110b600960006120f2565b60005b815181101561095657600982828151811061112557fe5b60209081029190910181015182546001808201855560009485529290932090920180546001600160a01b0319166001600160a01b03909316929092179091550161110e565b60066020526000908152604090205481565b60006107586111896116a6565b846107e08560405180606001604052806025815260200161228b60259139600160006111b36116a6565b6001600160a01b03908116825260208083019390935260409182016000908120918d168152925290205491906118f1565b600a60009054906101000a90046001600160a01b03166001600160a01b03166376cdb03b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561123257600080fd5b505afa158015611246573d6000803e3d6000fd5b505050506040513d602081101561125c57600080fd5b50516001600160a01b031661126f6116a6565b6001600160a01b0316146112b5576040805162461bcd60e51b81526020600482015260086024820152676e6f742062616e6b60c01b604482015290519081900360640190fd5b6001600160a01b03821660009081526006602052604090205481111561131b576040805162461bcd60e51b81526020600482015260166024820152750acc2ead8e87440eadcd8dec6d640e8dede40daeac6d60531b604482015290519081900360640190fd5b6001600160a01b0390911660009081526006602052604090208054919091039055565b60008061135161134c6116a6565b610977565b90508083600660006113616116a6565b6001600160a01b03166001600160a01b03168152602001908152602001600020540111156113cd576040805162461bcd60e51b81526020600482015260146024820152737472616e736665723a203c3d2062616c616e636560601b604482015290519081900360640190fd5b6113dd6113d86116a6565b611a7b565b6113e684611a7b565b6113f86113f16116a6565b8585611796565b61140184611cba565b6107e561140c6116a6565b611cba565b600a546001600160a01b031681565b600a60009054906101000a90046001600160a01b03166001600160a01b03166316f0115b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561146e57600080fd5b505afa158015611482573d6000803e3d6000fd5b505050506040513d602081101561149857600080fd5b50516001600160a01b03166114ab6116a6565b6001600160a01b0316146114f1576040805162461bcd60e51b81526020600482015260086024820152671b9bdd081c1bdbdb60c21b604482015290519081900360640190fd5b6114fa81611f0b565b61150382611a7b565b8015611513576115138282611f9d565b61095682611cba565b600760209081526000928352604080842090915290825290205481565b6009818154811061154657fe5b6000918252602090912001546001600160a01b0316905081565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6115936116a6565b60055461010090046001600160a01b039081169116146115fa576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b03811661163f5760405162461bcd60e51b815260040180806020018281038252602681526020018061216a6026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b3390565b6001600160a01b0383166116ef5760405162461bcd60e51b81526004018080602001828103825260248152602001806122676024913960400191505060405180910390fd5b6001600160a01b0382166117345760405162461bcd60e51b81526004018080602001828103825260228152602001806121906022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166117db5760405162461bcd60e51b81526004018080602001828103825260258152602001806122426025913960400191505060405180910390fd5b6001600160a01b0382166118205760405162461bcd60e51b81526004018080602001828103825260238152602001806121256023913960400191505060405180910390fd5b61182b838383610d23565b611868816040518060600160405280602681526020016121b2602691396001600160a01b03861660009081526020819052604090205491906118f1565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546118979082611988565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156119805760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561194557818101518382015260200161192d565b50505050905090810190601f1680156119725780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000828201838110156119e2576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60005b6009548110156109565760098181548110611a0357fe5b60009182526020822001546040805163f3fef3a360e01b81523060048201526024810186905290516001600160a01b039092169263f3fef3a39260448084019382900301818387803b158015611a5857600080fd5b505af1158015611a6c573d6000803e3d6000fd5b505050508060010190506119ec565b6000611a8682610977565b905080156109565760005b600954811015610d2357600060098281548110611aaa57fe5b600091825260209182902001546040805163012ac71b60e01b815230600482015290516001600160a01b039092169263012ac71b92602480840193829003018186803b158015611af957600080fd5b505afa158015611b0d573d6000803e3d6000fd5b505050506040513d6020811015611b2357600080fd5b50516001600160a01b0385166000908152600860209081526040808320868452909152902054909150611b9190611b679061107f64e8d4a510006110798887611e2e565b6001600160a01b038616600090815260076020908152604080832087845290915290205490611988565b6001600160a01b038516600090815260076020908152604080832086845290915290205550600101611a91565b6001600160a01b038216611c035760405162461bcd60e51b81526004018080602001828103825260218152602001806122216021913960400191505060405180910390fd5b611c0f82600083610d23565b611c4c81604051806060016040528060228152602001612148602291396001600160a01b03851660009081526020819052604090205491906118f1565b6001600160a01b038316600090815260208190526040902055600254611c729082611ec9565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6000611cc582610977565b905060005b600954811015610d2357600060098281548110611ce357fe5b600091825260209182902001546040805163012ac71b60e01b815230600482015290516001600160a01b039092169263012ac71b92602480840193829003018186803b158015611d3257600080fd5b505afa158015611d46573d6000803e3d6000fd5b505050506040513d6020811015611d5c57600080fd5b50519050611d7364e8d4a510006110798584611e2e565b6001600160a01b038516600090815260086020908152604080832086845290915290205550600101611cca565b60005b600954811015611e2b5760098181548110611dba57fe5b600091825260208220015460408051630f41a04d60e11b815230600482015290516001600160a01b0390921692631e83409a9260248084019382900301818387803b158015611e0857600080fd5b505af1158015611e1c573d6000803e3d6000fd5b50505050806001019050611da3565b50565b600082611e3d5750600061075c565b82820282848281611e4a57fe5b04146119e25760405162461bcd60e51b81526004018080602001828103825260218152602001806121d86021913960400191505060405180910390fd5b60006119e283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061208d565b60006119e283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506118f1565b60005b6009548110156109565760098181548110611f2557fe5b6000918252602082200154604080516311f9fbc960e21b81523060048201526024810186905290516001600160a01b03909216926347e7ef249260448084019382900301818387803b158015611f7a57600080fd5b505af1158015611f8e573d6000803e3d6000fd5b50505050806001019050611f0e565b6001600160a01b038216611ff8576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61200460008383610d23565b6002546120119082611988565b6002556001600160a01b0382166000908152602081905260409020546120379082611988565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600081836120dc5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561194557818101518382015260200161192d565b5060008385816120e857fe5b0495945050505050565b5080546000825590600052602060002090810190611e2b91905b80821115612120576000815560010161210c565b509056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122030aa2dc4cb10daadc206cb5a0ae6accab98f2ecad7633be67ad6199e40c599aa64736f6c634300060c003300000000000000000000000045a9c01193b21f32d739afee27dce6620bdf85650000000000000000000000006e42a1bfb4abd6d914ec686ea24b86201a0fa622

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

00000000000000000000000045a9c01193b21f32d739afee27dce6620bdf85650000000000000000000000006e42a1bfb4abd6d914ec686ea24b86201a0fa622

-----Decoded View---------------
Arg [0] : _sodaMaster (address): 0x45A9C01193B21F32D739afEe27dCe6620bdF8565
Arg [1] : _createSoda (address): 0x6E42a1BfB4aBD6D914eC686ea24b86201a0fA622

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000045a9c01193b21f32d739afee27dce6620bdf8565
Arg [1] : 0000000000000000000000006e42a1bfb4abd6d914ec686ea24b86201a0fa622


Deployed ByteCode Sourcemap

39686:367:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19767:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21873:169;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;21873:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;20842:100;;;:::i;:::-;;;;;;;;;;;;;;;;22516:321;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;22516:321:0;;;;;;;;;;;;;;;;;:::i;20694:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;34896:103;;;:::i;23246:218::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;23246:218:0;;;;;;;;:::i;37530:228::-;;;;;;;;;;;;;;;;-1:-1:-1;37530:228:0;-1:-1:-1;;;;;37530:228:0;;:::i;:::-;;34356:61;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;34356:61:0;;;;;;;;:::i;21005:119::-;;;;;;;;;;;;;;;;-1:-1:-1;21005:119:0;-1:-1:-1;;;;;21005:119:0;;:::i;8075:148::-;;;:::i;36854:316::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;36854:316:0;;;;;;;;:::i;35429:404::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;35429:404:0;;;;;;;;:::i;35882:434::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;35882:434:0;;;;;;;;;;;;;;;;;:::i;7433:79::-;;;:::i;:::-;;;;-1:-1:-1;;;;;7433:79:0;;;;;;;;;;;;;;19969:87;;;:::i;37766:528::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;37766:528:0;;;;;;;;:::i;34663:225::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34663:225:0;;-1:-1:-1;34663:225:0;;-1:-1:-1;;;;;34663:225:0:i;34231:48::-;;;;;;;;;;;;;;;;-1:-1:-1;34231:48:0;-1:-1:-1;;;;;34231:48:0;;:::i;23967:269::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;23967:269:0;;;;;;;;:::i;37219:262::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;37219:262:0;;;;;;;;:::i;36371:434::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;36371:434:0;;;;;;;;:::i;34464:28::-;;;:::i;35091:289::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;35091:289:0;;;;;;;;:::i;34286:63::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;34286:63:0;;;;;;;;:::i;34426:29::-;;;;;;;;;;;;;;;;-1:-1:-1;34426:29:0;;:::i;21575:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;21575:151:0;;;;;;;;;;:::i;8378:244::-;;;;;;;;;;;;;;;;-1:-1:-1;8378:244:0;-1:-1:-1;;;;;8378:244:0;;:::i;19767:83::-;19837:5;19830:12;;;;;;;;-1:-1:-1;;19830:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19804:13;;19830:12;;19837:5;;19830:12;;19837:5;19830:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19767:83;:::o;21873:169::-;21956:4;21973:39;21982:12;:10;:12::i;:::-;21996:7;22005:6;21973:8;:39::i;:::-;-1:-1:-1;22030:4:0;21873:169;;;;;:::o;20842:100::-;20922:12;;20842:100;:::o;22516:321::-;22622:4;22639:36;22649:6;22657:9;22668:6;22639:9;:36::i;:::-;22686:121;22695:6;22703:12;:10;:12::i;:::-;22717:89;22755:6;22717:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22717:19:0;;;;;;:11;:19;;;;;;22737:12;:10;:12::i;:::-;-1:-1:-1;;;;;22717:33:0;;;;;;;;;;;;-1:-1:-1;22717:33:0;;;:89;:37;:89::i;:::-;22686:8;:121::i;:::-;-1:-1:-1;22825:4:0;22516:321;;;;;:::o;20694:83::-;20760:9;;;;20694:83;:::o;34896:103::-;34974:10;:17;34896:103;:::o;23246:218::-;23334:4;23351:83;23360:12;:10;:12::i;:::-;23374:7;23383:50;23422:10;23383:11;:25;23395:12;:10;:12::i;:::-;-1:-1:-1;;;;;23383:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;23383:25:0;;;:34;;;;;;;;;;;:38;:50::i;37530:228::-;37613:10;;;;;;;;;-1:-1:-1;;;;;37613:10:0;-1:-1:-1;;;;;37613:15:0;;:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37613:17:0;-1:-1:-1;;;;;37597:33:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;37597:33:0;;37589:54;;;;;-1:-1:-1;;;37589:54:0;;;;;;;;;;;;-1:-1:-1;;;37589:54:0;;;;;;;;;;;;;;;37661:9;37656:95;37680:10;:17;37676:21;;37656:95;;;-1:-1:-1;;;;;37719:13:0;;37738:1;37719:13;;;:7;:13;;;;;;;;:16;;;;;;;;:20;37699:3;;37656:95;;;;37530:228;:::o;34356:61::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;21005:119::-;-1:-1:-1;;;;;21098:18:0;21071:7;21098:18;;;;;;;;;;;;21005:119::o;8075:148::-;7655:12;:10;:12::i;:::-;7645:6;;;;;-1:-1:-1;;;;;7645:6:0;;;:22;;;7637:67;;;;;-1:-1:-1;;;7637:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8166:6:::1;::::0;8145:40:::1;::::0;8182:1:::1;::::0;8166:6:::1;::::0;::::1;-1:-1:-1::0;;;;;8166:6:0::1;::::0;8145:40:::1;::::0;8182:1;;8145:40:::1;8196:6;:19:::0;;-1:-1:-1;;;;;;8196:19:0::1;::::0;;8075:148::o;36854:316::-;36951:10;;;;;;;;;-1:-1:-1;;;;;36951:10:0;-1:-1:-1;;;;;36951:15:0;;:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36951:17:0;-1:-1:-1;;;;;36935:33:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;36935:33:0;;36927:54;;;;;-1:-1:-1;;;36927:54:0;;;;;;;;;;;;-1:-1:-1;;;36927:54:0;;;;;;;;;;;;;;;36994:15;37012:19;37022:8;37012:9;:19::i;:::-;-1:-1:-1;;;;;37050:22:0;;;;;;:12;:22;;;;;;36994:37;;-1:-1:-1;37050:32:0;;:43;-1:-1:-1;37050:43:0;37042:76;;;;;-1:-1:-1;;;37042:76:0;;;;;;;;;;;;-1:-1:-1;;;37042:76:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;;37129:22:0;;;;;;;:12;:22;;;;;:33;;;;;;;36854:316::o;35429:404::-;35526:10;;;;;;;;;-1:-1:-1;;;;;35526:10:0;-1:-1:-1;;;;;35526:15:0;;:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35526:17:0;-1:-1:-1;;;;;35510:33:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;35510:33:0;;35502:54;;;;;-1:-1:-1;;;35502:54:0;;;;;;;;;;;;-1:-1:-1;;;35502:54:0;;;;;;;;;;;;;;;35569:15;35587:19;35597:8;35587:9;:19::i;:::-;-1:-1:-1;;;;;35625:22:0;;;;;;:12;:22;;;;;;35569:37;;-1:-1:-1;35625:32:0;;:43;-1:-1:-1;35625:43:0;35617:76;;;;;-1:-1:-1;;;35617:76:0;;;;;;;;;;;;-1:-1:-1;;;35617:76:0;;;;;;;;;;;;;;;35706:18;35716:7;35706:9;:18::i;:::-;35735:23;35749:8;35735:13;:23::i;:::-;35769:24;35775:8;35785:7;35769:5;:24::i;:::-;35804:21;35816:8;35804:11;:21::i;:::-;35429:404;;;:::o;35882:434::-;35993:10;;;;;;;;;-1:-1:-1;;;;;35993:10:0;-1:-1:-1;;;;;35993:15:0;;:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35993:17:0;-1:-1:-1;;;;;35977:33:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;35977:33:0;;35969:54;;;;;-1:-1:-1;;;35969:54:0;;;;;;;;;;;;-1:-1:-1;;;35969:54:0;;;;;;;;;;;;;;;36036:15;36054:16;36064:5;36054:9;:16::i;:::-;-1:-1:-1;;;;;36089:19:0;;;;;;:12;:19;;;;;;36036:34;;-1:-1:-1;36089:29:0;;:40;-1:-1:-1;36089:40:0;36081:49;;;;;;36143:8;:6;:8::i;:::-;36162:20;36176:5;36162:13;:20::i;:::-;36193:18;36207:3;36193:13;:18::i;:::-;36222:30;36232:5;36239:3;36244:7;36222:9;:30::i;:::-;36263:16;36275:3;36263:11;:16::i;:::-;36290:18;36302:5;36290:11;:18::i;:::-;35882:434;;;;:::o;7433:79::-;7498:6;;;;;-1:-1:-1;;;;;7498:6:0;;7433:79::o;19969:87::-;20041:7;20034:14;;;;;;;;-1:-1:-1;;20034:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20008:13;;20034:14;;20041:7;;20034:14;;20041:7;20034:14;;;;;;;;;;;;;;;;;;;;;;;;37766:528;37843:7;37863:13;37879;:11;:13::i;:::-;37863:29;-1:-1:-1;37907:10:0;;;:41;;-1:-1:-1;37931:10:0;:17;37921:27;;;37907:41;37903:82;;;37972:1;37965:8;;;;;37903:82;37997:13;38013:10;38024:6;38013:18;;;;;;;;;;;;;;;;;;;:50;;;-1:-1:-1;;;38013:50:0;;38057:4;38013:50;;;;;;-1:-1:-1;;;;;38013:18:0;;;;:35;;:50;;;;;;;;;;:18;:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38013:50:0;38092:10;:18;;38013:50;;-1:-1:-1;38074:15:0;;38103:6;;38092:18;;;;;;;;;;;;;;;;;:54;;;-1:-1:-1;;;38092:54:0;;38140:4;38092:54;;;;;;-1:-1:-1;;;;;38092:18:0;;;;:39;;:54;;;;;;;;;;:18;:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38092:54:0;;-1:-1:-1;38157:15:0;38175;38185:4;38175:9;:15::i;:::-;-1:-1:-1;;;;;38266:11:0;;;;;;:5;:11;;;;;;;;:19;;;;;;;;;38157:33;;-1:-1:-1;38210:76:0;;:51;34218:4;38210:31;38222:18;:5;38232:7;38222:9;:18::i;:::-;38210:7;;:11;:31::i;:::-;:35;;:51::i;:::-;:55;;:76::i;:::-;38203:83;37766:528;-1:-1:-1;;;;;;;37766:528:0:o;34663:225::-;7655:12;:10;:12::i;:::-;7645:6;;;;;-1:-1:-1;;;;;7645:6:0;;;:22;;;7637:67;;;;;-1:-1:-1;;;7637:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34746:17:::1;34753:10;;34746:17;:::i;:::-;34779:9;34774:107;34798:11;:18;34794:1;:22;34774:107;;;34838:10;34854:11;34866:1;34854:14;;;;;;;;;::::0;;::::1;::::0;;;;;;;34838:31;;::::1;::::0;;::::1;::::0;;-1:-1:-1;34838:31:0;;;;;;;;;::::1;::::0;;-1:-1:-1;;;;;;34838:31:0::1;-1:-1:-1::0;;;;;34838:31:0;;::::1;::::0;;;::::1;::::0;;;34818:3:::1;34774:107;;34231:48:::0;;;;;;;;;;;;;:::o;23967:269::-;24060:4;24077:129;24086:12;:10;:12::i;:::-;24100:7;24109:96;24148:15;24109:96;;;;;;;;;;;;;;;;;:11;:25;24121:12;:10;:12::i;:::-;-1:-1:-1;;;;;24109:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;24109:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;37219:262::-;37318:10;;;;;;;;;-1:-1:-1;;;;;37318:10:0;-1:-1:-1;;;;;37318:15:0;;:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37318:17:0;-1:-1:-1;;;;;37302:33:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;37302:33:0;;37294:54;;;;;-1:-1:-1;;;37294:54:0;;;;;;;;;;;;-1:-1:-1;;;37294:54:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;37380:22:0;;;;;;:12;:22;;;;;;37369:33;;;37361:68;;;;;-1:-1:-1;;;37361:68:0;;;;;;;;;;;;-1:-1:-1;;;37361:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;37440:22:0;;;;;;;:12;:22;;;;;:33;;;;;;;;37219:262::o;36371:434::-;36444:4;36461:15;36479:23;36489:12;:10;:12::i;:::-;36479:9;:23::i;:::-;36461:41;;36561:7;36550;36521:12;:26;36534:12;:10;:12::i;:::-;-1:-1:-1;;;;;36521:26:0;-1:-1:-1;;;;;36521:26:0;;;;;;;;;;;;;:36;:47;;36513:80;;;;;-1:-1:-1;;;36513:80:0;;;;;;;;;;;;-1:-1:-1;;;36513:80:0;;;;;;;;;;;;;;;36606:27;36620:12;:10;:12::i;:::-;36606:13;:27::i;:::-;36644:18;36658:3;36644:13;:18::i;:::-;36673:37;36683:12;:10;:12::i;:::-;36697:3;36702:7;36673:9;:37::i;:::-;36721:16;36733:3;36721:11;:16::i;:::-;36748:25;36760:12;:10;:12::i;:::-;36748:11;:25::i;34464:28::-;;;-1:-1:-1;;;;;34464:28:0;;:::o;35091:289::-;35183:10;;;;;;;;;-1:-1:-1;;;;;35183:10:0;-1:-1:-1;;;;;35183:15:0;;:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35183:17:0;-1:-1:-1;;;;;35167:33:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;35167:33:0;;35159:54;;;;;-1:-1:-1;;;35159:54:0;;;;;;;;;;;;-1:-1:-1;;;35159:54:0;;;;;;;;;;;;;;;35226:17;35235:7;35226:8;:17::i;:::-;35254:18;35268:3;35254:13;:18::i;:::-;35287:11;;35283:63;;35315:19;35321:3;35326:7;35315:5;:19::i;:::-;35356:16;35368:3;35356:11;:16::i;34286:63::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;34426:29::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34426:29:0;;-1:-1:-1;34426:29:0;:::o;21575:151::-;-1:-1:-1;;;;;21691:18:0;;;21664:7;21691:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;21575:151::o;8378:244::-;7655:12;:10;:12::i;:::-;7645:6;;;;;-1:-1:-1;;;;;7645:6:0;;;:22;;;7637:67;;;;;-1:-1:-1;;;7637:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;8467:22:0;::::1;8459:73;;;;-1:-1:-1::0;;;8459:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8569:6;::::0;8548:38:::1;::::0;-1:-1:-1;;;;;8548:38:0;;::::1;::::0;8569:6:::1;::::0;::::1;;::::0;8548:38:::1;::::0;;;::::1;8597:6;:17:::0;;-1:-1:-1;;;;;8597:17:0;;::::1;;;-1:-1:-1::0;;;;;;8597:17:0;;::::1;::::0;;;::::1;::::0;;8378:244::o;6014:106::-;6102:10;6014:106;:::o;27114:346::-;-1:-1:-1;;;;;27216:19:0;;27208:68;;;;-1:-1:-1;;;27208:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;27295:21:0;;27287:68;;;;-1:-1:-1;;;27287:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;27368:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;27420:32;;;;;;;;;;;;;;;;;27114:346;;;:::o;24726:539::-;-1:-1:-1;;;;;24832:20:0;;24824:70;;;;-1:-1:-1;;;24824:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24913:23:0;;24905:71;;;;-1:-1:-1;;;24905:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24989:47;25010:6;25018:9;25029:6;24989:20;:47::i;:::-;25069:71;25091:6;25069:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25069:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;25049:17:0;;;:9;:17;;;;;;;;;;;:91;;;;25174:20;;;;;;;:32;;25199:6;25174:24;:32::i;:::-;-1:-1:-1;;;;;25151:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;25222:35;;;;;;;25151:20;;25222:35;;;;;;;;;;;;;24726:539;;;:::o;1860:192::-;1946:7;1982:12;1974:6;;;;1966:29;;;;-1:-1:-1;;;1966:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2018:5:0;;;1860:192::o;957:181::-;1015:7;1047:5;;;1071:6;;;;1063:46;;;;;-1:-1:-1;;;1063:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;1129:1;957:181;-1:-1:-1;;;957:181:0:o;38492:184::-;38553:9;38548:121;38572:10;:17;38568:21;;38548:121;;;38611:10;38622:1;38611:13;;;;;;;;;;;;;;;;;:46;;;-1:-1:-1;;;38611:46:0;;38642:4;38611:46;;;;;;;;;;;;-1:-1:-1;;;;;38611:13:0;;;;:22;;:46;;;;;;;;;;:13;;:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38591:3;;;;;38548:121;;38846:435;38903:15;38921;38931:4;38921:9;:15::i;:::-;38903:33;-1:-1:-1;38951:11:0;;38947:327;;38984:9;38979:284;39003:10;:17;38999:21;;38979:284;;;39046:13;39062:10;39073:1;39062:13;;;;;;;;;;;;;;;;;;;:45;;;-1:-1:-1;;;39062:45:0;;39101:4;39062:45;;;;;;-1:-1:-1;;;;;39062:13:0;;;;:30;;:45;;;;;;;;;;:13;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39062:45:0;-1:-1:-1;;;;;39231:11:0;;;;;;:5;39062:45;39231:11;;;;;;;:14;;;;;;;;;39062:45;;-1:-1:-1;39145:102:0;;39166:80;;:60;34218:4;39166:40;:7;39062:45;39166:11;:40::i;:80::-;-1:-1:-1;;;;;39145:13:0;;;;;;:7;:13;;;;;;;;:16;;;;;;;;;;:20;:102::i;:::-;-1:-1:-1;;;;;39126:13:0;;;;;;:7;:13;;;;;;;;:16;;;;;;;;:121;-1:-1:-1;39022:3:0;;38979:284;;26256:418;-1:-1:-1;;;;;26340:21:0;;26332:67;;;;-1:-1:-1;;;26332:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26412:49;26433:7;26450:1;26454:6;26412:20;:49::i;:::-;26495:68;26518:6;26495:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;26495:18:0;;:9;:18;;;;;;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;26474:18:0;;:9;:18;;;;;;;;;;:89;26589:12;;:24;;26606:6;26589:16;:24::i;:::-;26574:12;:39;26629:37;;;;;;;;26655:1;;-1:-1:-1;;;;;26629:37:0;;;;;;;;;;;;26256:418;;:::o;39289:312::-;39344:15;39362;39372:4;39362:9;:15::i;:::-;39344:33;;39393:9;39388:206;39412:10;:17;39408:21;;39388:206;;;39451:13;39467:10;39478:1;39467:13;;;;;;;;;;;;;;;;;;;:45;;;-1:-1:-1;;;39467:45:0;;39506:4;39467:45;;;;;;-1:-1:-1;;;;;39467:13:0;;;;:30;;:45;;;;;;;;;;:13;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39467:45:0;;-1:-1:-1;39544:38:0;34218:4;39544:18;:7;39467:45;39544:11;:18::i;:38::-;-1:-1:-1;;;;;39527:11:0;;;;;;:5;:11;;;;;;;;:14;;;;;;;;:55;-1:-1:-1;39431:3:0;;39388:206;;38684:154;38727:9;38722:109;38746:10;:17;38742:21;;38722:109;;;38785:10;38796:1;38785:13;;;;;;;;;;;;;;;;;:34;;;-1:-1:-1;;;38785:34:0;;38813:4;38785:34;;;;;;-1:-1:-1;;;;;38785:13:0;;;;:19;;:34;;;;;;;;;;:13;;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38765:3;;;;;38722:109;;;;38684:154::o;2311:471::-;2369:7;2614:6;2610:47;;-1:-1:-1;2644:1:0;2637:8;;2610:47;2681:5;;;2685:1;2681;:5;:1;2705:5;;;;;:10;2697:56;;;;-1:-1:-1;;;2697:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3258:132;3316:7;3343:39;3347:1;3350;3343:39;;;;;;;;;;;;;;;;;:3;:39::i;1421:136::-;1479:7;1506:43;1510:1;1513;1506:43;;;;;;;;;;;;;;;;;:3;:43::i;38302:182::-;38362:9;38357:120;38381:10;:17;38377:21;;38357:120;;;38420:10;38431:1;38420:13;;;;;;;;;;;;;;;;;:45;;;-1:-1:-1;;;38420:45:0;;38450:4;38420:45;;;;;;;;;;;;-1:-1:-1;;;;;38420:13:0;;;;:21;;:45;;;;;;;;;;:13;;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38400:3;;;;;38357:120;;25546:378;-1:-1:-1;;;;;25630:21:0;;25622:65;;;;;-1:-1:-1;;;25622:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;25700:49;25729:1;25733:7;25742:6;25700:20;:49::i;:::-;25777:12;;:24;;25794:6;25777:16;:24::i;:::-;25762:12;:39;-1:-1:-1;;;;;25833:18:0;;:9;:18;;;;;;;;;;;:30;;25856:6;25833:22;:30::i;:::-;-1:-1:-1;;;;;25812:18:0;;:9;:18;;;;;;;;;;;:51;;;;25879:37;;;;;;;25812:18;;:9;;25879:37;;;;;;;;;;25546:378;;:::o;3886:278::-;3972:7;4007:12;4000:5;3992:28;;;;-1:-1:-1;;;3992:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4031:9;4047:1;4043;:5;;;;;;;3886:278;-1:-1:-1;;;;;3886:278:0:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

ipfs://30aa2dc4cb10daadc206cb5a0ae6accab98f2ecad7633be67ad6199e40c599aa
Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

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