Contract 0x0843cba3fb7fac1e12ad3945457aa6f9816d1577

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x66d6d74bde5607044445f254e4f6ced7be5b50ee983ec5881bbca807e9106da4Earn110211962021-09-18 12:00:3412 hrs 25 mins ago0x52ac8f594d88915843359fa419b0df382b7a57ce IN  0x0843cba3fb7fac1e12ad3945457aa6f9816d15770 BNB0.005092188
0x5148ed3ff9134029222b7a1cfb5b4c878b36f2cb8886b687044531c057490953Earn110068322021-09-18 0:00:491 day 24 mins ago0x52ac8f594d88915843359fa419b0df382b7a57ce IN  0x0843cba3fb7fac1e12ad3945457aa6f9816d15770 BNB0.005156988
0x17b852e254d8d960aad18c00354cf7829976f352bdf1789e63478623da69e974Earn109926942021-09-17 12:13:081 day 12 hrs ago0x52ac8f594d88915843359fa419b0df382b7a57ce IN  0x0843cba3fb7fac1e12ad3945457aa6f9816d15770 BNB0.005156988
0x4f2cdc4fc9c0538d89cec9d48e1a5b13512bdf204bbb471222d55c3964bd2197Earn109780572021-09-17 0:00:392 days 25 mins ago0x52ac8f594d88915843359fa419b0df382b7a57ce IN  0x0843cba3fb7fac1e12ad3945457aa6f9816d15770 BNB0.005156988
0xb457fda8ec7b8121663d4453fec80f14ab59d274684550d26240966fe993d439Earn109495722021-09-16 0:13:113 days 12 mins ago0x52ac8f594d88915843359fa419b0df382b7a57ce IN  0x0843cba3fb7fac1e12ad3945457aa6f9816d15770 BNB0.005156988
0x35a6ef3fed7500abd6c8e00367d5fbcb05627f44d12f70e2955b048d7eda3079Earn109349192021-09-15 12:00:313 days 12 hrs ago0x52ac8f594d88915843359fa419b0df382b7a57ce IN  0x0843cba3fb7fac1e12ad3945457aa6f9816d15770 BNB0.005156988
0x97c3d014f29efd43baf8510a170b69541dac85c12e2221ceed401821f8d92608Earn109206462021-09-15 0:00:294 days 25 mins ago0x52ac8f594d88915843359fa419b0df382b7a57ce IN  0x0843cba3fb7fac1e12ad3945457aa6f9816d15770 BNB0.005084484
0x5292537be1da63674ee9d01f0bdb85c9e856cab0b13b2413c6e151980c9135d5Earn109065442021-09-14 12:13:084 days 12 hrs ago0x52ac8f594d88915843359fa419b0df382b7a57ce IN  0x0843cba3fb7fac1e12ad3945457aa6f9816d15770 BNB0.005156988
0x8b30106ed8449144cf0cb59fc5a94e900263f119433baee461cd189849d12ed9Earn108919202021-09-14 0:00:415 days 25 mins ago0x52ac8f594d88915843359fa419b0df382b7a57ce IN  0x0843cba3fb7fac1e12ad3945457aa6f9816d15770 BNB0.005156988
0x2c565d864c860a23b618d975bb7853cbf83d68f376515dc08c040218d0fc9b68Earn108490512021-09-12 12:13:096 days 12 hrs ago0x52ac8f594d88915843359fa419b0df382b7a57ce IN  0x0843cba3fb7fac1e12ad3945457aa6f9816d15770 BNB0.005156988
0xff63d3770c17742becdd75de5e2193147c33418d81001dc3a08f05a12195dc80Earn108344092021-09-12 0:00:457 days 24 mins ago0x52ac8f594d88915843359fa419b0df382b7a57ce IN  0x0843cba3fb7fac1e12ad3945457aa6f9816d15770 BNB0.005092188
0x06b96fa0292a9c5ec25c7b2d03c6a695bd000dcc67b144400ec8d10e605a1f6eEarn108203962021-09-11 12:13:097 days 12 hrs ago0x52ac8f594d88915843359fa419b0df382b7a57ce IN  0x0843cba3fb7fac1e12ad3945457aa6f9816d15770 BNB0.005092188
0xc87ab459fc270b987276b3051a3a51fbc567993e8958c36be66961ba6d182033Earn108058972021-09-11 0:00:398 days 25 mins ago0x52ac8f594d88915843359fa419b0df382b7a57ce IN  0x0843cba3fb7fac1e12ad3945457aa6f9816d15770 BNB0.005156988
0x721769fd0a99a7b8bcb2ed9f1f62ead22a40f0fdbbc257263ec616a49b28c66dEarn107917402021-09-10 12:00:238 days 12 hrs ago0x52ac8f594d88915843359fa419b0df382b7a57ce IN  0x0843cba3fb7fac1e12ad3945457aa6f9816d15770 BNB0.005092188
0x9220c703b4a49f39041f4745c7568531f2fe5f16e374d9da4969e58ef13ec4b2Earn107774682021-09-10 0:00:559 days 24 mins ago0x52ac8f594d88915843359fa419b0df382b7a57ce IN  0x0843cba3fb7fac1e12ad3945457aa6f9816d15770 BNB0.005156988
0x9556de45467e93bf3f40940ee65b66764b3d2a5505eae55db2da223ec862c398Earn107632302021-09-09 12:01:119 days 12 hrs ago0x52ac8f594d88915843359fa419b0df382b7a57ce IN  0x0843cba3fb7fac1e12ad3945457aa6f9816d15770 BNB0.005221788
0xce9ebf260f25d343db4f23fc253360e7990a519988184b3d32e4611f9661bdbfEarn107489612021-09-09 0:00:4610 days 24 mins ago0x52ac8f594d88915843359fa419b0df382b7a57ce IN  0x0843cba3fb7fac1e12ad3945457aa6f9816d15770 BNB0.005156988
0x24933c8ff49f0b7b0a4b883437c40a3f2d9e9b35646c8d5408d7fc0fbd7707b4Earn107347172021-09-08 12:00:4110 days 12 hrs ago0x52ac8f594d88915843359fa419b0df382b7a57ce IN  0x0843cba3fb7fac1e12ad3945457aa6f9816d15770 BNB0.005156988
0x8f383ef655848b16fa2059cca33e39f69dc20b983afe26cc07ca8c5df2a16228Earn107204812021-09-08 0:00:4211 days 24 mins ago0x52ac8f594d88915843359fa419b0df382b7a57ce IN  0x0843cba3fb7fac1e12ad3945457aa6f9816d15770 BNB0.005156988
0x9f772942eb37add3d0c2f64b2d3f7ca17b53b7408efb36c66989b6b8c8f7b557Earn107067532021-09-07 12:13:2111 days 12 hrs ago0x52ac8f594d88915843359fa419b0df382b7a57ce IN  0x0843cba3fb7fac1e12ad3945457aa6f9816d15770 BNB0.005092188
0xede13758aa30cdc486d0b4bd680a9ca7d3c9aadf050c1c10169c886a5c80c14eEarn106925242021-09-07 0:13:0512 days 12 mins ago0x52ac8f594d88915843359fa419b0df382b7a57ce IN  0x0843cba3fb7fac1e12ad3945457aa6f9816d15770 BNB0.004866486
0x0612a21a1576470cfd83e00673e378c03331b4033539f8bb9fa08ebd73e85b6aEarn106851722021-09-06 18:00:3812 days 6 hrs ago0x52ac8f594d88915843359fa419b0df382b7a57ce IN  0x0843cba3fb7fac1e12ad3945457aa6f9816d15770 BNB0.004801686
0xe9d27e02ef72df7dbe329801038b84571ed6d2d4cc9a743c8b6bc9d4141fb61fEarn106780422021-09-06 12:00:5212 days 12 hrs ago0x52ac8f594d88915843359fa419b0df382b7a57ce IN  0x0843cba3fb7fac1e12ad3945457aa6f9816d15770 BNB0.004866486
0x32d9ea409d93b5c2a0b736decfc8634db060319179637b62a8a56fba301ce54dEarn106708542021-09-06 6:00:4112 days 18 hrs ago0x52ac8f594d88915843359fa419b0df382b7a57ce IN  0x0843cba3fb7fac1e12ad3945457aa6f9816d15770 BNB0.004866486
0x5075a6436f5d4c385db0f0ebf0a0070b04f44ae45597e5c36be3a1e0321af43dEarn106636612021-09-06 0:00:4513 days 24 mins ago0x52ac8f594d88915843359fa419b0df382b7a57ce IN  0x0843cba3fb7fac1e12ad3945457aa6f9816d15770 BNB0.004866486
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xb4566c6b9ef8992de2b6def5a70c3513acda31e51f5b960c94b8d3ff40fae1db110330482021-09-18 21:55:522 hrs 29 mins ago 0x0843cba3fb7fac1e12ad3945457aa6f9816d1577 Binance: WBNB Token0.006336926692708735 BNB
0xb4566c6b9ef8992de2b6def5a70c3513acda31e51f5b960c94b8d3ff40fae1db110330482021-09-18 21:55:522 hrs 29 mins ago 0x0843cba3fb7fac1e12ad3945457aa6f9816d1577 0xd7d069493685a581d27824fc46eda46b7efc00630.8 BNB
0xb4566c6b9ef8992de2b6def5a70c3513acda31e51f5b960c94b8d3ff40fae1db110330482021-09-18 21:55:522 hrs 29 mins ago 0x573b6d1b3c687bd4fc3c7e23f4d896d60d041a31 0x0843cba3fb7fac1e12ad3945457aa6f9816d15770.806336926692708735 BNB
0x45cb35f723834d650a0181647a27110a1c5a346859e27dc04752ef59990e2453110329072021-09-18 21:48:492 hrs 36 mins ago 0x0843cba3fb7fac1e12ad3945457aa6f9816d1577 Binance: WBNB Token0.006336926692708735 BNB
0x45cb35f723834d650a0181647a27110a1c5a346859e27dc04752ef59990e2453110329072021-09-18 21:48:492 hrs 36 mins ago 0x0843cba3fb7fac1e12ad3945457aa6f9816d1577 0xd7d069493685a581d27824fc46eda46b7efc00631.05 BNB
0x45cb35f723834d650a0181647a27110a1c5a346859e27dc04752ef59990e2453110329072021-09-18 21:48:492 hrs 36 mins ago 0x573b6d1b3c687bd4fc3c7e23f4d896d60d041a31 0x0843cba3fb7fac1e12ad3945457aa6f9816d15771.056336926692708735 BNB
0xfcfd4f3df63065defb6d4ede36ef907e88d676a28c6e2f1174e43397133f6769110328672021-09-18 21:46:492 hrs 38 mins ago 0x0843cba3fb7fac1e12ad3945457aa6f9816d1577 Binance: WBNB Token0.006336926692708735 BNB
0xfcfd4f3df63065defb6d4ede36ef907e88d676a28c6e2f1174e43397133f6769110328672021-09-18 21:46:492 hrs 38 mins ago 0x0843cba3fb7fac1e12ad3945457aa6f9816d1577 0xd7d069493685a581d27824fc46eda46b7efc00632.182021878350906022 BNB
0xfcfd4f3df63065defb6d4ede36ef907e88d676a28c6e2f1174e43397133f6769110328672021-09-18 21:46:492 hrs 38 mins ago 0x573b6d1b3c687bd4fc3c7e23f4d896d60d041a31 0x0843cba3fb7fac1e12ad3945457aa6f9816d15772.188358805043614757 BNB
0x041778ff3330e8eab645a46510b4074ed704c1848dbe828a3e3c5e066e262a10110328462021-09-18 21:45:462 hrs 39 mins ago 0x0843cba3fb7fac1e12ad3945457aa6f9816d1577 Binance: WBNB Token0.006336926692708735 BNB
0x041778ff3330e8eab645a46510b4074ed704c1848dbe828a3e3c5e066e262a10110328462021-09-18 21:45:462 hrs 39 mins ago 0x0843cba3fb7fac1e12ad3945457aa6f9816d1577 0xd7d069493685a581d27824fc46eda46b7efc00630.48 BNB
0x041778ff3330e8eab645a46510b4074ed704c1848dbe828a3e3c5e066e262a10110328462021-09-18 21:45:462 hrs 39 mins ago 0x573b6d1b3c687bd4fc3c7e23f4d896d60d041a31 0x0843cba3fb7fac1e12ad3945457aa6f9816d15770.486336926692708735 BNB
0x2cf59327731f5866df52bf67353c9fac9e65c959aa782a08fe5845b122ed2b30110324442021-09-18 21:25:403 hrs ago 0x0843cba3fb7fac1e12ad3945457aa6f9816d1577 Binance: WBNB Token0.006336926692708735 BNB
0x2cf59327731f5866df52bf67353c9fac9e65c959aa782a08fe5845b122ed2b30110324442021-09-18 21:25:403 hrs ago 0x0843cba3fb7fac1e12ad3945457aa6f9816d1577 0xd7d069493685a581d27824fc46eda46b7efc00636 BNB
0x2cf59327731f5866df52bf67353c9fac9e65c959aa782a08fe5845b122ed2b30110324442021-09-18 21:25:403 hrs ago 0x573b6d1b3c687bd4fc3c7e23f4d896d60d041a31 0x0843cba3fb7fac1e12ad3945457aa6f9816d15776.006336926692708735 BNB
0xb4e0fdd59827a427bb874860f9bd6c106436c6df5057c2d03d87f2360693ec45110323742021-09-18 21:22:103 hrs 3 mins ago 0x0843cba3fb7fac1e12ad3945457aa6f9816d1577 Binance: WBNB Token0.006336926692708735 BNB
0xb4e0fdd59827a427bb874860f9bd6c106436c6df5057c2d03d87f2360693ec45110323742021-09-18 21:22:103 hrs 3 mins ago 0x0843cba3fb7fac1e12ad3945457aa6f9816d1577 0xd7d069493685a581d27824fc46eda46b7efc00636 BNB
0xb4e0fdd59827a427bb874860f9bd6c106436c6df5057c2d03d87f2360693ec45110323742021-09-18 21:22:103 hrs 3 mins ago 0x573b6d1b3c687bd4fc3c7e23f4d896d60d041a31 0x0843cba3fb7fac1e12ad3945457aa6f9816d15776.006336926692708735 BNB
0xc8153820ffc7245cf3ad89c2d7cbf0c52a83bfbfec5494e54715762500c774e8110323622021-09-18 21:21:343 hrs 4 mins ago 0x0843cba3fb7fac1e12ad3945457aa6f9816d1577 Binance: WBNB Token0.006336926692708735 BNB
0xc8153820ffc7245cf3ad89c2d7cbf0c52a83bfbfec5494e54715762500c774e8110323622021-09-18 21:21:343 hrs 4 mins ago 0x0843cba3fb7fac1e12ad3945457aa6f9816d1577 0xd7d069493685a581d27824fc46eda46b7efc00630.6 BNB
0xc8153820ffc7245cf3ad89c2d7cbf0c52a83bfbfec5494e54715762500c774e8110323622021-09-18 21:21:343 hrs 4 mins ago 0x573b6d1b3c687bd4fc3c7e23f4d896d60d041a31 0x0843cba3fb7fac1e12ad3945457aa6f9816d15770.606336926692708735 BNB
0xce175f805738bd8be38c46c926827d0cafa184469cce467593f13b0d21ff5073110320312021-09-18 21:05:013 hrs 20 mins ago 0x0843cba3fb7fac1e12ad3945457aa6f9816d1577 Binance: WBNB Token0.006336926692708735 BNB
0xce175f805738bd8be38c46c926827d0cafa184469cce467593f13b0d21ff5073110320312021-09-18 21:05:013 hrs 20 mins ago 0x0843cba3fb7fac1e12ad3945457aa6f9816d1577 0xd7d069493685a581d27824fc46eda46b7efc00630.000008123951721799 BNB
0xce175f805738bd8be38c46c926827d0cafa184469cce467593f13b0d21ff5073110320312021-09-18 21:05:013 hrs 20 mins ago 0x573b6d1b3c687bd4fc3c7e23f4d896d60d041a31 0x0843cba3fb7fac1e12ad3945457aa6f9816d15770.006345050644430534 BNB
0x53b0a5ecc169eee0693f3fc6f8b34bde1a9bf29c806bb8a814688b1ce60b09c9110307832021-09-18 20:02:374 hrs 23 mins ago 0x0843cba3fb7fac1e12ad3945457aa6f9816d1577 Binance: WBNB Token0.006336926692708735 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
StrategyAlpaca

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-04-21
*/

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

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

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

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



