Contract 0xbcd43f00956313e2874c93468bd040fed97545f2

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x56588cc6d87ac6808f4eed8c9bdcd207b7f46000f5d15711e3de4cedefc9d767Deposit345672622022-03-27 22:15:24193 days 23 hrs ago0x045bcace9b1e077f43882de08550f847f927b45c IN  0xbcd43f00956313e2874c93468bd040fed97545f20 FTM0.037950168393
0xb727f1550c186246f43399bc86f5affbe4a4aaa13841159931e94fb8bf10a563Withdraw332880232022-03-13 5:05:15208 days 16 hrs ago0xd9d1aef69c24237b23fade3a255dc9d5c7b2675f IN  0xbcd43f00956313e2874c93468bd040fed97545f20 FTM0.041648796
0xba16216394487bd4b1635fd3846eb8cdb3dc9bc515b1e1e8005efa03e0b68ee8Deposit332310292022-03-12 13:02:50209 days 8 hrs ago0x48041bc97f0a14c0c3c732c7b42ff52fad6ded78 IN  0xbcd43f00956313e2874c93468bd040fed97545f20 FTM0.036458208702
0xedbd2c65e2f4bf49f77b22a92a615007231947e768d8fd2ab0f15c2122ba319dWithdraw330675522022-03-10 17:33:44211 days 3 hrs ago0x6655a478adbc6aeb6612092d5ff604866834d080 IN  0xbcd43f00956313e2874c93468bd040fed97545f20 FTM0.131647184
0x8ad085339f137ca149407fbec60212aeb70f61448b2fdccb7c1e76c201d58291Deposit329808692022-03-09 17:37:18212 days 3 hrs ago0x48041bc97f0a14c0c3c732c7b42ff52fad6ded78 IN  0xbcd43f00956313e2874c93468bd040fed97545f20 FTM0.064371605602
0x58f615e1a5ba4528a630629a768486570d3557e0cc1dd4455e58b6d643e67b39Deposit329154222022-03-08 23:46:45212 days 21 hrs ago0x48041bc97f0a14c0c3c732c7b42ff52fad6ded78 IN  0xbcd43f00956313e2874c93468bd040fed97545f20 FTM0.046353839097
0x8a7ecf1acc5179f6d1354cc2ae731f8acd69747573d26b1a7cb6b51756d8767fDeposit328872412022-03-08 15:42:44213 days 5 hrs ago0x6655a478adbc6aeb6612092d5ff604866834d080 IN  0xbcd43f00956313e2874c93468bd040fed97545f20 FTM0.210330936
0xa4a61e0740f5ffea3ef02d8218f60d74077002421cb7b51e0187fe2ba94ab948Deposit328307082022-03-07 23:54:39213 days 21 hrs ago0x48041bc97f0a14c0c3c732c7b42ff52fad6ded78 IN  0xbcd43f00956313e2874c93468bd040fed97545f20 FTM0.185732491486
0x1a7e482f427512bb8a3602b39caec4c086c01e4ec64f0dfb4d41946cb40e39e3Deposit327476522022-03-07 0:20:12214 days 20 hrs ago0x48041bc97f0a14c0c3c732c7b42ff52fad6ded78 IN  0xbcd43f00956313e2874c93468bd040fed97545f20 FTM0.166307422419
0xa38b37c918f8defcd8be123400681319ba1fa286b7c201fd91232fd069c31d36Deposit326903102022-03-06 5:29:42215 days 15 hrs ago0x48041bc97f0a14c0c3c732c7b42ff52fad6ded78 IN  0xbcd43f00956313e2874c93468bd040fed97545f20 FTM0.046082749463
0x023866ea87afc94dde9b70503cbf695c82f6a2ec8dfceac23a5148a05a5240f6Deposit326710472022-03-06 0:31:05215 days 20 hrs ago0x48041bc97f0a14c0c3c732c7b42ff52fad6ded78 IN  0xbcd43f00956313e2874c93468bd040fed97545f20 FTM0.046798690258
0x50fdf6570327d343a00169975858254bee33ea3e8d043ea94f7a318a8e384b18Deposit326234742022-03-05 12:22:50216 days 8 hrs ago0x48041bc97f0a14c0c3c732c7b42ff52fad6ded78 IN  0xbcd43f00956313e2874c93468bd040fed97545f20 FTM0.034266335638
0x4da71b4d834af31c50c49464f03abb6182dcf83ff88296bbb712913fc7b69aa5Deposit325809182022-03-05 1:35:11216 days 19 hrs ago0x48041bc97f0a14c0c3c732c7b42ff52fad6ded78 IN  0xbcd43f00956313e2874c93468bd040fed97545f20 FTM0.051439972999
0x8084749dd2b798fa2cd265952e8628aa356afc169a2265789b57ae0a5355bb0fDeposit325413352022-03-04 15:24:15217 days 5 hrs ago0x48041bc97f0a14c0c3c732c7b42ff52fad6ded78 IN  0xbcd43f00956313e2874c93468bd040fed97545f20 FTM0.078293664713
0x071ed525d9d4c57d42829b22bb98ad6721c2bc5dce460b43a17180b1b6f05502Deposit325036842022-03-04 5:44:37217 days 15 hrs ago0x48041bc97f0a14c0c3c732c7b42ff52fad6ded78 IN  0xbcd43f00956313e2874c93468bd040fed97545f20 FTM0.051242336967
0x4801fd2c827fe20c56add74b64d0af5d80d6e796ae89332a3251c3b2cb2d2654Emergency Withdr...324961582022-03-04 3:47:17217 days 17 hrs ago0x6b2fd18430afafb2f1198e754abd3a796b429abf IN  0xbcd43f00956313e2874c93468bd040fed97545f20 FTM0.016311908
0x2c5c3a3625cbd3bcff5b4684475e9d1b0509c628391bc385f93f43dea1790e35Emergency Withdr...324961492022-03-04 3:47:09217 days 17 hrs ago0x6b2fd18430afafb2f1198e754abd3a796b429abf IN  0xbcd43f00956313e2874c93468bd040fed97545f20 FTM0.015916924
0xb2ff08d7c0faeb801b8376e3025ef0cda45d8093af7ba363fa01de519d9f3f43Emergency Withdr...324961442022-03-04 3:47:05217 days 17 hrs ago0x6b2fd18430afafb2f1198e754abd3a796b429abf IN  0xbcd43f00956313e2874c93468bd040fed97545f20 FTM0.015916924
0x894fd4cf2a596cf4cc027aead19bc06c7d48702b0899102e3606599467a504abEmergency Withdr...324961392022-03-04 3:47:01217 days 17 hrs ago0x6b2fd18430afafb2f1198e754abd3a796b429abf IN  0xbcd43f00956313e2874c93468bd040fed97545f20 FTM0.015916924
0xcaac9c46966b626ab5f8bd4940e7252c664739abcdcd20ca68c138ed4a21e004Emergency Withdr...324961342022-03-04 3:46:56217 days 17 hrs ago0x6b2fd18430afafb2f1198e754abd3a796b429abf IN  0xbcd43f00956313e2874c93468bd040fed97545f20 FTM0.021341164
0xeb97f943a26ca703a4bec3be170cb4b3d00db3637834b549d4301f4caa39336fEmergency Withdr...324961292022-03-04 3:46:53217 days 17 hrs ago0x6b2fd18430afafb2f1198e754abd3a796b429abf IN  0xbcd43f00956313e2874c93468bd040fed97545f20 FTM0.01377587
0xcf8a9c5e4cbb8a6bba213a252b40466a68808501b202d08c166ea4e4e82e7782Emergency Withdr...324961242022-03-04 3:46:50217 days 17 hrs ago0x6b2fd18430afafb2f1198e754abd3a796b429abf IN  0xbcd43f00956313e2874c93468bd040fed97545f20 FTM0.013742705
0x09bc1bdc17927ccbb2b8ea0f93e6bbb42e2e2fe3966d3419eee01ee686c4ffeeEmergency Withdr...324961192022-03-04 3:46:46217 days 17 hrs ago0x6b2fd18430afafb2f1198e754abd3a796b429abf IN  0xbcd43f00956313e2874c93468bd040fed97545f20 FTM0.01386833
0x59324ab126e8b3c3fbc9935c33980179b4c7456582ab61d230706fbfc7a129b5Emergency Withdr...324961132022-03-04 3:46:41217 days 17 hrs ago0x6b2fd18430afafb2f1198e754abd3a796b429abf IN  0xbcd43f00956313e2874c93468bd040fed97545f20 FTM0.01373835
0xe89df2693c24014f3dafd53976c0c7b9301665b4f4705ae5dbbcc55ac91f4201Deposit324870662022-03-04 1:26:06217 days 19 hrs ago0x48041bc97f0a14c0c3c732c7b42ff52fad6ded78 IN  0xbcd43f00956313e2874c93468bd040fed97545f20 FTM0.051964833379
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0x8b609ada1fbeafb41c00db81d1b771bb56de830aeead0f28a2c434b2479cad8a322574922022-03-01 8:16:57220 days 13 hrs ago 0x48041bc97f0a14c0c3c732c7b42ff52fad6ded78  Contract Creation0 FTM
[ Download CSV Export 
Loading

Similar Match Source Code
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0xd0320d66337aee935f3bbf8831e041086dbc7adc

Contract Name:
VINCI_MASTERCHEF

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at FtmScan.com on 2022-03-01
*/

// SPDX-License-Identifier: MIT
//RIO FARM BUILDERS
                                     
pragma solidity ^0.6.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

// File: contracts\libs\token\ERC20\IERC20.sol



pragma solidity ^0.6.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: contracts\libs\utils\Address.sol



pragma solidity ^0.6.2;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

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

// File: contracts\libs\token\ERC20\SafeERC20.sol



pragma solidity ^0.6.0;




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

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

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

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

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

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

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

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

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

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

// File: contracts\libs\GSN\Context.sol



pragma solidity ^0.6.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 GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

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

// File: contracts\libs\access\Ownable.sol



pragma solidity ^0.6.0;

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// File: contracts\libs\utils\ReentrancyGuard.sol



pragma solidity ^0.6.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].
 */
contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

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

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

// File: contracts\libs\token\ERC20\ERC20.sol



pragma solidity ^0.6.0;





/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20MinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;
    using Address for address;

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

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

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

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

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

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

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

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20};
     *
     * Requirements:
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

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

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

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

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens.
     *
     * This is internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

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

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

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




pragma solidity 0.6.12;

// VinciToken with Governance.
contract VinciToken is ERC20('DAVINCI FINANCE', 'VINCI'), Ownable {
    /// @notice Creates `_amount` token to `_to`. Must only be called by the owner (MasterChef).
    function mint(address _to, uint256 _amount) public onlyOwner {
        _mint(_to, _amount);
        _moveDelegates(address(0), _delegates[_to], _amount);
    }

    // Copied and modified from YAM code:
    // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernanceStorage.sol
    // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernance.sol
    // Which is copied and modified from COMPOUND:
    // https://github.com/compound-finance/compound-protocol/blob/master/contracts/Governance/Comp.sol

    /// @dev A record of each accounts delegate
    mapping (address => address) internal _delegates;

    /// @notice A checkpoint for marking number of votes from a given block
    struct Checkpoint {
        uint32 fromBlock;
        uint256 votes;
    }

    /// @notice A record of votes checkpoints for each account, by index
    mapping (address => mapping (uint32 => Checkpoint)) public checkpoints;

    /// @notice The number of checkpoints for each account
    mapping (address => uint32) public numCheckpoints;

    /// @notice The EIP-712 typehash for the contract's domain
    bytes32 public constant DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)");

    /// @notice The EIP-712 typehash for the delegation struct used by the contract
    bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");

    /// @notice A record of states for signing / validating signatures
    mapping (address => uint) public nonces;

      /// @notice An event thats emitted when an account changes its delegate
    event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);

    /// @notice An event thats emitted when a delegate account's vote balance changes
    event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance);

    /**
     * @notice Delegate votes from `msg.sender` to `delegatee`
     * @param delegator The address to get delegatee for
     */
    function delegates(address delegator)
        external
        view
        returns (address)
    {
        return _delegates[delegator];
    }

   /**
    * @notice Delegate votes from `msg.sender` to `delegatee`
    * @param delegatee The address to delegate votes to
    */
    function delegate(address delegatee) external {
        return _delegate(msg.sender, delegatee);
    }

    /**
     * @notice Delegates votes from signatory to `delegatee`
     * @param delegatee The address to delegate votes to
     * @param nonce The contract state required to match the signature
     * @param expiry The time at which to expire the signature
     * @param v The recovery byte of the signature
     * @param r Half of the ECDSA signature pair
     * @param s Half of the ECDSA signature pair
     */
    function delegateBySig(
        address delegatee,
        uint nonce,
        uint expiry,
        uint8 v,
        bytes32 r,
        bytes32 s
    )
        external
    {
        bytes32 domainSeparator = keccak256(
            abi.encode(
                DOMAIN_TYPEHASH,
                keccak256(bytes(name())),
                getChainId(),
                address(this)
            )
        );

        bytes32 structHash = keccak256(
            abi.encode(
                DELEGATION_TYPEHASH,
                delegatee,
                nonce,
                expiry
            )
        );

        bytes32 digest = keccak256(
            abi.encodePacked(
                "\x19\x01",
                domainSeparator,
                structHash
            )
        );

        address signatory = ecrecover(digest, v, r, s);
        require(signatory != address(0), "VINCI::delegateBySig: invalid signature");
        require(nonce == nonces[signatory]++, "VINCI::delegateBySig: invalid nonce");
        require(now <= expiry, "VINCI::delegateBySig: signature expired");
        return _delegate(signatory, delegatee);
    }

    /**
     * @notice Gets the current votes balance for `account`
     * @param account The address to get votes balance
     * @return The number of current votes for `account`
     */
    function getCurrentVotes(address account)
        external
        view
        returns (uint256)
    {
        uint32 nCheckpoints = numCheckpoints[account];
        return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0;
    }

    /**
     * @notice Determine the prior number of votes for an account as of a block number
     * @dev Block number must be a finalized block or else this function will revert to prevent misinformation.
     * @param account The address of the account to check
     * @param blockNumber The block number to get the vote balance at
     * @return The number of votes the account had as of the given block
     */
    function getPriorVotes(address account, uint blockNumber)
        external
        view
        returns (uint256)
    {
        require(blockNumber < block.number, "VINCI::getPriorVotes: not yet determined");

        uint32 nCheckpoints = numCheckpoints[account];
        if (nCheckpoints == 0) {
            return 0;
        }

        // First check most recent balance
        if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) {
            return checkpoints[account][nCheckpoints - 1].votes;
        }

        // Next check implicit zero balance
        if (checkpoints[account][0].fromBlock > blockNumber) {
            return 0;
        }

        uint32 lower = 0;
        uint32 upper = nCheckpoints - 1;
        while (upper > lower) {
            uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow
            Checkpoint memory cp = checkpoints[account][center];
            if (cp.fromBlock == blockNumber) {
                return cp.votes;
            } else if (cp.fromBlock < blockNumber) {
                lower = center;
            } else {
                upper = center - 1;
            }
        }
        return checkpoints[account][lower].votes;
    }

    function _delegate(address delegator, address delegatee)
        internal
    {
        address currentDelegate = _delegates[delegator];
        uint256 delegatorBalance = balanceOf(delegator); // balance of underlying VINCIs (not scaled);
        _delegates[delegator] = delegatee;

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveDelegates(currentDelegate, delegatee, delegatorBalance);
    }

    function _moveDelegates(address srcRep, address dstRep, uint256 amount) internal {
        if (srcRep != dstRep && amount > 0) {
            if (srcRep != address(0)) {
                // decrease old representative
                uint32 srcRepNum = numCheckpoints[srcRep];
                uint256 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0;
                uint256 srcRepNew = srcRepOld.sub(amount);
                _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew);
            }

            if (dstRep != address(0)) {
                // increase new representative
                uint32 dstRepNum = numCheckpoints[dstRep];
                uint256 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0;
                uint256 dstRepNew = dstRepOld.add(amount);
                _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew);
            }
        }
    }

    function _writeCheckpoint(
        address delegatee,
        uint32 nCheckpoints,
        uint256 oldVotes,
        uint256 newVotes
    )
        internal
    {
        uint32 blockNumber = safe32(block.number, "VINCI::_writeCheckpoint: block number exceeds 32 bits");

        if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) {
            checkpoints[delegatee][nCheckpoints - 1].votes = newVotes;
        } else {
            checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes);
            numCheckpoints[delegatee] = nCheckpoints + 1;
        }

        emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
    }

    function safe32(uint n, string memory errorMessage) internal pure returns (uint32) {
        require(n < 2**32, errorMessage);
        return uint32(n);
    }

    function getChainId() internal pure returns (uint) {
        uint256 chainId;
        assembly { chainId := chainid() }
        return chainId;
    }
}




