ETH Price: $3,757.94 (-2.73%)
Gas: 13 Gwei

Contract

0x08cbe2703b030432bCC6Ce5950b465186502E610
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Recover_unsold_t...135771062021-11-08 17:31:57933 days ago1636392717IN
0x08cbe270...86502E610
0 ETH0.03930168144.45485281
Execute_purchase135555862021-11-05 8:40:03936 days ago1636101603IN
0x08cbe270...86502E610
0 ETH0.0431581299.5
Execute_purchase135540752021-11-05 3:02:00937 days ago1636081320IN
0x08cbe270...86502E610
0 ETH0.05384212124.4878758
Execute_purchase135463802021-11-03 21:48:06938 days ago1635976086IN
0x08cbe270...86502E610
0 ETH0.09119252172.42444151
Execute_purchase134570572021-10-20 21:48:10952 days ago1634766490IN
0x08cbe270...86502E610
0 ETH0.0288301165.92617712
Execute_purchase134040102021-10-12 13:51:42960 days ago1634046702IN
0x08cbe270...86502E610
0 ETH0.0312372
Execute_purchase133772512021-10-08 8:56:40964 days ago1633683400IN
0x08cbe270...86502E610
0 ETH0.04862176107
Start133734312021-10-07 18:37:36965 days ago1633631856IN
0x08cbe270...86502E610
0 ETH0.01062546133.41867904
0x60806040133348212021-10-01 17:26:37971 days ago1633109197IN
 Create: PurchaseExecutor
0 ETH0.2455348680.49866898

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PurchaseExecutor

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 9 : PurchaseExecutor.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "./interfaces/GeneralTokenVesting.sol";
import "./interfaces/Finance.sol";

/**
 * @title PurchaseExecutor
 * @dev allow a whitelisted set of addresses to purchase SARCO tokens, for stablecoins (USDC), at a set rate
 */
contract PurchaseExecutor is Ownable {
    using SafeERC20 for IERC20;

    IERC20 public USDC_TOKEN;
    IERC20 public SARCO_TOKEN;
    address public GENERAL_TOKEN_VESTING;
    address public SARCO_DAO;
    uint256 public usdc_to_sarco_precision = 10**18;
    uint256 public sarco_to_usdc_decimal_fix = 10**(18 - 6);

    uint256 public usdc_to_sarco_rate;
    uint256 public sarco_allocations_total;
    mapping(address => uint256) public sarco_allocations;

    // Timing in seconds
    uint256 public offer_expiration_delay;
    uint256 public offer_started_at;
    uint256 public offer_expires_at;
    uint256 public vesting_end_delay;

    // The purchase has been executed exchanging USDC to vested SARCO
    event PurchaseExecuted(
        // the address that has received the vested SARCO tokens
        address indexed sarco_receiver,
        // the number of SARCO tokens vested to sarco_receiver
        uint256 sarco_allocation,
        // the amount of USDC that was paid and forwarded to the DAO
        uint256 usdc_cost
    );

    // Creates a window of time which the whitelisted set of addresses may purchase SARCO
    event OfferStarted(
        // Window start time
        uint256 started_at,
        // Window end time
        uint256 expires_at
    );

    // If tokens have not been purchased after time window, the DAO can recover tokens
    event TokensRecovered(
        // Amount of Tokens
        uint256 amount
    );

    /**
     * @dev inits/sets sarco purchase enviorment
     * @param _usdc_to_sarco_rate How much SARCO one gets for one USDC
     * @param _vesting_end_delay Delay from the purchase moment to the vesting end moment, in seconds
     * @param _offer_expiration_delay Delay from the contract deployment to offer expiration, in seconds
     * @param _sarco_purchasers  List of valid SARCO purchasers
     * @param _sarco_allocations List of SARCO token allocations, should include decimals 10 ** 18
     * @param _sarco_allocations_total Checksum of SARCO token allocations, should include decimals 10 ** 18
     * @param _usdc_token USDC token address
     * @param _sarco_token Sarco token address
     * @param _general_token_vesting GeneralTokenVesting contract address
     * @param _sarco_dao Sarco DAO contract address
     */
    constructor(
        uint256 _usdc_to_sarco_rate,
        uint256 _vesting_end_delay,
        uint256 _offer_expiration_delay,
        address[] memory _sarco_purchasers,
        uint256[] memory _sarco_allocations,
        uint256 _sarco_allocations_total,
        address _usdc_token,
        address _sarco_token,
        address _general_token_vesting,
        address _sarco_dao
    ) {
        require(
            _usdc_to_sarco_rate > 0,
            "PurchaseExecutor: _usdc_to_sarco_rate must be greater than 0"
        );
        require(
            _vesting_end_delay > 0,
            "PurchaseExecutor: end_delay must be greater than 0"
        );
        require(
            _offer_expiration_delay > 0,
            "PurchaseExecutor: offer_expiration must be greater than 0"
        );
        require(
            _sarco_purchasers.length == _sarco_allocations.length,
            "PurchaseExecutor: purchasers and allocations lengths must be equal"
        );
        require(
            _usdc_token != address(0),
            "PurchaseExecutor: _usdc_token cannot be 0 address"
        );
        require(
            _sarco_token != address(0),
            "PurchaseExecutor: _sarco_token cannot be 0 address"
        );
        require(
            _general_token_vesting != address(0),
            "PurchaseExecutor: _general_token_vesting cannot be 0 address"
        );
        require(
            _sarco_dao != address(0),
            "PurchaseExecutor: _sarco_dao cannot be 0 address"
        );

        // Set global variables
        usdc_to_sarco_rate = _usdc_to_sarco_rate;
        vesting_end_delay = _vesting_end_delay;
        offer_expiration_delay = _offer_expiration_delay;
        sarco_allocations_total = _sarco_allocations_total;
        USDC_TOKEN = IERC20(_usdc_token);
        SARCO_TOKEN = IERC20(_sarco_token);
        GENERAL_TOKEN_VESTING = _general_token_vesting;
        SARCO_DAO = _sarco_dao;

        uint256 allocations_sum = 0;

        for (uint256 i = 0; i < _sarco_purchasers.length; i++) {
            address purchaser = _sarco_purchasers[i];
            require(
                purchaser != address(0),
                "PurchaseExecutor: Purchaser cannot be the ZERO address"
            );
            require(
                sarco_allocations[purchaser] == 0,
                "PurchaseExecutor: Allocation has already been set"
            );
            uint256 allocation = _sarco_allocations[i];
            require(
                allocation > 0,
                "PurchaseExecutor: No allocated Sarco tokens for address"
            );
            sarco_allocations[purchaser] = allocation;
            allocations_sum += allocation;
        }
        require(
            allocations_sum == _sarco_allocations_total,
            "PurchaseExecutor: Allocations_total does not equal the sum of passed allocations"
        );

        // Approve SarcoDao - PurchaseExecutor's total USDC tokens (Execute Purchase)
        USDC_TOKEN.approve(
            _sarco_dao,
            get_usdc_cost(_sarco_allocations_total)
        );

        // Approve full SARCO amount to GeneralTokenVesting contract
        SARCO_TOKEN.approve(GENERAL_TOKEN_VESTING, _sarco_allocations_total);

        // Approve SarcoDao - Purchase Executor's total SARCO tokens (Recover Tokens)
        SARCO_TOKEN.approve(_sarco_dao, _sarco_allocations_total);
    }

    function get_usdc_cost(uint256 sarco_amount)
        internal
        view
        returns (uint256)
    {
        return
            ((sarco_amount * usdc_to_sarco_precision) / usdc_to_sarco_rate) /
            sarco_to_usdc_decimal_fix;
    }

    function offer_started() public view returns (bool) {
        return offer_started_at != 0;
    }

    function offer_expired() public view returns (bool) {
        return block.timestamp >= offer_expires_at;
    }

    /**
     * @notice Starts the offer if it 1) hasn't been started yet and 2) has received funding in full.
     */
    function _start_unless_started() internal {
        require(
            offer_started_at == 0,
            "PurchaseExecutor: Offer has already started"
        );
        require(
            SARCO_TOKEN.balanceOf(address(this)) == sarco_allocations_total,
            "PurchaseExecutor: Insufficient Sarco contract balance to start offer"
        );

        offer_started_at = block.timestamp;
        offer_expires_at = block.timestamp + offer_expiration_delay;
        emit OfferStarted(offer_started_at, offer_expires_at);
    }

    function start() external {
        _start_unless_started();
    }

    /**
     * @dev Returns the Sarco allocation and the USDC cost to purchase the Sarco Allocation of the whitelisted Sarco Purchaser
     * @param sarco_receiver Whitelisted Sarco Purchaser
     * @return A tuple: the first element is the amount of SARCO available for purchase (zero if
        the purchase was already executed for that address), the second element is the
        USDC cost of the purchase.
     */
    function get_allocation(address sarco_receiver)
        public
        view
        returns (uint256, uint256)
    {
        uint256 sarco_allocation = sarco_allocations[sarco_receiver];
        uint256 usdc_cost = get_usdc_cost(sarco_allocation);

        return (sarco_allocation, usdc_cost);
    }

    /**
     * @dev Purchases Sarco for the specified address in exchange for USDC.
     * @notice Sends USDC tokens used to purchase Sarco to Sarco DAO, 
     Approves GeneralTokenVesting contract Sarco Tokens to utilizes allocated Sarco funds,
     Starts token vesting via GeneralTokenVesting contract.
     * @param sarco_receiver Whitelisted Sarco Purchaser
     */
    function execute_purchase(address sarco_receiver) external {
        if (offer_started_at == 0) {
            _start_unless_started();
        }
        require(
            block.timestamp < offer_expires_at,
            "PurchaseExecutor: Purchases cannot be made after the offer has expired"
        );

        (uint256 sarco_allocation, uint256 usdc_cost) = get_allocation(msg.sender);

        // Check sender's allocation
        require(
            sarco_allocation > 0,
            "PurchaseExecutor: sender does not have a SARCO allocation"
        );

        // Clear sender's allocation
        sarco_allocations[msg.sender] = 0;

        // transfer sender's USDC to this contract
        USDC_TOKEN.safeTransferFrom(msg.sender, address(this), usdc_cost);

        // Dynamically Build finance app's "message" string
        string memory _executedPurchaseString = string(
            abi.encodePacked(
                "Purchase Executed by account: ",
                Strings.toHexString(uint160(msg.sender), 20),
                " for account: ",
                Strings.toHexString(uint160(sarco_receiver), 20),
                ". Total SARCOs Purchased: ",
                Strings.toString(sarco_allocation),
                "."
            )
        );

        // Forward USDC cost of the purchase to the DAO contract via the Finance Deposit method
        Finance(SARCO_DAO).deposit(
            address(USDC_TOKEN),
            usdc_cost,
            _executedPurchaseString
        );

        // Call GeneralTokenVesting startVest method
        GeneralTokenVesting(GENERAL_TOKEN_VESTING).startVest(
            sarco_receiver,
            sarco_allocation,
            vesting_end_delay,
            address(SARCO_TOKEN)
        );

        emit PurchaseExecuted(sarco_receiver, sarco_allocation, usdc_cost);
    }

    /**
     * @dev If unsold_sarco_amount > 0 after the offer expired, sarco tokens are send back to Sarco Dao via Finance Contract.
     */
    function recover_unsold_tokens() external {
        require(
            offer_started(),
            "PurchaseExecutor: Purchase offer has not yet started"
        );
        require(
            offer_expired(),
            "PurchaseExecutor: Purchase offer has not yet expired"
        );

        uint256 unsold_sarco_amount = SARCO_TOKEN.balanceOf(address(this));

        require(
            unsold_sarco_amount > 0,
            "PurchaseExecutor: There are no Sarco tokens to recover"
        );

        // Dynamically Build finance app's "message" string
        string memory _recoverTokensString = "Recovered unsold SARCO tokens";

        // Forward recoverable SARCO tokens to the DAO contract via the Finance Deposit method
        Finance(SARCO_DAO).deposit(
            address(SARCO_TOKEN),
            unsold_sarco_amount,
            _recoverTokensString
        );

        // zero out token approvals that this contract has given in its constructor
        USDC_TOKEN.approve(SARCO_DAO, 0);
        SARCO_TOKEN.approve(GENERAL_TOKEN_VESTING, 0);
        SARCO_TOKEN.approve(SARCO_DAO, 0);

        emit TokensRecovered(unsold_sarco_amount);
    }

    /**
     * @dev Remember that only owner can call so be careful when use on contracts generated from other contracts.
     * @param tokenAddress The token contract address
     * @param tokenAmount Number of tokens to be sent
     * @param recipientAddress The address to send tokens to
     */
    function recover_erc20(address tokenAddress, uint256 tokenAmount, address recipientAddress) public onlyOwner {
        IERC20(tokenAddress).safeTransfer(recipientAddress, tokenAmount);
    }
}