pragma solidity >=0.6.0 <0.8.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.
 */
abstract contract Ownable is Context {
    address private _owner;

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

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

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

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

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

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

// File: @openzeppelin/contracts/utils/ReentrancyGuard.sol



pragma solidity >=0.6.0 <0.8.0;

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

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

    uint256 private _status;

    constructor () 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: @openzeppelin/contracts/utils/Pausable.sol



pragma solidity >=0.6.0 <0.8.0;


/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor () internal {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

// File: contracts/earnV2/strategies/Strategy.sol

pragma solidity 0.6.12;




abstract contract Strategy is Ownable, ReentrancyGuard, Pausable {
    address public govAddress;

    uint256 public lastEarnBlock;
    
    uint256 public buyBackRate = 800;
    uint256 public constant buyBackRateMax = 10000;
    uint256 public constant buyBackRateUL = 800;
    address public constant buyBackAddress =
    0x000000000000000000000000000000000000dEaD;

    uint256 public withdrawFeeNumer = 0;
    uint256 public withdrawFeeDenom = 100;
}

// File: contracts/earnV2/strategies/alpaca/StrategyAlpacaStorage.sol

pragma solidity 0.6.12;


abstract contract StrategyAlpacaStorage is Strategy {

    address public uniRouterAddress;

    address public constant wbnbAddress =
    0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c;
    address public constant alpacaAddress =
    0x8F0528cE5eF7B51152A59745bEfDD91D97091d2F;
    address public constant fairLaunchAddress =
    0xA625AB01B08ce023B2a342Dbb12a16f2C8489A8F;

    bool public isWbnb;

    address public vaultAddress;
    address public wantAddress;
    address public BELTAddress;

    // only updated when deposit / withdraw / earn is called
    uint256 public balanceSnapshot;

    // 1 = WBNB, 3 = BUSD
    uint256 public poolId;

    address[] public alpacaToWantPath;
    address[] public alpacaToBELTPath;
    address[] public wantToBELTPath;

    // address public bnbHelper;
}

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



pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

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



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

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

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) return (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

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

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

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }

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

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

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

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

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}

