Contract 0x6f695bd5ffd25149176629f8491a5099426ce7a7 4

 
 
Txn Hash
Block
From
To
Value [Txn Fee]
0x0131e23890b488c3ed971188d541240138d15d1d40d28e4ff334fde12e884ee097733352021-08-05 16:12:471 hr 16 mins ago0x85bb1c04771b2a0c3e910dfde0ebdc9a1b9f7fb1 IN  Alpaca Finance: sALPACA Token0 BNB0.00104865
0xbc8539ed432fbfde4fc64b836bd56a36f4153bbe51693216abeeef94c4980bc897733312021-08-05 16:12:351 hr 16 mins ago0x85bb1c04771b2a0c3e910dfde0ebdc9a1b9f7fb1 IN  Alpaca Finance: sALPACA Token0 BNB0.0002218
0xebf11308a0c3b8c64fccb6c2dd0351ecb37c9dcdc2921b3687cc791e54b0770097717822021-08-05 14:51:452 hrs 37 mins ago0x591ed97fa362a2cb78be9d69c8efe70750a602d4 IN  Alpaca Finance: sALPACA Token0 BNB0.00012388
0x88819a271ca483e93298cd8d2a9fb6a7d4dea3015afea9f11f05c7ce15056e4597717682021-08-05 14:50:592 hrs 38 mins ago0x591ed97fa362a2cb78be9d69c8efe70750a602d4 IN  Alpaca Finance: sALPACA Token0 BNB0.00012388
0x82dad77790db8708a4eede8e29d944d1ca22ea517f288f71ac952ecce64b2a4197717602021-08-05 14:50:312 hrs 38 mins ago0x591ed97fa362a2cb78be9d69c8efe70750a602d4 IN  Alpaca Finance: sALPACA Token0 BNB0.00007244
0x3d74aa85eb4c73318150a4e9ae92e0ff04579341160fd5a77d35d2fb37d58f7e97717592021-08-05 14:50:282 hrs 38 mins ago0x591ed97fa362a2cb78be9d69c8efe70750a602d4 IN  Alpaca Finance: sALPACA Token0 BNB0.00007244
0xceb6d994eafa25b2ac328149e7c6e3ec2dd98ab928c2a765a7e707ebd596d0fe97702392021-08-05 13:33:163 hrs 56 mins ago0x4b8eafcc1c609ce3489e9b209e2fb020077210d0 IN  Alpaca Finance: sALPACA Token0 BNB0.00042455
0x78b48a6654a26ffa5f0297cf7bb9a139268992e29e2e0d4d3406e4b02990bc7e97702332021-08-05 13:32:583 hrs 56 mins ago0x4b8eafcc1c609ce3489e9b209e2fb020077210d0 IN  Alpaca Finance: sALPACA Token0 BNB0.0001258
0x1e0caa4fe167087b04f755143c352f976dadf078e80b1a23f2028bf950944bf297702072021-08-05 13:31:403 hrs 57 mins ago0x4b8eafcc1c609ce3489e9b209e2fb020077210d0 IN  Alpaca Finance: sALPACA Token0 BNB0.0002218
0xefd5a6265524579f1853ccf3fc5b47acfebe2d8162874f4b99967295840ff9c997684992021-08-05 12:01:335 hrs 27 mins ago0xbeab9c3e11d54fe21e5767e874458f41a741cd21 IN  Alpaca Finance: sALPACA Token0 BNB0.00007244
0x4e9eb93e3f67aab3f4394f80553e5716c6f9daf0995fe78bf45fc85c5c056df697681482021-08-05 11:43:375 hrs 45 mins ago0x1ef908eda161f464da4244698481d207ccfea504 IN  Alpaca Finance: sALPACA Token0 BNB0.00034955
0x993fc44eac106632d54504ae9a9f17eedde72b87dbe7dcfee016ba9bb53ee44497681412021-08-05 11:43:165 hrs 46 mins ago0x1ef908eda161f464da4244698481d207ccfea504 IN  Alpaca Finance: sALPACA Token0 BNB0.0002218
0x86b2154c7da34109f47f434c859f712358474453261ff97c84da9b5bc379f85697645312021-08-05 8:39:168 hrs 50 mins ago0xc4cbf1dcbed461fa02d6b821974d22c8b4e6bd5e IN  Alpaca Finance: sALPACA Token0 BNB0.00042455
0xa79039f97d9e50952129e17983d0fb1373c5eb758bb798c258c5ff9e2e4fd67597645242021-08-05 8:38:558 hrs 50 mins ago0xc4cbf1dcbed461fa02d6b821974d22c8b4e6bd5e IN  Alpaca Finance: sALPACA Token0 BNB0.0002218
0xc716fec6f13933dbc6906c82f47c13171ac8cd8b512972f047222d70a69f5b8197644512021-08-05 8:35:168 hrs 54 mins ago0x36f50c098948660ebc3eb50dc78a00fff554b6f1 IN  Alpaca Finance: sALPACA Token0 BNB0.00034955
0x0c030250b2b98c20898b7e4f3d5a7b8e44abc52c1072a33fc9741f33c20932ae97644442021-08-05 8:34:558 hrs 54 mins ago0x36f50c098948660ebc3eb50dc78a00fff554b6f1 IN  Alpaca Finance: sALPACA Token0 BNB0.0002218
0x00fa24a9f9cc5a3d42a64ea51692b5f0a6e5a3b497773234b81a9c04b773305597640392021-08-05 8:14:099 hrs 15 mins ago0x6cecaf4040ac08e5d43ac42da4a014cd6f491b29 IN  Alpaca Finance: sALPACA Token0 BNB0.00034955
0x426196232d1300d03053d338486c25b25637917797b412c8a13a4e86ebb693ac97640322021-08-05 8:13:489 hrs 15 mins ago0x6cecaf4040ac08e5d43ac42da4a014cd6f491b29 IN  Alpaca Finance: sALPACA Token0 BNB0.0002218
0x804b149c9f233c0ddc94f72cbdee151307b22aeed1d19c3ccf178ae5ef65ddef97629232021-08-05 7:16:5510 hrs 12 mins ago0x64dc75fefc81bf8273f9a17b75a1e87d350b0201 IN  Alpaca Finance: sALPACA Token0 BNB0.00034955
0x2318d26eac10fa96f623ddb41c21f081665af3df446182a0698ee86e851476cb97629172021-08-05 7:16:3610 hrs 12 mins ago0x64dc75fefc81bf8273f9a17b75a1e87d350b0201 IN  Alpaca Finance: sALPACA Token0 BNB0.0001468
0xf1fed43066afe2aa6a510b3477afc199123e283456e351fdb1ce98310aef70ef97628772021-08-05 7:14:2810 hrs 14 mins ago0x64dc75fefc81bf8273f9a17b75a1e87d350b0201 IN  Alpaca Finance: sALPACA Token0 BNB0.00042455
0x5d8e9bbc6f153d6035c2a00a589d2d2c3958f2e410fd8724ff79f98ca7a88c7d97628762021-08-05 7:14:2510 hrs 14 mins ago0x64dc75fefc81bf8273f9a17b75a1e87d350b0201 IN  Alpaca Finance: sALPACA Token0 BNB0.0001258
0x803d3426f1647b3c9f12f88c4b4b11e0729b99e8c8a56bc3615b2f50cb10230c97628732021-08-05 7:14:1610 hrs 15 mins ago0x64dc75fefc81bf8273f9a17b75a1e87d350b0201 IN  Alpaca Finance: sALPACA Token0 BNB0.0002218
0x7b020e715e3cd1c06c4275230355c058bc1cb721c8dc2990c8a206ae9ad4eb2e97622202021-08-05 6:40:4710 hrs 48 mins ago0x6828616356a5981f30d25128904cf3931b3db359 IN  Alpaca Finance: sALPACA Token0 BNB0.00034955
0xf1956f044d8ef7d627590b4f146ae4bbcc54c93c908c48e5d07f8af7ddae3d2297622112021-08-05 6:40:2010 hrs 49 mins ago0x6828616356a5981f30d25128904cf3931b3db359 IN  Alpaca Finance: sALPACA Token0 BNB0.0002218
[ Download CSV Export 

OVERVIEW

sALPACA is a new synthetic token created on Alpaca Finance platform to rewards long-term ALPACA holders by having them lock up ALPACA tokens for 4 months and stake this stronk alpaca tokens for rewards.

Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xdbcdd67be66cd21e2afc759572c5db9981fd794b5e58ea21ec0ae69484ab056c61497222021-03-31 3:42:35127 days 13 hrs ago Alpaca Finance: sALPACA Token  Contract Creation0 BNB
0xfd08e2d9c2d515c924a29afaac31cf8664f6334ac8ac2f74f64b9298ca677cfa61496062021-03-31 3:36:47127 days 13 hrs ago Alpaca Finance: sALPACA Token  Contract Creation0 BNB
0xc75b5825b3ee61b004711b66758d79f355cc0508bcc619dd0bcfc4feb8d2e26661492392021-03-31 3:17:32127 days 14 hrs ago Alpaca Finance: sALPACA Token  Contract Creation0 BNB
0x25c640e499bee2dec1fe2f2aca9f1aeab7ac0c9e27bc118189a656a8ce58c66a61491052021-03-31 3:10:50127 days 14 hrs ago Alpaca Finance: sALPACA Token  Contract Creation0 BNB
0xdb9cc197829ee202a9753c888902a20caba7f86020d2c9012f565cc7e548aed461490922021-03-31 3:10:11127 days 14 hrs ago Alpaca Finance: sALPACA Token  Contract Creation0 BNB
0xf1e87fa3e758cf3a7867926c48f0c9193c35b96921530748869bb3cd6ecd5e3461490862021-03-31 3:09:53127 days 14 hrs ago Alpaca Finance: sALPACA Token  Contract Creation0 BNB
0x47aaefc7bacfa7a3ac4f6d8de8fb9650bab4b8d541e1b30ff0e02bebffe6dfd861489222021-03-31 3:01:41127 days 14 hrs ago Alpaca Finance: sALPACA Token  Contract Creation0 BNB
0xeabbfd67e71bd9242a4522b0db2f1c518988828f9550a5db6196230c1f5d550061478012021-03-31 2:05:38127 days 15 hrs ago Alpaca Finance: sALPACA Token  Contract Creation0 BNB
0x841c99058ebb05cf6a903e7a98e2fb76d48ae3bf0a23bcac7bad23c9be52738a61467442021-03-31 1:12:47127 days 16 hrs ago Alpaca Finance: sALPACA Token  Contract Creation0 BNB
0x2b4ed1fe15d065d2e21b788733b4537801445217afb3ca9825e1e8e50020395061464322021-03-31 0:57:11127 days 16 hrs ago Alpaca Finance: sALPACA Token  Contract Creation0 BNB
0x47e84ee298ac46443dce8d1447bf8d13ca81c0f5dec75fa883c0baa4134fd31961462602021-03-31 0:48:35127 days 16 hrs ago Alpaca Finance: sALPACA Token  Contract Creation0 BNB
0xf0129650aa5d55ccf03f1cd2293c7c4bead9db263d6f0c1c7255d0f57bfaf89e61462132021-03-31 0:46:14127 days 16 hrs ago Alpaca Finance: sALPACA Token  Contract Creation0 BNB
0x51a52118843f39a3a26b5ce7f90d3c5fcd81e61d8fcc965cb70637c5af0c587c61459052021-03-31 0:30:50127 days 16 hrs ago Alpaca Finance: sALPACA Token  Contract Creation0 BNB
0x0b2a888bea5e9a191a5f7c9399679e716fc0309ddef2544a578658b021b53c4961448982021-03-30 23:40:18127 days 17 hrs ago Alpaca Finance: sALPACA Token  Contract Creation0 BNB
0xee60994b9ad9044f4e5afee10e96097443c94c8a8ab61383f32cbb0b2ea01f1b61444852021-03-30 23:19:36127 days 18 hrs ago Alpaca Finance: sALPACA Token  Contract Creation0 BNB
0x5ba9fdd5500e8a5b9bb939d15a94911686c9fa00ebe05742925f10585b8e570a61433282021-03-30 22:21:42127 days 19 hrs ago Alpaca Finance: sALPACA Token  Contract Creation0 BNB
0x78c9239e365547ba00123bf8b490b864406b735e6929919dcdf8d46bebcfc48661431762021-03-30 22:14:06127 days 19 hrs ago Alpaca Finance: sALPACA Token  Contract Creation0 BNB
0xe8287c5ef58353a6ddb537901e35c95b86c539e93963c923d20811317c3377ab61423862021-03-30 21:34:15127 days 19 hrs ago Alpaca Finance: sALPACA Token  Contract Creation0 BNB
0x0f96d88a5d6f8530f5e861e6a013e360569e68edadc2f6094c5c7ac67760393061409592021-03-30 20:22:54127 days 21 hrs ago Alpaca Finance: sALPACA Token  Contract Creation0 BNB
0x98150d93b2cd16522451ceca01e636e68c38dae7ea0b876b2b204c84fd3d4bc961406732021-03-30 20:08:36127 days 21 hrs ago Alpaca Finance: sALPACA Token  Contract Creation0 BNB
0x00b105bfbfde03da66a41ee99b323e01a16eddb8ed292bcf357625d835210db261403822021-03-30 19:54:03127 days 21 hrs ago Alpaca Finance: sALPACA Token  Contract Creation0 BNB
0xdf6b9102d921f8d7de87ee9c223ff450ad723dff9fcd2359075cbf3aa5dedceb61382572021-03-30 18:07:48127 days 23 hrs ago Alpaca Finance: sALPACA Token  Contract Creation0 BNB
0x54a06b21fa5302e93ba993c3ac70cc0a4831f80fc0a214297fc3eeff5ad66adf61381572021-03-30 18:02:48127 days 23 hrs ago Alpaca Finance: sALPACA Token  Contract Creation0 BNB
0xb21b8bbd0b3d7f24f89978a528be948d5c43dc8a03cc90077a47bb6f960ab15661381462021-03-30 18:02:15127 days 23 hrs ago Alpaca Finance: sALPACA Token  Contract Creation0 BNB
0xb7e07a8f00f62724819e82c77fcc86a82829f268a5f4f98c894c1fbb12686d3261375342021-03-30 17:30:35127 days 23 hrs ago Alpaca Finance: sALPACA Token  Contract Creation0 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
StronkAlpaca

Compiler Version
v0.6.6+commit.6c089d02

Optimization Enabled:
Yes with 1 runs

Other Settings:
istanbul EvmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-03-14
*/

pragma solidity 0.6.6;

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

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(sender, recipient, amount);

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

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

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

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

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

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

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

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

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

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

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

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

interface IAlpacaToken {
  function transferAll(address _to) external;
  function lockOf(address _account) external view returns (uint256);
  function endReleaseBlock() external view returns (uint256);
  function unlock() external;
}

interface IStronkAlpaca {
  function prepareHodl() external;
  function hodl() external;
  function unhodl() external;

  event PrepareHodl(address indexed user, address indexed relayer);
  event Hodl(address indexed user, address indexed relayer, uint256 receivingStronkAlpacaAmount);
  event Unhodl(address indexed user, uint256 receivingAlpacaAmount);
}

interface IStronkAlpacaRelayer {
  function transferAllAlpaca() external;
}

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

contract StronkAlpacaRelayer is Ownable, IStronkAlpacaRelayer, ReentrancyGuard {
  using SafeMath for uint256;
  using SafeERC20 for IERC20;

  // Alpaca address
  address public alpacaTokenAddress;

  // User address
  address public userAddress;

  constructor(
    address _alpacaAddress,
    address _userAddress
  ) public {
    alpacaTokenAddress = _alpacaAddress;
    userAddress = _userAddress;
  }

  function transferAllAlpaca() external override nonReentrant onlyOwner {
    SafeERC20.safeTransfer(IERC20(alpacaTokenAddress), userAddress, IERC20(alpacaTokenAddress).balanceOf(address(this)));
    IAlpacaToken(alpacaTokenAddress).transferAll(msg.sender);
  }
}

interface ERC20Interface {
  function balanceOf(address user) external view returns (uint256);
}

library SafeToken {
  function myBalance(address token) internal view returns (uint256) {
    return ERC20Interface(token).balanceOf(address(this));
  }

  function balanceOf(address token, address user) internal view returns (uint256) {
    return ERC20Interface(token).balanceOf(user);
  }

  function safeApprove(address token, address to, uint256 value) internal {
    // bytes4(keccak256(bytes('approve(address,uint256)')));
    (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x095ea7b3, to, value));
    require(success && (data.length == 0 || abi.decode(data, (bool))), "!safeApprove");
  }

  function safeTransfer(address token, address to, uint256 value) internal {
    // bytes4(keccak256(bytes('transfer(address,uint256)')));
    (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0xa9059cbb, to, value));
    require(success && (data.length == 0 || abi.decode(data, (bool))), "!safeTransfer");
  }

  function safeTransferFrom(address token, address from, address to, uint256 value) internal {
    // bytes4(keccak256(bytes('transferFrom(address,address,uint256)')));
    (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x23b872dd, from, to, value));
    require(success && (data.length == 0 || abi.decode(data, (bool))), "!safeTransferFrom");
  }

  function safeTransferETH(address to, uint256 value) internal {
    // solhint-disable-next-line no-call-value
    (bool success, ) = to.call{value: value}(new bytes(0));
    require(success, "!safeTransferETH");
  }
}