File 3 of 9 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.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.
 */
abstract 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() {
        _setOwner(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual 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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 4 of 9 : SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

/**
 * @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 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'
        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) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _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
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 5 of 9 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 6 of 9 : GeneralTokenVesting.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

interface GeneralTokenVesting {
    function startVest(
        address beneficiary,
        uint256 tokensToVest,
        uint256 vestDuration,
        address tokenAddress
    ) external;
}

File 7 of 9 : Finance.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

interface Finance {
    function deposit(
        address _token,
        uint256 _value,
        string memory _reference
    ) external payable;
}

File 8 of 9 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with 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) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 9 of 9 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @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 10 of 9 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

        (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");

        (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");

        (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");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal 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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_usdc_to_sarco_rate","type":"uint256"},{"internalType":"uint256","name":"_vesting_end_delay","type":"uint256"},{"internalType":"uint256","name":"_offer_expiration_delay","type":"uint256"},{"internalType":"address[]","name":"_sarco_purchasers","type":"address[]"},{"internalType":"uint256[]","name":"_sarco_allocations","type":"uint256[]"},{"internalType":"uint256","name":"_sarco_allocations_total","type":"uint256"},{"internalType":"address","name":"_usdc_token","type":"address"},{"internalType":"address","name":"_sarco_token","type":"address"},{"internalType":"address","name":"_general_token_vesting","type":"address"},{"internalType":"address","name":"_sarco_dao","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"started_at","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"expires_at","type":"uint256"}],"name":"OfferStarted","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":"sarco_receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"sarco_allocation","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"usdc_cost","type":"uint256"}],"name":"PurchaseExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokensRecovered","type":"event"},{"inputs":[],"name":"GENERAL_TOKEN_VESTING","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SARCO_DAO","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SARCO_TOKEN","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"USDC_TOKEN","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sarco_receiver","type":"address"}],"name":"execute_purchase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sarco_receiver","type":"address"}],"name":"get_allocation","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"offer_expiration_delay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"offer_expired","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"offer_expires_at","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"offer_started","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"offer_started_at","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"},{"internalType":"address","name":"recipientAddress","type":"address"}],"name":"recover_erc20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"recover_unsold_tokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"sarco_allocations","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sarco_allocations_total","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sarco_to_usdc_decimal_fix","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"start","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"usdc_to_sarco_precision","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"usdc_to_sarco_rate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vesting_end_delay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

6080604052670de0b6b3a764000060055564e8d4a510006006553480156200002657600080fd5b506040516200436b3803806200436b83398181016040528101906200004c919062000c18565b6200006c620000606200096060201b60201c565b6200096860201b60201c565b60008a11620000b2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000a99062000f5d565b60405180910390fd5b60008911620000f8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000ef906200106d565b60405180910390fd5b600088116200013e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001359062000fe5565b60405180910390fd5b855187511462000185576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200017c9062001029565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415620001f8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001ef90620010d3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156200026b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200026290620010b1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620002de576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002d59062000fa1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141562000351576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003489062000f7f565b60405180910390fd5b8960078190555088600d8190555087600a819055508460088190555083600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000805b8851811015620006b5576000898281518110620004bb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141562000538576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200052f906200104b565b60405180910390fd5b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414620005bd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005b4906200108f565b60405180910390fd5b6000898381518110620005f9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000811162000649576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006409062000fc3565b60405180910390fd5b80600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080846200069b91906200118d565b935050508080620006ac9062001303565b91505062000475565b50858114620006fb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006f29062001007565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b3836200074b8962000a2c60201b60201c565b6040518363ffffffff1660e01b81526004016200076a92919062000f30565b602060405180830381600087803b1580156200078557600080fd5b505af11580156200079a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007c0919062000bec565b50600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16886040518363ffffffff1660e01b81526004016200084292919062000f30565b602060405180830381600087803b1580156200085d57600080fd5b505af115801562000872573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000898919062000bec565b50600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b383886040518363ffffffff1660e01b8152600401620008f892919062000f30565b602060405180830381600087803b1580156200091357600080fd5b505af115801562000928573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200094e919062000bec565b5050505050505050505050506200183d565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006006546007546005548462000a44919062001222565b62000a509190620011ea565b62000a5c9190620011ea565b9050919050565b600062000a7a62000a74846200111e565b620010f5565b9050808382526020820190508285602086028201111562000a9a57600080fd5b60005b8581101562000ace578162000ab3888262000b4d565b84526020840193506020830192505060018101905062000a9d565b5050509392505050565b600062000aef62000ae9846200114d565b620010f5565b9050808382526020820190508285602086028201111562000b0f57600080fd5b60005b8581101562000b43578162000b28888262000bd5565b84526020840193506020830192505060018101905062000b12565b5050509392505050565b60008151905062000b5e81620017ef565b92915050565b600082601f83011262000b7657600080fd5b815162000b8884826020860162000a63565b91505092915050565b600082601f83011262000ba357600080fd5b815162000bb584826020860162000ad8565b91505092915050565b60008151905062000bcf8162001809565b92915050565b60008151905062000be68162001823565b92915050565b60006020828403121562000bff57600080fd5b600062000c0f8482850162000bbe565b91505092915050565b6000806000806000806000806000806101408b8d03121562000c3957600080fd5b600062000c498d828e0162000bd5565b9a5050602062000c5c8d828e0162000bd5565b995050604062000c6f8d828e0162000bd5565b98505060608b015167ffffffffffffffff81111562000c8d57600080fd5b62000c9b8d828e0162000b64565b97505060808b015167ffffffffffffffff81111562000cb957600080fd5b62000cc78d828e0162000b91565b96505060a062000cda8d828e0162000bd5565b95505060c062000ced8d828e0162000b4d565b94505060e062000d008d828e0162000b4d565b93505061010062000d148d828e0162000b4d565b92505061012062000d288d828e0162000b4d565b9150509295989b9194979a5092959850565b62000d458162001283565b82525050565b600062000d5a603c836200117c565b915062000d6782620013ef565b604082019050919050565b600062000d816030836200117c565b915062000d8e826200143e565b604082019050919050565b600062000da8603c836200117c565b915062000db5826200148d565b604082019050919050565b600062000dcf6037836200117c565b915062000ddc82620014dc565b604082019050919050565b600062000df66039836200117c565b915062000e03826200152b565b604082019050919050565b600062000e1d6050836200117c565b915062000e2a826200157a565b606082019050919050565b600062000e446042836200117c565b915062000e5182620015ef565b606082019050919050565b600062000e6b6036836200117c565b915062000e788262001664565b604082019050919050565b600062000e926032836200117c565b915062000e9f82620016b3565b604082019050919050565b600062000eb96031836200117c565b915062000ec68262001702565b604082019050919050565b600062000ee06032836200117c565b915062000eed8262001751565b604082019050919050565b600062000f076031836200117c565b915062000f1482620017a0565b604082019050919050565b62000f2a81620012c3565b82525050565b600060408201905062000f47600083018562000d3a565b62000f56602083018462000f1f565b9392505050565b6000602082019050818103600083015262000f788162000d4b565b9050919050565b6000602082019050818103600083015262000f9a8162000d72565b9050919050565b6000602082019050818103600083015262000fbc8162000d99565b9050919050565b6000602082019050818103600083015262000fde8162000dc0565b9050919050565b60006020820190508181036000830152620010008162000de7565b9050919050565b60006020820190508181036000830152620010228162000e0e565b9050919050565b60006020820190508181036000830152620010448162000e35565b9050919050565b60006020820190508181036000830152620010668162000e5c565b9050919050565b60006020820190508181036000830152620010888162000e83565b9050919050565b60006020820190508181036000830152620010aa8162000eaa565b9050919050565b60006020820190508181036000830152620010cc8162000ed1565b9050919050565b60006020820190508181036000830152620010ee8162000ef8565b9050919050565b60006200110162001114565b90506200110f8282620012cd565b919050565b6000604051905090565b600067ffffffffffffffff8211156200113c576200113b620013af565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156200116b576200116a620013af565b5b602082029050602081019050919050565b600082825260208201905092915050565b60006200119a82620012c3565b9150620011a783620012c3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620011df57620011de62001351565b5b828201905092915050565b6000620011f782620012c3565b91506200120483620012c3565b92508262001217576200121662001380565b5b828204905092915050565b60006200122f82620012c3565b91506200123c83620012c3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161562001278576200127762001351565b5b828202905092915050565b60006200129082620012a3565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b620012d882620013de565b810181811067ffffffffffffffff82111715620012fa57620012f9620013af565b5b80604052505050565b60006200131082620012c3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141562001346576200134562001351565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f50757263686173654578656375746f723a205f757364635f746f5f736172636f60008201527f5f72617465206d7573742062652067726561746572207468616e203000000000602082015250565b7f50757263686173654578656375746f723a205f736172636f5f64616f2063616e60008201527f6e6f742062652030206164647265737300000000000000000000000000000000602082015250565b7f50757263686173654578656375746f723a205f67656e6572616c5f746f6b656e60008201527f5f76657374696e672063616e6e6f742062652030206164647265737300000000602082015250565b7f50757263686173654578656375746f723a204e6f20616c6c6f6361746564205360008201527f6172636f20746f6b656e7320666f722061646472657373000000000000000000602082015250565b7f50757263686173654578656375746f723a206f666665725f657870697261746960008201527f6f6e206d7573742062652067726561746572207468616e203000000000000000602082015250565b7f50757263686173654578656375746f723a20416c6c6f636174696f6e735f746f60008201527f74616c20646f6573206e6f7420657175616c207468652073756d206f6620706160208201527f7373656420616c6c6f636174696f6e7300000000000000000000000000000000604082015250565b7f50757263686173654578656375746f723a207075726368617365727320616e6460008201527f20616c6c6f636174696f6e73206c656e67746873206d7573742062652065717560208201527f616c000000000000000000000000000000000000000000000000000000000000604082015250565b7f50757263686173654578656375746f723a205075726368617365722063616e6e60008201527f6f7420626520746865205a45524f206164647265737300000000000000000000602082015250565b7f50757263686173654578656375746f723a20656e645f64656c6179206d75737460008201527f2062652067726561746572207468616e20300000000000000000000000000000602082015250565b7f50757263686173654578656375746f723a20416c6c6f636174696f6e2068617360008201527f20616c7265616479206265656e20736574000000000000000000000000000000602082015250565b7f50757263686173654578656375746f723a205f736172636f5f746f6b656e206360008201527f616e6e6f74206265203020616464726573730000000000000000000000000000602082015250565b7f50757263686173654578656375746f723a205f757364635f746f6b656e20636160008201527f6e6e6f7420626520302061646472657373000000000000000000000000000000602082015250565b620017fa8162001283565b81146200180657600080fd5b50565b620018148162001297565b81146200182057600080fd5b50565b6200182e81620012c3565b81146200183a57600080fd5b50565b612b1e806200184d6000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c8063a6ec9d12116100c3578063dd8537d71161007c578063dd8537d714610338578063ec1d1e8a14610342578063edd885b414610360578063f2fde38b1461037c578063f3fe77ec14610398578063fa569274146103c95761014d565b8063a6ec9d121461029a578063b3ec0df0146102b8578063be9a6555146102d6578063cb5b5995146102e0578063d121047c146102fe578063d13bc4131461031a5761014d565b8063715018a611610115578063715018a6146101e85780637342ec0c146101f2578063826e7796146102105780638da5cb5b14610240578063953834f81461025e5780639662dc591461027c5761014d565b8063011289e3146101525780630e8391981461017057806335a18d301461018e5780633919c756146101ac57806367ae0ffd146101ca575b600080fd5b61015a6103e7565b60405161016791906122c8565b60405180910390f35b6101786103ed565b60405161018591906120d0565b60405180910390f35b6101966103fa565b6040516101a391906120d0565b60405180910390f35b6101b4610407565b6040516101c19190611fa9565b60405180910390f35b6101d261042d565b6040516101df91906122c8565b60405180910390f35b6101f0610433565b005b6101fa6104bb565b60405161020791906122c8565b60405180910390f35b61022a60048036038101906102259190611b32565b6104c1565b60405161023791906122c8565b60405180910390f35b6102486104d9565b6040516102559190611fa9565b60405180910390f35b610266610502565b60405161027391906122c8565b60405180910390f35b610284610508565b60405161029191906122c8565b60405180910390f35b6102a261050e565b6040516102af9190611fa9565b60405180910390f35b6102c0610534565b6040516102cd91906122c8565b60405180910390f35b6102de61053a565b005b6102e8610544565b6040516102f591906122c8565b60405180910390f35b61031860048036038101906103139190611b32565b61054a565b005b6103226108b9565b60405161032f91906122c8565b60405180910390f35b6103406108bf565b005b61034a610de0565b60405161035791906120eb565b60405180910390f35b61037a60048036038101906103759190611b5b565b610e06565b005b61039660048036038101906103919190611b32565b610eb2565b005b6103b260048036038101906103ad9190611b32565b610faa565b6040516103c09291906122e3565b60405180910390f35b6103d161100b565b6040516103de91906120eb565b60405180910390f35b60055481565b600080600b541415905090565b6000600c54421015905090565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60065481565b61043b611031565b73ffffffffffffffffffffffffffffffffffffffff166104596104d9565b73ffffffffffffffffffffffffffffffffffffffff16146104af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104a6906121e8565b60405180910390fd5b6104b96000611039565b565b60075481565b60096020528060005260406000206000915090505481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600b5481565b600a5481565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600c5481565b6105426110fd565b565b60085481565b6000600b54141561055e5761055d6110fd565b5b600c5442106105a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610599906121c8565b60405180910390fd5b6000806105ae33610faa565b91509150600082116105f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105ec90612228565b60405180910390fd5b6000600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610689333083600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661128a909392919063ffffffff16565b60006106ac3373ffffffffffffffffffffffffffffffffffffffff166014611313565b6106cd8573ffffffffffffffffffffffffffffffffffffffff166014611313565b6106d68561160d565b6040516020016106e893929190611f4c565b6040516020818303038152906040529050600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bfe07da6600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684846040518463ffffffff1660e01b815260040161077a9392919061204d565b600060405180830381600087803b15801561079457600080fd5b505af11580156107a8573d6000803e3d6000fd5b50505050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e9824d4f8585600d54600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518563ffffffff1660e01b8152600401610831949392919061208b565b600060405180830381600087803b15801561084b57600080fd5b505af115801561085f573d6000803e3d6000fd5b505050508373ffffffffffffffffffffffffffffffffffffffff167f262152355731b9a323567e266064557ec9a5ed03bd75b80631a39eeb22e8503e84846040516108ab9291906122e3565b60405180910390a250505050565b600d5481565b6108c76103ed565b610906576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108fd90612208565b60405180910390fd5b61090e6103fa565b61094d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094490612148565b60405180910390fd5b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016109aa9190611fa9565b60206040518083038186803b1580156109c257600080fd5b505afa1580156109d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109fa9190611bd3565b905060008111610a3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3690612248565b60405180910390fd5b60006040518060400160405280601d81526020017f5265636f766572656420756e736f6c6420534152434f20746f6b656e730000008152509050600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bfe07da6600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684846040518463ffffffff1660e01b8152600401610afa9392919061204d565b600060405180830381600087803b158015610b1457600080fd5b505af1158015610b28573d6000803e3d6000fd5b50505050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660006040518363ffffffff1660e01b8152600401610bac929190611ffb565b602060405180830381600087803b158015610bc657600080fd5b505af1158015610bda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bfe9190611baa565b50600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660006040518363ffffffff1660e01b8152600401610c7f929190611ffb565b602060405180830381600087803b158015610c9957600080fd5b505af1158015610cad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd19190611baa565b50600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660006040518363ffffffff1660e01b8152600401610d52929190611ffb565b602060405180830381600087803b158015610d6c57600080fd5b505af1158015610d80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da49190611baa565b507fbe842a2fe0dcb4d753f6d8de0884c9fe5e49f6c1e9d4c1b61d2a0c8fe165063182604051610dd491906122c8565b60405180910390a15050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610e0e611031565b73ffffffffffffffffffffffffffffffffffffffff16610e2c6104d9565b73ffffffffffffffffffffffffffffffffffffffff1614610e82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e79906121e8565b60405180910390fd5b610ead81838573ffffffffffffffffffffffffffffffffffffffff166117ba9092919063ffffffff16565b505050565b610eba611031565b73ffffffffffffffffffffffffffffffffffffffff16610ed86104d9565b73ffffffffffffffffffffffffffffffffffffffff1614610f2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f25906121e8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9590612168565b60405180910390fd5b610fa781611039565b50565b6000806000600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000610ffc82611840565b90508181935093505050915091565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600b5414611142576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113990612188565b60405180910390fd5b600854600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016111a09190611fa9565b60206040518083038186803b1580156111b857600080fd5b505afa1580156111cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f09190611bd3565b14611230576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122790612268565b60405180910390fd5b42600b81905550600a54426112459190612349565b600c819055507f20d65dc806f1ba6ab51537d616d92bf870e9c4db31557a7d0756636321802582600b54600c546040516112809291906122e3565b60405180910390a1565b61130d846323b872dd60e01b8585856040516024016112ab93929190611fc4565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611871565b50505050565b60606000600283600261132691906123d0565b6113309190612349565b67ffffffffffffffff81111561136f577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156113a15781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106113ff577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110611489577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026114c991906123d0565b6114d39190612349565b90505b60018111156115bf577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811061153b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110611578577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806115b89061250f565b90506114d6565b5060008414611603576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fa90612128565b60405180910390fd5b8091505092915050565b60606000821415611655576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506117b5565b600082905060005b6000821461168757808061167090612539565b915050600a82611680919061239f565b915061165d565b60008167ffffffffffffffff8111156116c9577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156116fb5781602001600182028036833780820191505090505b5090505b600085146117ae57600182611714919061242a565b9150600a856117239190612582565b603061172f9190612349565b60f81b81838151811061176b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856117a7919061239f565b94506116ff565b8093505050505b919050565b61183b8363a9059cbb60e01b84846040516024016117d9929190612024565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611871565b505050565b60006006546007546005548461185691906123d0565b611860919061239f565b61186a919061239f565b9050919050565b60006118d3826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166119389092919063ffffffff16565b905060008151111561193357808060200190518101906118f39190611baa565b611932576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611929906122a8565b60405180910390fd5b5b505050565b60606119478484600085611950565b90509392505050565b606082471015611995576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198c906121a8565b60405180910390fd5b61199e85611a64565b6119dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d490612288565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051611a069190611f35565b60006040518083038185875af1925050503d8060008114611a43576040519150601f19603f3d011682016040523d82523d6000602084013e611a48565b606091505b5091509150611a58828286611a77565b92505050949350505050565b600080823b905060008111915050919050565b60608315611a8757829050611ad7565b600083511115611a9a5782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ace9190612106565b60405180910390fd5b9392505050565b600081359050611aed81612aa3565b92915050565b600081519050611b0281612aba565b92915050565b600081359050611b1781612ad1565b92915050565b600081519050611b2c81612ad1565b92915050565b600060208284031215611b4457600080fd5b6000611b5284828501611ade565b91505092915050565b600080600060608486031215611b7057600080fd5b6000611b7e86828701611ade565b9350506020611b8f86828701611b08565b9250506040611ba086828701611ade565b9150509250925092565b600060208284031215611bbc57600080fd5b6000611bca84828501611af3565b91505092915050565b600060208284031215611be557600080fd5b6000611bf384828501611b1d565b91505092915050565b611c058161245e565b82525050565b611c1481612470565b82525050565b6000611c258261230c565b611c2f8185612322565b9350611c3f8185602086016124dc565b80840191505092915050565b611c54816124a6565b82525050565b611c63816124ca565b82525050565b6000611c7482612317565b611c7e818561232d565b9350611c8e8185602086016124dc565b611c9781612611565b840191505092915050565b6000611cad82612317565b611cb7818561233e565b9350611cc78185602086016124dc565b80840191505092915050565b6000611ce060208361232d565b9150611ceb82612622565b602082019050919050565b6000611d0360348361232d565b9150611d0e8261264b565b604082019050919050565b6000611d2660268361232d565b9150611d318261269a565b604082019050919050565b6000611d49602b8361232d565b9150611d54826126e9565b604082019050919050565b6000611d6c601a8361233e565b9150611d7782612738565b601a82019050919050565b6000611d8f60268361232d565b9150611d9a82612761565b604082019050919050565b6000611db260018361233e565b9150611dbd826127b0565b600182019050919050565b6000611dd560468361232d565b9150611de0826127d9565b606082019050919050565b6000611df860208361232d565b9150611e038261284e565b602082019050919050565b6000611e1b600e8361233e565b9150611e2682612877565b600e82019050919050565b6000611e3e60348361232d565b9150611e49826128a0565b604082019050919050565b6000611e6160398361232d565b9150611e6c826128ef565b604082019050919050565b6000611e8460368361232d565b9150611e8f8261293e565b604082019050919050565b6000611ea760448361232d565b9150611eb28261298d565b606082019050919050565b6000611eca601d8361232d565b9150611ed582612a02565b602082019050919050565b6000611eed601e8361233e565b9150611ef882612a2b565b601e82019050919050565b6000611f10602a8361232d565b9150611f1b82612a54565b604082019050919050565b611f2f8161249c565b82525050565b6000611f418284611c1a565b915081905092915050565b6000611f5782611ee0565b9150611f638286611ca2565b9150611f6e82611e0e565b9150611f7a8285611ca2565b9150611f8582611d5f565b9150611f918284611ca2565b9150611f9c82611da5565b9150819050949350505050565b6000602082019050611fbe6000830184611bfc565b92915050565b6000606082019050611fd96000830186611bfc565b611fe66020830185611bfc565b611ff36040830184611f26565b949350505050565b60006040820190506120106000830185611bfc565b61201d6020830184611c5a565b9392505050565b60006040820190506120396000830185611bfc565b6120466020830184611f26565b9392505050565b60006060820190506120626000830186611bfc565b61206f6020830185611f26565b81810360408301526120818184611c69565b9050949350505050565b60006080820190506120a06000830187611bfc565b6120ad6020830186611f26565b6120ba6040830185611f26565b6120c76060830184611bfc565b95945050505050565b60006020820190506120e56000830184611c0b565b92915050565b60006020820190506121006000830184611c4b565b92915050565b600060208201905081810360008301526121208184611c69565b905092915050565b6000602082019050818103600083015261214181611cd3565b9050919050565b6000602082019050818103600083015261216181611cf6565b9050919050565b6000602082019050818103600083015261218181611d19565b9050919050565b600060208201905081810360008301526121a181611d3c565b9050919050565b600060208201905081810360008301526121c181611d82565b9050919050565b600060208201905081810360008301526121e181611dc8565b9050919050565b6000602082019050818103600083015261220181611deb565b9050919050565b6000602082019050818103600083015261222181611e31565b9050919050565b6000602082019050818103600083015261224181611e54565b9050919050565b6000602082019050818103600083015261226181611e77565b9050919050565b6000602082019050818103600083015261228181611e9a565b9050919050565b600060208201905081810360008301526122a181611ebd565b9050919050565b600060208201905081810360008301526122c181611f03565b9050919050565b60006020820190506122dd6000830184611f26565b92915050565b60006040820190506122f86000830185611f26565b6123056020830184611f26565b9392505050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006123548261249c565b915061235f8361249c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612394576123936125b3565b5b828201905092915050565b60006123aa8261249c565b91506123b58361249c565b9250826123c5576123c46125e2565b5b828204905092915050565b60006123db8261249c565b91506123e68361249c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561241f5761241e6125b3565b5b828202905092915050565b60006124358261249c565b91506124408361249c565b925082821015612453576124526125b3565b5b828203905092915050565b60006124698261247c565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006124b1826124b8565b9050919050565b60006124c38261247c565b9050919050565b60006124d58261249c565b9050919050565b60005b838110156124fa5780820151818401526020810190506124df565b83811115612509576000848401525b50505050565b600061251a8261249c565b9150600082141561252e5761252d6125b3565b5b600182039050919050565b60006125448261249c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612577576125766125b3565b5b600182019050919050565b600061258d8261249c565b91506125988361249c565b9250826125a8576125a76125e2565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f50757263686173654578656375746f723a205075726368617365206f6666657260008201527f20686173206e6f74207965742065787069726564000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f50757263686173654578656375746f723a204f666665722068617320616c726560008201527f6164792073746172746564000000000000000000000000000000000000000000602082015250565b7f2e20546f74616c20534152434f73205075726368617365643a20000000000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f2e00000000000000000000000000000000000000000000000000000000000000600082015250565b7f50757263686173654578656375746f723a205075726368617365732063616e6e60008201527f6f74206265206d61646520616674657220746865206f6666657220686173206560208201527f7870697265640000000000000000000000000000000000000000000000000000604082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f20666f72206163636f756e743a20000000000000000000000000000000000000600082015250565b7f50757263686173654578656375746f723a205075726368617365206f6666657260008201527f20686173206e6f74207965742073746172746564000000000000000000000000602082015250565b7f50757263686173654578656375746f723a2073656e64657220646f6573206e6f60008201527f742068617665206120534152434f20616c6c6f636174696f6e00000000000000602082015250565b7f50757263686173654578656375746f723a20546865726520617265206e6f205360008201527f6172636f20746f6b656e7320746f207265636f76657200000000000000000000602082015250565b7f50757263686173654578656375746f723a20496e73756666696369656e74205360008201527f6172636f20636f6e74726163742062616c616e636520746f207374617274206f60208201527f6666657200000000000000000000000000000000000000000000000000000000604082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f5075726368617365204578656375746564206279206163636f756e743a200000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b612aac8161245e565b8114612ab757600080fd5b50565b612ac381612470565b8114612ace57600080fd5b50565b612ada8161249c565b8114612ae557600080fd5b5056fea2646970667358221220eb57738f922bfcea2c6434ff8e2cb401dd8b896061c8d6d0e9b6200a7a54fe5364736f6c634300080400330000000000000000000000000000000000000000000000004563918244f400000000000000000000000000000000000000000000000000000000000003c267000000000000000000000000000000000000000000000000000000000000278d0000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000260000000000000000000000000000000000000000000084595161401484a000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000007697b462a7c4ff5f8b55bdbc2f4076c2af9cf51a0000000000000000000000008727c592f28f10b42eb0914a7f6a5885823794c00000000000000000000000003299f6a52983ba00ffaa0d8c2d5075ca3f3b79910000000000000000000000000000000000000000000000000000000000000008000000000000000000000000668a309f651987729cd5383fbe3efbb9c1c682de0000000000000000000000000a3cfc17d993a9d854b5665221b0c4b367d47be40000000000000000000000007e2e80e8250844dd4e558f13850380d5af8f0c61000000000000000000000000faf0d2bb7562d3857f27e995c8fe8684b50132c4000000000000000000000000ba712398fdb5bbb00c588e842a2475c90f7c15fe000000000000000000000000b1cd805ed5b419ba4054375ec9e99fcf1c73da020000000000000000000000003e71dabc6e05755dc3d45175deacabf6ea6b59c9000000000000000000000000de9cb838c6f42f75e2a788e592985c4bbe629f1200000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000422ca8b0a00a4250000000000000000000000000000000000000000000000000211654585005212800000000000000000000000000000000000000000000000009ed194db19b238c00000000000000000000000000000000000000000000000009ed194db19b238c000000000000000000000000000000000000000000000000069e10de76676d08000000000000000000000000000000000000000000000000034f086f3b33b68400000000000000000000000000000000000000000000000001a784379d99db4200000000000000000000000000000000000000000000000001a784379d99db4200000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061014d5760003560e01c8063a6ec9d12116100c3578063dd8537d71161007c578063dd8537d714610338578063ec1d1e8a14610342578063edd885b414610360578063f2fde38b1461037c578063f3fe77ec14610398578063fa569274146103c95761014d565b8063a6ec9d121461029a578063b3ec0df0146102b8578063be9a6555146102d6578063cb5b5995146102e0578063d121047c146102fe578063d13bc4131461031a5761014d565b8063715018a611610115578063715018a6146101e85780637342ec0c146101f2578063826e7796146102105780638da5cb5b14610240578063953834f81461025e5780639662dc591461027c5761014d565b8063011289e3146101525780630e8391981461017057806335a18d301461018e5780633919c756146101ac57806367ae0ffd146101ca575b600080fd5b61015a6103e7565b60405161016791906122c8565b60405180910390f35b6101786103ed565b60405161018591906120d0565b60405180910390f35b6101966103fa565b6040516101a391906120d0565b60405180910390f35b6101b4610407565b6040516101c19190611fa9565b60405180910390f35b6101d261042d565b6040516101df91906122c8565b60405180910390f35b6101f0610433565b005b6101fa6104bb565b60405161020791906122c8565b60405180910390f35b61022a60048036038101906102259190611b32565b6104c1565b60405161023791906122c8565b60405180910390f35b6102486104d9565b6040516102559190611fa9565b60405180910390f35b610266610502565b60405161027391906122c8565b60405180910390f35b610284610508565b60405161029191906122c8565b60405180910390f35b6102a261050e565b6040516102af9190611fa9565b60405180910390f35b6102c0610534565b6040516102cd91906122c8565b60405180910390f35b6102de61053a565b005b6102e8610544565b6040516102f591906122c8565b60405180910390f35b61031860048036038101906103139190611b32565b61054a565b005b6103226108b9565b60405161032f91906122c8565b60405180910390f35b6103406108bf565b005b61034a610de0565b60405161035791906120eb565b60405180910390f35b61037a60048036038101906103759190611b5b565b610e06565b005b61039660048036038101906103919190611b32565b610eb2565b005b6103b260048036038101906103ad9190611b32565b610faa565b6040516103c09291906122e3565b60405180910390f35b6103d161100b565b6040516103de91906120eb565b60405180910390f35b60055481565b600080600b541415905090565b6000600c54421015905090565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60065481565b61043b611031565b73ffffffffffffffffffffffffffffffffffffffff166104596104d9565b73ffffffffffffffffffffffffffffffffffffffff16146104af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104a6906121e8565b60405180910390fd5b6104b96000611039565b565b60075481565b60096020528060005260406000206000915090505481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600b5481565b600a5481565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600c5481565b6105426110fd565b565b60085481565b6000600b54141561055e5761055d6110fd565b5b600c5442106105a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610599906121c8565b60405180910390fd5b6000806105ae33610faa565b91509150600082116105f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105ec90612228565b60405180910390fd5b6000600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610689333083600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661128a909392919063ffffffff16565b60006106ac3373ffffffffffffffffffffffffffffffffffffffff166014611313565b6106cd8573ffffffffffffffffffffffffffffffffffffffff166014611313565b6106d68561160d565b6040516020016106e893929190611f4c565b6040516020818303038152906040529050600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bfe07da6600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684846040518463ffffffff1660e01b815260040161077a9392919061204d565b600060405180830381600087803b15801561079457600080fd5b505af11580156107a8573d6000803e3d6000fd5b50505050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e9824d4f8585600d54600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518563ffffffff1660e01b8152600401610831949392919061208b565b600060405180830381600087803b15801561084b57600080fd5b505af115801561085f573d6000803e3d6000fd5b505050508373ffffffffffffffffffffffffffffffffffffffff167f262152355731b9a323567e266064557ec9a5ed03bd75b80631a39eeb22e8503e84846040516108ab9291906122e3565b60405180910390a250505050565b600d5481565b6108c76103ed565b610906576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108fd90612208565b60405180910390fd5b61090e6103fa565b61094d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094490612148565b60405180910390fd5b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016109aa9190611fa9565b60206040518083038186803b1580156109c257600080fd5b505afa1580156109d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109fa9190611bd3565b905060008111610a3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3690612248565b60405180910390fd5b60006040518060400160405280601d81526020017f5265636f766572656420756e736f6c6420534152434f20746f6b656e730000008152509050600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bfe07da6600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684846040518463ffffffff1660e01b8152600401610afa9392919061204d565b600060405180830381600087803b158015610b1457600080fd5b505af1158015610b28573d6000803e3d6000fd5b50505050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660006040518363ffffffff1660e01b8152600401610bac929190611ffb565b602060405180830381600087803b158015610bc657600080fd5b505af1158015610bda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bfe9190611baa565b50600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660006040518363ffffffff1660e01b8152600401610c7f929190611ffb565b602060405180830381600087803b158015610c9957600080fd5b505af1158015610cad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd19190611baa565b50600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660006040518363ffffffff1660e01b8152600401610d52929190611ffb565b602060405180830381600087803b158015610d6c57600080fd5b505af1158015610d80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da49190611baa565b507fbe842a2fe0dcb4d753f6d8de0884c9fe5e49f6c1e9d4c1b61d2a0c8fe165063182604051610dd491906122c8565b60405180910390a15050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610e0e611031565b73ffffffffffffffffffffffffffffffffffffffff16610e2c6104d9565b73ffffffffffffffffffffffffffffffffffffffff1614610e82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e79906121e8565b60405180910390fd5b610ead81838573ffffffffffffffffffffffffffffffffffffffff166117ba9092919063ffffffff16565b505050565b610eba611031565b73ffffffffffffffffffffffffffffffffffffffff16610ed86104d9565b73ffffffffffffffffffffffffffffffffffffffff1614610f2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f25906121e8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9590612168565b60405180910390fd5b610fa781611039565b50565b6000806000600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000610ffc82611840565b90508181935093505050915091565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600b5414611142576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113990612188565b60405180910390fd5b600854600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016111a09190611fa9565b60206040518083038186803b1580156111b857600080fd5b505afa1580156111cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f09190611bd3565b14611230576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122790612268565b60405180910390fd5b42600b81905550600a54426112459190612349565b600c819055507f20d65dc806f1ba6ab51537d616d92bf870e9c4db31557a7d0756636321802582600b54600c546040516112809291906122e3565b60405180910390a1565b61130d846323b872dd60e01b8585856040516024016112ab93929190611fc4565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611871565b50505050565b60606000600283600261132691906123d0565b6113309190612349565b67ffffffffffffffff81111561136f577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156113a15781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106113ff577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110611489577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026114c991906123d0565b6114d39190612349565b90505b60018111156115bf577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811061153b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110611578577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806115b89061250f565b90506114d6565b5060008414611603576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fa90612128565b60405180910390fd5b8091505092915050565b60606000821415611655576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506117b5565b600082905060005b6000821461168757808061167090612539565b915050600a82611680919061239f565b915061165d565b60008167ffffffffffffffff8111156116c9577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156116fb5781602001600182028036833780820191505090505b5090505b600085146117ae57600182611714919061242a565b9150600a856117239190612582565b603061172f9190612349565b60f81b81838151811061176b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856117a7919061239f565b94506116ff565b8093505050505b919050565b61183b8363a9059cbb60e01b84846040516024016117d9929190612024565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611871565b505050565b60006006546007546005548461185691906123d0565b611860919061239f565b61186a919061239f565b9050919050565b60006118d3826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166119389092919063ffffffff16565b905060008151111561193357808060200190518101906118f39190611baa565b611932576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611929906122a8565b60405180910390fd5b5b505050565b60606119478484600085611950565b90509392505050565b606082471015611995576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198c906121a8565b60405180910390fd5b61199e85611a64565b6119dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d490612288565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051611a069190611f35565b60006040518083038185875af1925050503d8060008114611a43576040519150601f19603f3d011682016040523d82523d6000602084013e611a48565b606091505b5091509150611a58828286611a77565b92505050949350505050565b600080823b905060008111915050919050565b60608315611a8757829050611ad7565b600083511115611a9a5782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ace9190612106565b60405180910390fd5b9392505050565b600081359050611aed81612aa3565b92915050565b600081519050611b0281612aba565b92915050565b600081359050611b1781612ad1565b92915050565b600081519050611b2c81612ad1565b92915050565b600060208284031215611b4457600080fd5b6000611b5284828501611ade565b91505092915050565b600080600060608486031215611b7057600080fd5b6000611b7e86828701611ade565b9350506020611b8f86828701611b08565b9250506040611ba086828701611ade565b9150509250925092565b600060208284031215611bbc57600080fd5b6000611bca84828501611af3565b91505092915050565b600060208284031215611be557600080fd5b6000611bf384828501611b1d565b91505092915050565b611c058161245e565b82525050565b611c1481612470565b82525050565b6000611c258261230c565b611c2f8185612322565b9350611c3f8185602086016124dc565b80840191505092915050565b611c54816124a6565b82525050565b611c63816124ca565b82525050565b6000611c7482612317565b611c7e818561232d565b9350611c8e8185602086016124dc565b611c9781612611565b840191505092915050565b6000611cad82612317565b611cb7818561233e565b9350611cc78185602086016124dc565b80840191505092915050565b6000611ce060208361232d565b9150611ceb82612622565b602082019050919050565b6000611d0360348361232d565b9150611d0e8261264b565b604082019050919050565b6000611d2660268361232d565b9150611d318261269a565b604082019050919050565b6000611d49602b8361232d565b9150611d54826126e9565b604082019050919050565b6000611d6c601a8361233e565b9150611d7782612738565b601a82019050919050565b6000611d8f60268361232d565b9150611d9a82612761565b604082019050919050565b6000611db260018361233e565b9150611dbd826127b0565b600182019050919050565b6000611dd560468361232d565b9150611de0826127d9565b606082019050919050565b6000611df860208361232d565b9150611e038261284e565b602082019050919050565b6000611e1b600e8361233e565b9150611e2682612877565b600e82019050919050565b6000611e3e60348361232d565b9150611e49826128a0565b604082019050919050565b6000611e6160398361232d565b9150611e6c826128ef565b604082019050919050565b6000611e8460368361232d565b9150611e8f8261293e565b604082019050919050565b6000611ea760448361232d565b9150611eb28261298d565b606082019050919050565b6000611eca601d8361232d565b9150611ed582612a02565b602082019050919050565b6000611eed601e8361233e565b9150611ef882612a2b565b601e82019050919050565b6000611f10602a8361232d565b9150611f1b82612a54565b604082019050919050565b611f2f8161249c565b82525050565b6000611f418284611c1a565b915081905092915050565b6000611f5782611ee0565b9150611f638286611ca2565b9150611f6e82611e0e565b9150611f7a8285611ca2565b9150611f8582611d5f565b9150611f918284611ca2565b9150611f9c82611da5565b9150819050949350505050565b6000602082019050611fbe6000830184611bfc565b92915050565b6000606082019050611fd96000830186611bfc565b611fe66020830185611bfc565b611ff36040830184611f26565b949350505050565b60006040820190506120106000830185611bfc565b61201d6020830184611c5a565b9392505050565b60006040820190506120396000830185611bfc565b6120466020830184611f26565b9392505050565b60006060820190506120626000830186611bfc565b61206f6020830185611f26565b81810360408301526120818184611c69565b9050949350505050565b60006080820190506120a06000830187611bfc565b6120ad6020830186611f26565b6120ba6040830185611f26565b6120c76060830184611bfc565b95945050505050565b60006020820190506120e56000830184611c0b565b92915050565b60006020820190506121006000830184611c4b565b92915050565b600060208201905081810360008301526121208184611c69565b905092915050565b6000602082019050818103600083015261214181611cd3565b9050919050565b6000602082019050818103600083015261216181611cf6565b9050919050565b6000602082019050818103600083015261218181611d19565b9050919050565b600060208201905081810360008301526121a181611d3c565b9050919050565b600060208201905081810360008301526121c181611d82565b9050919050565b600060208201905081810360008301526121e181611dc8565b9050919050565b6000602082019050818103600083015261220181611deb565b9050919050565b6000602082019050818103600083015261222181611e31565b9050919050565b6000602082019050818103600083015261224181611e54565b9050919050565b6000602082019050818103600083015261226181611e77565b9050919050565b6000602082019050818103600083015261228181611e9a565b9050919050565b600060208201905081810360008301526122a181611ebd565b9050919050565b600060208201905081810360008301526122c181611f03565b9050919050565b60006020820190506122dd6000830184611f26565b92915050565b60006040820190506122f86000830185611f26565b6123056020830184611f26565b9392505050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006123548261249c565b915061235f8361249c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612394576123936125b3565b5b828201905092915050565b60006123aa8261249c565b91506123b58361249c565b9250826123c5576123c46125e2565b5b828204905092915050565b60006123db8261249c565b91506123e68361249c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561241f5761241e6125b3565b5b828202905092915050565b60006124358261249c565b91506124408361249c565b925082821015612453576124526125b3565b5b828203905092915050565b60006124698261247c565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006124b1826124b8565b9050919050565b60006124c38261247c565b9050919050565b60006124d58261249c565b9050919050565b60005b838110156124fa5780820151818401526020810190506124df565b83811115612509576000848401525b50505050565b600061251a8261249c565b9150600082141561252e5761252d6125b3565b5b600182039050919050565b60006125448261249c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612577576125766125b3565b5b600182019050919050565b600061258d8261249c565b91506125988361249c565b9250826125a8576125a76125e2565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f50757263686173654578656375746f723a205075726368617365206f6666657260008201527f20686173206e6f74207965742065787069726564000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f50757263686173654578656375746f723a204f666665722068617320616c726560008201527f6164792073746172746564000000000000000000000000000000000000000000602082015250565b7f2e20546f74616c20534152434f73205075726368617365643a20000000000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f2e00000000000000000000000000000000000000000000000000000000000000600082015250565b7f50757263686173654578656375746f723a205075726368617365732063616e6e60008201527f6f74206265206d61646520616674657220746865206f6666657220686173206560208201527f7870697265640000000000000000000000000000000000000000000000000000604082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f20666f72206163636f756e743a20000000000000000000000000000000000000600082015250565b7f50757263686173654578656375746f723a205075726368617365206f6666657260008201527f20686173206e6f74207965742073746172746564000000000000000000000000602082015250565b7f50757263686173654578656375746f723a2073656e64657220646f6573206e6f60008201527f742068617665206120534152434f20616c6c6f636174696f6e00000000000000602082015250565b7f50757263686173654578656375746f723a20546865726520617265206e6f205360008201527f6172636f20746f6b656e7320746f207265636f76657200000000000000000000602082015250565b7f50757263686173654578656375746f723a20496e73756666696369656e74205360008201527f6172636f20636f6e74726163742062616c616e636520746f207374617274206f60208201527f6666657200000000000000000000000000000000000000000000000000000000604082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f5075726368617365204578656375746564206279206163636f756e743a200000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b612aac8161245e565b8114612ab757600080fd5b50565b612ac381612470565b8114612ace57600080fd5b50565b612ada8161249c565b8114612ae557600080fd5b5056fea2646970667358221220eb57738f922bfcea2c6434ff8e2cb401dd8b896061c8d6d0e9b6200a7a54fe5364736f6c63430008040033

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

0000000000000000000000000000000000000000000000004563918244f400000000000000000000000000000000000000000000000000000000000003c267000000000000000000000000000000000000000000000000000000000000278d0000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000260000000000000000000000000000000000000000000084595161401484a000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000007697b462a7c4ff5f8b55bdbc2f4076c2af9cf51a0000000000000000000000008727c592f28f10b42eb0914a7f6a5885823794c00000000000000000000000003299f6a52983ba00ffaa0d8c2d5075ca3f3b79910000000000000000000000000000000000000000000000000000000000000008000000000000000000000000668a309f651987729cd5383fbe3efbb9c1c682de0000000000000000000000000a3cfc17d993a9d854b5665221b0c4b367d47be40000000000000000000000007e2e80e8250844dd4e558f13850380d5af8f0c61000000000000000000000000faf0d2bb7562d3857f27e995c8fe8684b50132c4000000000000000000000000ba712398fdb5bbb00c588e842a2475c90f7c15fe000000000000000000000000b1cd805ed5b419ba4054375ec9e99fcf1c73da020000000000000000000000003e71dabc6e05755dc3d45175deacabf6ea6b59c9000000000000000000000000de9cb838c6f42f75e2a788e592985c4bbe629f1200000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000422ca8b0a00a4250000000000000000000000000000000000000000000000000211654585005212800000000000000000000000000000000000000000000000009ed194db19b238c00000000000000000000000000000000000000000000000009ed194db19b238c000000000000000000000000000000000000000000000000069e10de76676d08000000000000000000000000000000000000000000000000034f086f3b33b68400000000000000000000000000000000000000000000000001a784379d99db4200000000000000000000000000000000000000000000000001a784379d99db4200000

-----Decoded View---------------
Arg [0] : _usdc_to_sarco_rate (uint256): 5000000000000000000
Arg [1] : _vesting_end_delay (uint256): 63072000
Arg [2] : _offer_expiration_delay (uint256): 2592000
Arg [3] : _sarco_purchasers (address[]): 0x668A309f651987729Cd5383Fbe3eFbb9C1C682DE,0x0A3cFc17d993a9D854B5665221b0C4B367D47bE4,0x7E2E80E8250844Dd4E558f13850380D5af8F0C61,0xfAF0D2bB7562d3857F27e995C8Fe8684B50132C4,0xBa712398Fdb5bbb00c588e842A2475c90f7C15fe,0xB1Cd805ED5B419bA4054375Ec9E99fCf1C73da02,0x3e71daBC6E05755Dc3d45175dEACABf6eA6b59c9,0xDE9cb838C6f42f75E2a788e592985C4BBe629f12
Arg [4] : _sarco_allocations (uint256[]): 5000000000000000000000000,2500000000000000000000000,750000000000000000000000,750000000000000000000000,500000000000000000000000,250000000000000000000000,125000000000000000000000,125000000000000000000000
Arg [5] : _sarco_allocations_total (uint256): 10000000000000000000000000
Arg [6] : _usdc_token (address): 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
Arg [7] : _sarco_token (address): 0x7697B462A7c4Ff5F8b55BDBC2F4076c2aF9cF51A
Arg [8] : _general_token_vesting (address): 0x8727c592F28F10b42eB0914a7f6a5885823794c0
Arg [9] : _sarco_dao (address): 0x3299f6a52983ba00FfaA0D8c2D5075ca3F3b7991

-----Encoded View---------------
28 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000004563918244f40000
Arg [1] : 0000000000000000000000000000000000000000000000000000000003c26700
Arg [2] : 0000000000000000000000000000000000000000000000000000000000278d00
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000260
Arg [5] : 000000000000000000000000000000000000000000084595161401484a000000
Arg [6] : 000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
Arg [7] : 0000000000000000000000007697b462a7c4ff5f8b55bdbc2f4076c2af9cf51a
Arg [8] : 0000000000000000000000008727c592f28f10b42eb0914a7f6a5885823794c0
Arg [9] : 0000000000000000000000003299f6a52983ba00ffaa0d8c2d5075ca3f3b7991
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [11] : 000000000000000000000000668a309f651987729cd5383fbe3efbb9c1c682de
Arg [12] : 0000000000000000000000000a3cfc17d993a9d854b5665221b0c4b367d47be4
Arg [13] : 0000000000000000000000007e2e80e8250844dd4e558f13850380d5af8f0c61
Arg [14] : 000000000000000000000000faf0d2bb7562d3857f27e995c8fe8684b50132c4
Arg [15] : 000000000000000000000000ba712398fdb5bbb00c588e842a2475c90f7c15fe
Arg [16] : 000000000000000000000000b1cd805ed5b419ba4054375ec9e99fcf1c73da02
Arg [17] : 0000000000000000000000003e71dabc6e05755dc3d45175deacabf6ea6b59c9
Arg [18] : 000000000000000000000000de9cb838c6f42f75e2a788e592985c4bbe629f12
Arg [19] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [20] : 0000000000000000000000000000000000000000000422ca8b0a00a425000000
Arg [21] : 0000000000000000000000000000000000000000000211654585005212800000
Arg [22] : 000000000000000000000000000000000000000000009ed194db19b238c00000
Arg [23] : 000000000000000000000000000000000000000000009ed194db19b238c00000
Arg [24] : 0000000000000000000000000000000000000000000069e10de76676d0800000
Arg [25] : 0000000000000000000000000000000000000000000034f086f3b33b68400000
Arg [26] : 000000000000000000000000000000000000000000001a784379d99db4200000
Arg [27] : 000000000000000000000000000000000000000000001a784379d99db4200000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

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