// File: @openzeppelin/contracts/utils/Address.sol



pragma solidity >=0.6.2 <0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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



pragma solidity >=0.6.0 <0.8.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 IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

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

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

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

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

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

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

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

// File: @openzeppelin/contracts/proxy/Proxy.sol



pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM
 * instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to
 * be specified by overriding the virtual {_implementation} function.
 *
 * Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a
 * different contract through the {_delegate} function.
 *
 * The success and return data of the delegated call will be returned back to the caller of the proxy.
 */
abstract contract Proxy {
    /**
     * @dev Delegates the current call to `implementation`.
     *
     * This function does not return to its internall call site, it will return directly to the external caller.
     */
    function _delegate(address implementation) internal virtual {
        // solhint-disable-next-line no-inline-assembly
        assembly {
            // Copy msg.data. We take full control of memory in this inline assembly
            // block because it will not return to Solidity code. We overwrite the
            // Solidity scratch pad at memory position 0.
            calldatacopy(0, 0, calldatasize())

            // Call the implementation.
            // out and outsize are 0 because we don't know the size yet.
            let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0)

            // Copy the returned data.
            returndatacopy(0, 0, returndatasize())

            switch result
            // delegatecall returns 0 on error.
            case 0 { revert(0, returndatasize()) }
            default { return(0, returndatasize()) }
        }
    }

    /**
     * @dev This is a virtual function that should be overriden so it returns the address to which the fallback function
     * and {_fallback} should delegate.
     */
    function _implementation() internal view virtual returns (address);

    /**
     * @dev Delegates the current call to the address returned by `_implementation()`.
     *
     * This function does not return to its internall call site, it will return directly to the external caller.
     */
    function _fallback() internal virtual {
        _beforeFallback();
        _delegate(_implementation());
    }

    /**
     * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other
     * function in the contract matches the call data.
     */
    fallback () external payable virtual {
        _fallback();
    }

    /**
     * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data
     * is empty.
     */
    receive () external payable virtual {
        _fallback();
    }

    /**
     * @dev Hook that is called before falling back to the implementation. Can happen as part of a manual `_fallback`
     * call, or as part of the Solidity `fallback` or `receive` functions.
     *
     * If overriden should call `super._beforeFallback()`.
     */
    function _beforeFallback() internal virtual {
    }
}

// File: @openzeppelin/contracts/proxy/UpgradeableProxy.sol



pragma solidity >=0.6.0 <0.8.0;



/**
 * @dev This contract implements an upgradeable proxy. It is upgradeable because calls are delegated to an
 * implementation address that can be changed. This address is stored in storage in the location specified by
 * https://eips.ethereum.org/EIPS/eip-1967[EIP1967], so that it doesn't conflict with the storage layout of the
 * implementation behind the proxy.
 *
 * Upgradeability is only provided internally through {_upgradeTo}. For an externally upgradeable proxy see
 * {TransparentUpgradeableProxy}.
 */
