ETH Price: $1,898.47 (-1.26%)
Gas: 0.4 Gwei
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Mint140313172022-01-18 19:02:171153 days ago1642532537IN
0xb652Fc42...62EC570Db
0 ETH0.03230635113.43563035
Mint140044712022-01-14 15:36:211157 days ago1642174581IN
0xb652Fc42...62EC570Db
0 ETH0.04129364152.1566661
Mint139880052022-01-12 2:16:391159 days ago1641953799IN
0xb652Fc42...62EC570Db
0 ETH0.05714343210.57777467
Mint139818182022-01-11 3:36:111160 days ago1641872171IN
0xb652Fc42...62EC570Db
0 ETH0.04331794152.10647833
Mint139671962022-01-08 21:24:091163 days ago1641677049IN
0xb652Fc42...62EC570Db
0 ETH0.03861439135.59044495
Mint139108462021-12-31 3:58:091171 days ago1640923089IN
0xb652Fc42...62EC570Db
0 ETH0.0253048391.63339505
Mint139106012021-12-31 3:01:181171 days ago1640919678IN
0xb652Fc42...62EC570Db
0 ETH0.0253220191.68764016
Mint139105642021-12-31 2:53:371171 days ago1640919217IN
0xb652Fc42...62EC570Db
0 ETH0.0255695294.2172408
Mint139098822021-12-31 0:25:581172 days ago1640910358IN
0xb652Fc42...62EC570Db
0 ETH0.03710599130.28285615
Mint139089252021-12-30 20:48:481172 days ago1640897328IN
0xb652Fc42...62EC570Db
0 ETH0.03225238119.31099178
Mint138850802021-12-27 4:20:151175 days ago1640578815IN
0xb652Fc42...62EC570Db
0 ETH0.0167760965.97255489
Mint138649392021-12-24 1:39:201178 days ago1640309960IN
0xb652Fc42...62EC570Db
0 ETH0.019403371.49945949
Mint138630682021-12-23 18:32:411179 days ago1640284361IN
0xb652Fc42...62EC570Db
0 ETH0.02911794107.70620047
Mint138630502021-12-23 18:28:401179 days ago1640284120IN
0xb652Fc42...62EC570Db
0 ETH0.0259806896.10161683
Mint138563842021-12-22 17:41:071180 days ago1640194867IN
0xb652Fc42...62EC570Db
0 ETH0.02891281103.26043174
Mint138525112021-12-22 3:17:001180 days ago1640143020IN
0xb652Fc42...62EC570Db
0 ETH0.0166917663.40917885
Mint138302462021-12-18 16:43:411184 days ago1639845821IN
0xb652Fc42...62EC570Db
0 ETH0.0153940854.97907237
Mint138301982021-12-18 16:34:171184 days ago1639845257IN
0xb652Fc42...62EC570Db
0 ETH0.0159981858.14689341
Mint138279432021-12-18 8:06:071184 days ago1639814767IN
0xb652Fc42...62EC570Db
0 ETH0.0143263954.49142762
Mint138169482021-12-16 15:19:591186 days ago1639667999IN
0xb652Fc42...62EC570Db
0 ETH0.06759414241.40853639
Mint137642512021-12-08 10:15:091194 days ago1638958509IN
0xb652Fc42...62EC570Db
0 ETH0.0213442776.22982179
Mint137484222021-12-05 21:37:541197 days ago1638740274IN
0xb652Fc42...62EC570Db
0 ETH0.03996102146.21243322
Mint137358632021-12-03 21:11:381199 days ago1638565898IN
0xb652Fc42...62EC570Db
0 ETH0.03077576103.58340065
Mint137125872021-11-30 3:48:461202 days ago1638244126IN
0xb652Fc42...62EC570Db
0 ETH0.02876446106.39872271
Mint136968752021-11-27 15:39:461205 days ago1638027586IN
0xb652Fc42...62EC570Db
0 ETH0.0227418284.95676563
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Minter

Compiler Version
v0.8.3+commit.8d00100c

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license
File 1 of 12 : Minter.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.3;

import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "./interfaces/bloq/IAddressList.sol";
import "./interfaces/bloq/IAddressListFactory.sol";
import "./interfaces/compound/ICompound.sol";
import "./interfaces/IVUSD.sol";