pragma solidity 0.6.12;

// MasterChef is the master of Vinci. He can make Vinci and he is a fair guy.
//
// Note that it's ownable and the owner wields tremendous power. The ownership
// will be transferred to a governance smart contract once VINCI is sufficiently
// distributed and the community can show to govern itself.
//
// Have fun reading it. Hopefully it's bug-free.
contract VINCI_MASTERCHEF is Ownable, ReentrancyGuard {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    // Info of each user.
    struct UserInfo {
        uint256 amount;         // How many LP tokens the user has provided.
        uint256 rewardDebt;     // Reward debt. See explanation below.
        //
        // We do some fancy math here. Basically, any point in time, the amount of VINCIs
        // entitled to a user but is pending to be distributed is:
        //
        //   pending reward = (user.amount * pool.accVinciPerShare) - user.rewardDebt
        //
        // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens:
        //   1. The pool's `accVinciPerShare` (and `lastRewardBlock`) gets updated.
        //   2. User receives the pending reward sent to his/her address.
        //   3. User's `amount` gets updated.
        //   4. User's `rewardDebt` gets updated.
    }

    // Info of each pool.
    struct PoolInfo {
        IERC20 lpToken;           // Address of LP token contract.
        uint256 allocPoint;       // How many allocation points assigned to this pool. VINCIs to distribute per block.
        uint256 lastRewardBlock;  // Last block number that VINCIs distribution occurs.
        uint256 accVinciPerShare;   // Accumulated VINCIs per share, times 1e12. See below.
        uint16 depositFeeBP;      // Deposit fee in basis points
    }

    // The VINCI TOKEN!
    VinciToken public vinci;
    // Dev address.
    address public devaddr;
    // VINCI tokens created per block.
    uint256 public vinciPerBlock;
    // Bonus muliplier for early vinci makers.
    uint256 public constant BONUS_MULTIPLIER = 1;
    // Deposit Fee address
    address public feeAddress;
    // RIO Deposit Fee address
    address public feeAddressrio;

    // Info of each pool.
    PoolInfo[] public poolInfo;
    // Info of each user that stakes LP tokens.
    mapping(uint256 => mapping(address => UserInfo)) public userInfo;
    // Total allocation points. Must be the sum of all allocation points in all pools.
    uint256 public totalAllocPoint = 0;
    // The block number when VINCI mining starts.
    uint256 public startBlock;

    event Deposit(address indexed user, uint256 indexed pid, uint256 amount);
    event Withdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event SetFeeAddress(address indexed user, address indexed newAddress);
    event SetFeeAddressRIO(address indexed user, address indexed newAddress);
    event SetDevAddress(address indexed user, address indexed newAddress);
    event UpdateEmissionRate(address indexed user, uint256 goosePerBlock);

    constructor(
        VinciToken _vinci,
        address _devaddr,
        address _feeAddress,
        address _feeAddressrio,
        uint256 _vinciPerBlock,
        uint256 _startBlock
    ) public {
        vinci = _vinci;
        devaddr = _devaddr;
        feeAddress = _feeAddress;
        feeAddressrio = _feeAddressrio;
        vinciPerBlock = _vinciPerBlock;
        startBlock = _startBlock;
    }

    function poolLength() external view returns (uint256) {
        return poolInfo.length;
    }

    mapping(IERC20 => bool) public poolExistence;
    modifier nonDuplicated(IERC20 _lpToken) {
        require(poolExistence[_lpToken] == false, "nonDuplicated: duplicated");
        _;
    }

    // Add a new lp to the pool. Can only be called by the owner.
    function add(uint256 _allocPoint, IERC20 _lpToken, uint16 _depositFeeBP, bool _withUpdate) public onlyOwner nonDuplicated(_lpToken) {
        require(_depositFeeBP <= 400, "add: invalid deposit fee basis points");
        if (_withUpdate) {
            massUpdatePools();
        }
        uint256 lastRewardBlock = block.number > startBlock ? block.number : startBlock;
        totalAllocPoint = totalAllocPoint.add(_allocPoint);
        poolExistence[_lpToken] = true;
        poolInfo.push(PoolInfo({
        lpToken : _lpToken,
        allocPoint : _allocPoint,
        lastRewardBlock : lastRewardBlock,
        accVinciPerShare : 0,
        depositFeeBP : _depositFeeBP
        }));
    }

    // Update the given pool's VINCI allocation point and deposit fee. Can only be called by the owner.
    function set(uint256 _pid, uint256 _allocPoint, uint16 _depositFeeBP, bool _withUpdate) public onlyOwner {
        require(_depositFeeBP <= 400, "set: invalid deposit fee basis points");
        if (_withUpdate) {
            massUpdatePools();
        }
        totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(_allocPoint);
        poolInfo[_pid].allocPoint = _allocPoint;
        poolInfo[_pid].depositFeeBP = _depositFeeBP;
    }

    // Return reward multiplier over the given _from to _to block.
    function getMultiplier(uint256 _from, uint256 _to) public pure returns (uint256) {
        return _to.sub(_from).mul(BONUS_MULTIPLIER);
    }

    // View function to see pending VINCIs on frontend.
    function pendingVinci(uint256 _pid, address _user) external view returns (uint256) {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        uint256 accVinciPerShare = pool.accVinciPerShare;
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (block.number > pool.lastRewardBlock && lpSupply != 0) {
            uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
            uint256 vinciReward = multiplier.mul(vinciPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
            accVinciPerShare = accVinciPerShare.add(vinciReward.mul(1e12).div(lpSupply));
        }
        return user.amount.mul(accVinciPerShare).div(1e12).sub(user.rewardDebt);
    }

    // Update reward variables for all pools. Be careful of gas spending!
    function massUpdatePools() public {
        uint256 length = poolInfo.length;
        for (uint256 pid = 0; pid < length; ++pid) {
            updatePool(pid);
        }
    }

    // Update reward variables of the given pool to be up-to-date.
    function updatePool(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        if (block.number <= pool.lastRewardBlock) {
            return;
        }
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (lpSupply == 0 || pool.allocPoint == 0) {
            pool.lastRewardBlock = block.number;
            return;
        }
        uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
        uint256 vinciReward = multiplier.mul(vinciPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
        vinci.mint(devaddr, vinciReward.div(10));
        vinci.mint(address(this), vinciReward);
        pool.accVinciPerShare = pool.accVinciPerShare.add(vinciReward.mul(1e12).div(lpSupply));
        pool.lastRewardBlock = block.number;
    }

    // Deposit LP tokens to MasterChef for VINCI allocation.
    function deposit(uint256 _pid, uint256 _amount) public nonReentrant {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        updatePool(_pid);
        if (user.amount > 0) {
            uint256 pending = user.amount.mul(pool.accVinciPerShare).div(1e12).sub(user.rewardDebt);
            if (pending > 0) {
                safeVinciTransfer(msg.sender, pending);
            }
        }
        if (_amount > 0) {
			 uint256 balanceBefore = pool.lpToken.balanceOf(address(this));
            pool.lpToken.safeTransferFrom(address(msg.sender), address(this), _amount);
            _amount = pool.lpToken.balanceOf(address(this)).sub(balanceBefore);
            if (pool.depositFeeBP > 0) {
                uint256 depositFee = _amount.mul(pool.depositFeeBP).div(10000);
                pool.lpToken.safeTransfer(feeAddress, depositFee.div(2));
                pool.lpToken.safeTransfer(feeAddressrio, depositFee.div(2));
                user.amount = user.amount.add(_amount).sub(depositFee);
            } else {
                user.amount = user.amount.add(_amount);
            }
        }
        user.rewardDebt = user.amount.mul(pool.accVinciPerShare).div(1e12);
        emit Deposit(msg.sender, _pid, _amount);
    }

    // Withdraw LP tokens from MasterChef.
    function withdraw(uint256 _pid, uint256 _amount) public nonReentrant {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        require(user.amount >= _amount, "withdraw: not good");
        updatePool(_pid);
        uint256 pending = user.amount.mul(pool.accVinciPerShare).div(1e12).sub(user.rewardDebt);
        if (pending > 0) {
            safeVinciTransfer(msg.sender, pending);
        }
        if (_amount > 0) {
            user.amount = user.amount.sub(_amount);
            pool.lpToken.safeTransfer(address(msg.sender), _amount);
        }
        user.rewardDebt = user.amount.mul(pool.accVinciPerShare).div(1e12);
        emit Withdraw(msg.sender, _pid, _amount);
    }

    // Withdraw without caring about rewards. EMERGENCY ONLY.
    function emergencyWithdraw(uint256 _pid) public nonReentrant {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        uint256 amount = user.amount;
        user.amount = 0;
        user.rewardDebt = 0;
        pool.lpToken.safeTransfer(address(msg.sender), amount);
        emit EmergencyWithdraw(msg.sender, _pid, amount);
    }

    // Safe vinci transfer function, just in case if rounding error causes pool to not have enough VINCIs.
    function safeVinciTransfer(address _to, uint256 _amount) internal {
        uint256 vinciBal = vinci.balanceOf(address(this));
        bool transferSuccess = false;
        if (_amount > vinciBal) {
            transferSuccess = vinci.transfer(_to, vinciBal);
        } else {
            transferSuccess = vinci.transfer(_to, _amount);
        }
        require(transferSuccess, "safeVinciTransfer: transfer failed");
    }

    // Update dev address by the previous dev.
    function dev(address _devaddr) public {
        require(msg.sender == devaddr, "dev: wut?");
		require(_devaddr != address(0), "!nonzero");
        devaddr = _devaddr;
        emit SetDevAddress(msg.sender, _devaddr);
    }

    function setFeeAddress(address _feeAddress) public {
        require(msg.sender == feeAddress, "setFeeAddress: FORBIDDEN");
		require(_feeAddress != address(0), "!nonzero");
        feeAddress = _feeAddress;
        emit SetFeeAddress(msg.sender, _feeAddress);
    }
    function setFeeAddressRIO(address _feeAddressrio) external {
        require(msg.sender == feeAddressrio, "setFeeAddressRIO: FORBIDDEN");
        require(_feeAddressrio != address(0), "!nonzero");
        feeAddressrio = _feeAddressrio;
        emit SetFeeAddressRIO(msg.sender, _feeAddressrio);
    }
    //Pancake has to add hidden dummy pools inorder to alter the emission, here we make it simple and transparent to all.
    function updateEmissionRate(uint256 _vinciPerBlock) public onlyOwner {
        massUpdatePools();
        vinciPerBlock = _vinciPerBlock;
        emit UpdateEmissionRate(msg.sender, _vinciPerBlock);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract VinciToken","name":"_vinci","type":"address"},{"internalType":"address","name":"_devaddr","type":"address"},{"internalType":"address","name":"_feeAddress","type":"address"},{"internalType":"address","name":"_feeAddressrio","type":"address"},{"internalType":"uint256","name":"_vinciPerBlock","type":"uint256"},{"internalType":"uint256","name":"_startBlock","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","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":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newAddress","type":"address"}],"name":"SetDevAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newAddress","type":"address"}],"name":"SetFeeAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newAddress","type":"address"}],"name":"SetFeeAddressRIO","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"goosePerBlock","type":"uint256"}],"name":"UpdateEmissionRate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"BONUS_MULTIPLIER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_lpToken","type":"address"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devaddr","type":"address"}],"name":"dev","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devaddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeAddressrio","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingVinci","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"name":"poolExistence","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accVinciPerShare","type":"uint256"},{"internalType":"uint16","name":"depositFeeBP","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeAddress","type":"address"}],"name":"setFeeAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeAddressrio","type":"address"}],"name":"setFeeAddressRIO","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_vinciPerBlock","type":"uint256"}],"name":"updateEmissionRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vinci","outputs":[{"internalType":"contract VinciToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vinciPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260006009553480156200001657600080fd5b50604051620037d6380380620037d6833981810160405260c08110156200003c57600080fd5b810190808051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190805190602001909291905050506000620000916200025460201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3506001808190555085600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160048190555080600a819055505050505050506200025c565b600033905090565b61356a806200026c6000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c80638705fcd4116100f9578063cbd258b511610097578063e2bbb15811610071578063e2bbb15814610746578063e3a7b6cc1461077e578063e5f813c61461079c578063f2fde38b146107e0576101c4565b8063cbd258b514610666578063d49e77cd146106c0578063d9638422146106f4576101c4565b80638da5cb5b116100d35780638da5cb5b146105495780638dbb1e3a1461057d57806390cb4f71146105c957806393f1a40b146105fd576101c4565b80638705fcd4146104a35780638aa28550146104e75780638d88a90e14610505576101c4565b806348cd4cb111610166578063630b5ba111610140578063630b5ba1146103f357806364a9f595146103fd578063715018a61461043157806384e82a331461043b576101c4565b806348cd4cb11461037957806351eb05a6146103975780635312ea8e146103c5576101c4565b806317caf6f1116101a257806317caf6f11461028d5780633c8ba74b146102ab578063412753581461030d578063441a3e7014610341576101c4565b8063081e3eda146101c95780630ba84cd2146101e75780631526fe2714610215575b600080fd5b6101d1610824565b6040518082815260200191505060405180910390f35b610213600480360360208110156101fd57600080fd5b8101908080359060200190929190505050610831565b005b6102416004803603602081101561022b57600080fd5b8101908080359060200190929190505050610959565b604051808673ffffffffffffffffffffffffffffffffffffffff1681526020018581526020018481526020018381526020018261ffff1681526020019550505050505060405180910390f35b6102956109ca565b6040518082815260200191505060405180910390f35b6102f7600480360360408110156102c157600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506109d0565b6040518082815260200191505060405180910390f35b610315610c16565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103776004803603604081101561035757600080fd5b810190808035906020019092919080359060200190929190505050610c3c565b005b610381610f22565b6040518082815260200191505060405180910390f35b6103c3600480360360208110156103ad57600080fd5b8101908080359060200190929190505050610f28565b005b6103f1600480360360208110156103db57600080fd5b8101908080359060200190929190505050611283565b005b6103fb61143f565b005b61040561146c565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610439611492565b005b6104a16004803603608081101561045157600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803561ffff169060200190929190803515159060200190929190505050611618565b005b6104e5600480360360208110156104b957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061199e565b005b6104ef611ba2565b6040518082815260200191505060405180910390f35b6105476004803603602081101561051b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611ba7565b005b610551611dab565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105b36004803603604081101561059357600080fd5b810190808035906020019092919080359060200190929190505050611dd4565b6040518082815260200191505060405180910390f35b6105d1611e04565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106496004803603604081101561061357600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611e2a565b604051808381526020018281526020019250505060405180910390f35b6106a86004803603602081101561067c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611e5b565b60405180821515815260200191505060405180910390f35b6106c8611e7b565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107446004803603608081101561070a57600080fd5b810190808035906020019092919080359060200190929190803561ffff169060200190929190803515159060200190929190505050611ea1565b005b61077c6004803603604081101561075c57600080fd5b810190808035906020019092919080359060200190929190505050612084565b005b610786612645565b6040518082815260200191505060405180910390f35b6107de600480360360208110156107b257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061264b565b005b610822600480360360208110156107f657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061284f565b005b6000600780549050905090565b610839612a5a565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146108f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b61090161143f565b806004819055503373ffffffffffffffffffffffffffffffffffffffff167fe2492e003bbe8afa53088b406f0c1cb5d9e280370fc72a74cf116ffd343c4053826040518082815260200191505060405180910390a250565b6007818154811061096657fe5b90600052602060002090600502016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154908060040160009054906101000a900461ffff16905085565b60095481565b600080600784815481106109e057fe5b9060005260206000209060050201905060006008600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008260030154905060008360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610ada57600080fd5b505afa158015610aee573d6000803e3d6000fd5b505050506040513d6020811015610b0457600080fd5b81019080805190602001909291905050509050836002015443118015610b2b575060008114155b15610bc6576000610b40856002015443611dd4565b90506000610b83600954610b758860010154610b6760045487612a6290919063ffffffff16565b612a6290919063ffffffff16565b612ae890919063ffffffff16565b9050610bc1610bb284610ba464e8d4a5100085612a6290919063ffffffff16565b612ae890919063ffffffff16565b85612b3290919063ffffffff16565b935050505b610c0a8360010154610bfc64e8d4a51000610bee868860000154612a6290919063ffffffff16565b612ae890919063ffffffff16565b612bba90919063ffffffff16565b94505050505092915050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60026001541415610cb5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600181905550600060078381548110610ccc57fe5b9060005260206000209060050201905060006008600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508281600001541015610daa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f77697468647261773a206e6f7420676f6f64000000000000000000000000000081525060200191505060405180910390fd5b610db384610f28565b6000610dfd8260010154610def64e8d4a51000610de187600301548760000154612a6290919063ffffffff16565b612ae890919063ffffffff16565b612bba90919063ffffffff16565b90506000811115610e1357610e123382612c04565b5b6000841115610e8b57610e33848360000154612bba90919063ffffffff16565b8260000181905550610e8a33858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612ed89092919063ffffffff16565b5b610ebd64e8d4a51000610eaf85600301548560000154612a6290919063ffffffff16565b612ae890919063ffffffff16565b8260010181905550843373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568866040518082815260200191505060405180910390a3505050600180819055505050565b600a5481565b600060078281548110610f3757fe5b9060005260206000209060050201905080600201544311610f585750611280565b60008160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610fe557600080fd5b505afa158015610ff9573d6000803e3d6000fd5b505050506040513d602081101561100f57600080fd5b810190808051906020019092919050505090506000811480611035575060008260010154145b1561104a574382600201819055505050611280565b600061105a836002015443611dd4565b9050600061109d60095461108f866001015461108160045487612a6290919063ffffffff16565b612a6290919063ffffffff16565b612ae890919063ffffffff16565b9050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611114600a85612ae890919063ffffffff16565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561116757600080fd5b505af115801561117b573d6000803e3d6000fd5b50505050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1930836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561121257600080fd5b505af1158015611226573d6000803e3d6000fd5b5050505061126a6112578461124964e8d4a5100085612a6290919063ffffffff16565b612ae890919063ffffffff16565b8560030154612b3290919063ffffffff16565b8460030181905550438460020181905550505050505b50565b600260015414156112fc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260018190555060006007828154811061131357fe5b9060005260206000209060050201905060006008600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008160000154905060008260000181905550600082600101819055506113e333828560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612ed89092919063ffffffff16565b833373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595836040518082815260200191505060405180910390a35050506001808190555050565b6000600780549050905060005b818110156114685761145d81610f28565b80600101905061144c565b5050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61149a612a5a565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461155a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b611620612a5a565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146116e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8260001515600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515146117a7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f6e6f6e4475706c6963617465643a206475706c6963617465640000000000000081525060200191505060405180910390fd5b6101908361ffff161115611806576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806134586025913960400191505060405180910390fd5b81156118155761181461143f565b5b6000600a54431161182857600a5461182a565b435b905061184186600954612b3290919063ffffffff16565b6009819055506001600b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060076040518060a001604052808773ffffffffffffffffffffffffffffffffffffffff168152602001888152602001838152602001600081526020018661ffff16815250908060018154018082558091505060019003906000526020600020906005020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010155604082015181600201556060820151816003015560808201518160040160006101000a81548161ffff021916908361ffff1602179055505050505050505050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611a61576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f736574466565416464726573733a20464f5242494444454e000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b04576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260088152602001807f216e6f6e7a65726f00000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fd44190acf9d04bdb5d3a1aafff7e6dee8b40b93dfb8c5d3f0eea4b9f4539c3f760405160405180910390a350565b600181565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611c6a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f6465763a207775743f000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d0d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260088152602001807f216e6f6e7a65726f00000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f618c54559e94f1499a808aad71ee8729f8e74e8c48e979616328ce493a1a52e760405160405180910390a350565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000611dfc6001611dee8585612bba90919063ffffffff16565b612a6290919063ffffffff16565b905092915050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6008602052816000526040600020602052806000526040600020600091509150508060000154908060010154905082565b600b6020528060005260406000206000915054906101000a900460ff1681565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611ea9612a5a565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611f69576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6101908261ffff161115611fc8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806134e66025913960400191505060405180910390fd5b8015611fd757611fd661143f565b5b61201c8361200e60078781548110611feb57fe5b906000526020600020906005020160010154600954612bba90919063ffffffff16565b612b3290919063ffffffff16565b600981905550826007858154811061203057fe5b906000526020600020906005020160010181905550816007858154811061205357fe5b906000526020600020906005020160040160006101000a81548161ffff021916908361ffff16021790555050505050565b600260015414156120fd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260018190555060006007838154811061211457fe5b9060005260206000209060050201905060006008600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905061218184610f28565b6000816000015411156121f05760006121d882600101546121ca64e8d4a510006121bc87600301548760000154612a6290919063ffffffff16565b612ae890919063ffffffff16565b612bba90919063ffffffff16565b905060008111156121ee576121ed3382612c04565b5b505b60008311156125af5760008260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561228657600080fd5b505afa15801561229a573d6000803e3d6000fd5b505050506040513d60208110156122b057600080fd5b810190808051906020019092919050505090506123143330868660000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612f7a909392919063ffffffff16565b6123ec818460000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156123a357600080fd5b505afa1580156123b7573d6000803e3d6000fd5b505050506040513d60208110156123cd57600080fd5b8101908080519060200190929190505050612bba90919063ffffffff16565b935060008360040160009054906101000a900461ffff1661ffff16111561258d57600061244c61271061243e8660040160009054906101000a900461ffff1661ffff1688612a6290919063ffffffff16565b612ae890919063ffffffff16565b90506124d2600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612488600284612ae890919063ffffffff16565b8660000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612ed89092919063ffffffff16565b612556600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661250c600284612ae890919063ffffffff16565b8660000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612ed89092919063ffffffff16565b61257f81612571878660000154612b3290919063ffffffff16565b612bba90919063ffffffff16565b8360000181905550506125ad565b6125a4848360000154612b3290919063ffffffff16565b82600001819055505b505b6125e164e8d4a510006125d384600301548460000154612a6290919063ffffffff16565b612ae890919063ffffffff16565b8160010181905550833373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15856040518082815260200191505060405180910390a35050600180819055505050565b60045481565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461270e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f7365744665654164647265737352494f3a20464f5242494444454e000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156127b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260088152602001807f216e6f6e7a65726f00000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fa1b05f54eb584b5c1bc5c396fa0f517eac2877f4ac7d4aebcf035cf687e8a57360405160405180910390a350565b612857612a5a565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612917576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561299d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061349f6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b600080831415612a755760009050612ae2565b6000828402905082848281612a8657fe5b0414612add576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806134c56021913960400191505060405180910390fd5b809150505b92915050565b6000612b2a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061303b565b905092915050565b600080828401905083811015612bb0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6000612bfc83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613101565b905092915050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015612c8f57600080fd5b505afa158015612ca3573d6000803e3d6000fd5b505050506040513d6020811015612cb957600080fd5b81019080805190602001909291905050509050600081831115612dab57600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015612d6957600080fd5b505af1158015612d7d573d6000803e3d6000fd5b505050506040513d6020811015612d9357600080fd5b81019080805190602001909291905050509050612e7c565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015612e3e57600080fd5b505af1158015612e52573d6000803e3d6000fd5b505050506040513d6020811015612e6857600080fd5b810190808051906020019092919050505090505b80612ed2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602281526020018061347d6022913960400191505060405180910390fd5b50505050565b612f758363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506131c1565b505050565b613035846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506131c1565b50505050565b600080831182906130e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156130ac578082015181840152602081019050613091565b50505050905090810190601f1680156130d95780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816130f357fe5b049050809150509392505050565b60008383111582906131ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613173578082015181840152602081019050613158565b50505050905090810190601f1680156131a05780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b6131e08273ffffffffffffffffffffffffffffffffffffffff1661340c565b613252576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e74726163740081525060200191505060405180910390fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b602083106132a1578051825260208201915060208101905060208303925061327e565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114613303576040519150601f19603f3d011682016040523d82523d6000602084013e613308565b606091505b509150915081613380576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656481525060200191505060405180910390fd5b6000815111156134065780806020019051602081101561339f57600080fd5b8101908080519060200190929190505050613405576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018061350b602a913960400191505060405180910390fd5b5b50505050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f915080821415801561344e57506000801b8214155b9250505091905056fe6164643a20696e76616c6964206465706f7369742066656520626173697320706f696e74737361666556696e63695472616e736665723a207472616e73666572206661696c65644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f777365743a20696e76616c6964206465706f7369742066656520626173697320706f696e74735361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220064fedb4f5e8c3898c6d370c6c6d6d225b2d085015b18214f4ae9ad8dfcab96364736f6c634300060c0033000000000000000000000000d1f6e3ed7f6932873b54dde362e7c91852a0b00800000000000000000000000048041bc97f0a14c0c3c732c7b42ff52fad6ded78000000000000000000000000672b566289f35719546fdde32d21a4ccc7f1df950000000000000000000000001ed1b6e95cf28c5dba9ead44808ffc3e1d6ed93b00000000000000000000000000000000000000000000000000b1a2bc2ec500000000000000000000000000000000000000000000000000000000000001ee6d19

Deployed ByteCode Sourcemap

40998:11533:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44251:95;;;:::i;:::-;;;;;;;;;;;;;;;;;;;52320:208;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;42898:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43139:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;46188:768;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;42770:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;49540:758;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;43231:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;47295:814;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;50369:398;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;47039:180;;;:::i;:::-;;42488:23;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;17377:148;;;:::i;:::-;;44621:709;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;51608:271;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;42691:44;;;:::i;:::-;;;;;;;;;;;;;;;;;;;51372:228;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;16735:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;45980:143;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;42834:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;42980:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;44354:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;42539:22;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;45443:461;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;48179:1309;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;42608:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;51885:306;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;17680:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;44251:95;44296:7;44323:8;:15;;;;44316:22;;44251:95;:::o;52320:208::-;16957:12;:10;:12::i;:::-;16947:22;;:6;;;;;;;;;;:22;;;16939:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52400:17:::1;:15;:17::i;:::-;52444:14;52428:13;:30;;;;52493:10;52474:46;;;52505:14;52474:46;;;;;;;;;;;;;;;;;;52320:208:::0;:::o;42898:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;43139:34::-;;;;:::o;46188:768::-;46262:7;46282:21;46306:8;46315:4;46306:14;;;;;;;;;;;;;;;;;;46282:38;;46331:21;46355:8;:14;46364:4;46355:14;;;;;;;;;;;:21;46370:5;46355:21;;;;;;;;;;;;;;;46331:45;;46387:24;46414:4;:21;;;46387:48;;46446:16;46465:4;:12;;;;;;;;;;;;:22;;;46496:4;46465:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46446:56;;46532:4;:20;;;46517:12;:35;:52;;;;;46568:1;46556:8;:13;;46517:52;46513:354;;;46586:18;46607:49;46621:4;:20;;;46643:12;46607:13;:49::i;:::-;46586:70;;46671:19;46693:71;46748:15;;46693:50;46727:4;:15;;;46693:29;46708:13;;46693:10;:14;;:29;;;;:::i;:::-;:33;;:50;;;;:::i;:::-;:54;;:71;;;;:::i;:::-;46671:93;;46798:57;46819:35;46845:8;46819:21;46835:4;46819:11;:15;;:21;;;;:::i;:::-;:25;;:35;;;;:::i;:::-;46798:16;:20;;:57;;;;:::i;:::-;46779:76;;46513:354;;;46884:64;46932:4;:15;;;46884:43;46922:4;46884:33;46900:16;46884:4;:11;;;:15;;:33;;;;:::i;:::-;:37;;:43;;;;:::i;:::-;:47;;:64;;;;:::i;:::-;46877:71;;;;;;46188:768;;;;:::o;42770:25::-;;;;;;;;;;;;;:::o;49540:758::-;19657:1;20263:7;;:19;;20255:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19657:1;20396:7;:18;;;;49620:21:::1;49644:8;49653:4;49644:14;;;;;;;;;;;;;;;;;;49620:38;;49669:21;49693:8;:14;49702:4;49693:14;;;;;;;;;;;:26;49708:10;49693:26;;;;;;;;;;;;;;;49669:50;;49753:7;49738:4;:11;;;:22;;49730:53;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;49794:16;49805:4;49794:10;:16::i;:::-;49821:15;49839:69;49892:4;:15;;;49839:48;49882:4;49839:38;49855:4;:21;;;49839:4;:11;;;:15;;:38;;;;:::i;:::-;:42;;:48;;;;:::i;:::-;:52;;:69;;;;:::i;:::-;49821:87;;49933:1;49923:7;:11;49919:82;;;49951:38;49969:10;49981:7;49951:17;:38::i;:::-;49919:82;50025:1;50015:7;:11;50011:152;;;50057:24;50073:7;50057:4;:11;;;:15;;:24;;;;:::i;:::-;50043:4;:11;;:38;;;;50096:55;50130:10;50143:7;50096:4;:12;;;;;;;;;;;;:25;;;;:55;;;;;:::i;:::-;50011:152;50191:48;50234:4;50191:38;50207:4;:21;;;50191:4;:11;;;:15;;:38;;;;:::i;:::-;:42;;:48;;;;:::i;:::-;50173:4;:15;;:66;;;;50276:4;50264:10;50255:35;;;50282:7;50255:35;;;;;;;;;;;;;;;;;;20427:1;;;19613::::0;20575:7;:22;;;;49540:758;;:::o;43231:25::-;;;;:::o;47295:814::-;47347:21;47371:8;47380:4;47371:14;;;;;;;;;;;;;;;;;;47347:38;;47416:4;:20;;;47400:12;:36;47396:75;;47453:7;;;47396:75;47481:16;47500:4;:12;;;;;;;;;;;;:22;;;47531:4;47500:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47481:56;;47564:1;47552:8;:13;:37;;;;47588:1;47569:4;:15;;;:20;47552:37;47548:126;;;47629:12;47606:4;:20;;:35;;;;47656:7;;;;47548:126;47684:18;47705:49;47719:4;:20;;;47741:12;47705:13;:49::i;:::-;47684:70;;47765:19;47787:71;47842:15;;47787:50;47821:4;:15;;;47787:29;47802:13;;47787:10;:14;;:29;;;;:::i;:::-;:33;;:50;;;;:::i;:::-;:54;;:71;;;;:::i;:::-;47765:93;;47869:5;;;;;;;;;;;:10;;;47880:7;;;;;;;;;;;47889:19;47905:2;47889:11;:15;;:19;;;;:::i;:::-;47869:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47920:5;;;;;;;;;;;:10;;;47939:4;47946:11;47920:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47993:62;48019:35;48045:8;48019:21;48035:4;48019:11;:15;;:21;;;;:::i;:::-;:25;;:35;;;;:::i;:::-;47993:4;:21;;;:25;;:62;;;;:::i;:::-;47969:4;:21;;:86;;;;48089:12;48066:4;:20;;:35;;;;47295:814;;;;;;:::o;50369:398::-;19657:1;20263:7;;:19;;20255:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19657:1;20396:7;:18;;;;50441:21:::1;50465:8;50474:4;50465:14;;;;;;;;;;;;;;;;;;50441:38;;50490:21;50514:8;:14;50523:4;50514:14;;;;;;;;;;;:26;50529:10;50514:26;;;;;;;;;;;;;;;50490:50;;50551:14;50568:4;:11;;;50551:28;;50604:1;50590:4;:11;;:15;;;;50634:1;50616:4;:15;;:19;;;;50646:54;50680:10;50693:6;50646:4;:12;;;;;;;;;;;;:25;;;;:54;;;;;:::i;:::-;50746:4;50734:10;50716:43;;;50752:6;50716:43;;;;;;;;;;;;;;;;;;20427:1;;;19613::::0;20575:7;:22;;;;50369:398;:::o;47039:180::-;47084:14;47101:8;:15;;;;47084:32;;47132:11;47127:85;47155:6;47149:3;:12;47127:85;;;47185:15;47196:3;47185:10;:15::i;:::-;47163:5;;;;;47127:85;;;;47039:180;:::o;42488:23::-;;;;;;;;;;;;;:::o;17377:148::-;16957:12;:10;:12::i;:::-;16947:22;;:6;;;;;;;;;;:22;;;16939:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17484:1:::1;17447:40;;17468:6;::::0;::::1;;;;;;;;17447:40;;;;;;;;;;;;17515:1;17498:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;17377:148::o:0;44621:709::-;16957:12;:10;:12::i;:::-;16947:22;;:6;;;;;;;;;;:22;;;16939:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44743:8:::1;44491:5;44464:32;;:13;:23;44478:8;44464:23;;;;;;;;;;;;;;;;;;;;;;;;;:32;;;44456:70;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;44789:3:::2;44772:13;:20;;;;44764:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44849:11;44845:61;;;44877:17;:15;:17::i;:::-;44845:61;44916:23;44957:10;;44942:12;:25;:53;;44985:10;;44942:53;;;44970:12;44942:53;44916:79;;45024:32;45044:11;45024:15;;:19;;:32;;;;:::i;:::-;45006:15;:50;;;;45093:4;45067:13;:23;45081:8;45067:23;;;;;;;;;;;;;;;;:30;;;;;;;;;;;;;;;;;;45108:8;45122:199;;;;;;;;45152:8;45122:199;;;;;;45184:11;45122:199;;;;45224:15;45122:199;;;;45269:1;45122:199;;;;45296:13;45122:199;;;;::::0;45108:214:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44537:1;17017::::1;44621:709:::0;;;;:::o;51608:271::-;51692:10;;;;;;;;;;;51678:24;;:10;:24;;;51670:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51767:1;51744:25;;:11;:25;;;;51736:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51806:11;51793:10;;:24;;;;;;;;;;;;;;;;;;51859:11;51833:38;;51847:10;51833:38;;;;;;;;;;;;51608:271;:::o;42691:44::-;42734:1;42691:44;:::o;51372:228::-;51443:7;;;;;;;;;;;51429:21;;:10;:21;;;51421:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51497:1;51477:22;;:8;:22;;;;51469:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51533:8;51523:7;;:18;;;;;;;;;;;;;;;;;;51583:8;51557:35;;51571:10;51557:35;;;;;;;;;;;;51372:228;:::o;16735:79::-;16773:7;16800:6;;;;;;;;;;;16793:13;;16735:79;:::o;45980:143::-;46052:7;46079:36;42734:1;46079:14;46087:5;46079:3;:7;;:14;;;;:::i;:::-;:18;;:36;;;;:::i;:::-;46072:43;;45980:143;;;;:::o;42834:28::-;;;;;;;;;;;;;:::o;42980:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;44354:44::-;;;;;;;;;;;;;;;;;;;;;;:::o;42539:22::-;;;;;;;;;;;;;:::o;45443:461::-;16957:12;:10;:12::i;:::-;16947:22;;:6;;;;;;;;;;:22;;;16939:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45584:3:::1;45567:13;:20;;;;45559:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45644:11;45640:61;;;45672:17;:15;:17::i;:::-;45640:61;45729:63;45780:11;45729:46;45749:8;45758:4;45749:14;;;;;;;;;;;;;;;;;;:25;;;45729:15;;:19;;:46;;;;:::i;:::-;:50;;:63;;;;:::i;:::-;45711:15;:81;;;;45831:11;45803:8;45812:4;45803:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;45883:13;45853:8;45862:4;45853:14;;;;;;;;;;;;;;;;;;:27;;;:43;;;;;;;;;;;;;;;;;;45443:461:::0;;;;:::o;48179:1309::-;19657:1;20263:7;;:19;;20255:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19657:1;20396:7;:18;;;;48258:21:::1;48282:8;48291:4;48282:14;;;;;;;;;;;;;;;;;;48258:38;;48307:21;48331:8;:14;48340:4;48331:14;;;;;;;;;;;:26;48346:10;48331:26;;;;;;;;;;;;;;;48307:50;;48368:16;48379:4;48368:10;:16::i;:::-;48413:1;48399:4;:11;;;:15;48395:239;;;48431:15;48449:69;48502:4;:15;;;48449:48;48492:4;48449:38;48465:4;:21;;;48449:4;:11;;;:15;;:38;;;;:::i;:::-;:42;;:48;;;;:::i;:::-;:52;;:69;;;;:::i;:::-;48431:87;;48547:1;48537:7;:11;48533:90;;;48569:38;48587:10;48599:7;48569:17;:38::i;:::-;48533:90;48395:239;;48658:1;48648:7;:11;48644:710;;;48668:21;48692:4;:12;;;;;;;;;;;;:22;;;48723:4;48692:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;48668:61;;48744:74;48782:10;48803:4;48810:7;48744:4;:12;;;;;;;;;;;;:29;;;;:74;;;;;;:::i;:::-;48843:56;48885:13;48843:4;:12;;;;;;;;;;;;:22;;;48874:4;48843:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;:41;;:56;;;;:::i;:::-;48833:66;;48938:1;48918:4;:17;;;;;;;;;;;;:21;;;48914:429;;;48960:18;48981:41;49016:5;48981:30;48993:4;:17;;;;;;;;;;;;48981:30;;:7;:11;;:30;;;;:::i;:::-;:34;;:41;;;;:::i;:::-;48960:62;;49041:56;49067:10;;;;;;;;;;;49079:17;49094:1;49079:10;:14;;:17;;;;:::i;:::-;49041:4;:12;;;;;;;;;;;;:25;;;;:56;;;;;:::i;:::-;49116:59;49142:13;;;;;;;;;;;49157:17;49172:1;49157:10;:14;;:17;;;;:::i;:::-;49116:4;:12;;;;;;;;;;;;:25;;;;:59;;;;;:::i;:::-;49208:40;49237:10;49208:24;49224:7;49208:4;:11;;;:15;;:24;;;;:::i;:::-;:28;;:40;;;;:::i;:::-;49194:4;:11;;:54;;;;48914:429;;;;49303:24;49319:7;49303:4;:11;;;:15;;:24;;;;:::i;:::-;49289:4;:11;;:38;;;;48914:429;48644:710;;49382:48;49425:4;49382:38;49398:4;:21;;;49382:4;:11;;;:15;;:38;;;;:::i;:::-;:42;;:48;;;;:::i;:::-;49364:4;:15;;:66;;;;49466:4;49454:10;49446:34;;;49472:7;49446:34;;;;;;;;;;;;;;;;;;20427:1;;19613::::0;20575:7;:22;;;;48179:1309;;:::o;42608:28::-;;;;:::o;51885:306::-;51977:13;;;;;;;;;;;51963:27;;:10;:27;;;51955:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52067:1;52041:28;;:14;:28;;;;52033:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52109:14;52093:13;;:30;;;;;;;;;;;;;;;;;;52168:14;52139:44;;52156:10;52139:44;;;;;;;;;;;;51885:306;:::o;17680:244::-;16957:12;:10;:12::i;:::-;16947:22;;:6;;;;;;;;;;:22;;;16939:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17789:1:::1;17769:22;;:8;:22;;;;17761:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17879:8;17850:38;;17871:6;::::0;::::1;;;;;;;;17850:38;;;;;;;;;;;;17908:8;17899:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;17680:244:::0;:::o;15296:106::-;15349:15;15384:10;15377:17;;15296:106;:::o;2282:471::-;2340:7;2590:1;2585;:6;2581:47;;;2615:1;2608:8;;;;2581:47;2640:9;2656:1;2652;:5;2640:17;;2685:1;2680;2676;:5;;;;;;:10;2668:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2744:1;2737:8;;;2282:471;;;;;:::o;3221:132::-;3279:7;3306:39;3310:1;3313;3306:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;3299:46;;3221:132;;;;:::o;952:181::-;1010:7;1030:9;1046:1;1042;:5;1030:17;;1071:1;1066;:6;;1058:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1124:1;1117:8;;;952:181;;;;:::o;1408:136::-;1466:7;1493:43;1497:1;1500;1493:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;1486:50;;1408:136;;;;:::o;50883:433::-;50960:16;50979:5;;;;;;;;;;;:15;;;51003:4;50979:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50960:49;;51020:20;51073:8;51063:7;:18;51059:177;;;51116:5;;;;;;;;;;;:14;;;51131:3;51136:8;51116:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51098:47;;51059:177;;;51196:5;;;;;;;;;;;:14;;;51211:3;51216:7;51196:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51178:46;;51059:177;51254:15;51246:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50883:433;;;;:::o;11513:177::-;11596:86;11616:5;11646:23;;;11671:2;11675:5;11623:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11596:19;:86::i;:::-;11513:177;;;:::o;11698:205::-;11799:96;11819:5;11849:27;;;11878:4;11884:2;11888:5;11826:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11799:19;:96::i;:::-;11698:205;;;;:::o;3841:278::-;3927:7;3959:1;3955;:5;3962:12;3947:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3986:9;4002:1;3998;:5;;;;;;3986:17;;4110:1;4103:8;;;3841:278;;;;;:::o;1839:192::-;1925:7;1958:1;1953;:6;;1961:12;1945:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1985:9;2001:1;1997;:5;1985:17;;2022:1;2015:8;;;1839:192;;;;;:::o;13557:1115::-;14162:27;14170:5;14162:25;;;:27::i;:::-;14154:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14299:12;14313:23;14348:5;14340:19;;14360:4;14340:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14298:67;;;;14384:7;14376:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14465:1;14445:10;:17;:21;14441:224;;;14587:10;14576:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14568:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14441:224;13557:1115;;;;:::o;8907:619::-;8967:4;9229:16;9256:19;9278:66;9256:88;;;;9447:7;9435:20;9423:32;;9487:11;9475:8;:23;;:42;;;;;9514:3;9502:15;;:8;:15;;9475:42;9467:51;;;;8907:619;;;:::o

Swarm Source

ipfs://064fedb4f5e8c3898c6d370c6c6d6d225b2d085015b18214f4ae9ad8dfcab963
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Validator ID :
0 FTM

Amount Staked
0

Amount Delegated
0

Staking Total
0

Staking Start Epoch
0

Staking Start Time
0

Proof of Importance
0

Origination Score
0

Validation Score
0

Active
0

Online
0

Downtime
0 s
Address Amount claimed Rewards Created On Epoch Created On
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.