contract UpgradeableProxy is Proxy {
    /**
     * @dev Initializes the upgradeable proxy with an initial implementation specified by `_logic`.
     *
     * If `_data` is nonempty, it's used as data in a delegate call to `_logic`. This will typically be an encoded
     * function call, and allows initializating the storage of the proxy like a Solidity constructor.
     */
    constructor(address _logic, bytes memory _data) public payable {
        assert(_IMPLEMENTATION_SLOT == bytes32(uint256(keccak256("eip1967.proxy.implementation")) - 1));
        _setImplementation(_logic);
        if(_data.length > 0) {
            Address.functionDelegateCall(_logic, _data);
        }
    }

    /**
     * @dev Emitted when the implementation is upgraded.
     */
    event Upgraded(address indexed implementation);

    /**
     * @dev Storage slot with the address of the current implementation.
     * This is the keccak-256 hash of "eip1967.proxy.implementation" subtracted by 1, and is
     * validated in the constructor.
     */
    bytes32 private constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;

    /**
     * @dev Returns the current implementation address.
     */
    function _implementation() internal view virtual override returns (address impl) {
        bytes32 slot = _IMPLEMENTATION_SLOT;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            impl := sload(slot)
        }
    }

    /**
     * @dev Upgrades the proxy to a new implementation.
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeTo(address newImplementation) internal virtual {
        _setImplementation(newImplementation);
        emit Upgraded(newImplementation);
    }

    /**
     * @dev Stores a new address in the EIP1967 implementation slot.
     */
    function _setImplementation(address newImplementation) private {
        require(Address.isContract(newImplementation), "UpgradeableProxy: new implementation is not a contract");

        bytes32 slot = _IMPLEMENTATION_SLOT;

        // solhint-disable-next-line no-inline-assembly
        assembly {
            sstore(slot, newImplementation)
        }
    }
}

// File: @openzeppelin/contracts/proxy/TransparentUpgradeableProxy.sol



pragma solidity >=0.6.0 <0.8.0;


/**
 * @dev This contract implements a proxy that is upgradeable by an admin.
 *
 * To avoid https://medium.com/nomic-labs-blog/malicious-backdoors-in-ethereum-proxies-62629adf3357[proxy selector
 * clashing], which can potentially be used in an attack, this contract uses the
 * https://blog.openzeppelin.com/the-transparent-proxy-pattern/[transparent proxy pattern]. This pattern implies two
 * things that go hand in hand:
 *
 * 1. If any account other than the admin calls the proxy, the call will be forwarded to the implementation, even if
 * that call matches one of the admin functions exposed by the proxy itself.
 * 2. If the admin calls the proxy, it can access the admin functions, but its calls will never be forwarded to the
 * implementation. If the admin tries to call a function on the implementation it will fail with an error that says
 * "admin cannot fallback to proxy target".
 *
 * These properties mean that the admin account can only be used for admin actions like upgrading the proxy or changing
 * the admin, so it's best if it's a dedicated account that is not used for anything else. This will avoid headaches due
 * to sudden errors when trying to call a function from the proxy implementation.
 *
 * Our recommendation is for the dedicated account to be an instance of the {ProxyAdmin} contract. If set up this way,
 * you should think of the `ProxyAdmin` instance as the real administrative interface of your proxy.
 */
contract TransparentUpgradeableProxy is UpgradeableProxy {
    /**
     * @dev Initializes an upgradeable proxy managed by `_admin`, backed by the implementation at `_logic`, and
     * optionally initialized with `_data` as explained in {UpgradeableProxy-constructor}.
     */
    constructor(address _logic, address admin_, bytes memory _data) public payable UpgradeableProxy(_logic, _data) {
        assert(_ADMIN_SLOT == bytes32(uint256(keccak256("eip1967.proxy.admin")) - 1));
        _setAdmin(admin_);
    }

    /**
     * @dev Emitted when the admin account has changed.
     */
    event AdminChanged(address previousAdmin, address newAdmin);

    /**
     * @dev Storage slot with the admin of the contract.
     * This is the keccak-256 hash of "eip1967.proxy.admin" subtracted by 1, and is
     * validated in the constructor.
     */
    bytes32 private constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;

    /**
     * @dev Modifier used internally that will delegate the call to the implementation unless the sender is the admin.
     */
    modifier ifAdmin() {
        if (msg.sender == _admin()) {
            _;
        } else {
            _fallback();
        }
    }

    /**
     * @dev Returns the current admin.
     *
     * NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyAdmin}.
     *
     * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the
     * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.
     * `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103`
     */
    function admin() external ifAdmin returns (address admin_) {
        admin_ = _admin();
    }

    /**
     * @dev Returns the current implementation.
     *
     * NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyImplementation}.
     *
     * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the
     * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.
     * `0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc`
     */
    function implementation() external ifAdmin returns (address implementation_) {
        implementation_ = _implementation();
    }

    /**
     * @dev Changes the admin of the proxy.
     *
     * Emits an {AdminChanged} event.
     *
     * NOTE: Only the admin can call this function. See {ProxyAdmin-changeProxyAdmin}.
     */
    function changeAdmin(address newAdmin) external virtual ifAdmin {
        require(newAdmin != address(0), "TransparentUpgradeableProxy: new admin is the zero address");
        emit AdminChanged(_admin(), newAdmin);
        _setAdmin(newAdmin);
    }

    /**
     * @dev Upgrade the implementation of the proxy.
     *
     * NOTE: Only the admin can call this function. See {ProxyAdmin-upgrade}.
     */
    function upgradeTo(address newImplementation) external virtual ifAdmin {
        _upgradeTo(newImplementation);
    }

    /**
     * @dev Upgrade the implementation of the proxy, and then call a function from the new implementation as specified
     * by `data`, which should be an encoded function call. This is useful to initialize new storage variables in the
     * proxied contract.
     *
     * NOTE: Only the admin can call this function. See {ProxyAdmin-upgradeAndCall}.
     */
    function upgradeToAndCall(address newImplementation, bytes calldata data) external payable virtual ifAdmin {
        _upgradeTo(newImplementation);
        Address.functionDelegateCall(newImplementation, data);
    }

    /**
     * @dev Returns the current admin.
     */
    function _admin() internal view virtual returns (address adm) {
        bytes32 slot = _ADMIN_SLOT;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            adm := sload(slot)
        }
    }

    /**
     * @dev Stores a new address in the EIP1967 admin slot.
     */
    function _setAdmin(address newAdmin) private {
        bytes32 slot = _ADMIN_SLOT;

        // solhint-disable-next-line no-inline-assembly
        assembly {
            sstore(slot, newAdmin)
        }
    }

    /**
     * @dev Makes sure the admin cannot access the fallback function. See {Proxy-_beforeFallback}.
     */
    function _beforeFallback() internal virtual override {
        require(msg.sender != _admin(), "TransparentUpgradeableProxy: admin cannot fallback to proxy target");
        super._beforeFallback();
    }
}

// File: contracts/earnV2/strategies/alpaca/StrategyAlpaca.sol

pragma solidity 0.6.12;