/// @title Minter contract which will mint VUSD 1:1, less minting fee, with DAI, USDC or USDT.
contract Minter is Context, ReentrancyGuard {
    using SafeERC20 for IERC20;

    string public constant NAME = "VUSD-Minter";
    string public constant VERSION = "1.2.1";

    IAddressList public immutable whitelistedTokens;
    IVUSD public immutable vusd;

    uint256 public mintingFee; // Default no fee
    uint256 public constant MAX_MINTING_FEE = 10_000; // 10_000 = 100%
    uint256 public constant MINT_LIMIT = 50_000_000 * 10**18; // 50M VUSD

    mapping(address => address) public cTokens;

    address internal constant DAI = 0x6B175474E89094C44Da98b954EedeAC495271d0F;
    address internal constant USDC = 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48;
    address internal constant USDT = 0xdAC17F958D2ee523a2206206994597C13D831ec7;

    event UpdatedMintingFee(uint256 previousMintingFee, uint256 newMintingFee);

    constructor(address _vusd) {
        require(_vusd != address(0), "vusd-address-is-zero");
        vusd = IVUSD(_vusd);

        IAddressListFactory _factory = IAddressListFactory(0xded8217De022706A191eE7Ee0Dc9df1185Fb5dA3);
        IAddressList _whitelistedTokens = IAddressList(_factory.createList());
        // Add token into the list, add cToken into the mapping and approve cToken to spend token
        _addToken(_whitelistedTokens, DAI, address(0x5d3a536E4D6DbD6114cc1Ead35777bAB948E3643));
        _addToken(_whitelistedTokens, USDC, address(0x39AA39c021dfbaE8faC545936693aC917d5E7563));
        _addToken(_whitelistedTokens, USDT, address(0xf650C3d88D12dB855b8bf7D11Be6C55A4e07dCC9));

        whitelistedTokens = _whitelistedTokens;
    }

    modifier onlyGovernor() {
        require(_msgSender() == governor(), "caller-is-not-the-governor");
        _;
    }

    ////////////////////////////// Only Governor //////////////////////////////
    /**
     * @notice Add token as whitelisted token for VUSD system
     * @dev Add token address in whitelistedTokens list and add cToken in mapping
     * @param _token address which we want to add in token list.
     * @param _cToken CToken address correspond to _token
     */
    function addWhitelistedToken(address _token, address _cToken) external onlyGovernor {
        _addToken(whitelistedTokens, _token, _cToken);
    }

    /**
     * @notice Remove token from whitelisted tokens
     * @param _token address which we want to remove from token list.
     */
    function removeWhitelistedToken(address _token) external onlyGovernor {
        require(whitelistedTokens.remove(_token), "remove-from-list-failed");
        IERC20(_token).safeApprove(cTokens[_token], 0);
        delete cTokens[_token];
    }

    /// @notice Update minting fee
    function updateMintingFee(uint256 _newMintingFee) external onlyGovernor {
        require(_newMintingFee <= MAX_MINTING_FEE, "minting-fee-limit-reached");
        require(mintingFee != _newMintingFee, "same-minting-fee");
        emit UpdatedMintingFee(mintingFee, _newMintingFee);
        mintingFee = _newMintingFee;
    }

    ///////////////////////////////////////////////////////////////////////////

    /**
     * @notice Mint VUSD
     * @param _token Address of token being deposited
     * @param _amount Amount of _token
     */
    function mint(address _token, uint256 _amount) external nonReentrant {
        _mint(_token, _amount, _msgSender());
    }

    /**
     * @notice Mint VUSD
     * @param _token Address of token being deposited
     * @param _amount Amount of _token
     * @param _receiver Address of VUSD receiver
     */
    function mint(
        address _token,
        uint256 _amount,
        address _receiver
    ) external nonReentrant {
        _mint(_token, _amount, _receiver);
    }

    /**
     * @notice Calculate mintage for supported tokens.
     * @param _token Address of token which will be deposited for this mintage
     * @param _amount Amount of _token
     */
    function calculateMintage(address _token, uint256 _amount) external view returns (uint256 _mintReturn) {
        if (whitelistedTokens.contains(_token)) {
            (uint256 _mintage, ) = _calculateMintage(_token, _amount);
            return _mintage;
        }
        // Return 0 for unsupported tokens.
        return 0;
    }

    /// @notice Check available mintage based on mint limit
    function availableMintage() public view returns (uint256 _mintage) {
        return MINT_LIMIT - vusd.totalSupply();
    }

    /// @dev Treasury is defined in VUSD token contract only
    function treasury() public view returns (address) {
        return vusd.treasury();
    }

    /// @dev Governor is defined in VUSD token contract only
    function governor() public view returns (address) {
        return vusd.governor();
    }

    /**
     * @dev Add _token into the list, add _cToken in mapping and
     * approve cToken to spend token
     */
    function _addToken(
        IAddressList _list,
        address _token,
        address _cToken
    ) internal {
        require(_list.add(_token), "add-in-list-failed");
        cTokens[_token] = _cToken;
        IERC20(_token).safeApprove(_cToken, type(uint256).max);
    }

    /**
     * @notice Mint VUSD
     * @param _token Address of token being deposited
     * @param _amount Amount of _token
     * @param _receiver Address of VUSD receiver
     */
    function _mint(
        address _token,
        uint256 _amount,
        address _receiver
    ) internal {
        require(whitelistedTokens.contains(_token), "token-is-not-supported");
        (uint256 _mintage, uint256 _actualAmount) = _calculateMintage(_token, _amount);
        require(_mintage != 0, "mint-limit-reached");
        IERC20(_token).safeTransferFrom(_msgSender(), address(this), _actualAmount);
        address _cToken = cTokens[_token];
        require(CToken(_cToken).mint(_actualAmount) == 0, "cToken-mint-failed");
        IERC20(_cToken).safeTransfer(treasury(), IERC20(_cToken).balanceOf(address(this)));
        vusd.mint(_receiver, _mintage);
    }

    /**
     * @notice Calculate mintage based on mintingFee, if any.
     * Also covert _token defined decimal amount to 18 decimal amount
     * @return _mintage VUSD mintage based on given input
     * @return _actualAmount Actual token amount used for _mintage
     */
    function _calculateMintage(address _token, uint256 _amount)
        internal
        view
        returns (uint256 _mintage, uint256 _actualAmount)
    {
        uint256 _decimals = IERC20Metadata(_token).decimals();
        uint256 _availableAmount = availableMintage() / 10**(18 - _decimals);
        _actualAmount = (_amount > _availableAmount) ? _availableAmount : _amount;
        _mintage = (mintingFee != 0) ? _actualAmount - ((_actualAmount * mintingFee) / MAX_MINTING_FEE) : _actualAmount;
        // Convert final amount to 18 decimals
        _mintage = _mintage * 10**(18 - _decimals);
    }
}

File 2 of 12 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 3 of 12 : 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 4 of 12 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

File 5 of 12 : draft-IERC20Permit.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

File 6 of 12 : 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 7 of 12 : 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);
    }

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

File 8 of 12 : 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 12 : IVUSD.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.3;

import "@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

interface IVUSD is IERC20, IERC20Permit {
    function burnFrom(address _user, uint256 _amount) external;

    function mint(address _to, uint256 _amount) external;

    function multiTransfer(address[] memory _recipients, uint256[] memory _amounts) external returns (bool);

    function updateMinter(address _newMinter) external;

    function updateTreasury(address _newTreasury) external;

    function governor() external view returns (address _governor);

    function minter() external view returns (address _minter);

    function treasury() external view returns (address _treasury);
}

File 10 of 12 : IAddressList.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.3;

interface IAddressList {
    function add(address a) external returns (bool);

    function remove(address a) external returns (bool);

    function at(uint256 index) external view returns (address, uint256);

    function get(address a) external view returns (uint256);

    function contains(address a) external view returns (bool);

    function length() external view returns (uint256);

    function grantRole(bytes32 role, address account) external;
}

File 11 of 12 : IAddressListFactory.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.3;

interface IAddressListFactory {
    function ours(address a) external view returns (bool);

    function listCount() external view returns (uint256);

    function listAt(uint256 idx) external view returns (address);

    function createList() external returns (address listaddr);
}

File 12 of 12 : ICompound.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.3;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

