ETH Price: $3,349.33 (-2.03%)

Token

ERC20 ***
 

Overview

Max Total Supply

0.915879 ERC20 ***

Holders

78

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 6 Decimals)

Balance
0.000001 ERC20 ***

Value
$0.00
0x04777f0965317cd94ceb5fb4be2ac146604b7257
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:
GaugeD2_USDC

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 2021-04-13
*/

// SPDX-License-Identifier: MIT
/*
A simple gauge contract to measure the amount of tokens locked, and reward users in a different token.

This Gauge works for a "sharesOf" based rebalance token.
*/

pragma solidity ^0.6.11;

/*
 * @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;
    }
}

/**
 * @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) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @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");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        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);
            }
        }
    }
}

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

/**
 * @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, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, 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 (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @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) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @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) {
        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, reverting 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) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting 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) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * 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);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * 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);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * 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;
    }
}

/**
 * @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);
}

/**
 * @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 IERC20;` 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));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    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. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "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");
        }
    }
}

interface IFarmTokenV1 {
    function name() external view returns (string memory);
    function symbol() external view returns (string memory);
    function decimals() external view returns (uint8);
    function getSharesForUnderlying(uint256 _amountUnderlying) external view returns (uint256);
    function getUnderlyingForShares(uint256 _amountShares) external view returns (uint256);
}

contract GaugeD2_USDC is IERC20, ReentrancyGuard {
    using SafeERC20 for IERC20;
    using Address for address;
    using SafeMath for uint256;

    address payable public governance = 0xdD7A75CC6c04031629f13848Bc0D07e89C3961Be; // STACK DAO Council Multisig
    address public constant acceptToken = 0x067b9FE006E16f52BBf647aB6799f87566480D2c; // stackToken USDC rebase token

    address public constant STACK = 0xe0955F26515d22E347B17669993FCeFcc73c3a0a; // STACK DAO Token

    uint256 public emissionRate = 16806186020950591;

    uint256 public depositedShares;

    uint256 public constant startBlock = 12234861;
    uint256 public endBlock = startBlock + 1190038;

    uint256 public lastBlock; // last block the distribution has ran
    uint256 public tokensAccrued; // tokens to distribute per weight scaled by 1e18

    struct DepositState {
        uint256 userShares;
        uint256 tokensAccrued;
    }

    mapping(address => DepositState) public shares;

    event Deposit(address indexed from, uint256 amount);
    event Withdraw(address indexed to, uint256 amount);
    event STACKClaimed(address indexed to, uint256 amount);
    // emit mint/burn on deposit/withdraw
    event Transfer(address indexed from, address indexed to, uint256 value);
    // never emitted, only included here to align with ERC20 spec.
    event Approval(address indexed owner, address indexed spender, uint256 value);

    constructor() public {
    }

    function setGovernance(address payable _new) external {
        require(msg.sender == governance);
        governance = _new;
    }

    function setEmissionRate(uint256 _new) external {
        require(msg.sender == governance, "GAUGED2: !governance");
        _kick(); // catch up the contract to the current block for old rate
        emissionRate = _new;
    }

    function setEndBlock(uint256 _block) external {
        require(msg.sender == governance, "GAUGED2: !governance");
        require(block.number <= endBlock, "GAUGED2: distribution already done, must start another");
        require(block.number <= _block, "GAUGED2: can't set endBlock to past block");
        
        endBlock = _block;
    }

    /////////// NOTE: Our gauges now implement mock ERC20 functionality in order to interact nicer with block explorers...
    function name() external view returns (string memory){
        return string(abi.encodePacked("gauge-", IFarmTokenV1(acceptToken).name()));
    }
    
    function symbol() external view returns (string memory){
        return string(abi.encodePacked("gauge-", IFarmTokenV1(acceptToken).symbol()));
    }

    function decimals() external view returns (uint8){
        return IFarmTokenV1(acceptToken).decimals();
    }

    function totalSupply() external override view returns (uint256){
        return IFarmTokenV1(acceptToken).getUnderlyingForShares(depositedShares);
    }

    function balanceOf(address _account) public override view returns (uint256){
        return IFarmTokenV1(acceptToken).getUnderlyingForShares(shares[_account].userShares);
    }

    // transfer tokens, not shares
    function transfer(address _recipient, uint256 _amount) external override returns (bool){
        // to squelch
        _recipient;
        _amount;
        revert("transfer not implemented. please withdraw first.");
    }

    function transferFrom(address _sender, address _recipient, uint256 _amount) external override returns (bool){
        // to squelch
        _sender;
        _recipient;
        _amount;
        revert("transferFrom not implemented. please withdraw first.");
    }

    // allow tokens, not shares
    function allowance(address _owner, address _spender) external override view returns (uint256){
        // to squelch
        _owner;
        _spender;
        return 0;
    }

    // approve tokens, not shares
    function approve(address _spender, uint256 _amount) external override returns (bool){
        // to squelch
        _spender;
        _amount;
        revert("approve not implemented. please withdraw first.");
    }
    ////////// END MOCK ERC20 FUNCTIONALITY //////////

    function deposit(uint256 _amount) nonReentrant external {
        require(block.number <= endBlock, "GAUGED2: distribution over");

        _claimSTACK(msg.sender);

        // trusted contracts
        IERC20(acceptToken).safeTransferFrom(msg.sender, address(this), _amount);
        uint256 _sharesFor = IFarmTokenV1(acceptToken).getSharesForUnderlying(_amount);

        DepositState memory _state = shares[msg.sender];

        _state.userShares = _state.userShares.add(_sharesFor);
        depositedShares = depositedShares.add(_sharesFor);

        emit Deposit(msg.sender, _amount);
        emit Transfer(address(0), msg.sender, _amount);
        shares[msg.sender] = _state;
    }

    function withdraw(uint256 _amount) nonReentrant external {
        _claimSTACK(msg.sender);

        DepositState memory _state = shares[msg.sender];
        uint256 _sharesFor = IFarmTokenV1(acceptToken).getSharesForUnderlying(_amount);

        require(_sharesFor <= _state.userShares, "GAUGED2: insufficient balance");

        _state.userShares = _state.userShares.sub(_sharesFor);
        depositedShares = depositedShares.sub(_sharesFor);

        emit Withdraw(msg.sender, _amount);
        emit Transfer(msg.sender, address(0), _amount);
        shares[msg.sender] = _state;

        IERC20(acceptToken).safeTransfer(msg.sender, _amount);
    }

    function claimSTACK() nonReentrant external returns (uint256) {
        return _claimSTACK(msg.sender);
    }

    function _claimSTACK(address _user) internal returns (uint256) {
        _kick();

        DepositState memory _state = shares[_user];
        if (_state.tokensAccrued == tokensAccrued){ // user doesn't have any accrued tokens
            return 0;
        }
        else {
            uint256 _tokensAccruedDiff = tokensAccrued.sub(_state.tokensAccrued);
            uint256 _tokensGive = _tokensAccruedDiff.mul(_state.userShares).div(1e18);

            _state.tokensAccrued = tokensAccrued;
            shares[_user] = _state;

            // if the guage has enough tokens to grant the user, then send their tokens
            // otherwise, don't fail, just log STACK claimed, and a reimbursement can be done via chain events
            if (IERC20(STACK).balanceOf(address(this)) >= _tokensGive){
                IERC20(STACK).safeTransfer(_user, _tokensGive);
            }

            // log event
            emit STACKClaimed(_user, _tokensGive);

            return _tokensGive;
        }
    }

    function _kick() internal {
        uint256 _totalDeposited = depositedShares;
        // if there are no tokens committed, then don't kick.
        if (_totalDeposited == 0){
            return;
        }
        // already done for this block || already did all blocks || not started yet
        if (lastBlock == block.number || lastBlock >= endBlock || block.number < startBlock){
            return;
        }

        uint256 _deltaBlock;
        // edge case where kick was not called for entire period of blocks.
        if (lastBlock <= startBlock && block.number >= endBlock){
            _deltaBlock = endBlock.sub(startBlock);
        }
        // where block.number is past the endBlock
        else if (block.number >= endBlock){
            _deltaBlock = endBlock.sub(lastBlock);
        }
        // where last block is before start
        else if (lastBlock <= startBlock){
            _deltaBlock = block.number.sub(startBlock);
        }
        // normal case, where we are in the middle of the distribution
        else {
            _deltaBlock = block.number.sub(lastBlock);
        }

        uint256 _tokensToAccrue = _deltaBlock.mul(emissionRate);
        tokensAccrued = tokensAccrued.add(_tokensToAccrue.mul(1e18).div(_totalDeposited));

        // if not allowed to mint it's just like the emission rate = 0. So just update the lastBlock.
        // always update last block 
        lastBlock = block.number;
    }

    // decentralized rescue function for any stuck tokens, will return to governance
    function rescue(address _token, uint256 _amount) nonReentrant external {
        require(msg.sender == governance, "GAUGED2: !governance");

        if (_token != address(0)){
            IERC20(_token).safeTransfer(governance, _amount);
        }
        else { // if _tokenContract is 0x0, then escape ETH
            governance.transfer(_amount);
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"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":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"STACKClaimed","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"STACK","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"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":[],"name":"claimSTACK","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"depositedShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"emissionRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"governance","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"rescue","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_new","type":"uint256"}],"name":"setEmissionRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_block","type":"uint256"}],"name":"setEndBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_new","type":"address"}],"name":"setGovernance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"userShares","type":"uint256"},{"internalType":"uint256","name":"tokensAccrued","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensAccrued","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600180546001600160a01b03191673dd7a75cc6c04031629f13848bc0d07e89c3961be179055663bb5231bced23f60025562ccd90360045534801561004857600080fd5b506001600055611a478061005d6000396000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c80637dc78d5d116100de578063ab033ea911610097578063c713aa9411610071578063c713aa9414610427578063ce7c2ac214610444578063dd62ed3e14610483578063ef6a0087146104b15761018e565b8063ab033ea9146103dc578063b6b55f2514610402578063ba4b6fdf1461041f5761018e565b80637dc78d5d14610373578063806b984f1461037b57806395d89b411461038357806396afc4501461038b578063a1bdb15e14610393578063a9059cbb146103b05761018e565b80632e1a7d4d1161014b5780635510f804116101255780635510f804146102f55780635aa6e6751461031957806370a08231146103215780637a4e4ecf146103475761018e565b80632e1a7d4d146102b0578063313ce567146102cf57806348cd4cb1146102ed5761018e565b806306fdde0314610193578063083c632314610210578063095ea7b31461022a57806318160ddd1461026a57806323b872dd146102725780632b4146fb146102a8575b600080fd5b61019b6104b9565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101d55781810151838201526020016101bd565b50505050905090810190601f1680156102025780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610218610671565b60408051918252519081900360200190f35b6102566004803603604081101561024057600080fd5b506001600160a01b038135169060200135610677565b604080519115158252519081900360200190f35b6102186106b0565b6102566004803603606081101561028857600080fd5b506001600160a01b0381358116916020810135909116906040013561073d565b610218610776565b6102cd600480360360208110156102c657600080fd5b503561077c565b005b6102d76109ab565b6040805160ff9092168252519081900360200190f35b6102186109fa565b6102fd610a01565b604080516001600160a01b039092168252519081900360200190f35b6102fd610a19565b6102186004803603602081101561033757600080fd5b50356001600160a01b0316610a28565b6102cd6004803603604081101561035d57600080fd5b506001600160a01b038135169060200135610ac5565b610218610bd9565b610218610c39565b61019b610c3f565b610218610c8e565b6102cd600480360360208110156103a957600080fd5b5035610c94565b610256600480360360408110156103c657600080fd5b506001600160a01b038135169060200135610cf7565b6102cd600480360360208110156103f257600080fd5b50356001600160a01b0316610d30565b6102cd6004803603602081101561041857600080fd5b5035610d69565b610218610fa0565b6102cd6004803603602081101561043d57600080fd5b5035610fa6565b61046a6004803603602081101561045a57600080fd5b50356001600160a01b0316611081565b6040805192835260208301919091528051918290030190f35b6102186004803603604081101561049957600080fd5b506001600160a01b038135811691602001351661109a565b6102fd6110a3565b606073067b9fe006e16f52bbf647ab6799f87566480d2c6001600160a01b03166306fdde036040518163ffffffff1660e01b815260040160006040518083038186803b15801561050857600080fd5b505afa15801561051c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561054557600080fd5b810190808051604051939291908464010000000082111561056557600080fd5b90830190602082018581111561057a57600080fd5b825164010000000081118282018810171561059457600080fd5b82525081516020918201929091019080838360005b838110156105c15781810151838201526020016105a9565b50505050905090810190601f1680156105ee5780820380516001836020036101000a031916815260200191505b5060405250505060405160200180806567617567652d60d01b81525060060182805190602001908083835b602083106106385780518252601f199092019160209182019101610619565b6001836020036101000a038019825116818451168082178552505050505050905001915050604051602081830303815290604052905090565b60045481565b600060405162461bcd60e51b815260040180806020018281038252602f815260200180611960602f913960400191505060405180910390fd5b600073067b9fe006e16f52bbf647ab6799f87566480d2c6001600160a01b031663013a6edd6003546040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561070c57600080fd5b505afa158015610720573d6000803e3d6000fd5b505050506040513d602081101561073657600080fd5b5051905090565b600060405162461bcd60e51b815260040180806020018281038252603481526020018061188f6034913960400191505060405180910390fd5b60035481565b600260005414156107c2576040805162461bcd60e51b815260206004820152601f60248201526000805160206118c3833981519152604482015290519081900360640190fd5b60026000556107d0336110bb565b506107d9611874565b503360009081526007602090815260408083208151808301835281548152600190910154818401528151632708c4c160e11b815260048101869052915190939273067b9fe006e16f52bbf647ab6799f87566480d2c92634e1189829260248083019392829003018186803b15801561085057600080fd5b505afa158015610864573d6000803e3d6000fd5b505050506040513d602081101561087a57600080fd5b505182519091508111156108d5576040805162461bcd60e51b815260206004820152601d60248201527f474155474544323a20696e73756666696369656e742062616c616e6365000000604482015290519081900360640190fd5b81516108e19082611278565b82526003546108f09082611278565b60035560408051848152905133917f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364919081900360200190a260408051848152905160009133917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a333600081815260076020908152604090912084518155908401516001909101556109a19073067b9fe006e16f52bbf647ab6799f87566480d2c90856112d5565b5050600160005550565b600073067b9fe006e16f52bbf647ab6799f87566480d2c6001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561070c57600080fd5b62bab06d81565b73067b9fe006e16f52bbf647ab6799f87566480d2c81565b6001546001600160a01b031681565b6001600160a01b038116600090815260076020908152604080832054815163013a6edd60e01b81526004810191909152905173067b9fe006e16f52bbf647ab6799f87566480d2c9263013a6edd9260248082019391829003018186803b158015610a9157600080fd5b505afa158015610aa5573d6000803e3d6000fd5b505050506040513d6020811015610abb57600080fd5b505190505b919050565b60026000541415610b0b576040805162461bcd60e51b815260206004820152601f60248201526000805160206118c3833981519152604482015290519081900360640190fd5b60026000556001546001600160a01b03163314610b66576040805162461bcd60e51b8152602060048201526014602482015273474155474544323a2021676f7665726e616e636560601b604482015290519081900360640190fd5b6001600160a01b03821615610b9457600154610b8f906001600160a01b038481169116836112d5565b610bd0565b6001546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610bce573d6000803e3d6000fd5b505b50506001600055565b600060026000541415610c21576040805162461bcd60e51b815260206004820152601f60248201526000805160206118c3833981519152604482015290519081900360640190fd5b6002600055610c2f336110bb565b9050600160005590565b60055481565b606073067b9fe006e16f52bbf647ab6799f87566480d2c6001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b15801561050857600080fd5b60025481565b6001546001600160a01b03163314610cea576040805162461bcd60e51b8152602060048201526014602482015273474155474544323a2021676f7665726e616e636560601b604482015290519081900360640190fd5b610cf261132c565b600255565b600060405162461bcd60e51b81526004018080602001828103825260308152602001806119b86030913960400191505060405180910390fd5b6001546001600160a01b03163314610d4757600080fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b60026000541415610daf576040805162461bcd60e51b815260206004820152601f60248201526000805160206118c3833981519152604482015290519081900360640190fd5b6002600055600454431115610e0b576040805162461bcd60e51b815260206004820152601a60248201527f474155474544323a20646973747269627574696f6e206f766572000000000000604482015290519081900360640190fd5b610e14336110bb565b50610e3573067b9fe006e16f52bbf647ab6799f87566480d2c333084611425565b600073067b9fe006e16f52bbf647ab6799f87566480d2c6001600160a01b0316634e118982836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610e8f57600080fd5b505afa158015610ea3573d6000803e3d6000fd5b505050506040513d6020811015610eb957600080fd5b50519050610ec5611874565b50336000908152600760209081526040918290208251808401909352805480845260019091015491830191909152610efd9083611485565b8152600354610f0c9083611485565b60035560408051848152905133917fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c919081900360200190a260408051848152905133916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a3336000908152600760209081526040822083518155920151600192830155555050565b60065481565b6001546001600160a01b03163314610ffc576040805162461bcd60e51b8152602060048201526014602482015273474155474544323a2021676f7665726e616e636560601b604482015290519081900360640190fd5b60045443111561103d5760405162461bcd60e51b81526004018080602001828103825260368152602001806119096036913960400191505060405180910390fd5b8043111561107c5760405162461bcd60e51b815260040180806020018281038252602981526020018061198f6029913960400191505060405180910390fd5b600455565b6007602052600090815260409020805460019091015482565b60005b92915050565b73e0955f26515d22e347b17669993fcefcc73c3a0a81565b60006110c561132c565b6110cd611874565b506001600160a01b038216600090815260076020908152604091829020825180840190935280548352600101549082018190526006541415611113576000915050610ac0565b600061112e826020015160065461127890919063ffffffff16565b9050600061115b670de0b6b3a76400006111558560000151856114e690919063ffffffff16565b9061153f565b60065460208086019182526001600160a01b03881660009081526007825260409081902087518155925160019093019290925581516370a0823160e01b81523060048201529151929350839273e0955f26515d22e347b17669993fcefcc73c3a0a926370a08231926024808301939192829003018186803b1580156111df57600080fd5b505afa1580156111f3573d6000803e3d6000fd5b505050506040513d602081101561120957600080fd5b50511061122f5761122f73e0955f26515d22e347b17669993fcefcc73c3a0a86836112d5565b6040805182815290516001600160a01b038716917f37b8f39235d8f8e3b97c4bf027e858d6b0ef96fa7fb539484a495f68c0fbe18e919081900360200190a29250610ac0915050565b6000828211156112cf576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526113279084906115a6565b505050565b6003548061133a5750611423565b43600554148061134e575060045460055410155b8061135b575062bab06d43105b156113665750611423565b600062bab06d6005541115801561137f57506004544310155b1561139b576004546113949062bab06d611278565b90506113dd565b60045443106113b35760055460045461139491611278565b62bab06d600554116113cc576113944362bab06d611278565b6005546113da904390611278565b90505b60006113f4600254836114e690919063ffffffff16565b905061141861140f8461115584670de0b6b3a76400006114e6565b60065490611485565b600655505043600555505b565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261147f9085906115a6565b50505050565b6000828201838110156114df576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6000826114f55750600061109d565b8282028284828161150257fe5b04146114df5760405162461bcd60e51b815260040180806020018281038252602181526020018061193f6021913960400191505060405180910390fd5b6000808211611595576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161159e57fe5b049392505050565b60606115fb826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166116579092919063ffffffff16565b8051909150156113275780806020019051602081101561161a57600080fd5b50516113275760405162461bcd60e51b815260040180806020018281038252602a8152602001806119e8602a913960400191505060405180910390fd5b6060611666848460008561166e565b949350505050565b6060824710156116af5760405162461bcd60e51b81526004018080602001828103825260268152602001806118e36026913960400191505060405180910390fd5b6116b8856117ca565b611709576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106117485780518252601f199092019160209182019101611729565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146117aa576040519150601f19603f3d011682016040523d82523d6000602084013e6117af565b606091505b50915091506117bf8282866117d0565b979650505050505050565b3b151590565b606083156117df5750816114df565b8251156117ef5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611839578181015183820152602001611821565b50505050905090810190601f1680156118665780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b60405180604001604052806000815260200160008152509056fe7472616e7366657246726f6d206e6f7420696d706c656d656e7465642e20706c656173652077697468647261772066697273742e5265656e7472616e637947756172643a207265656e7472616e742063616c6c00416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c474155474544323a20646973747269627574696f6e20616c726561647920646f6e652c206d75737420737461727420616e6f74686572536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77617070726f7665206e6f7420696d706c656d656e7465642e20706c656173652077697468647261772066697273742e474155474544323a2063616e27742073657420656e64426c6f636b20746f207061737420626c6f636b7472616e73666572206e6f7420696d706c656d656e7465642e20706c656173652077697468647261772066697273742e5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220499e93d6ca44d0cce3fcc72743cbaedf8856cde0758f62dae01497ca508c85ea64736f6c634300060c0033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061018e5760003560e01c80637dc78d5d116100de578063ab033ea911610097578063c713aa9411610071578063c713aa9414610427578063ce7c2ac214610444578063dd62ed3e14610483578063ef6a0087146104b15761018e565b8063ab033ea9146103dc578063b6b55f2514610402578063ba4b6fdf1461041f5761018e565b80637dc78d5d14610373578063806b984f1461037b57806395d89b411461038357806396afc4501461038b578063a1bdb15e14610393578063a9059cbb146103b05761018e565b80632e1a7d4d1161014b5780635510f804116101255780635510f804146102f55780635aa6e6751461031957806370a08231146103215780637a4e4ecf146103475761018e565b80632e1a7d4d146102b0578063313ce567146102cf57806348cd4cb1146102ed5761018e565b806306fdde0314610193578063083c632314610210578063095ea7b31461022a57806318160ddd1461026a57806323b872dd146102725780632b4146fb146102a8575b600080fd5b61019b6104b9565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101d55781810151838201526020016101bd565b50505050905090810190601f1680156102025780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610218610671565b60408051918252519081900360200190f35b6102566004803603604081101561024057600080fd5b506001600160a01b038135169060200135610677565b604080519115158252519081900360200190f35b6102186106b0565b6102566004803603606081101561028857600080fd5b506001600160a01b0381358116916020810135909116906040013561073d565b610218610776565b6102cd600480360360208110156102c657600080fd5b503561077c565b005b6102d76109ab565b6040805160ff9092168252519081900360200190f35b6102186109fa565b6102fd610a01565b604080516001600160a01b039092168252519081900360200190f35b6102fd610a19565b6102186004803603602081101561033757600080fd5b50356001600160a01b0316610a28565b6102cd6004803603604081101561035d57600080fd5b506001600160a01b038135169060200135610ac5565b610218610bd9565b610218610c39565b61019b610c3f565b610218610c8e565b6102cd600480360360208110156103a957600080fd5b5035610c94565b610256600480360360408110156103c657600080fd5b506001600160a01b038135169060200135610cf7565b6102cd600480360360208110156103f257600080fd5b50356001600160a01b0316610d30565b6102cd6004803603602081101561041857600080fd5b5035610d69565b610218610fa0565b6102cd6004803603602081101561043d57600080fd5b5035610fa6565b61046a6004803603602081101561045a57600080fd5b50356001600160a01b0316611081565b6040805192835260208301919091528051918290030190f35b6102186004803603604081101561049957600080fd5b506001600160a01b038135811691602001351661109a565b6102fd6110a3565b606073067b9fe006e16f52bbf647ab6799f87566480d2c6001600160a01b03166306fdde036040518163ffffffff1660e01b815260040160006040518083038186803b15801561050857600080fd5b505afa15801561051c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561054557600080fd5b810190808051604051939291908464010000000082111561056557600080fd5b90830190602082018581111561057a57600080fd5b825164010000000081118282018810171561059457600080fd5b82525081516020918201929091019080838360005b838110156105c15781810151838201526020016105a9565b50505050905090810190601f1680156105ee5780820380516001836020036101000a031916815260200191505b5060405250505060405160200180806567617567652d60d01b81525060060182805190602001908083835b602083106106385780518252601f199092019160209182019101610619565b6001836020036101000a038019825116818451168082178552505050505050905001915050604051602081830303815290604052905090565b60045481565b600060405162461bcd60e51b815260040180806020018281038252602f815260200180611960602f913960400191505060405180910390fd5b600073067b9fe006e16f52bbf647ab6799f87566480d2c6001600160a01b031663013a6edd6003546040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561070c57600080fd5b505afa158015610720573d6000803e3d6000fd5b505050506040513d602081101561073657600080fd5b5051905090565b600060405162461bcd60e51b815260040180806020018281038252603481526020018061188f6034913960400191505060405180910390fd5b60035481565b600260005414156107c2576040805162461bcd60e51b815260206004820152601f60248201526000805160206118c3833981519152604482015290519081900360640190fd5b60026000556107d0336110bb565b506107d9611874565b503360009081526007602090815260408083208151808301835281548152600190910154818401528151632708c4c160e11b815260048101869052915190939273067b9fe006e16f52bbf647ab6799f87566480d2c92634e1189829260248083019392829003018186803b15801561085057600080fd5b505afa158015610864573d6000803e3d6000fd5b505050506040513d602081101561087a57600080fd5b505182519091508111156108d5576040805162461bcd60e51b815260206004820152601d60248201527f474155474544323a20696e73756666696369656e742062616c616e6365000000604482015290519081900360640190fd5b81516108e19082611278565b82526003546108f09082611278565b60035560408051848152905133917f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364919081900360200190a260408051848152905160009133917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a333600081815260076020908152604090912084518155908401516001909101556109a19073067b9fe006e16f52bbf647ab6799f87566480d2c90856112d5565b5050600160005550565b600073067b9fe006e16f52bbf647ab6799f87566480d2c6001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561070c57600080fd5b62bab06d81565b73067b9fe006e16f52bbf647ab6799f87566480d2c81565b6001546001600160a01b031681565b6001600160a01b038116600090815260076020908152604080832054815163013a6edd60e01b81526004810191909152905173067b9fe006e16f52bbf647ab6799f87566480d2c9263013a6edd9260248082019391829003018186803b158015610a9157600080fd5b505afa158015610aa5573d6000803e3d6000fd5b505050506040513d6020811015610abb57600080fd5b505190505b919050565b60026000541415610b0b576040805162461bcd60e51b815260206004820152601f60248201526000805160206118c3833981519152604482015290519081900360640190fd5b60026000556001546001600160a01b03163314610b66576040805162461bcd60e51b8152602060048201526014602482015273474155474544323a2021676f7665726e616e636560601b604482015290519081900360640190fd5b6001600160a01b03821615610b9457600154610b8f906001600160a01b038481169116836112d5565b610bd0565b6001546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610bce573d6000803e3d6000fd5b505b50506001600055565b600060026000541415610c21576040805162461bcd60e51b815260206004820152601f60248201526000805160206118c3833981519152604482015290519081900360640190fd5b6002600055610c2f336110bb565b9050600160005590565b60055481565b606073067b9fe006e16f52bbf647ab6799f87566480d2c6001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b15801561050857600080fd5b60025481565b6001546001600160a01b03163314610cea576040805162461bcd60e51b8152602060048201526014602482015273474155474544323a2021676f7665726e616e636560601b604482015290519081900360640190fd5b610cf261132c565b600255565b600060405162461bcd60e51b81526004018080602001828103825260308152602001806119b86030913960400191505060405180910390fd5b6001546001600160a01b03163314610d4757600080fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b60026000541415610daf576040805162461bcd60e51b815260206004820152601f60248201526000805160206118c3833981519152604482015290519081900360640190fd5b6002600055600454431115610e0b576040805162461bcd60e51b815260206004820152601a60248201527f474155474544323a20646973747269627574696f6e206f766572000000000000604482015290519081900360640190fd5b610e14336110bb565b50610e3573067b9fe006e16f52bbf647ab6799f87566480d2c333084611425565b600073067b9fe006e16f52bbf647ab6799f87566480d2c6001600160a01b0316634e118982836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610e8f57600080fd5b505afa158015610ea3573d6000803e3d6000fd5b505050506040513d6020811015610eb957600080fd5b50519050610ec5611874565b50336000908152600760209081526040918290208251808401909352805480845260019091015491830191909152610efd9083611485565b8152600354610f0c9083611485565b60035560408051848152905133917fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c919081900360200190a260408051848152905133916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a3336000908152600760209081526040822083518155920151600192830155555050565b60065481565b6001546001600160a01b03163314610ffc576040805162461bcd60e51b8152602060048201526014602482015273474155474544323a2021676f7665726e616e636560601b604482015290519081900360640190fd5b60045443111561103d5760405162461bcd60e51b81526004018080602001828103825260368152602001806119096036913960400191505060405180910390fd5b8043111561107c5760405162461bcd60e51b815260040180806020018281038252602981526020018061198f6029913960400191505060405180910390fd5b600455565b6007602052600090815260409020805460019091015482565b60005b92915050565b73e0955f26515d22e347b17669993fcefcc73c3a0a81565b60006110c561132c565b6110cd611874565b506001600160a01b038216600090815260076020908152604091829020825180840190935280548352600101549082018190526006541415611113576000915050610ac0565b600061112e826020015160065461127890919063ffffffff16565b9050600061115b670de0b6b3a76400006111558560000151856114e690919063ffffffff16565b9061153f565b60065460208086019182526001600160a01b03881660009081526007825260409081902087518155925160019093019290925581516370a0823160e01b81523060048201529151929350839273e0955f26515d22e347b17669993fcefcc73c3a0a926370a08231926024808301939192829003018186803b1580156111df57600080fd5b505afa1580156111f3573d6000803e3d6000fd5b505050506040513d602081101561120957600080fd5b50511061122f5761122f73e0955f26515d22e347b17669993fcefcc73c3a0a86836112d5565b6040805182815290516001600160a01b038716917f37b8f39235d8f8e3b97c4bf027e858d6b0ef96fa7fb539484a495f68c0fbe18e919081900360200190a29250610ac0915050565b6000828211156112cf576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526113279084906115a6565b505050565b6003548061133a5750611423565b43600554148061134e575060045460055410155b8061135b575062bab06d43105b156113665750611423565b600062bab06d6005541115801561137f57506004544310155b1561139b576004546113949062bab06d611278565b90506113dd565b60045443106113b35760055460045461139491611278565b62bab06d600554116113cc576113944362bab06d611278565b6005546113da904390611278565b90505b60006113f4600254836114e690919063ffffffff16565b905061141861140f8461115584670de0b6b3a76400006114e6565b60065490611485565b600655505043600555505b565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261147f9085906115a6565b50505050565b6000828201838110156114df576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6000826114f55750600061109d565b8282028284828161150257fe5b04146114df5760405162461bcd60e51b815260040180806020018281038252602181526020018061193f6021913960400191505060405180910390fd5b6000808211611595576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161159e57fe5b049392505050565b60606115fb826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166116579092919063ffffffff16565b8051909150156113275780806020019051602081101561161a57600080fd5b50516113275760405162461bcd60e51b815260040180806020018281038252602a8152602001806119e8602a913960400191505060405180910390fd5b6060611666848460008561166e565b949350505050565b6060824710156116af5760405162461bcd60e51b81526004018080602001828103825260268152602001806118e36026913960400191505060405180910390fd5b6116b8856117ca565b611709576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106117485780518252601f199092019160209182019101611729565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146117aa576040519150601f19603f3d011682016040523d82523d6000602084013e6117af565b606091505b50915091506117bf8282866117d0565b979650505050505050565b3b151590565b606083156117df5750816114df565b8251156117ef5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611839578181015183820152602001611821565b50505050905090810190601f1680156118665780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b60405180604001604052806000815260200160008152509056fe7472616e7366657246726f6d206e6f7420696d706c656d656e7465642e20706c656173652077697468647261772066697273742e5265656e7472616e637947756172643a207265656e7472616e742063616c6c00416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c474155474544323a20646973747269627574696f6e20616c726561647920646f6e652c206d75737420737461727420616e6f74686572536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77617070726f7665206e6f7420696d706c656d656e7465642e20706c656173652077697468647261772066697273742e474155474544323a2063616e27742073657420656e64426c6f636b20746f207061737420626c6f636b7472616e73666572206e6f7420696d706c656d656e7465642e20706c656173652077697468647261772066697273742e5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220499e93d6ca44d0cce3fcc72743cbaedf8856cde0758f62dae01497ca508c85ea64736f6c634300060c0033

Deployed Bytecode Sourcemap

25793:8722:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28148:147;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26434:46;;;:::i;:::-;;;;;;;;;;;;;;;;29735:220;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;29735:220:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;28585:154;;;:::i;29203:269::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;29203:269:0;;;;;;;;;;;;;;;;;:::i;26343:30::-;;;:::i;30732:668::-;;;;;;;;;;;;;;;;-1:-1:-1;30732:668:0;;:::i;:::-;;28466:111;;;:::i;:::-;;;;;;;;;;;;;;;;;;;26382:45;;;:::i;26064:80::-;;;:::i;:::-;;;;-1:-1:-1;;;;;26064:80:0;;;;;;;;;;;;;;25949:78;;;:::i;28747:178::-;;;;;;;;;;;;;;;;-1:-1:-1;28747:178:0;-1:-1:-1;;;;;28747:178:0;;:::i;34138:374::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;34138:374:0;;;;;;;;:::i;31408:111::-;;;:::i;26489:24::-;;;:::i;28307:151::-;;;:::i;26287:47::-;;;:::i;27428:231::-;;;;;;;;;;;;;;;;-1:-1:-1;27428:231:0;;:::i;28969:226::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;28969:226:0;;;;;;;;:::i;27286:134::-;;;;;;;;;;;;;;;;-1:-1:-1;27286:134:0;-1:-1:-1;;;;;27286:134:0;;:::i;30019:705::-;;;;;;;;;;;;;;;;-1:-1:-1;30019:705:0;;:::i;26559:28::-;;;:::i;27667:349::-;;;;;;;;;;;;;;;;-1:-1:-1;27667:349:0;;:::i;26743:46::-;;;;;;;;;;;;;;;;-1:-1:-1;26743:46:0;-1:-1:-1;;;;;26743:46:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;29513:179;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;29513:179:0;;;;;;;;;;:::i;26185:74::-;;;:::i;28148:147::-;28187:13;26102:42;-1:-1:-1;;;;;28253:30:0;;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;28253:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28253:32:0;;;;;;;;;;-1:-1:-1;28253:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28226:60;;;;;;-1:-1:-1;;;28226:60:0;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;28226:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28212:75;;28148:147;:::o;26434:46::-;;;;:::o;29735:220::-;29814:4;29890:57;;-1:-1:-1;;;29890:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28585:154;28640:7;26102:42;-1:-1:-1;;;;;28666:48:0;;28715:15;;28666:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28666:65:0;;-1:-1:-1;28585:154:0;:::o;29203:269::-;29306:4;29402:62;;-1:-1:-1;;;29402:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26343:30;;;;:::o;30732:668::-;10723:1;11329:7;;:19;;11321:63;;;;;-1:-1:-1;;;11321:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;11321:63:0;;;;;;;;;;;;;;;10723:1;11462:7;:18;30800:23:::1;30812:10;30800:11;:23::i;:::-;;30836:26;;:::i;:::-;-1:-1:-1::0;30872:10:0::1;30865:18;::::0;;;:6:::1;:18;::::0;;;;;;;30836:47;;;;::::1;::::0;;;;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;30915:57;;-1:-1:-1;;;30915:57:0;;::::1;::::0;::::1;::::0;;;;;30836:47;;30865:18;26102:42:::1;::::0;30915:48:::1;::::0;:57;;;;;30865:18;30915:57;;;;;26102:42;30915:57;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;30915:57:0;31007:17;;30915:57;;-1:-1:-1;30993:31:0;::::1;;30985:73;;;::::0;;-1:-1:-1;;;30985:73:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;31091:17:::0;;:33:::1;::::0;31113:10;31091:21:::1;:33::i;:::-;31071:53:::0;;31153:15:::1;::::0;:31:::1;::::0;31173:10;31153:19:::1;:31::i;:::-;31135:15;:49:::0;31202:29:::1;::::0;;;;;;;31211:10:::1;::::0;31202:29:::1;::::0;;;;;::::1;::::0;;::::1;31247:41;::::0;;;;;;;31276:1:::1;::::0;31256:10:::1;::::0;31247:41:::1;::::0;;;;::::1;::::0;;::::1;31306:10;31299:18;::::0;;;:6:::1;:18;::::0;;;;;;;:27;;;;;;::::1;::::0;::::1;::::0;;::::1;::::0;31339:53:::1;::::0;26102:42:::1;::::0;31384:7;31339:32:::1;:53::i;:::-;-1:-1:-1::0;;10679:1:0;11641:7;:22;-1:-1:-1;30732:668:0:o;28466:111::-;28509:5;26102:42;-1:-1:-1;;;;;28533:34:0;;:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26382:45;26419:8;26382:45;:::o;26064:80::-;26102:42;26064:80;:::o;25949:78::-;;;-1:-1:-1;;;;;25949:78:0;;:::o;28747:178::-;-1:-1:-1;;;;;28889:16:0;;28814:7;28889:16;;;:6;:16;;;;;;;;:27;28840:77;;-1:-1:-1;;;28840:77:0;;;;;;;;;;;26102:42;;28840:48;;:77;;;;;;;;;;;26102:42;28840:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28840:77:0;;-1:-1:-1;28747:178:0;;;;:::o;34138:374::-;10723:1;11329:7;;:19;;11321:63;;;;;-1:-1:-1;;;11321:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;11321:63:0;;;;;;;;;;;;;;;10723:1;11462:7;:18;34242:10:::1;::::0;-1:-1:-1;;;;;34242:10:0::1;34228;:24;34220:57;;;::::0;;-1:-1:-1;;;34220:57:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;34220:57:0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;34294:20:0;::::1;::::0;34290:215:::1;;34358:10;::::0;34330:48:::1;::::0;-1:-1:-1;;;;;34330:27:0;;::::1;::::0;34358:10:::1;34370:7:::0;34330:27:::1;:48::i;:::-;34290:215;;;34465:10;::::0;:28:::1;::::0;-1:-1:-1;;;;;34465:10:0;;::::1;::::0;:28;::::1;;;::::0;34485:7;;34465:10:::1;:28:::0;:10;:28;34485:7;34465:10;:28;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;34290:215;-1:-1:-1::0;;10679:1:0;11641:7;:22;34138:374::o;31408:111::-;31461:7;10723:1;11329:7;;:19;;11321:63;;;;;-1:-1:-1;;;11321:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;11321:63:0;;;;;;;;;;;;;;;10723:1;11462:7;:18;31488:23:::1;31500:10;31488:11;:23::i;:::-;31481:30;;10679:1:::0;11641:7;:22;31408:111;:::o;26489:24::-;;;;:::o;28307:151::-;28348:13;26102:42;-1:-1:-1;;;;;28414:32:0;;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26287:47;;;;:::o;27428:231::-;27509:10;;-1:-1:-1;;;;;27509:10:0;27495;:24;27487:57;;;;;-1:-1:-1;;;27487:57:0;;;;;;;;;;;;-1:-1:-1;;;27487:57:0;;;;;;;;;;;;;;;27555:7;:5;:7::i;:::-;27632:12;:19;27428:231::o;28969:226::-;29051:4;29129:58;;-1:-1:-1;;;29129:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27286:134;27373:10;;-1:-1:-1;;;;;27373:10:0;27359;:24;27351:33;;;;;;27395:10;:17;;-1:-1:-1;;;;;;27395:17:0;-1:-1:-1;;;;;27395:17:0;;;;;;;;;;27286:134::o;30019:705::-;10723:1;11329:7;;:19;;11321:63;;;;;-1:-1:-1;;;11321:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;11321:63:0;;;;;;;;;;;;;;;10723:1;11462:7;:18;30110:8:::1;::::0;30094:12:::1;:24;;30086:63;;;::::0;;-1:-1:-1;;;30086:63:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;30162:23;30174:10;30162:11;:23::i;:::-;-1:-1:-1::0;30228:72:0::1;26102:42;30265:10;30285:4;30292:7:::0;30228:36:::1;:72::i;:::-;30311:18;26102:42;-1:-1:-1::0;;;;;30332:48:0::1;;30381:7;30332:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;30332:57:0;;-1:-1:-1;30402:26:0::1;;:::i;:::-;-1:-1:-1::0;30438:10:0::1;30431:18;::::0;;;:6:::1;:18;::::0;;;;;;;;30402:47;;;;::::1;::::0;;;;;;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;;30482:33:::1;::::0;30504:10;30482:21:::1;:33::i;:::-;30462:53:::0;;30544:15:::1;::::0;:31:::1;::::0;30564:10;30544:19:::1;:31::i;:::-;30526:15;:49:::0;30593:28:::1;::::0;;;;;;;30601:10:::1;::::0;30593:28:::1;::::0;;;;;::::1;::::0;;::::1;30637:41;::::0;;;;;;;30658:10:::1;::::0;30654:1:::1;::::0;30637:41:::1;::::0;;;;::::1;::::0;;::::1;30696:10;30689:18;::::0;;;:6:::1;:18;::::0;;;;;;:27;;;;;::::1;::::0;::::1;::::0;;::::1;::::0;11641:22;-1:-1:-1;;30019:705:0:o;26559:28::-;;;;:::o;27667:349::-;27746:10;;-1:-1:-1;;;;;27746:10:0;27732;:24;27724:57;;;;;-1:-1:-1;;;27724:57:0;;;;;;;;;;;;-1:-1:-1;;;27724:57:0;;;;;;;;;;;;;;;27816:8;;27800:12;:24;;27792:91;;;;-1:-1:-1;;;27792:91:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27918:6;27902:12;:22;;27894:76;;;;-1:-1:-1;;;27894:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27991:8;:17;27667:349::o;26743:46::-;;;;;;;;;;;;;;;;;;;:::o;29513:179::-;29598:7;29513:179;;;;;:::o;26185:74::-;26217:42;26185:74;:::o;31527:1030::-;31581:7;31601;:5;:7::i;:::-;31621:26;;:::i;:::-;-1:-1:-1;;;;;;31650:13:0;;;;;;:6;:13;;;;;;;;;31621:42;;;;;;;;;;;;;;;;;;;;;31702:13;;31678:37;31674:876;;;31778:1;31771:8;;;;;31674:876;31821:26;31850:39;31868:6;:20;;;31850:13;;:17;;:39;;;;:::i;:::-;31821:68;;31904:19;31926:51;31972:4;31926:41;31949:6;:17;;;31926:18;:22;;:41;;;;:::i;:::-;:45;;:51::i;:::-;32017:13;;31994:20;;;;:36;;;-1:-1:-1;;;;;32045:13:0;;;;;;:6;:13;;;;;;;:22;;;;;;;;;;;;;;32289:38;;-1:-1:-1;;;32289:38:0;;32321:4;32289:38;;;;;;31904:73;;-1:-1:-1;31904:73:0;;26217:42;;32289:23;;:38;;;;;31994:20;;32289:38;;;;;26217:42;32289:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32289:38:0;:53;32285:139;;32362:46;26217:42;32389:5;32396:11;32362:26;:46::i;:::-;32471:32;;;;;;;;-1:-1:-1;;;;;32471:32:0;;;;;;;;;;;;;32527:11;-1:-1:-1;32520:18:0;;-1:-1:-1;;32520:18:0;14844:158;14902:7;14935:1;14930;:6;;14922:49;;;;;-1:-1:-1;;;14922:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14989:5:0;;;14844:158::o;22321:177::-;22431:58;;;-1:-1:-1;;;;;22431:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22431:58:0;-1:-1:-1;;;22431:58:0;;;22404:86;;22424:5;;22404:19;:86::i;:::-;22321:177;;;:::o;32565:1479::-;32628:15;;32721:20;32717:58;;32757:7;;;32717:58;32887:12;32874:9;;:25;:50;;;;32916:8;;32903:9;;:21;;32874:50;:79;;;;26419:8;32928:12;:25;32874:79;32870:117;;;32969:7;;;32870:117;32999:19;26419:8;33110:9;;:23;;:51;;;;;33153:8;;33137:12;:24;;33110:51;33106:593;;;33191:8;;:24;;26419:8;33191:12;:24::i;:::-;33177:38;;33106:593;;;33314:8;;33298:12;:24;33294:405;;33365:9;;33352:8;;:23;;:12;:23::i;33294:405::-;26419:8;33451:9;;:23;33447:252;;33504:28;:12;26419:8;33504:16;:28::i;33447:252::-;33677:9;;33660:27;;:12;;:16;:27::i;:::-;33646:41;;33447:252;33711:23;33737:29;33753:12;;33737:11;:15;;:29;;;;:::i;:::-;33711:55;-1:-1:-1;33793:65:0;33811:46;33841:15;33811:25;33711:55;33831:4;33811:19;:25::i;:46::-;33793:13;;;:17;:65::i;:::-;33777:13;:81;-1:-1:-1;;34024:12:0;34012:9;:24;-1:-1:-1;32565:1479:0;:::o;22506:205::-;22634:68;;;-1:-1:-1;;;;;22634:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22634:68:0;-1:-1:-1;;;22634:68:0;;;22607:96;;22627:5;;22607:19;:96::i;:::-;22506:205;;;;:::o;14382:179::-;14440:7;14472:5;;;14496:6;;;;14488:46;;;;;-1:-1:-1;;;14488:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;14552:1;14382:179;-1:-1:-1;;;14382:179:0:o;15261:220::-;15319:7;15343:6;15339:20;;-1:-1:-1;15358:1:0;15351:8;;15339:20;15382:5;;;15386:1;15382;:5;:1;15406:5;;;;;:10;15398:56;;;;-1:-1:-1;;;15398:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15959:153;16017:7;16049:1;16045;:5;16037:44;;;;;-1:-1:-1;;;16037:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;16103:1;16099;:5;;;;;;;15959:153;-1:-1:-1;;;15959:153:0:o;24626:761::-;25050:23;25076:69;25104:4;25076:69;;;;;;;;;;;;;;;;;25084:5;-1:-1:-1;;;;;25076:27:0;;;:69;;;;;:::i;:::-;25160:17;;25050:95;;-1:-1:-1;25160:21:0;25156:224;;25302:10;25291:30;;;;;;;;;;;;;;;-1:-1:-1;25291:30:0;25283:85;;;;-1:-1:-1;;;25283:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4731:195;4834:12;4866:52;4888:6;4896:4;4902:1;4905:12;4866:21;:52::i;:::-;4859:59;4731:195;-1:-1:-1;;;;4731:195:0:o;5783:530::-;5910:12;5968:5;5943:21;:30;;5935:81;;;;-1:-1:-1;;;5935:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6035:18;6046:6;6035:10;:18::i;:::-;6027:60;;;;;-1:-1:-1;;;6027:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;6161:12;6175:23;6202:6;-1:-1:-1;;;;;6202:11:0;6222:5;6230:4;6202:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6202:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6160:75;;;;6253:52;6271:7;6280:10;6292:12;6253:17;:52::i;:::-;6246:59;5783:530;-1:-1:-1;;;;;;;5783:530:0:o;1813:422::-;2180:20;2219:8;;;1813:422::o;8323:742::-;8438:12;8467:7;8463:595;;;-1:-1:-1;8498:10:0;8491:17;;8463:595;8612:17;;:21;8608:439;;8875:10;8869:17;8936:15;8923:10;8919:2;8915:19;8908:44;8823:148;9018:12;9011:20;;-1:-1:-1;;;9011:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

ipfs://499e93d6ca44d0cce3fcc72743cbaedf8856cde0758f62dae01497ca508c85ea
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.