contract StrategyAlpaca is StrategyAlpacaStorage, TransparentUpgradeableProxy {
    using SafeERC20 for IERC20;

    constructor(
        address _vaultAddress,
        address _BELTAddress,
        address _wantAddress,
        address _uniRouterAddress,
        uint256 _poolId,
        address[] memory _alpacaToWantPath,
        address[] memory _alpacaToBELTPath,
        address[] memory _wantToBETLPATH,
        address _logic,
        address admin_,
        bytes memory _data
    ) public TransparentUpgradeableProxy(_logic, admin_, _data) {
        govAddress = msg.sender;

        vaultAddress = _vaultAddress;
        wantAddress = _wantAddress;
        BELTAddress = _BELTAddress;

        poolId = _poolId;
        isWbnb = _wantAddress == wbnbAddress;

        alpacaToWantPath = _alpacaToWantPath;
        alpacaToBELTPath = _alpacaToBELTPath;
        wantToBELTPath = _wantToBETLPATH;

        uniRouterAddress = _uniRouterAddress;

        IERC20(alpacaAddress).safeApprove(uniRouterAddress, uint256(-1));
        IERC20(_wantAddress).safeApprove(uniRouterAddress, uint256(-1));
        IERC20(_wantAddress).safeApprove(vaultAddress, uint256(-1));
        IERC20(vaultAddress).safeApprove(fairLaunchAddress, uint256(-1));
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_vaultAddress","type":"address"},{"internalType":"address","name":"_BELTAddress","type":"address"},{"internalType":"address","name":"_wantAddress","type":"address"},{"internalType":"address","name":"_uniRouterAddress","type":"address"},{"internalType":"uint256","name":"_poolId","type":"uint256"},{"internalType":"address[]","name":"_alpacaToWantPath","type":"address[]"},{"internalType":"address[]","name":"_alpacaToBELTPath","type":"address[]"},{"internalType":"address[]","name":"_wantToBETLPATH","type":"address[]"},{"internalType":"address","name":"_logic","type":"address"},{"internalType":"address","name":"admin_","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"BELTAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"admin_","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"alpacaAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"alpacaToBELTPath","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"alpacaToWantPath","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceSnapshot","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyBackAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyBackRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyBackRateMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyBackRateUL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newAdmin","type":"address"}],"name":"changeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fairLaunchAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"govAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"implementation_","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isWbnb","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastEarnBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniRouterAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"vaultAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wantAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"wantToBELTPath","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wbnbAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawFeeDenom","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawFeeNumer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052610320600455600060055560646006553480156200002157600080fd5b50604051620020083803806200200883398181016040526101608110156200004857600080fd5b815160208301516040808501516060860151608087015160a0880180519451969895979396929591949293820192846401000000008211156200008a57600080fd5b908301906020820185811115620000a057600080fd5b8251866020820283011164010000000082111715620000be57600080fd5b82525081516020918201928201910280838360005b83811015620000ed578181015183820152602001620000d3565b50505050905001604052602001805160405193929190846401000000008211156200011757600080fd5b9083019060208201858111156200012d57600080fd5b82518660208202830111640100000000821117156200014b57600080fd5b82525081516020918201928201910280838360005b838110156200017a57818101518382015260200162000160565b5050505090500160405260200180516040519392919084640100000000821115620001a457600080fd5b908301906020820185811115620001ba57600080fd5b8251866020820283011164010000000082111715620001d857600080fd5b82525081516020918201928201910280838360005b8381101562000207578181015183820152602001620001ed565b5050505091909101604081815260208401519084015160609094018051919694959294935090846401000000008211156200024157600080fd5b9083019060208201858111156200025757600080fd5b82516401000000008111828201881017156200027257600080fd5b82525081516020918201929091019080838360005b83811015620002a157818101518382015260200162000287565b50505050905090810190601f168015620002cf5780820380516001836020036101000a031916815260200191505b5060405250505082828282816000620002ed6200054860201b60201c565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180556002805460ff1916905562000350826200054c565b80511562000371576200036f8282620005c360201b62000aa01760201c565b505b506200037a9050565b6200038582620005f2565b505060028054610100600160a81b031916336101000217905550600880546001600160a01b03199081166001600160a01b038e8116919091179092556009805482168c8416908117909155600a8054909216928d16929092179055600c8890556007805460ff60a01b191673bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c909214600160a01b0291909117905585516200042990600d90602089019062000b35565b5084516200043f90600e90602088019062000b35565b5083516200045590600f90602087019062000b35565b50600780546001600160a01b0319166001600160a01b038a81169190911791829055620004a891738f0528ce5ef7b51152a59745befdd91d97091d2f911660001962000616602090811b62000acc17901c565b600754620004d2906001600160a01b038b8116911660001962000616602090811b62000acc17901c565b600854620004fc906001600160a01b038b8116911660001962000616602090811b62000acc17901c565b60085462000537906001600160a01b031673a625ab01b08ce023b2a342dbb12a16f2c8489a8f60001962000616602090811b62000acc17901c565b505050505050505050505062000bc0565b3390565b62000562816200073a60201b62000bdf1760201c565b6200059f5760405162461bcd60e51b815260040180806020018281038252603681526020018062001f4c6036913960400191505060405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b6060620005eb838360405180606001604052806027815260200162001f256027913962000740565b9392505050565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b801580620006a0575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b1580156200067057600080fd5b505afa15801562000685573d6000803e3d6000fd5b505050506040513d60208110156200069c57600080fd5b5051155b620006dd5760405162461bcd60e51b815260040180806020018281038252603681526020018062001fd26036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0390811663095ea7b360e01b17909152620007359185916200084e16565b505050565b3b151590565b60606200074d846200073a565b6200078a5760405162461bcd60e51b815260040180806020018281038252602681526020018062001f826026913960400191505060405180910390fd5b60006060856001600160a01b0316856040518082805190602001908083835b60208310620007ca5780518252601f199092019160209182019101620007a9565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146200082c576040519150601f19603f3d011682016040523d82523d6000602084013e62000831565b606091505b509092509050620008448282866200090a565b9695505050505050565b6060620008aa826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316620009b460201b62000be5179092919060201c565b8051909150156200073557808060200190516020811015620008cb57600080fd5b5051620007355760405162461bcd60e51b815260040180806020018281038252602a81526020018062001fa8602a913960400191505060405180910390fd5b606083156200091b575081620005eb565b8251156200092c5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015620009785781810151838201526020016200095e565b50505050905090810190601f168015620009a65780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6060620009c58484600085620009cd565b949350505050565b60608247101562000a105760405162461bcd60e51b815260040180806020018281038252602681526020018062001eff6026913960400191505060405180910390fd5b62000a1b856200073a565b62000a6d576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831062000aae5780518252601f19909201916020918201910162000a8d565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811462000b12576040519150601f19603f3d011682016040523d82523d6000602084013e62000b17565b606091505b50909250905062000b2a8282866200090a565b979650505050505050565b82805482825590600052602060002090810192821562000b8d579160200282015b8281111562000b8d57825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000b56565b5062000b9b92915062000b9f565b5090565b5b8082111562000b9b5780546001600160a01b031916815560010162000ba0565b61132f8062000bd06000396000f3fe6080604052600436106101d15760003560e01c806363fe3e3a116100f757806399a928b411610095578063e045a9a511610064578063e045a9a514610532578063e7a0367914610547578063f2fde38b1461055c578063f851a4401461058f576101e0565b806399a928b4146104b4578063b3545c01146104de578063bb845c4a146104f3578063ce69b22114610508576101e0565b8063715018a6116100d1578063715018a614610442578063783478ad146104575780638da5cb5b1461046c5780638f28397014610481576101e0565b806363fe3e3a146103ee578063693a090b146104035780636f70ef6f14610418576101e0565b8063430bf08a1161016f5780635132124c1161013e5780635132124c1461039a5780635c60da1b146103af5780635c975abb146103c4578063609c2ef4146103d9576101e0565b8063430bf08a146102bf57806346008a07146102f05780634d9f7bb2146103055780634f1ef2861461031a576101e0565b8063178a8d07116101ab578063178a8d0714610239578063357930f41461024e5780633659cfe6146102775780633e0dc34e146102aa576101e0565b806304c5f1f4146101e8578063054483a21461020f5780630fa4e01e14610224576101e0565b366101e0576101de6105a4565b005b6101de6105a4565b3480156101f457600080fd5b506101fd6105be565b60408051918252519081900360200190f35b34801561021b57600080fd5b506101fd6105c4565b34801561023057600080fd5b506101fd6105ca565b34801561024557600080fd5b506101fd6105d0565b34801561025a57600080fd5b506102636105d6565b604080519115158252519081900360200190f35b34801561028357600080fd5b506101de6004803603602081101561029a57600080fd5b50356001600160a01b03166105e6565b3480156102b657600080fd5b506101fd610620565b3480156102cb57600080fd5b506102d4610626565b604080516001600160a01b039092168252519081900360200190f35b3480156102fc57600080fd5b506102d4610635565b34801561031157600080fd5b506101fd610649565b6101de6004803603604081101561033057600080fd5b6001600160a01b03823516919081019060408101602082013564010000000081111561035b57600080fd5b82018360208201111561036d57600080fd5b8035906020019184600183028401116401000000008311171561038f57600080fd5b50909250905061064f565b3480156103a657600080fd5b506101fd6106cc565b3480156103bb57600080fd5b506102d46106d2565b3480156103d057600080fd5b5061026361070f565b3480156103e557600080fd5b506102d4610718565b3480156103fa57600080fd5b506102d4610730565b34801561040f57600080fd5b506102d4610748565b34801561042457600080fd5b506102d46004803603602081101561043b57600080fd5b5035610757565b34801561044e57600080fd5b506101de61077e565b34801561046357600080fd5b506102d461083c565b34801561047857600080fd5b506102d4610842565b34801561048d57600080fd5b506101de600480360360208110156104a457600080fd5b50356001600160a01b0316610851565b3480156104c057600080fd5b506102d4600480360360208110156104d757600080fd5b503561090b565b3480156104ea57600080fd5b506101fd610918565b3480156104ff57600080fd5b506102d461091e565b34801561051457600080fd5b506102d46004803603602081101561052b57600080fd5b5035610936565b34801561053e57600080fd5b506102d4610943565b34801561055357600080fd5b506102d4610952565b34801561056857600080fd5b506101de6004803603602081101561057f57600080fd5b50356001600160a01b0316610961565b34801561059b57600080fd5b506102d4610a75565b6105ac610bfc565b6105bc6105b7610c5c565b610c81565b565b60055481565b60065481565b60035481565b60045481565b600754600160a01b900460ff1681565b6105ee610ca5565b6001600160a01b0316336001600160a01b031614156106155761061081610cca565b61061d565b61061d6105a4565b50565b600c5481565b6008546001600160a01b031681565b60025461010090046001600160a01b031681565b61271081565b610657610ca5565b6001600160a01b0316336001600160a01b031614156106bf5761067983610cca565b6106b98383838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610aa092505050565b506106c7565b6106c76105a4565b505050565b600b5481565b60006106dc610ca5565b6001600160a01b0316336001600160a01b03161415610704576106fd610c5c565b905061070c565b61070c6105a4565b90565b60025460ff1690565b73a625ab01b08ce023b2a342dbb12a16f2c8489a8f81565b73bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c81565b6007546001600160a01b031681565b600d818154811061076457fe5b6000918252602090912001546001600160a01b0316905081565b610786610d0a565b6001600160a01b0316610797610842565b6001600160a01b0316146107f2576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b61dead81565b6000546001600160a01b031690565b610859610ca5565b6001600160a01b0316336001600160a01b03161415610615576001600160a01b0381166108b75760405162461bcd60e51b815260040180806020018281038252603a81526020018061119b603a913960400191505060405180910390fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6108e0610ca5565b604080516001600160a01b03928316815291841660208301528051918290030190a161061081610d0e565b600e818154811061076457fe5b61032081565b738f0528ce5ef7b51152a59745befdd91d97091d2f81565b600f818154811061076457fe5b600a546001600160a01b031681565b6009546001600160a01b031681565b610969610d0a565b6001600160a01b031661097a610842565b6001600160a01b0316146109d5576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116610a1a5760405162461bcd60e51b815260040180806020018281038252602681526020018061114f6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000610a7f610ca5565b6001600160a01b0316336001600160a01b03161415610704576106fd610ca5565b6060610ac583836040518060600160405280602781526020016111d560279139610d32565b9392505050565b801580610b52575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015610b2457600080fd5b505afa158015610b38573d6000803e3d6000fd5b505050506040513d6020811015610b4e57600080fd5b5051155b610b8d5760405162461bcd60e51b81526004018080602001828103825260368152602001806112826036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526106c7908490610e35565b3b151590565b6060610bf48484600085610ee6565b949350505050565b610c04610ca5565b6001600160a01b0316336001600160a01b03161415610c545760405162461bcd60e51b81526004018080602001828103825260428152602001806112b86042913960600191505060405180910390fd5b6105bc6105bc565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b3660008037600080366000845af43d6000803e808015610ca0573d6000f35b3d6000fd5b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b610cd381611042565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b3390565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b6060610d3d84610bdf565b610d785760405162461bcd60e51b81526004018080602001828103825260268152602001806112326026913960400191505060405180910390fd5b60006060856001600160a01b0316856040518082805190602001908083835b60208310610db65780518252601f199092019160209182019101610d97565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114610e16576040519150601f19603f3d011682016040523d82523d6000602084013e610e1b565b606091505b5091509150610e2b8282866110aa565b9695505050505050565b6060610e8a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610be59092919063ffffffff16565b8051909150156106c757808060200190516020811015610ea957600080fd5b50516106c75760405162461bcd60e51b815260040180806020018281038252602a815260200180611258602a913960400191505060405180910390fd5b606082471015610f275760405162461bcd60e51b81526004018080602001828103825260268152602001806111756026913960400191505060405180910390fd5b610f3085610bdf565b610f81576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310610fc05780518252601f199092019160209182019101610fa1565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611022576040519150601f19603f3d011682016040523d82523d6000602084013e611027565b606091505b50915091506110378282866110aa565b979650505050505050565b61104b81610bdf565b6110865760405162461bcd60e51b81526004018080602001828103825260368152602001806111fc6036913960400191505060405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b606083156110b9575081610ac5565b8251156110c95782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156111135781810151838201526020016110fb565b50505050905090810190601f1680156111405780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c5472616e73706172656e745570677261646561626c6550726f78793a206e65772061646d696e20697320746865207a65726f2061646472657373416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c65645570677261646561626c6550726f78793a206e657720696d706c656d656e746174696f6e206973206e6f74206120636f6e7472616374416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6e74726163745361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e63655472616e73706172656e745570677261646561626c6550726f78793a2061646d696e2063616e6e6f742066616c6c6261636b20746f2070726f787920746172676574a2646970667358221220f1c1d7d836d2b129341591891894f1605c1d2204f2f5e85b891c2a9c3c53fe4664736f6c634300060c0033416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c65645570677261646561626c6550726f78793a206e657720696d706c656d656e746174696f6e206973206e6f74206120636f6e7472616374416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6e74726163745361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365000000000000000000000000d7d069493685a581d27824fc46eda46b7efc0063000000000000000000000000e0e514c71282b6f4e823703a39374cf58dc3ea4f000000000000000000000000bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c00000000000000000000000005ff2b0db69458a0750badebc4f9e13add608c7f0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000024000000000000000000000000094f5a7fa95cf23774c03ed0b53c42864cc35a6cf0000000000000000000000009eec9655f514822fbe494ae2ea1be7cf80be1c9300000000000000000000000000000000000000000000000000000000000002a000000000000000000000000000000000000000000000000000000000000000020000000000000000000000008f0528ce5ef7b51152a59745befdd91d97091d2f000000000000000000000000bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c00000000000000000000000000000000000000000000000000000000000000030000000000000000000000008f0528ce5ef7b51152a59745befdd91d97091d2f000000000000000000000000bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c000000000000000000000000e0e514c71282b6f4e823703a39374cf58dc3ea4f0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c000000000000000000000000e0e514c71282b6f4e823703a39374cf58dc3ea4f0000000000000000000000000000000000000000000000000000000000000000

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