interface CToken is IERC20 {
    function accrueInterest() external returns (uint256);

    function balanceOfUnderlying(address owner) external returns (uint256);

    function exchangeRateCurrent() external returns (uint256);

    function exchangeRateStored() external view returns (uint256);

    function mint() external payable; // For ETH

    function mint(uint256 mintAmount) external returns (uint256); // For ERC20

    function redeem(uint256 redeemTokens) external returns (uint256);

    function redeemUnderlying(uint256 redeemAmount) external returns (uint256);
}

interface Comptroller {
    function claimComp(address holder, address[] memory) external;

    function compAccrued(address holder) external view returns (uint256);
}

Settings
{
  "evmVersion": "istanbul",
  "libraries": {},
  "metadata": {
    "bytecodeHash": "ipfs",
    "useLiteralContent": true
  },
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "remappings": [],
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_vusd","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"previousMintingFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newMintingFee","type":"uint256"}],"name":"UpdatedMintingFee","type":"event"},{"inputs":[],"name":"MAX_MINTING_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NAME","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_cToken","type":"address"}],"name":"addWhitelistedToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"availableMintage","outputs":[{"internalType":"uint256","name":"_mintage","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"cTokens","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"calculateMintage","outputs":[{"internalType":"uint256","name":"_mintReturn","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"governor","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"removeWhitelistedToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMintingFee","type":"uint256"}],"name":"updateMintingFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vusd","outputs":[{"internalType":"contract IVUSD","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistedTokens","outputs":[{"internalType":"contract IAddressList","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60c06040523480156200001157600080fd5b50604051620035083803806200350883398181016040528101906200003791906200087b565b6001600081905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415620000b2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000a99062000b37565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b81525050600073ded8217de022706a191ee7ee0dc9df1185fb5da3905060008173ffffffffffffffffffffffffffffffffffffffff16630fab4d256040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156200014d57600080fd5b505af115801562000162573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200018891906200087b565b9050620001c581736b175474e89094c44da98b954eedeac495271d0f735d3a536e4d6dbd6114cc1ead35777bab948e36436200027b60201b60201c565b620002008173a0b86991c6218b36c1d19d4a2e9eb0ce3606eb487339aa39c021dfbae8fac545936693ac917d5e75636200027b60201b60201c565b6200023b8173dac17f958d2ee523a2206206994597c13d831ec773f650c3d88d12db855b8bf7d11be6c55a4e07dcc96200027b60201b60201c565b8073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b8152505050505062000e7c565b8273ffffffffffffffffffffffffffffffffffffffff16630a3b0a4f836040518263ffffffff1660e01b8152600401620002b6919062000a9c565b602060405180830381600087803b158015620002d157600080fd5b505af1158015620002e6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200030c9190620008a7565b6200034e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003459062000b7b565b60405180910390fd5b80600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200041e817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff166200042360201b62000c26179092919060201c565b505050565b6000811480620004c3575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b81526004016200046d92919062000ab9565b60206040518083038186803b1580156200048657600080fd5b505afa1580156200049b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004c19190620008d3565b145b62000505576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004fc9062000be1565b60405180910390fd5b620005908363095ea7b360e01b84846040516024016200052792919062000ae6565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506200059560201b60201c565b505050565b6000620005fe826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166200066960201b62000d84179092919060201c565b9050600081511115620006645780806020019051810190620006219190620008a7565b62000663576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200065a9062000bbf565b60405180910390fd5b5b505050565b60606200068084846000856200068960201b60201c565b90509392505050565b606082471015620006d1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006c89062000b59565b60405180910390fd5b620006e285620007b760201b60201c565b62000724576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200071b9062000b9d565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516200074f919062000a83565b60006040518083038185875af1925050503d80600081146200078e576040519150601f19603f3d011682016040523d82523d6000602084013e62000793565b606091505b5091509150620007ab828286620007ca60201b60201c565b92505050949350505050565b600080823b905060008111915050919050565b60608315620007dc578290506200082f565b600083511115620007f05782518084602001fd5b816040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000826919062000b13565b60405180910390fd5b9392505050565b600081519050620008478162000e2e565b92915050565b6000815190506200085e8162000e48565b92915050565b600081519050620008758162000e62565b92915050565b6000602082840312156200088e57600080fd5b60006200089e8482850162000836565b91505092915050565b600060208284031215620008ba57600080fd5b6000620008ca848285016200084d565b91505092915050565b600060208284031215620008e657600080fd5b6000620008f68482850162000864565b91505092915050565b6200090a8162000c35565b82525050565b60006200091d8262000c03565b62000929818562000c19565b93506200093b81856020860162000c7f565b80840191505092915050565b6000620009548262000c0e565b62000960818562000c24565b93506200097281856020860162000c7f565b6200097d8162000cb5565b840191505092915050565b60006200099760148362000c24565b9150620009a48262000cc6565b602082019050919050565b6000620009be60268362000c24565b9150620009cb8262000cef565b604082019050919050565b6000620009e560128362000c24565b9150620009f28262000d3e565b602082019050919050565b600062000a0c601d8362000c24565b915062000a198262000d67565b602082019050919050565b600062000a33602a8362000c24565b915062000a408262000d90565b604082019050919050565b600062000a5a60368362000c24565b915062000a678262000ddf565b604082019050919050565b62000a7d8162000c75565b82525050565b600062000a91828462000910565b915081905092915050565b600060208201905062000ab36000830184620008ff565b92915050565b600060408201905062000ad06000830185620008ff565b62000adf6020830184620008ff565b9392505050565b600060408201905062000afd6000830185620008ff565b62000b0c602083018462000a72565b9392505050565b6000602082019050818103600083015262000b2f818462000947565b905092915050565b6000602082019050818103600083015262000b528162000988565b9050919050565b6000602082019050818103600083015262000b7481620009af565b9050919050565b6000602082019050818103600083015262000b9681620009d6565b9050919050565b6000602082019050818103600083015262000bb881620009fd565b9050919050565b6000602082019050818103600083015262000bda8162000a24565b9050919050565b6000602082019050818103600083015262000bfc8162000a4b565b9050919050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b600062000c428262000c55565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101562000c9f57808201518184015260208101905062000c82565b8381111562000caf576000848401525b50505050565b6000601f19601f8301169050919050565b7f767573642d616464726573732d69732d7a65726f000000000000000000000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f6164642d696e2d6c6973742d6661696c65640000000000000000000000000000600082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60008201527f20746f206e6f6e2d7a65726f20616c6c6f77616e636500000000000000000000602082015250565b62000e398162000c35565b811462000e4557600080fd5b50565b62000e538162000c49565b811462000e5f57600080fd5b50565b62000e6d8162000c75565b811462000e7957600080fd5b50565b60805160601c60a05160601c61262862000ee0600039600081816103e6015281816108860152818161096b01528181610bcb015261129a0152600081816103a90152818161056b015281816107b3015281816109450152610f3e01526126286000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c80635a64ad95116100a25780638c0b09d0116100715780638c0b09d014610282578063a3f4df7e146102b2578063c0275a25146102d0578063edac5203146102ec578063ffa1ad741461030a5761010b565b80635a64ad951461020a5780635e1762a01461022857806361d027b31461024657806388b78aaa146102645761010b565b80631c88705d116100de5780631c88705d1461018457806340c10f19146101a0578063482b6014146101bc5780635166c96a146101ec5761010b565b806301ac855914610110578063027752401461012c5780630c340a241461014a5780630d4d151314610168575b600080fd5b61012a60048036038101906101259190611892565b610328565b005b6101346103d3565b6040516101419190611f1d565b60405180910390f35b6101526103e2565b60405161015f9190611c81565b60405180910390f35b610182600480360381019061017d919061190a565b610487565b005b61019e60048036038101906101999190611840565b6104ed565b005b6101ba60048036038101906101b591906118ce565b610743565b005b6101d660048036038101906101d191906118ce565b6107af565b6040516101e39190611f1d565b60405180910390f35b6101f4610882565b6040516102019190611f1d565b60405180910390f35b61021261093d565b60405161021f9190611f1d565b60405180910390f35b610230610943565b60405161023d9190611d25565b60405180910390f35b61024e610967565b60405161025b9190611c81565b60405180910390f35b61026c610a0c565b6040516102799190611f1d565b60405180910390f35b61029c60048036038101906102979190611840565b610a12565b6040516102a99190611c81565b60405180910390f35b6102ba610a45565b6040516102c79190611d5b565b60405180910390f35b6102ea60048036038101906102e59190611982565b610a7e565b005b6102f4610bc9565b6040516103019190611d40565b60405180910390f35b610312610bed565b60405161031f9190611d5b565b60405180910390f35b6103306103e2565b73ffffffffffffffffffffffffffffffffffffffff1661034e610d9c565b73ffffffffffffffffffffffffffffffffffffffff16146103a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161039b90611d9d565b60405180910390fd5b6103cf7f00000000000000000000000000000000000000000000000000000000000000008383610da4565b5050565b6a295be96e6406697200000081565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16630c340a246040518163ffffffff1660e01b815260040160206040518083038186803b15801561044a57600080fd5b505afa15801561045e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104829190611869565b905090565b600260005414156104cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104c490611edd565b60405180910390fd5b60026000819055506104e0838383610f3c565b6001600081905550505050565b6104f56103e2565b73ffffffffffffffffffffffffffffffffffffffff16610513610d9c565b73ffffffffffffffffffffffffffffffffffffffff1614610569576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161056090611d9d565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166329092d0e826040518263ffffffff1660e01b81526004016105c29190611c81565b602060405180830381600087803b1580156105dc57600080fd5b505af11580156105f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106149190611959565b610653576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161064a90611dfd565b60405180910390fd5b6106de600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660008373ffffffffffffffffffffffffffffffffffffffff16610c269092919063ffffffff16565b600260008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905550565b60026000541415610789576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078090611edd565b60405180910390fd5b60026000819055506107a3828261079e610d9c565b610f3c565b60016000819055505050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16635dbe47e8846040518263ffffffff1660e01b815260040161080a9190611c81565b60206040518083038186803b15801561082257600080fd5b505afa158015610836573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085a9190611959565b1561087757600061086b848461132d565b5090508091505061087c565b600090505b92915050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156108ea57600080fd5b505afa1580156108fe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092291906119ab565b6a295be96e64066972000000610938919061218f565b905090565b60015481565b7f000000000000000000000000000000000000000000000000000000000000000081565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166361d027b36040518163ffffffff1660e01b815260040160206040518083038186803b1580156109cf57600080fd5b505afa1580156109e3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a079190611869565b905090565b61271081565b60026020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6040518060400160405280600b81526020017f565553442d4d696e74657200000000000000000000000000000000000000000081525081565b610a866103e2565b73ffffffffffffffffffffffffffffffffffffffff16610aa4610d9c565b73ffffffffffffffffffffffffffffffffffffffff1614610afa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af190611d9d565b60405180910390fd5b612710811115610b3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3690611e3d565b60405180910390fd5b806001541415610b84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7b90611ebd565b60405180910390fd5b7f85735a3ef929fdaaf946ddf4b97deec396e7347cbb47fea3d6a8f3934e1b02e360015482604051610bb7929190611f38565b60405180910390a18060018190555050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6040518060400160405280600581526020017f312e322e3100000000000000000000000000000000000000000000000000000081525081565b6000811480610cbf575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b8152600401610c6d929190611c9c565b60206040518083038186803b158015610c8557600080fd5b505afa158015610c99573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cbd91906119ab565b145b610cfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf590611efd565b60405180910390fd5b610d7f8363095ea7b360e01b8484604051602401610d1d929190611cfc565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061145e565b505050565b6060610d938484600085611525565b90509392505050565b600033905090565b8273ffffffffffffffffffffffffffffffffffffffff16630a3b0a4f836040518263ffffffff1660e01b8152600401610ddd9190611c81565b602060405180830381600087803b158015610df757600080fd5b505af1158015610e0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2f9190611959565b610e6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6590611ddd565b60405180910390fd5b80600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610f37817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff16610c269092919063ffffffff16565b505050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16635dbe47e8846040518263ffffffff1660e01b8152600401610f959190611c81565b60206040518083038186803b158015610fad57600080fd5b505afa158015610fc1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe59190611959565b611024576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101b90611dbd565b60405180910390fd5b600080611031858561132d565b915091506000821415611079576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107090611e1d565b60405180910390fd5b6110ad611084610d9c565b30838873ffffffffffffffffffffffffffffffffffffffff16611639909392919063ffffffff16565b6000600260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff1663a0712d68846040518263ffffffff1660e01b815260040161114c9190611f1d565b602060405180830381600087803b15801561116657600080fd5b505af115801561117a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119e91906119ab565b146111de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d590611e9d565b60405180910390fd5b6112986111e9610967565b8273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016112229190611c81565b60206040518083038186803b15801561123a57600080fd5b505afa15801561124e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061127291906119ab565b8373ffffffffffffffffffffffffffffffffffffffff166116c29092919063ffffffff16565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166340c10f1985856040518363ffffffff1660e01b81526004016112f3929190611cfc565b600060405180830381600087803b15801561130d57600080fd5b505af1158015611321573d6000803e3d6000fd5b50505050505050505050565b60008060008473ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561137857600080fd5b505afa15801561138c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113b091906119d4565b60ff16905060008160126113c4919061218f565b600a6113d09190612017565b6113d8610882565b6113e29190611f93565b90508085116113f157846113f3565b805b925060006001541415611406578261142d565b612710600154846114179190612135565b6114219190611f93565b8361142c919061218f565b5b935081601261143c919061218f565b600a6114489190612017565b846114539190612135565b935050509250929050565b60006114c0826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610d849092919063ffffffff16565b905060008151111561152057808060200190518101906114e09190611959565b61151f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151690611e7d565b60405180910390fd5b5b505050565b60608247101561156a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156190611d7d565b60405180910390fd5b61157385611748565b6115b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a990611e5d565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516115db9190611c6a565b60006040518083038185875af1925050503d8060008114611618576040519150601f19603f3d011682016040523d82523d6000602084013e61161d565b606091505b509150915061162d82828661175b565b92505050949350505050565b6116bc846323b872dd60e01b85858560405160240161165a93929190611cc5565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061145e565b50505050565b6117438363a9059cbb60e01b84846040516024016116e1929190611cfc565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061145e565b505050565b600080823b905060008111915050919050565b6060831561176b578290506117bb565b60008351111561177e5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b29190611d5b565b60405180910390fd5b9392505050565b6000813590506117d181612596565b92915050565b6000815190506117e681612596565b92915050565b6000815190506117fb816125ad565b92915050565b600081359050611810816125c4565b92915050565b600081519050611825816125c4565b92915050565b60008151905061183a816125db565b92915050565b60006020828403121561185257600080fd5b6000611860848285016117c2565b91505092915050565b60006020828403121561187b57600080fd5b6000611889848285016117d7565b91505092915050565b600080604083850312156118a557600080fd5b60006118b3858286016117c2565b92505060206118c4858286016117c2565b9150509250929050565b600080604083850312156118e157600080fd5b60006118ef858286016117c2565b925050602061190085828601611801565b9150509250929050565b60008060006060848603121561191f57600080fd5b600061192d868287016117c2565b935050602061193e86828701611801565b925050604061194f868287016117c2565b9150509250925092565b60006020828403121561196b57600080fd5b6000611979848285016117ec565b91505092915050565b60006020828403121561199457600080fd5b60006119a284828501611801565b91505092915050565b6000602082840312156119bd57600080fd5b60006119cb84828501611816565b91505092915050565b6000602082840312156119e657600080fd5b60006119f48482850161182b565b91505092915050565b611a06816121c3565b82525050565b6000611a1782611f61565b611a218185611f77565b9350611a31818560208601612260565b80840191505092915050565b611a4681612218565b82525050565b611a558161223c565b82525050565b6000611a6682611f6c565b611a708185611f82565b9350611a80818560208601612260565b611a89816122f1565b840191505092915050565b6000611aa1602683611f82565b9150611aac8261230f565b604082019050919050565b6000611ac4601a83611f82565b9150611acf8261235e565b602082019050919050565b6000611ae7601683611f82565b9150611af282612387565b602082019050919050565b6000611b0a601283611f82565b9150611b15826123b0565b602082019050919050565b6000611b2d601783611f82565b9150611b38826123d9565b602082019050919050565b6000611b50601283611f82565b9150611b5b82612402565b602082019050919050565b6000611b73601983611f82565b9150611b7e8261242b565b602082019050919050565b6000611b96601d83611f82565b9150611ba182612454565b602082019050919050565b6000611bb9602a83611f82565b9150611bc48261247d565b604082019050919050565b6000611bdc601283611f82565b9150611be7826124cc565b602082019050919050565b6000611bff601083611f82565b9150611c0a826124f5565b602082019050919050565b6000611c22601f83611f82565b9150611c2d8261251e565b602082019050919050565b6000611c45603683611f82565b9150611c5082612547565b604082019050919050565b611c6481612201565b82525050565b6000611c768284611a0c565b915081905092915050565b6000602082019050611c9660008301846119fd565b92915050565b6000604082019050611cb160008301856119fd565b611cbe60208301846119fd565b9392505050565b6000606082019050611cda60008301866119fd565b611ce760208301856119fd565b611cf46040830184611c5b565b949350505050565b6000604082019050611d1160008301856119fd565b611d1e6020830184611c5b565b9392505050565b6000602082019050611d3a6000830184611a3d565b92915050565b6000602082019050611d556000830184611a4c565b92915050565b60006020820190508181036000830152611d758184611a5b565b905092915050565b60006020820190508181036000830152611d9681611a94565b9050919050565b60006020820190508181036000830152611db681611ab7565b9050919050565b60006020820190508181036000830152611dd681611ada565b9050919050565b60006020820190508181036000830152611df681611afd565b9050919050565b60006020820190508181036000830152611e1681611b20565b9050919050565b60006020820190508181036000830152611e3681611b43565b9050919050565b60006020820190508181036000830152611e5681611b66565b9050919050565b60006020820190508181036000830152611e7681611b89565b9050919050565b60006020820190508181036000830152611e9681611bac565b9050919050565b60006020820190508181036000830152611eb681611bcf565b9050919050565b60006020820190508181036000830152611ed681611bf2565b9050919050565b60006020820190508181036000830152611ef681611c15565b9050919050565b60006020820190508181036000830152611f1681611c38565b9050919050565b6000602082019050611f326000830184611c5b565b92915050565b6000604082019050611f4d6000830185611c5b565b611f5a6020830184611c5b565b9392505050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b6000611f9e82612201565b9150611fa983612201565b925082611fb957611fb86122c2565b5b828204905092915050565b6000808291508390505b600185111561200e57808604811115611fea57611fe9612293565b5b6001851615611ff95780820291505b808102905061200785612302565b9450611fce565b94509492505050565b600061202282612201565b915061202d83612201565b925061205a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484612062565b905092915050565b600082612072576001905061212e565b81612080576000905061212e565b816001811461209657600281146120a0576120cf565b600191505061212e565b60ff8411156120b2576120b1612293565b5b8360020a9150848211156120c9576120c8612293565b5b5061212e565b5060208310610133831016604e8410600b84101617156121045782820a9050838111156120ff576120fe612293565b5b61212e565b6121118484846001611fc4565b9250905081840481111561212857612127612293565b5b81810290505b9392505050565b600061214082612201565b915061214b83612201565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561218457612183612293565b5b828202905092915050565b600061219a82612201565b91506121a583612201565b9250828210156121b8576121b7612293565b5b828203905092915050565b60006121ce826121e1565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006122238261222a565b9050919050565b6000612235826121e1565b9050919050565b60006122478261224e565b9050919050565b6000612259826121e1565b9050919050565b60005b8381101561227e578082015181840152602081019050612263565b8381111561228d576000848401525b50505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000601f19601f8301169050919050565b60008160011c9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f63616c6c65722d69732d6e6f742d7468652d676f7665726e6f72000000000000600082015250565b7f746f6b656e2d69732d6e6f742d737570706f7274656400000000000000000000600082015250565b7f6164642d696e2d6c6973742d6661696c65640000000000000000000000000000600082015250565b7f72656d6f76652d66726f6d2d6c6973742d6661696c6564000000000000000000600082015250565b7f6d696e742d6c696d69742d726561636865640000000000000000000000000000600082015250565b7f6d696e74696e672d6665652d6c696d69742d7265616368656400000000000000600082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f63546f6b656e2d6d696e742d6661696c65640000000000000000000000000000600082015250565b7f73616d652d6d696e74696e672d66656500000000000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60008201527f20746f206e6f6e2d7a65726f20616c6c6f77616e636500000000000000000000602082015250565b61259f816121c3565b81146125aa57600080fd5b50565b6125b6816121d5565b81146125c157600080fd5b50565b6125cd81612201565b81146125d857600080fd5b50565b6125e48161220b565b81146125ef57600080fd5b5056fea2646970667358221220c4dc7754a807c6b2b05842bf677291f430bdae74f07ad93059fa35159b58443064736f6c63430008030033000000000000000000000000677ddbd918637e5f2c79e164d402454de7da8619

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061010b5760003560e01c80635a64ad95116100a25780638c0b09d0116100715780638c0b09d014610282578063a3f4df7e146102b2578063c0275a25146102d0578063edac5203146102ec578063ffa1ad741461030a5761010b565b80635a64ad951461020a5780635e1762a01461022857806361d027b31461024657806388b78aaa146102645761010b565b80631c88705d116100de5780631c88705d1461018457806340c10f19146101a0578063482b6014146101bc5780635166c96a146101ec5761010b565b806301ac855914610110578063027752401461012c5780630c340a241461014a5780630d4d151314610168575b600080fd5b61012a60048036038101906101259190611892565b610328565b005b6101346103d3565b6040516101419190611f1d565b60405180910390f35b6101526103e2565b60405161015f9190611c81565b60405180910390f35b610182600480360381019061017d919061190a565b610487565b005b61019e60048036038101906101999190611840565b6104ed565b005b6101ba60048036038101906101b591906118ce565b610743565b005b6101d660048036038101906101d191906118ce565b6107af565b6040516101e39190611f1d565b60405180910390f35b6101f4610882565b6040516102019190611f1d565b60405180910390f35b61021261093d565b60405161021f9190611f1d565b60405180910390f35b610230610943565b60405161023d9190611d25565b60405180910390f35b61024e610967565b60405161025b9190611c81565b60405180910390f35b61026c610a0c565b6040516102799190611f1d565b60405180910390f35b61029c60048036038101906102979190611840565b610a12565b6040516102a99190611c81565b60405180910390f35b6102ba610a45565b6040516102c79190611d5b565b60405180910390f35b6102ea60048036038101906102e59190611982565b610a7e565b005b6102f4610bc9565b6040516103019190611d40565b60405180910390f35b610312610bed565b60405161031f9190611d5b565b60405180910390f35b6103306103e2565b73ffffffffffffffffffffffffffffffffffffffff1661034e610d9c565b73ffffffffffffffffffffffffffffffffffffffff16146103a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161039b90611d9d565b60405180910390fd5b6103cf7f0000000000000000000000009e1c09748b1ab36fa92b6374b3e0fa2be34e43ae8383610da4565b5050565b6a295be96e6406697200000081565b60007f000000000000000000000000677ddbd918637e5f2c79e164d402454de7da861973ffffffffffffffffffffffffffffffffffffffff16630c340a246040518163ffffffff1660e01b815260040160206040518083038186803b15801561044a57600080fd5b505afa15801561045e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104829190611869565b905090565b600260005414156104cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104c490611edd565b60405180910390fd5b60026000819055506104e0838383610f3c565b6001600081905550505050565b6104f56103e2565b73ffffffffffffffffffffffffffffffffffffffff16610513610d9c565b73ffffffffffffffffffffffffffffffffffffffff1614610569576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161056090611d9d565b60405180910390fd5b7f0000000000000000000000009e1c09748b1ab36fa92b6374b3e0fa2be34e43ae73ffffffffffffffffffffffffffffffffffffffff166329092d0e826040518263ffffffff1660e01b81526004016105c29190611c81565b602060405180830381600087803b1580156105dc57600080fd5b505af11580156105f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106149190611959565b610653576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161064a90611dfd565b60405180910390fd5b6106de600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660008373ffffffffffffffffffffffffffffffffffffffff16610c269092919063ffffffff16565b600260008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905550565b60026000541415610789576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078090611edd565b60405180910390fd5b60026000819055506107a3828261079e610d9c565b610f3c565b60016000819055505050565b60007f0000000000000000000000009e1c09748b1ab36fa92b6374b3e0fa2be34e43ae73ffffffffffffffffffffffffffffffffffffffff16635dbe47e8846040518263ffffffff1660e01b815260040161080a9190611c81565b60206040518083038186803b15801561082257600080fd5b505afa158015610836573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085a9190611959565b1561087757600061086b848461132d565b5090508091505061087c565b600090505b92915050565b60007f000000000000000000000000677ddbd918637e5f2c79e164d402454de7da861973ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156108ea57600080fd5b505afa1580156108fe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092291906119ab565b6a295be96e64066972000000610938919061218f565b905090565b60015481565b7f0000000000000000000000009e1c09748b1ab36fa92b6374b3e0fa2be34e43ae81565b60007f000000000000000000000000677ddbd918637e5f2c79e164d402454de7da861973ffffffffffffffffffffffffffffffffffffffff166361d027b36040518163ffffffff1660e01b815260040160206040518083038186803b1580156109cf57600080fd5b505afa1580156109e3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a079190611869565b905090565b61271081565b60026020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6040518060400160405280600b81526020017f565553442d4d696e74657200000000000000000000000000000000000000000081525081565b610a866103e2565b73ffffffffffffffffffffffffffffffffffffffff16610aa4610d9c565b73ffffffffffffffffffffffffffffffffffffffff1614610afa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af190611d9d565b60405180910390fd5b612710811115610b3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3690611e3d565b60405180910390fd5b806001541415610b84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7b90611ebd565b60405180910390fd5b7f85735a3ef929fdaaf946ddf4b97deec396e7347cbb47fea3d6a8f3934e1b02e360015482604051610bb7929190611f38565b60405180910390a18060018190555050565b7f000000000000000000000000677ddbd918637e5f2c79e164d402454de7da861981565b6040518060400160405280600581526020017f312e322e3100000000000000000000000000000000000000000000000000000081525081565b6000811480610cbf575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b8152600401610c6d929190611c9c565b60206040518083038186803b158015610c8557600080fd5b505afa158015610c99573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cbd91906119ab565b145b610cfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf590611efd565b60405180910390fd5b610d7f8363095ea7b360e01b8484604051602401610d1d929190611cfc565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061145e565b505050565b6060610d938484600085611525565b90509392505050565b600033905090565b8273ffffffffffffffffffffffffffffffffffffffff16630a3b0a4f836040518263ffffffff1660e01b8152600401610ddd9190611c81565b602060405180830381600087803b158015610df757600080fd5b505af1158015610e0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2f9190611959565b610e6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6590611ddd565b60405180910390fd5b80600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610f37817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff16610c269092919063ffffffff16565b505050565b7f0000000000000000000000009e1c09748b1ab36fa92b6374b3e0fa2be34e43ae73ffffffffffffffffffffffffffffffffffffffff16635dbe47e8846040518263ffffffff1660e01b8152600401610f959190611c81565b60206040518083038186803b158015610fad57600080fd5b505afa158015610fc1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe59190611959565b611024576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101b90611dbd565b60405180910390fd5b600080611031858561132d565b915091506000821415611079576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107090611e1d565b60405180910390fd5b6110ad611084610d9c565b30838873ffffffffffffffffffffffffffffffffffffffff16611639909392919063ffffffff16565b6000600260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff1663a0712d68846040518263ffffffff1660e01b815260040161114c9190611f1d565b602060405180830381600087803b15801561116657600080fd5b505af115801561117a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119e91906119ab565b146111de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d590611e9d565b60405180910390fd5b6112986111e9610967565b8273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016112229190611c81565b60206040518083038186803b15801561123a57600080fd5b505afa15801561124e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061127291906119ab565b8373ffffffffffffffffffffffffffffffffffffffff166116c29092919063ffffffff16565b7f000000000000000000000000677ddbd918637e5f2c79e164d402454de7da861973ffffffffffffffffffffffffffffffffffffffff166340c10f1985856040518363ffffffff1660e01b81526004016112f3929190611cfc565b600060405180830381600087803b15801561130d57600080fd5b505af1158015611321573d6000803e3d6000fd5b50505050505050505050565b60008060008473ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561137857600080fd5b505afa15801561138c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113b091906119d4565b60ff16905060008160126113c4919061218f565b600a6113d09190612017565b6113d8610882565b6113e29190611f93565b90508085116113f157846113f3565b805b925060006001541415611406578261142d565b612710600154846114179190612135565b6114219190611f93565b8361142c919061218f565b5b935081601261143c919061218f565b600a6114489190612017565b846114539190612135565b935050509250929050565b60006114c0826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610d849092919063ffffffff16565b905060008151111561152057808060200190518101906114e09190611959565b61151f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151690611e7d565b60405180910390fd5b5b505050565b60608247101561156a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156190611d7d565b60405180910390fd5b61157385611748565b6115b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a990611e5d565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516115db9190611c6a565b60006040518083038185875af1925050503d8060008114611618576040519150601f19603f3d011682016040523d82523d6000602084013e61161d565b606091505b509150915061162d82828661175b565b92505050949350505050565b6116bc846323b872dd60e01b85858560405160240161165a93929190611cc5565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061145e565b50505050565b6117438363a9059cbb60e01b84846040516024016116e1929190611cfc565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061145e565b505050565b600080823b905060008111915050919050565b6060831561176b578290506117bb565b60008351111561177e5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b29190611d5b565b60405180910390fd5b9392505050565b6000813590506117d181612596565b92915050565b6000815190506117e681612596565b92915050565b6000815190506117fb816125ad565b92915050565b600081359050611810816125c4565b92915050565b600081519050611825816125c4565b92915050565b60008151905061183a816125db565b92915050565b60006020828403121561185257600080fd5b6000611860848285016117c2565b91505092915050565b60006020828403121561187b57600080fd5b6000611889848285016117d7565b91505092915050565b600080604083850312156118a557600080fd5b60006118b3858286016117c2565b92505060206118c4858286016117c2565b9150509250929050565b600080604083850312156118e157600080fd5b60006118ef858286016117c2565b925050602061190085828601611801565b9150509250929050565b60008060006060848603121561191f57600080fd5b600061192d868287016117c2565b935050602061193e86828701611801565b925050604061194f868287016117c2565b9150509250925092565b60006020828403121561196b57600080fd5b6000611979848285016117ec565b91505092915050565b60006020828403121561199457600080fd5b60006119a284828501611801565b91505092915050565b6000602082840312156119bd57600080fd5b60006119cb84828501611816565b91505092915050565b6000602082840312156119e657600080fd5b60006119f48482850161182b565b91505092915050565b611a06816121c3565b82525050565b6000611a1782611f61565b611a218185611f77565b9350611a31818560208601612260565b80840191505092915050565b611a4681612218565b82525050565b611a558161223c565b82525050565b6000611a6682611f6c565b611a708185611f82565b9350611a80818560208601612260565b611a89816122f1565b840191505092915050565b6000611aa1602683611f82565b9150611aac8261230f565b604082019050919050565b6000611ac4601a83611f82565b9150611acf8261235e565b602082019050919050565b6000611ae7601683611f82565b9150611af282612387565b602082019050919050565b6000611b0a601283611f82565b9150611b15826123b0565b602082019050919050565b6000611b2d601783611f82565b9150611b38826123d9565b602082019050919050565b6000611b50601283611f82565b9150611b5b82612402565b602082019050919050565b6000611b73601983611f82565b9150611b7e8261242b565b602082019050919050565b6000611b96601d83611f82565b9150611ba182612454565b602082019050919050565b6000611bb9602a83611f82565b9150611bc48261247d565b604082019050919050565b6000611bdc601283611f82565b9150611be7826124cc565b602082019050919050565b6000611bff601083611f82565b9150611c0a826124f5565b602082019050919050565b6000611c22601f83611f82565b9150611c2d8261251e565b602082019050919050565b6000611c45603683611f82565b9150611c5082612547565b604082019050919050565b611c6481612201565b82525050565b6000611c768284611a0c565b915081905092915050565b6000602082019050611c9660008301846119fd565b92915050565b6000604082019050611cb160008301856119fd565b611cbe60208301846119fd565b9392505050565b6000606082019050611cda60008301866119fd565b611ce760208301856119fd565b611cf46040830184611c5b565b949350505050565b6000604082019050611d1160008301856119fd565b611d1e6020830184611c5b565b9392505050565b6000602082019050611d3a6000830184611a3d565b92915050565b6000602082019050611d556000830184611a4c565b92915050565b60006020820190508181036000830152611d758184611a5b565b905092915050565b60006020820190508181036000830152611d9681611a94565b9050919050565b60006020820190508181036000830152611db681611ab7565b9050919050565b60006020820190508181036000830152611dd681611ada565b9050919050565b60006020820190508181036000830152611df681611afd565b9050919050565b60006020820190508181036000830152611e1681611b20565b9050919050565b60006020820190508181036000830152611e3681611b43565b9050919050565b60006020820190508181036000830152611e5681611b66565b9050919050565b60006020820190508181036000830152611e7681611b89565b9050919050565b60006020820190508181036000830152611e9681611bac565b9050919050565b60006020820190508181036000830152611eb681611bcf565b9050919050565b60006020820190508181036000830152611ed681611bf2565b9050919050565b60006020820190508181036000830152611ef681611c15565b9050919050565b60006020820190508181036000830152611f1681611c38565b9050919050565b6000602082019050611f326000830184611c5b565b92915050565b6000604082019050611f4d6000830185611c5b565b611f5a6020830184611c5b565b9392505050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b6000611f9e82612201565b9150611fa983612201565b925082611fb957611fb86122c2565b5b828204905092915050565b6000808291508390505b600185111561200e57808604811115611fea57611fe9612293565b5b6001851615611ff95780820291505b808102905061200785612302565b9450611fce565b94509492505050565b600061202282612201565b915061202d83612201565b925061205a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484612062565b905092915050565b600082612072576001905061212e565b81612080576000905061212e565b816001811461209657600281146120a0576120cf565b600191505061212e565b60ff8411156120b2576120b1612293565b5b8360020a9150848211156120c9576120c8612293565b5b5061212e565b5060208310610133831016604e8410600b84101617156121045782820a9050838111156120ff576120fe612293565b5b61212e565b6121118484846001611fc4565b9250905081840481111561212857612127612293565b5b81810290505b9392505050565b600061214082612201565b915061214b83612201565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561218457612183612293565b5b828202905092915050565b600061219a82612201565b91506121a583612201565b9250828210156121b8576121b7612293565b5b828203905092915050565b60006121ce826121e1565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006122238261222a565b9050919050565b6000612235826121e1565b9050919050565b60006122478261224e565b9050919050565b6000612259826121e1565b9050919050565b60005b8381101561227e578082015181840152602081019050612263565b8381111561228d576000848401525b50505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000601f19601f8301169050919050565b60008160011c9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f63616c6c65722d69732d6e6f742d7468652d676f7665726e6f72000000000000600082015250565b7f746f6b656e2d69732d6e6f742d737570706f7274656400000000000000000000600082015250565b7f6164642d696e2d6c6973742d6661696c65640000000000000000000000000000600082015250565b7f72656d6f76652d66726f6d2d6c6973742d6661696c6564000000000000000000600082015250565b7f6d696e742d6c696d69742d726561636865640000000000000000000000000000600082015250565b7f6d696e74696e672d6665652d6c696d69742d7265616368656400000000000000600082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f63546f6b656e2d6d696e742d6661696c65640000000000000000000000000000600082015250565b7f73616d652d6d696e74696e672d66656500000000000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60008201527f20746f206e6f6e2d7a65726f20616c6c6f77616e636500000000000000000000602082015250565b61259f816121c3565b81146125aa57600080fd5b50565b6125b6816121d5565b81146125c157600080fd5b50565b6125cd81612201565b81146125d857600080fd5b50565b6125e48161220b565b81146125ef57600080fd5b5056fea2646970667358221220c4dc7754a807c6b2b05842bf677291f430bdae74f07ad93059fa35159b58443064736f6c63430008030033

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

000000000000000000000000677ddbd918637e5f2c79e164d402454de7da8619

-----Decoded View---------------
Arg [0] : _vusd (address): 0x677ddbd918637E5F2c79e164D402454dE7dA8619

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000677ddbd918637e5f2c79e164d402454de7da8619


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.