// StrongHodl is a smart contract for ALPACA time-locking by asking user to lock ALPACA for a period of time.
contract StronkAlpaca is IStronkAlpaca, ERC20("Stronk Alpaca", "sALPACA"), ReentrancyGuard {
  using SafeMath for uint256;
  using SafeERC20 for IERC20;

  //Block number when locked ALPACA can be turned to sALPACA
  uint256 public hodlableStartBlock;

  // Block number when locked ALPACA can be turned to sALPACA
  uint256 public hodlableEndBlock;

  // Block number when ALPACA can be released.
  uint256 public lockEndBlock;

  // Alpaca address
  address public alpacaTokenAddress;

  // To track the portion of each user Alpaca
  mapping(address => address) private _userRelayerMap;

  // events
  event PrepareHodl(address indexed user, address indexed relayer);
  event Hodl(address indexed user, address indexed relayer, uint256 receivingStronkAlpacaAmount);
  event Unhodl(address indexed user, uint256 receivingAlpacaAmount);

  constructor(
    address _alpacaAddress,
    uint256 _hodlableStartBlock,
    uint256 _hodlableEndBlock,
    uint256 _lockEndBlock
  ) public {
    _setupDecimals(18);
    alpacaTokenAddress = _alpacaAddress;
    hodlableStartBlock = _hodlableStartBlock;
    hodlableEndBlock = _hodlableEndBlock;
    lockEndBlock = _lockEndBlock;
  }

  /// @dev Require that the caller must be an EOA account to avoid flash loans.
  modifier onlyEOA() {
    require(msg.sender == tx.origin, "StronkAlpaca::onlyEOA:: not eoa");
    _;
  }

  function prepareHodl() external override onlyEOA nonReentrant {
    require(_userRelayerMap[msg.sender] == address(0), "StronkAlpaca::prepareHodl: user has already prepared hodl");
    require(block.number >= hodlableStartBlock, "StronkAlpaca::prepareHodl: block.number not reach hodlableStartBlock");
    require(block.number < hodlableEndBlock, "StronkAlpaca::prepareHodl: block.number exceeds hodlableEndBlock");
    require(IAlpacaToken(alpacaTokenAddress).lockOf(msg.sender) > 0, "StronkAlpaca::preparehodl: user's lockAlpaca must be greater than zero");

    // create relayer contract
    StronkAlpacaRelayer relayer = new StronkAlpacaRelayer(alpacaTokenAddress, msg.sender);
    _userRelayerMap[msg.sender] = address(relayer);
    emit PrepareHodl(msg.sender, address(relayer));
  }

  function hodl() external override onlyEOA nonReentrant {
    address relayerAddress = _userRelayerMap[msg.sender];

    require(relayerAddress != address(0), "StronkAlpaca::hodl: user has not preapare hodl yet");

    uint256 relayerAlpacaLockedBalance = IAlpacaToken(alpacaTokenAddress).lockOf(relayerAddress);
    StronkAlpacaRelayer relayer = StronkAlpacaRelayer(relayerAddress);

    relayer.transferAllAlpaca();
    _mint(msg.sender, relayerAlpacaLockedBalance);
    emit Hodl(msg.sender, address(relayer), relayerAlpacaLockedBalance);
  }

  function unhodl() external override onlyEOA nonReentrant {
    require(
      block.number > IAlpacaToken(alpacaTokenAddress).endReleaseBlock(),
      "StronkAlpaca::unhodl: block.number have not reach alpacaToken.endReleaseBlock"
    );
    require(block.number > lockEndBlock, "StronkAlpaca::unhodl: block.number have not reach lockEndBlock");

    // unlock all the Alpaca token in case it never have been unlocked yet
    // Note: given that releasePeriodEnd has passed, so that locked token has been 100% released
    if (IAlpacaToken(alpacaTokenAddress).lockOf(address(this)) > 0) {
      IAlpacaToken(alpacaTokenAddress).unlock();
    }

    uint256 userStronkAlpacaBalance = balanceOf(msg.sender);
    // Transfer all userStronkAlpacaBalance to StronkContract and then burn
    SafeERC20.safeTransferFrom(IERC20(address(this)), msg.sender, address(this), userStronkAlpacaBalance);
    // StronkAlpaca burns all user's StronkAlpaca
    _burn(address(this), userStronkAlpacaBalance);

    // transfer Alpaca from Strong Alpaca to user
    SafeERC20.safeTransfer(IERC20(alpacaTokenAddress), msg.sender, userStronkAlpacaBalance);

    emit Unhodl(msg.sender, userStronkAlpacaBalance);
  }

  function getRelayerAddress(address _account) public view returns (address) {
    return _userRelayerMap[_account];
  }
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_alpacaAddress","type":"address"},{"internalType":"uint256","name":"_hodlableStartBlock","type":"uint256"},{"internalType":"uint256","name":"_hodlableEndBlock","type":"uint256"},{"internalType":"uint256","name":"_lockEndBlock","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"relayer","type":"address"},{"indexed":false,"internalType":"uint256","name":"receivingStronkAlpacaAmount","type":"uint256"}],"name":"Hodl","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"relayer","type":"address"}],"name":"PrepareHodl","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"receivingAlpacaAmount","type":"uint256"}],"name":"Unhodl","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"alpacaTokenAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"getRelayerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hodl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"hodlableEndBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hodlableStartBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lockEndBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"prepareHodl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unhodl","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040516200260238038062002602833981810160405260808110156200003757600080fd5b50805160208083015160408085015160609095015181518083018352600d81526c5374726f6e6b20416c7061636160981b8186019081528351808501909452600784526673414c5041434160c81b9584019590955280519596939593949193909291620000a8916003919062000133565b508051620000be90600490602084019062000133565b50506005805460ff191660129081179091556001600655620000ea91506001600160e01b036200011d16565b600a80546001600160a01b0319166001600160a01b039590951694909417909355600791909155600855600955620001d8565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200017657805160ff1916838001178555620001a6565b82800160010185558215620001a6579182015b82811115620001a657825182559160200191906001019062000189565b50620001b4929150620001b8565b5090565b620001d591905b80821115620001b45760008155600101620001bf565b90565b61241a80620001e86000396000f3fe608060405234801561001057600080fd5b50600436106100f15760003560e01c806306fdde03146100f6578063095ea7b31461017357806318160ddd146101b357806323b872dd146101cd578063313ce5671461020357806339509351146102215780634c3e60db1461024d578063527d1bde1461025757806360f145091461025f578063673ac0bf1461026757806370a082311461026f5780638587edbb146102955780638bf9add21461029d57806395d89b41146102c1578063a457c2d7146102c9578063a9059cbb146102f5578063b4a69fa314610321578063dd62ed3e14610329578063e409318014610357575b600080fd5b6100fe61037d565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610138578181015183820152602001610120565b50505050905090810190601f1680156101655780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61019f6004803603604081101561018957600080fd5b506001600160a01b038135169060200135610413565b604080519115158252519081900360200190f35b6101bb610430565b60408051918252519081900360200190f35b61019f600480360360608110156101e357600080fd5b506001600160a01b03813581169160208101359091169060400135610436565b61020b6104c4565b6040805160ff9092168252519081900360200190f35b61019f6004803603604081101561023757600080fd5b506001600160a01b0381351690602001356104cd565b610255610521565b005b6101bb6107e7565b6102556107ed565b6102556109fe565b6101bb6004803603602081101561028557600080fd5b50356001600160a01b0316610cd7565b6101bb610cf2565b6102a5610cf8565b604080516001600160a01b039092168252519081900360200190f35b6100fe610d07565b61019f600480360360408110156102df57600080fd5b506001600160a01b038135169060200135610d68565b61019f6004803603604081101561030b57600080fd5b506001600160a01b038135169060200135610dd6565b6101bb610dea565b6101bb6004803603604081101561033f57600080fd5b506001600160a01b0381358116916020013516610df0565b6102a56004803603602081101561036d57600080fd5b50356001600160a01b0316610e1b565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104095780601f106103de57610100808354040283529160200191610409565b820191906000526020600020905b8154815290600101906020018083116103ec57829003601f168201915b5050505050905090565b6000610427610420610e39565b8484610e3d565b50600192915050565b60025490565b6000610443848484610f29565b6104b98461044f610e39565b6104b485604051806060016040528060288152602001612266602891396001600160a01b038a1660009081526001602052604081209061048d610e39565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61107e16565b610e3d565b5060015b9392505050565b60055460ff1690565b60006104276104da610e39565b846104b485600160006104eb610e39565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff61111516565b333214610563576040805162461bcd60e51b815260206004820152601f60248201526000805160206120c1833981519152604482015290519081900360640190fd5b600260065414156105a9576040805162461bcd60e51b815260206004820152601f60248201526000805160206120a1833981519152604482015290519081900360640190fd5b6002600655336000908152600b60205260409020546001600160a01b0316156106035760405162461bcd60e51b815260040180806020018281038252603981526020018061222d6039913960400191505060405180910390fd5b6007544310156106445760405162461bcd60e51b81526004018080602001828103825260448152602001806121c36044913960600191505060405180910390fd5b60085443106106845760405162461bcd60e51b815260040180806020018281038252604081526020018061228e6040913960400191505060405180910390fd5b600a5460408051635a46d3b560e01b815233600482015290516000926001600160a01b031691635a46d3b5916024808301926020929190829003018186803b1580156106cf57600080fd5b505afa1580156106e3573d6000803e3d6000fd5b505050506040513d60208110156106f957600080fd5b5051116107375760405162461bcd60e51b81526004018080602001828103825260468152602001806121576046913960600191505060405180910390fd5b600a546040516000916001600160a01b0316903390610755906116f1565b6001600160a01b03928316815291166020820152604080519182900301906000f080158015610788573d6000803e3d6000fd5b50336000818152600b602052604080822080546001600160a01b0319166001600160a01b0386169081179091559051939450927fd98169fa0c870b5088191775158c2dd8488ff25e01dadb0db1731f3e42fe7f159190a3506001600655565b60075481565b33321461082f576040805162461bcd60e51b815260206004820152601f60248201526000805160206120c1833981519152604482015290519081900360640190fd5b60026006541415610875576040805162461bcd60e51b815260206004820152601f60248201526000805160206120a1833981519152604482015290519081900360640190fd5b6002600655336000908152600b60205260409020546001600160a01b0316806108cf5760405162461bcd60e51b81526004018080602001828103825260328152602001806121036032913960400191505060405180910390fd5b600a5460408051635a46d3b560e01b81526001600160a01b03848116600483015291516000939290921691635a46d3b591602480820192602092909190829003018186803b15801561092057600080fd5b505afa158015610934573d6000803e3d6000fd5b505050506040513d602081101561094a57600080fd5b505160408051633ff0934f60e01b8152905191925083916001600160a01b03831691633ff0934f91600480830192600092919082900301818387803b15801561099257600080fd5b505af11580156109a6573d6000803e3d6000fd5b505050506109b4338361116d565b6040805183815290516001600160a01b0383169133917f32f77df0708ea839727842d6a8378d4a794282df88a38db0059148970c23c6d39181900360200190a35050600160065550565b333214610a40576040805162461bcd60e51b815260206004820152601f60248201526000805160206120c1833981519152604482015290519081900360640190fd5b60026006541415610a86576040805162461bcd60e51b815260206004820152601f60248201526000805160206120a1833981519152604482015290519081900360640190fd5b6002600655600a546040805163ce4079ef60e01b815290516001600160a01b039092169163ce4079ef91600480820192602092909190829003018186803b158015610ad057600080fd5b505afa158015610ae4573d6000803e3d6000fd5b505050506040513d6020811015610afa57600080fd5b50514311610b395760405162461bcd60e51b815260040180806020018281038252604d815260200180612054604d913960600191505060405180910390fd5b6009544311610b795760405162461bcd60e51b815260040180806020018281038252603e8152602001806122ce603e913960400191505060405180910390fd5b600a5460408051635a46d3b560e01b815230600482015290516000926001600160a01b031691635a46d3b5916024808301926020929190829003018186803b158015610bc457600080fd5b505afa158015610bd8573d6000803e3d6000fd5b505050506040513d6020811015610bee57600080fd5b50511115610c5f57600a60009054906101000a90046001600160a01b03166001600160a01b031663a69df4b56040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610c4657600080fd5b505af1158015610c5a573d6000803e3d6000fd5b505050505b6000610c6a33610cd7565b9050610c7830333084611257565b610c8230826112b7565b600a54610c99906001600160a01b031633836113ad565b60408051828152905133917fafd5564df65514d3f5e636ed5419301c834239b48053c92753ff627d8f82f63e919081900360200190a2506001600655565b6001600160a01b031660009081526020819052604090205490565b60095481565b600a546001600160a01b031681565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104095780601f106103de57610100808354040283529160200191610409565b6000610427610d75610e39565b846104b4856040518060600160405280602581526020016123c06025913960016000610d9f610e39565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61107e16565b6000610427610de3610e39565b8484610f29565b60085481565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b039081166000908152600b60205260409020541690565b3390565b6001600160a01b038316610e825760405162461bcd60e51b81526004018080602001828103825260248152602001806123726024913960400191505060405180910390fd5b6001600160a01b038216610ec75760405162461bcd60e51b81526004018080602001828103825260228152602001806121356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610f6e5760405162461bcd60e51b815260040180806020018281038252602581526020018061234d6025913960400191505060405180910390fd5b6001600160a01b038216610fb35760405162461bcd60e51b81526004018080602001828103825260238152602001806120316023913960400191505060405180910390fd5b610fbe8383836113ff565b6110018160405180606001604052806026815260200161219d602691396001600160a01b038616600090815260208190526040902054919063ffffffff61107e16565b6001600160a01b038085166000908152602081905260408082209390935590841681522054611036908263ffffffff61111516565b6001600160a01b0380841660008181526020818152604091829020949094558051858152905191939287169260008051602061230c83398151915292918290030190a3505050565b6000818484111561110d5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156110d25781810151838201526020016110ba565b50505050905090810190601f1680156110ff5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000828201838110156104bd576040805162461bcd60e51b815260206004820152601b60248201527a536166654d6174683a206164646974696f6e206f766572666c6f7760281b604482015290519081900360640190fd5b6001600160a01b0382166111c8576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6111d4600083836113ff565b6002546111e7908263ffffffff61111516565b6002556001600160a01b038216600090815260208190526040902054611213908263ffffffff61111516565b6001600160a01b03831660008181526020818152604080832094909455835185815293519293919260008051602061230c8339815191529281900390910190a35050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526112b1908590611404565b50505050565b6001600160a01b0382166112fc5760405162461bcd60e51b815260040180806020018281038252602181526020018061232c6021913960400191505060405180910390fd5b611308826000836113ff565b61134b816040518060600160405280602281526020016120e1602291396001600160a01b038516600090815260208190526040902054919063ffffffff61107e16565b6001600160a01b038316600090815260208190526040902055600254611377908263ffffffff6114b516565b6002556040805182815290516000916001600160a01b0385169160008051602061230c8339815191529181900360200190a35050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526113ff908490611404565b505050565b6060611459826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166115129092919063ffffffff16565b8051909150156113ff5780806020019051602081101561147857600080fd5b50516113ff5760405162461bcd60e51b815260040180806020018281038252602a815260200180612396602a913960400191505060405180910390fd5b60008282111561150c576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60606115218484600085611529565b949350505050565b60608247101561156a5760405162461bcd60e51b81526004018080602001828103825260268152602001806122076026913960400191505060405180910390fd5b61157385611685565b6115c4576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106116035780518252601f1990920191602091820191016115e4565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611665576040519150601f19603f3d011682016040523d82523d6000602084013e61166a565b606091505b509150915061167a82828661168b565b979650505050505050565b3b151590565b6060831561169a5750816104bd565b8251156116aa5782518084602001fd5b60405162461bcd60e51b81526020600482018181528451602484015284518593919283926044019190850190808383600083156110d25781810151838201526020016110ba565b610932806116ff8339019056fe608060405234801561001057600080fd5b506040516109323803806109328339818101604052604081101561003357600080fd5b508051602090910151600061004f6001600160e01b036100ce16565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060018055600280546001600160a01b039384166001600160a01b031991821617909155600380549290931691161790556100d2565b3390565b610851806100e16000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c80633ff0934f14610067578063715018a6146100715780638bf9add2146100795780638da5cb5b1461009d578063e4128fb3146100a5578063f2fde38b146100ad575b600080fd5b61006f6100d3565b005b61006f610283565b61008161031d565b604080516001600160a01b039092168252519081900360200190f35b61008161032c565b61008161033b565b61006f600480360360208110156100c357600080fd5b50356001600160a01b031661034a565b6002600154141561012b576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260015561013861043a565b6001600160a01b031661014961032c565b6001600160a01b031614610192576040805162461bcd60e51b815260206004820181905260248201526000805160206107b2833981519152604482015290519081900360640190fd5b600254600354604080516370a0823160e01b81523060048201529051610219936001600160a01b0390811693169183916370a0823191602480820192602092909190829003018186803b1580156101e857600080fd5b505afa1580156101fc573d6000803e3d6000fd5b505050506040513d602081101561021257600080fd5b505161043e565b6002546040805163a3a7e7f360e01b815233600482015290516001600160a01b039092169163a3a7e7f39160248082019260009290919082900301818387803b15801561026557600080fd5b505af1158015610279573d6000803e3d6000fd5b5050600180555050565b61028b61043a565b6001600160a01b031661029c61032c565b6001600160a01b0316146102e5576040805162461bcd60e51b815260206004820181905260248201526000805160206107b2833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116906000805160206107d2833981519152908390a3600080546001600160a01b0319169055565b6002546001600160a01b031681565b6000546001600160a01b031690565b6003546001600160a01b031681565b61035261043a565b6001600160a01b031661036361032c565b6001600160a01b0316146103ac576040805162461bcd60e51b815260206004820181905260248201526000805160206107b2833981519152604482015290519081900360640190fd5b6001600160a01b0381166103f15760405162461bcd60e51b81526004018080602001828103825260268152602001806107666026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216916000805160206107d283398151915291a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610490908490610495565b505050565b60606104ea826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166105469092919063ffffffff16565b8051909150156104905780806020019051602081101561050957600080fd5b50516104905760405162461bcd60e51b815260040180806020018281038252602a8152602001806107f2602a913960400191505060405180910390fd5b6060610555848460008561055f565b90505b9392505050565b6060824710156105a05760405162461bcd60e51b815260040180806020018281038252602681526020018061078c6026913960400191505060405180910390fd5b6105a9856106bb565b6105fa576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106106395780518252601f19909201916020918201910161061a565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461069b576040519150601f19603f3d011682016040523d82523d6000602084013e6106a0565b606091505b50915091506106b08282866106c1565b979650505050505050565b3b151590565b606083156106d0575081610558565b8251156106e05782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561072a578181015183820152602001610712565b50505050905090810190601f1680156107575780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65728be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a264697066735822122071ece4035d6e8d3f5bd679a456d3c0db07f8ba9d7b379bb694ff5af248392d6d64736f6c6343000606003345524332303a207472616e7366657220746f20746865207a65726f20616464726573735374726f6e6b416c706163613a3a756e686f646c3a20626c6f636b2e6e756d6265722068617665206e6f7420726561636820616c70616361546f6b656e2e656e6452656c65617365426c6f636b5265656e7472616e637947756172643a207265656e7472616e742063616c6c005374726f6e6b416c706163613a3a6f6e6c79454f413a3a206e6f7420656f610045524332303a206275726e20616d6f756e7420657863656564732062616c616e63655374726f6e6b416c706163613a3a686f646c3a207573657220686173206e6f7420707265617061726520686f646c2079657445524332303a20617070726f766520746f20746865207a65726f20616464726573735374726f6e6b416c706163613a3a70726570617265686f646c3a20757365722773206c6f636b416c70616361206d7573742062652067726561746572207468616e207a65726f45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63655374726f6e6b416c706163613a3a70726570617265486f646c3a20626c6f636b2e6e756d626572206e6f7420726561636820686f646c61626c655374617274426c6f636b416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c5374726f6e6b416c706163613a3a70726570617265486f646c3a20757365722068617320616c726561647920707265706172656420686f646c45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63655374726f6e6b416c706163613a3a70726570617265486f646c3a20626c6f636b2e6e756d626572206578636565647320686f646c61626c65456e64426c6f636b5374726f6e6b416c706163613a3a756e686f646c3a20626c6f636b2e6e756d6265722068617665206e6f74207265616368206c6f636b456e64426c6f636bddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef45524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220c84f6a5835174bd252f66789d1f4ff527a071c58a09cf86a7c5547a8dac926e264736f6c634300060600330000000000000000000000008f0528ce5ef7b51152a59745befdd91d97091d2f00000000000000000000000000000000000000000000000000000000005674d000000000000000000000000000000000000000000000000000000000005dd77000000000000000000000000000000000000000000000000000000000008b30d0

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