000000000000000000000000d7d069493685a581d27824fc46eda46b7efc0063000000000000000000000000e0e514c71282b6f4e823703a39374cf58dc3ea4f000000000000000000000000bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c00000000000000000000000005ff2b0db69458a0750badebc4f9e13add608c7f0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000024000000000000000000000000094f5a7fa95cf23774c03ed0b53c42864cc35a6cf0000000000000000000000009eec9655f514822fbe494ae2ea1be7cf80be1c9300000000000000000000000000000000000000000000000000000000000002a000000000000000000000000000000000000000000000000000000000000000020000000000000000000000008f0528ce5ef7b51152a59745befdd91d97091d2f000000000000000000000000bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c00000000000000000000000000000000000000000000000000000000000000030000000000000000000000008f0528ce5ef7b51152a59745befdd91d97091d2f000000000000000000000000bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c000000000000000000000000e0e514c71282b6f4e823703a39374cf58dc3ea4f0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c000000000000000000000000e0e514c71282b6f4e823703a39374cf58dc3ea4f0000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _vaultAddress (address): 0xd7d069493685a581d27824fc46eda46b7efc0063
Arg [1] : _BELTAddress (address): 0xe0e514c71282b6f4e823703a39374cf58dc3ea4f
Arg [2] : _wantAddress (address): 0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c
Arg [3] : _uniRouterAddress (address): 0x05ff2b0db69458a0750badebc4f9e13add608c7f
Arg [4] : _poolId (uint256): 1
Arg [5] : _alpacaToWantPath (address[]): 0x8f0528ce5ef7b51152a59745befdd91d97091d2f,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c
Arg [6] : _alpacaToBELTPath (address[]): 0x8f0528ce5ef7b51152a59745befdd91d97091d2f,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0xe0e514c71282b6f4e823703a39374cf58dc3ea4f
Arg [7] : _wantToBETLPATH (address[]): 0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0xe0e514c71282b6f4e823703a39374cf58dc3ea4f
Arg [8] : _logic (address): 0x94f5a7fa95cf23774c03ed0b53c42864cc35a6cf
Arg [9] : admin_ (address): 0x9eec9655f514822fbe494ae2ea1be7cf80be1c93
Arg [10] : _data (bytes): 0x

-----Encoded View---------------
22 Constructor Arguments found :
Arg [0] : 000000000000000000000000d7d069493685a581d27824fc46eda46b7efc0063
Arg [1] : 000000000000000000000000e0e514c71282b6f4e823703a39374cf58dc3ea4f
Arg [2] : 000000000000000000000000bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c
Arg [3] : 00000000000000000000000005ff2b0db69458a0750badebc4f9e13add608c7f
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [6] : 00000000000000000000000000000000000000000000000000000000000001c0
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000240
Arg [8] : 00000000000000000000000094f5a7fa95cf23774c03ed0b53c42864cc35a6cf
Arg [9] : 0000000000000000000000009eec9655f514822fbe494ae2ea1be7cf80be1c93
Arg [10] : 00000000000000000000000000000000000000000000000000000000000002a0
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [12] : 0000000000000000000000008f0528ce5ef7b51152a59745befdd91d97091d2f
Arg [13] : 000000000000000000000000bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [15] : 0000000000000000000000008f0528ce5ef7b51152a59745befdd91d97091d2f
Arg [16] : 000000000000000000000000bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c
Arg [17] : 000000000000000000000000e0e514c71282b6f4e823703a39374cf58dc3ea4f
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [19] : 000000000000000000000000bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c
Arg [20] : 000000000000000000000000e0e514c71282b6f4e823703a39374cf58dc3ea4f
Arg [21] : 0000000000000000000000000000000000000000000000000000000000000000


Deployed ByteCode Sourcemap