0000000000000000000000008f0528ce5ef7b51152a59745befdd91d97091d2f00000000000000000000000000000000000000000000000000000000005674d000000000000000000000000000000000000000000000000000000000005dd77000000000000000000000000000000000000000000000000000000000008b30d0

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000008f0528ce5ef7b51152a59745befdd91d97091d2f
Arg [1] : 00000000000000000000000000000000000000000000000000000000005674d0
Arg [2] : 00000000000000000000000000000000000000000000000000000000005dd770
Arg [3] : 00000000000000000000000000000000000000000000000000000000008b30d0


Deployed ByteCode Sourcemap

41527:4120:0:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;41527:4120:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;24644:91:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;24644:91:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26790:169;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;26790:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;25743:108;;;:::i;:::-;;;;;;;;;;;;;;;;27441:321;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;27441:321:0;;;;;;;;;;;;;;;;;:::i;25587:91::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;28171:218;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;28171:218:0;;;;;;;;:::i;42936:800::-;;;:::i;:::-;;41749:33;;;:::i;43742:555::-;;;:::i;44303:1215::-;;;:::i;25914:127::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;25914:127:0;-1:-1:-1;;;;;25914:127:0;;:::i;41938:27::-;;;:::i;41993:33::-;;;:::i;:::-;;;;-1:-1:-1;;;;;41993:33:0;;;;;;;;;;;;;;24854:95;;;:::i;28892:269::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;28892:269:0;;;;;;;;:::i;26254:175::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;26254:175:0;;;;;;;;:::i;41852:31::-;;;:::i;26492:151::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;26492:151:0;;;;;;;;;;:::i;45524:120::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;45524:120:0;-1:-1:-1;;;;;45524:120:0;;:::i;24644:91::-;24722:5;24715:12;;;;;;;;-1:-1:-1;;24715:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24689:13;;24715:12;;24722:5;;24715:12;;24722:5;24715:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24644:91;:::o;26790:169::-;26873:4;26890:39;26899:12;:10;:12::i;:::-;26913:7;26922:6;26890:8;:39::i;:::-;-1:-1:-1;26947:4:0;26790:169;;;;:::o;25743:108::-;25831:12;;25743:108;:::o;27441:321::-;27547:4;27564:36;27574:6;27582:9;27593:6;27564:9;:36::i;:::-;27611:121;27620:6;27628:12;:10;:12::i;:::-;27642:89;27680:6;27642:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;27642:19:0;;;;;;:11;:19;;;;;;27662:12;:10;:12::i;:::-;-1:-1:-1;;;;;27642:33:0;;;;;;;;;;;;-1:-1:-1;27642:33:0;;;:89;;:37;:89;:::i;:::-;27611:8;:121::i;:::-;-1:-1:-1;27750:4:0;27441:321;;;;;;:::o;25587:91::-;25661:9;;;;25587:91;:::o;28171:218::-;28259:4;28276:83;28285:12;:10;:12::i;:::-;28299:7;28308:50;28347:10;28308:11;:25;28320:12;:10;:12::i;:::-;-1:-1:-1;;;;;28308:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;28308:25:0;;;:34;;;;;;;;;;;:50;:38;:50;:::i;42936:800::-;42857:10;42871:9;42857:23;42849:67;;;;;-1:-1:-1;;;42849:67:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;42849:67:0;;;;;;;;;;;;;;;35168:1:::1;35774:7;;:19;;35766:63;;;::::0;;-1:-1:-1;;;35766:63:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;;;;;;;;;35766:63:0;;;;;;;;;;;;;::::1;;35168:1;35907:7;:18:::0;43029:10:::2;43052:1;43013:27:::0;;;:15:::2;:27;::::0;;;;;-1:-1:-1;;;;;43013:27:0::2;:41:::0;43005:111:::2;;;;-1:-1:-1::0;;;43005:111:0::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43147:18;;43131:12;:34;;43123:115;;;;-1:-1:-1::0;;;43123:115:0::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43268:16;;43253:12;:31;43245:108;;;;-1:-1:-1::0;;;43245:108:0::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43381:18;::::0;43368:51:::2;::::0;;-1:-1:-1;;;43368:51:0;;43408:10:::2;43368:51;::::0;::::2;::::0;;;43422:1:::2;::::0;-1:-1:-1;;;;;43381:18:0::2;::::0;43368:39:::2;::::0;:51;;;;;::::2;::::0;;;;;;;;43381:18;43368:51;::::2;;2:2:-1::0;::::2;;;27:1;24::::0;17:12:::2;2:2;43368:51:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::2;77:16;74:1;67:27;5:2;43368:51:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28::::0;21:12:::2;4:2;-1:-1:::0;43368:51:0;:55:::2;43360:138;;;;-1:-1:-1::0;;;43360:138:0::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43593:18;::::0;43569:55:::2;::::0;43539:27:::2;::::0;-1:-1:-1;;;;;43593:18:0::2;::::0;43613:10:::2;::::0;43569:55:::2;::::0;::::2;:::i;:::-;-1:-1:-1::0;;;;;43569:55:0;;::::2;::::0;;;::::2;;::::0;::::2;::::0;;;;;;;;;;-1:-1:-1;43569:55:0::2;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::2;77:16;74:1;67:27;5:2;-1:-1:::0;43647:10:0::2;43631:27;::::0;;;:15:::2;:27;::::0;;;;;:46;;-1:-1:-1;;;;;;43631:46:0::2;-1:-1:-1::0;;;;;43631:46:0;::::2;::::0;;::::2;::::0;;;43689:41;;43631:46;;-1:-1:-1;43631:46:0;43689:41:::2;::::0;43631:27;43689:41:::2;-1:-1:-1::0;35124:1:0::1;36086:7;:22:::0;42936:800::o;41749:33::-;;;;:::o;43742:555::-;42857:10;42871:9;42857:23;42849:67;;;;;-1:-1:-1;;;42849:67:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;42849:67:0;;;;;;;;;;;;;;;35168:1:::1;35774:7;;:19;;35766:63;;;::::0;;-1:-1:-1;;;35766:63:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;;;;;;;;;35766:63:0;;;;;;;;;;;;;::::1;;35168:1;35907:7;:18:::0;43845:10:::2;43804:22;43829:27:::0;;;:15:::2;:27;::::0;;;;;-1:-1:-1;;;;;43829:27:0::2;43873:28:::0;43865:91:::2;;;;-1:-1:-1::0;;;43865:91:0::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44015:18;::::0;44002:55:::2;::::0;;-1:-1:-1;;;44002:55:0;;-1:-1:-1;;;;;44002:55:0;;::::2;;::::0;::::2;::::0;;;43965:34:::2;::::0;44015:18;;;::::2;::::0;44002:39:::2;::::0;:55;;;;;::::2;::::0;;;;;;;;;44015:18;44002:55;::::2;;2:2:-1::0;::::2;;;27:1;24::::0;17:12:::2;2:2;44002:55:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::2;77:16;74:1;67:27;5:2;44002:55:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28::::0;21:12:::2;4:2;-1:-1:::0;44002:55:0;44138:27:::2;::::0;;-1:-1:-1;;;44138:27:0;;;;44002:55;;-1:-1:-1;44114:14:0;;-1:-1:-1;;;;;44138:25:0;::::2;::::0;::::2;::::0;:27:::2;::::0;;::::2;::::0;44064::::2;::::0;44138;;;;;;;44064;44138:25;:27;::::2;;2:2:-1::0;::::2;;;27:1;24::::0;17:12:::2;2:2;44138:27:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::2;77:16;74:1;67:27;5:2;44138:27:0;;;;44172:45;44178:10;44190:26;44172:5;:45::i;:::-;44229:62;::::0;;;;;;;-1:-1:-1;;;;;44229:62:0;::::2;::::0;44234:10:::2;::::0;44229:62:::2;::::0;;;;::::2;::::0;;::::2;-1:-1:-1::0;;35124:1:0::1;36086:7;:22:::0;-1:-1:-1;43742:555:0:o;44303:1215::-;42857:10;42871:9;42857:23;42849:67;;;;;-1:-1:-1;;;42849:67:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;42849:67:0;;;;;;;;;;;;;;;35168:1:::1;35774:7;;:19;;35766:63;;;::::0;;-1:-1:-1;;;35766:63:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;;;;;;;;;35766:63:0;;;;;;;;;;;;;::::1;;35168:1;35907:7;:18:::0;44411::::2;::::0;44398:50:::2;::::0;;-1:-1:-1;;;44398:50:0;;;;-1:-1:-1;;;;;44411:18:0;;::::2;::::0;44398:48:::2;::::0;:50:::2;::::0;;::::2;::::0;::::2;::::0;;;;;;;;;44411:18;44398:50;::::2;;2:2:-1::0;::::2;;;27:1;24::::0;17:12:::2;2:2;44398:50:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::2;77:16;74:1;67:27;5:2;44398:50:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28::::0;21:12:::2;4:2;-1:-1:::0;44398:50:0;44383:12:::2;:65;44367:176;;;;-1:-1:-1::0;;;44367:176:0::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44573:12;;44558;:27;44550:102;;;;-1:-1:-1::0;;;44550:102:0::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44852:18;::::0;44839:54:::2;::::0;;-1:-1:-1;;;44839:54:0;;44887:4:::2;44839:54;::::0;::::2;::::0;;;44896:1:::2;::::0;-1:-1:-1;;;;;44852:18:0::2;::::0;44839:39:::2;::::0;:54;;;;;::::2;::::0;;;;;;;;44852:18;44839:54;::::2;;2:2:-1::0;::::2;;;27:1;24::::0;17:12:::2;2:2;44839:54:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::2;77:16;74:1;67:27;5:2;44839:54:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28::::0;21:12:::2;4:2;-1:-1:::0;44839:54:0;:58:::2;44835:122;;;44921:18;;;;;;;;;-1:-1:-1::0;;;;;44921:18:0::2;-1:-1:-1::0;;;;;44908:39:0::2;;:41;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::2;2:2;44908:41:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::2;77:16;74:1;67:27;5:2;44908:41:0;;;;44835:122;44965:31;44999:21;45009:10;44999:9;:21::i;:::-;44965:55;;45104:101;45146:4;45154:10;45174:4;45181:23;45104:26;:101::i;:::-;45263:45;45277:4;45284:23;45263:5;:45::i;:::-;45398:18;::::0;45368:87:::2;::::0;-1:-1:-1;;;;;45398:18:0::2;45419:10;45431:23:::0;45368:22:::2;:87::i;:::-;45469:43;::::0;;;;;;;45476:10:::2;::::0;45469:43:::2;::::0;;;;;::::2;::::0;;::::2;-1:-1:-1::0;35124:1:0::1;36086:7;:22:::0;44303:1215::o;25914:127::-;-1:-1:-1;;;;;26015:18:0;25988:7;26015:18;;;;;;;;;;;;25914:127::o;41938:27::-;;;;:::o;41993:33::-;;;-1:-1:-1;;;;;41993:33:0;;:::o;24854:95::-;24934:7;24927:14;;;;;;;;-1:-1:-1;;24927:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24901:13;;24927:14;;24934:7;;24927:14;;24934:7;24927:14;;;;;;;;;;;;;;;;;;;;;;;;28892:269;28985:4;29002:129;29011:12;:10;:12::i;:::-;29025:7;29034:96;29073:15;29034:96;;;;;;;;;;;;;;;;;:11;:25;29046:12;:10;:12::i;:::-;-1:-1:-1;;;;;29034:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;29034:25:0;;;:34;;;;;;;;;;;:96;;:38;:96;:::i;26254:175::-;26340:4;26357:42;26367:12;:10;:12::i;:::-;26381:9;26392:6;26357:9;:42::i;41852:31::-;;;;:::o;26492:151::-;-1:-1:-1;;;;;26608:18:0;;;26581:7;26608:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;26492:151::o;45524:120::-;-1:-1:-1;;;;;45613:25:0;;;45590:7;45613:25;;;:15;:25;;;;;;;;45524:120::o;22225:106::-;22313:10;22225:106;:::o;32039:346::-;-1:-1:-1;;;;;32141:19:0;;32133:68;;;;-1:-1:-1;;;32133:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;32220:21:0;;32212:68;;;;-1:-1:-1;;;32212:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;32293:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;32345:32;;;;;;;;;;;;;;;;;32039:346;;;:::o;29651:539::-;-1:-1:-1;;;;;29757:20:0;;29749:70;;;;-1:-1:-1;;;29749:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;29838:23:0;;29830:71;;;;-1:-1:-1;;;29830:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29914:47;29935:6;29943:9;29954:6;29914:20;:47::i;:::-;29994:71;30016:6;29994:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;29994:17:0;;:9;:17;;;;;;;;;;;;:71;;:21;:71;:::i;:::-;-1:-1:-1;;;;;29974:17:0;;;:9;:17;;;;;;;;;;;:91;;;;30099:20;;;;;;;:32;;30124:6;30099:32;:24;:32;:::i;:::-;-1:-1:-1;;;;;30076:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;30147:35;;;;;;;30076:20;;30147:35;;;;-1:-1:-1;;;;;;;;;;;30147:35:0;;;;;;;;29651:539;;;:::o;8270:166::-;8356:7;8392:12;8384:6;;;;8376:29;;;;-1:-1:-1;;;8376:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;8376:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8423:5:0;;;8270:166::o;5443:179::-;5501:7;5533:5;;;5557:6;;;;5549:46;;;;;-1:-1:-1;;;5549:46:0;;;;;;;;;;;;-1:-1:-1;;;5549:46:0;;;;;;;;;;;;;;30472:378;-1:-1:-1;;;;;30556:21:0;;30548:65;;;;;-1:-1:-1;;;30548:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;30626:49;30655:1;30659:7;30668:6;30626:20;:49::i;:::-;30703:12;;:24;;30720:6;30703:24;:16;:24;:::i;:::-;30688:12;:39;-1:-1:-1;;;;;30759:18:0;;:9;:18;;;;;;;;;;;:30;;30782:6;30759:30;:22;:30;:::i;:::-;-1:-1:-1;;;;;30738:18:0;;:9;:18;;;;;;;;;;;:51;;;;30805:37;;;;;;;30738:18;;:9;;-1:-1:-1;;;;;;;;;;;30805:37:0;;;;;;;;;30472:378;;:::o;18794:205::-;18922:68;;;-1:-1:-1;;;;;18922:68:0;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;18922:68:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;18895:96:0;;18915:5;;18895:19;:96::i;:::-;18794:205;;;;:::o;31183:418::-;-1:-1:-1;;;;;31267:21:0;;31259:67;;;;-1:-1:-1;;;31259:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31339:49;31360:7;31377:1;31381:6;31339:20;:49::i;:::-;31422:68;31445:6;31422:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;31422:18:0;;:9;:18;;;;;;;;;;;;:68;;:22;:68;:::i;:::-;-1:-1:-1;;;;;31401:18:0;;:9;:18;;;;;;;;;;:89;31516:12;;:24;;31533:6;31516:24;:16;:24;:::i;:::-;31501:12;:39;31556:37;;;;;;;;31582:1;;-1:-1:-1;;;;;31556:37:0;;;-1:-1:-1;;;;;;;;;;;31556:37:0;;;;;;;;31183:418;;:::o;18609:177::-;18719:58;;;-1:-1:-1;;;;;18719:58:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;18719:58:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;18692:86:0;;18712:5;;18692:19;:86::i;:::-;18609:177;;;:::o;20914:761::-;21338:23;21364:69;21392:4;21364:69;;;;;;;;;;;;;;;;;21372:5;-1:-1:-1;;;;;21364:27:0;;;:69;;;;;:::i;:::-;21448:17;;21338:95;;-1:-1:-1;21448:21:0;21444:224;;21590:10;21579:30;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;21579:30:0;21571:85;;;;-1:-1:-1;;;21571:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5905:158;5963:7;5996:1;5991;:6;;5983:49;;;;;-1:-1:-1;;;5983:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6050:5:0;;;5905:158::o;13709:195::-;13812:12;13844:52;13866:6;13874:4;13880:1;13883:12;13844:21;:52::i;:::-;13837:59;13709:195;-1:-1:-1;;;;13709:195:0:o;14761:530::-;14888:12;14946:5;14921:21;:30;;14913:81;;;;-1:-1:-1;;;14913:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15013:18;15024:6;15013:10;:18::i;:::-;15005:60;;;;;-1:-1:-1;;;15005:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;15139:12;15153:23;15180:6;-1:-1:-1;;;;;15180:11:0;15200:5;15208:4;15180:33;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;15180:33:0;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;19;14:27;;;;67:4;61:11;56:16;;134:4;130:9;123:4;105:16;101:27;97:43;94:1;90:51;84:4;77:65;157:16;154:1;147:27;211:16;208:1;201:4;198:1;194:12;179:49;5:228;;14:27;32:4;27:9;;5:228;;15138:75:0;;;;15231:52;15249:7;15258:10;15270:12;15231:17;:52::i;:::-;15224:59;14761:530;-1:-1:-1;;;;;;;14761:530:0:o;10791:422::-;11158:20;11197:8;;;10791:422::o;17301:742::-;17416:12;17445:7;17441:595;;;-1:-1:-1;17476:10:0;17469:17;;17441:595;17590:17;;:21;17586:439;;17853:10;17847:17;17914:15;17901:10;17897:2;17893:19;17886:44;17801:148;17989:20;;-1:-1:-1;;;17989:20:0;;;;;;;;;;;;;;;;;17996:12;;17989:20;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;41527:4120:0;;;;;;;;:::o

Swarm Source

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