44466:1285:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34791:11;:9;:11::i;:::-;44466:1285;;34559:11;:9;:11::i;8791:35::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;8833:37;;;;;;;;;;;;;:::i;8511:28::-;;;;;;;;;;;;;:::i;8552:32::-;;;;;;;;;;;;;:::i;9367:18::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;42706:119;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42706:119:0;-1:-1:-1;;;;;42706:119:0;;:::i;9624:21::-;;;;;;;;;;;;;:::i;9394:27::-;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;9394:27:0;;;;;;;;;;;;;;8477:25;;;;;;;;;;;;;:::i;8591:46::-;;;;;;;;;;;;;:::i;43210:219::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;43210:219:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43210:219:0;;-1:-1:-1;43210:219:0;-1:-1:-1;43210:219:0;:::i;9558:30::-;;;;;;;;;;;;;:::i;41940:131::-;;;;;;;;;;;;;:::i;7133:86::-;;;;;;;;;;;;;:::i;9267:91::-;;;;;;;;;;;;;:::i;9081:85::-;;;;;;;;;;;;;:::i;9041:31::-;;;;;;;;;;;;;:::i;9654:33::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9654:33:0;;:::i;2783:148::-;;;;;;;;;;;;;:::i;8694:88::-;;;;;;;;;;;;;:::i;2132:87::-;;;;;;;;;;;;;:::i;42285:254::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42285:254:0;-1:-1:-1;;;;;42285:254:0;;:::i;9694:33::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9694:33:0;;:::i;8644:43::-;;;;;;;;;;;;;:::i;9173:87::-;;;;;;;;;;;;;:::i;9734:31::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9734:31:0;;:::i;9461:26::-;;;;;;;;;;;;;:::i;9428:::-;;;;;;;;;;;;;:::i;3086:244::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3086:244:0;-1:-1:-1;;;;;3086:244:0;;:::i;41374:95::-;;;;;;;;;;;;;:::i;34195:113::-;34244:17;:15;:17::i;:::-;34272:28;34282:17;:15;:17::i;:::-;34272:9;:28::i;:::-;34195:113::o;8791:35::-;;;;:::o;8833:37::-;;;;:::o;8511:28::-;;;;:::o;8552:32::-;;;;:::o;9367:18::-;;;-1:-1:-1;;;9367:18:0;;;;;:::o;42706:119::-;40832:8;:6;:8::i;:::-;-1:-1:-1;;;;;40818:22:0;:10;-1:-1:-1;;;;;40818:22:0;;40814:100;;;42788:29:::1;42799:17;42788:10;:29::i;:::-;40814:100:::0;;;40891:11;:9;:11::i;:::-;42706:119;:::o;9624:21::-;;;;:::o;9394:27::-;;;-1:-1:-1;;;;;9394:27:0;;:::o;8477:25::-;;;;;;-1:-1:-1;;;;;8477:25:0;;:::o;8591:46::-;8632:5;8591:46;:::o;43210:219::-;40832:8;:6;:8::i;:::-;-1:-1:-1;;;;;40818:22:0;:10;-1:-1:-1;;;;;40818:22:0;;40814:100;;;43328:29:::1;43339:17;43328:10;:29::i;:::-;43368:53;43397:17;43416:4;;43368:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;43368:28:0::1;::::0;-1:-1:-1;;;43368:53:0:i:1;:::-;;40814:100:::0;;;40891:11;:9;:11::i;:::-;43210:219;;;:::o;9558:30::-;;;;:::o;41940:131::-;41992:23;40832:8;:6;:8::i;:::-;-1:-1:-1;;;;;40818:22:0;:10;-1:-1:-1;;;;;40818:22:0;;40814:100;;;42046:17:::1;:15;:17::i;:::-;42028:35;;40814:100:::0;;;40891:11;:9;:11::i;:::-;41940:131;:::o;7133:86::-;7204:7;;;;7133:86;:::o;9267:91::-;9316:42;9267:91;:::o;9081:85::-;9124:42;9081:85;:::o;9041:31::-;;;-1:-1:-1;;;;;9041:31:0;;:::o;9654:33::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;9654:33:0;;-1:-1:-1;9654:33:0;:::o;2783:148::-;2363:12;:10;:12::i;:::-;-1:-1:-1;;;;;2352:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2352:23:0;;2344:68;;;;;-1:-1:-1;;;2344:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2890:1:::1;2874:6:::0;;2853:40:::1;::::0;-1:-1:-1;;;;;2874:6:0;;::::1;::::0;2853:40:::1;::::0;2890:1;;2853:40:::1;2921:1;2904:19:::0;;-1:-1:-1;;;;;;2904:19:0::1;::::0;;2783:148::o;8694:88::-;8740:42;8694:88;:::o;2132:87::-;2178:7;2205:6;-1:-1:-1;;;;;2205:6:0;2132:87;:::o;42285:254::-;40832:8;:6;:8::i;:::-;-1:-1:-1;;;;;40818:22:0;:10;-1:-1:-1;;;;;40818:22:0;;40814:100;;;-1:-1:-1;;;;;42368:22:0;::::1;42360:93;;;;-1:-1:-1::0;;;42360:93:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42469:32;42482:8;:6;:8::i;:::-;42469:32;::::0;;-1:-1:-1;;;;;42469:32:0;;::::1;::::0;;;;::::1;;::::0;::::1;::::0;;;;;;;;;::::1;42512:19;42522:8;42512:9;:19::i;9694:33::-:0;;;;;;;;;;8644:43;8684:3;8644:43;:::o;9173:87::-;9218:42;9173:87;:::o;9734:31::-;;;;;;;;;;9461:26;;;-1:-1:-1;;;;;9461:26:0;;:::o;9428:::-;;;-1:-1:-1;;;;;9428:26:0;;:::o;3086:244::-;2363:12;:10;:12::i;:::-;-1:-1:-1;;;;;2352:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2352:23:0;;2344:68;;;;;-1:-1:-1;;;2344:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3175:22:0;::::1;3167:73;;;;-1:-1:-1::0;;;3167:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3277:6;::::0;;3256:38:::1;::::0;-1:-1:-1;;;;;3256:38:0;;::::1;::::0;3277:6;::::1;::::0;3256:38:::1;::::0;::::1;3305:6;:17:::0;;-1:-1:-1;;;;;;3305:17:0::1;-1:-1:-1::0;;;;;3305:17:0;;;::::1;::::0;;;::::1;::::0;;3086:244::o;41374:95::-;41417:14;40832:8;:6;:8::i;:::-;-1:-1:-1;;;;;40818:22:0;:10;-1:-1:-1;;;;;40818:22:0;;40814:100;;;41453:8:::1;:6;:8::i;26543:200::-:0;26626:12;26658:77;26679:6;26687:4;26658:77;;;;;;;;;;;;;;;;;:20;:77::i;:::-;26651:84;26543:200;-1:-1:-1;;;26543:200:0:o;29442:622::-;29812:10;;;29811:62;;-1:-1:-1;29828:39:0;;;-1:-1:-1;;;29828:39:0;;29852:4;29828:39;;;;-1:-1:-1;;;;;29828:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29828:39:0;:44;29811:62;29803:152;;;;-1:-1:-1;;;29803:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29993:62;;;-1:-1:-1;;;;;29993:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;29993:62:0;-1:-1:-1;;;29993:62:0;;;29966:90;;29986:5;;29966:19;:90::i;20858:422::-;21225:20;21264:8;;;20858:422::o;23776:195::-;23879:12;23911:52;23933:6;23941:4;23947:1;23950:12;23911:21;:52::i;:::-;23904:59;23776:195;-1:-1:-1;;;;23776:195:0:o;44151:207::-;44237:8;:6;:8::i;:::-;-1:-1:-1;;;;;44223:22:0;:10;-1:-1:-1;;;;;44223:22:0;;;44215:101;;;;-1:-1:-1;;;44215:101:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44327:23;:21;:23::i;37055:256::-;36905:66;37282:11;;37259:45::o;32788:915::-;33188:14;33185:1;33182;33169:34;33406:1;33403;33387:14;33384:1;33368:14;33361:5;33348:60;33485:16;33482:1;33479;33464:38;33525:6;33594:38;;;;33666:16;33663:1;33656:27;33594:38;33613:16;33610:1;33603:27;43495:227;40571:66;43693:11;;43671:44::o;37437:163::-;37512:37;37531:17;37512:18;:37::i;:::-;37565:27;;-1:-1:-1;;;;;37565:27:0;;;;;;;;37437:163;:::o;667:106::-;755:10;667:106;:::o;43809:216::-;40571:66;43985:22;43970:48::o;26937:423::-;27048:12;27081:18;27092:6;27081:10;:18::i;:::-;27073:69;;;;-1:-1:-1;;;27073:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27216:12;27230:23;27257:6;-1:-1:-1;;;;;27257:19:0;27277:4;27257:25;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;27257:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27215:67;;;;27300:52;27318:7;27327:10;27339:12;27300:17;:52::i;:::-;27293:59;26937:423;-1:-1:-1;;;;;;26937:423:0:o;31088:761::-;31512:23;31538:69;31566:4;31538:69;;;;;;;;;;;;;;;;;31546:5;-1:-1:-1;;;;;31538:27:0;;;:69;;;;;:::i;:::-;31622:17;;31512:95;;-1:-1:-1;31622:21:0;31618:224;;31764:10;31753:30;;;;;;;;;;;;;;;-1:-1:-1;31753:30:0;31745:85;;;;-1:-1:-1;;;31745:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24828:530;24955:12;25013:5;24988:21;:30;;24980:81;;;;-1:-1:-1;;;24980:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25080:18;25091:6;25080:10;:18::i;:::-;25072:60;;;;;-1:-1:-1;;;25072:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;25206:12;25220:23;25247:6;-1:-1:-1;;;;;25247:11:0;25267:5;25275:4;25247:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;25247:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25205:75;;;;25298:52;25316:7;25325:10;25337:12;25298:17;:52::i;:::-;25291:59;24828:530;-1:-1:-1;;;;;;;24828:530:0:o;37696:369::-;37778:37;37797:17;37778:18;:37::i;:::-;37770:104;;;;-1:-1:-1;;;37770:104:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36905:66;38016:31;38001:57::o;27368:742::-;27483:12;27512:7;27508:595;;;-1:-1:-1;27543:10:0;27536:17;;27508:595;27657:17;;:21;27653:439;;27920:10;27914:17;27981:15;27968:10;27964:2;27960:19;27953:44;27868:148;28063:12;28056:20;;-1:-1:-1;;;28056:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://f1c1d7d836d2b129341591891894f1605c1d2204f2f5e85b891c2a9c3c53fe46
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
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.