Contract 0xfb4c85b31b888e4f84ac131667865e029d6486f7 1

Txn Hash Method
Block
From
To
Value [Txn Fee]
0x6a43beaa78fa766f29892e5f01fd0f1642fca1d62085de07def4e76bb14d99b4Approve83275632021-09-17 11:01:513 hrs 2 mins ago0xfef84e0d7b064cc1b9006d7ec6f8e82915820271 IN  0xfb4c85b31b888e4f84ac131667865e029d6486f70 HT0.00041008446
0x0884ddc1f6c48b6bc68b5f88f6811778bdca4679dfb047a23f1cacdb620767e4Transfer83258282021-09-17 9:35:064 hrs 28 mins ago0x3d673d9be070a298616f1d5200be5d6708e29096 IN  0xfb4c85b31b888e4f84ac131667865e029d6486f70 HT0.00008173575
0x6fd9fb1f4555a08e982de6920a5ee7bcf461936379fab0bd97ad45adf32387f6Approve83140382021-09-16 23:45:3614 hrs 18 mins ago0x0f67f9180d2041d943defa858432803c24608944 IN  0xfb4c85b31b888e4f84ac131667865e029d6486f70 HT0.0001001835
0x0ea6a606f6ef05a97484637e5f4d7adb39bb91be23c3f560cb055053cd9a134bApprove83120412021-09-16 22:05:4515 hrs 58 mins ago0x2c2673f079633c08ef39e771c0cbb63e77e7f4cb IN  0xfb4c85b31b888e4f84ac131667865e029d6486f70 HT0.0001001835
0xcecab202c98996b5e0da13babb3bce2fd060a3f3203be1b4604aaf586a5ee029Approve83119812021-09-16 22:02:4516 hrs 1 min ago0x8b74c4aa9d92672982940e67c8015e587f3ea0b5 IN  0xfb4c85b31b888e4f84ac131667865e029d6486f70 HT0.0001001835
0xc6dee0285938537fab72005e32a3488e6bb2b587f36b0ca9e115ef1a31ab54edApprove83046312021-09-16 15:55:1522 hrs 8 mins ago0x685e3a289126a990f2dbd5570673431352006436 IN  0xfb4c85b31b888e4f84ac131667865e029d6486f70 HT0.0001001835
0x1f849895ab629fa71afb2886c9c02b37431a5cafcea3c2e7c9192d88d39b93faApprove83029982021-09-16 14:33:3523 hrs 30 mins ago0x9a12b9e1a7542311f971511567b4d679e93553d7 IN  0xfb4c85b31b888e4f84ac131667865e029d6486f70 HT0.0001001835
0xc1e842df2a839d0dc703587e1cbef0a25b53e506c65f6476660a7d82ba4dd8f1Approve82818902021-09-15 20:58:081 day 17 hrs ago0x58dfbaed8fd8c8ab51b7ace7b010916ca7757d85 IN  0xfb4c85b31b888e4f84ac131667865e029d6486f70 HT0.0001001835
0x568a138af50bda91e07b2ee1cde4adcf6f41206cc448b478318f34a9354b2bb3Approve82793122021-09-15 18:49:141 day 19 hrs ago0x0034e6e4d44ebfefc53739f730e445b24b6f14d0 IN  0xfb4c85b31b888e4f84ac131667865e029d6486f70 HT0.0001001835
0x7b15d0e3fde656a80da6beb6ce56abec428407336a06fb74bd55f68a4512b19eApprove82765842021-09-15 16:32:501 day 21 hrs ago0xbaed13aac24ce274a47e66a5e23917cea72bcf53 IN  0xfb4c85b31b888e4f84ac131667865e029d6486f70 HT0.0001001835
0x7d0a4114f8ff7c50113a0a824ff284dc2031e74faebc99eaed081c559f2f6e25Approve82747622021-09-15 15:01:441 day 23 hrs ago0x5befe625c1c664c3290ff7e6965b296c73a58823 IN  0xfb4c85b31b888e4f84ac131667865e029d6486f70 HT0.000100183554
0xdd57bf6c05216c4ff6ba6cff61c683957734aae689eb30e4868b462c183b2270Approve82745902021-09-15 14:53:081 day 23 hrs ago0x45b96ed5d5b18f4f865266d8371c662cd241e6d5 IN  0xfb4c85b31b888e4f84ac131667865e029d6486f70 HT0.0001001835
0xcc7757709f3a311f2bb421f8404444fbd4c543d0ae5cd0b95ab68639dbb13724Approve82541072021-09-14 21:48:542 days 16 hrs ago0x949eca8174bba367901e9a195b77b2ea7d862c43 IN  0xfb4c85b31b888e4f84ac131667865e029d6486f70 HT0.0000995085
0x5215152a667200d728af972c2b723e08509ff01e7f2a8a8c139f2fe3d67e1e20Approve82512322021-09-14 19:25:092 days 18 hrs ago0x271a172a567b46ec8b2daa6d452fe2a7e2a40845 IN  0xfb4c85b31b888e4f84ac131667865e029d6486f70 HT0.0001001835
0xb80a54f7b87772dc6dd14e67a35668fd1aa7c41fe9eecd62fa1eca48bc8a3997Approve82463942021-09-14 15:23:152 days 22 hrs ago0x3708208a4b5f6207086d4b76ca260b850991e702 IN  0xfb4c85b31b888e4f84ac131667865e029d6486f70 HT0.0001001835
0x53c073a5304e76f90609a3eecbe4b50877b0f6c3455aecdffc66a66de6b9852bApprove82307702021-09-14 2:22:023 days 11 hrs ago0x698848f3f7a8814cb9227e13cb68f0f12aa83fd8 IN  0xfb4c85b31b888e4f84ac131667865e029d6486f70 HT0.0001001835
0x7af8ac1714975534c83368e76215071800b97d613ebd1c20fd83533162b88363Approve82290702021-09-14 0:57:023 days 13 hrs ago0x8beb6eca29e3e111cf1c9661d64886cc714d8bac IN  0xfb4c85b31b888e4f84ac131667865e029d6486f70 HT0.0001001835
0x9b4a544d653cbc3e2883ab408f5ee1c1a57d6c1494a8da65c7783d2654f53bb6Approve82286542021-09-14 0:36:143 days 13 hrs ago0x39093ba41cb03af91fb7ed22061c4edc02272368 IN  0xfb4c85b31b888e4f84ac131667865e029d6486f70 HT0.0001001835
0x63e9af102e485972149f5288f7ce6d4356af2a548137ba81be765a18ef962347Approve82179382021-09-13 15:40:263 days 22 hrs ago0x7ca5ec6c48de5d1b73e56d1847609dbe7b2cd8e1 IN  0xfb4c85b31b888e4f84ac131667865e029d6486f70 HT0.0001001835
0x576d2608aa3778cb418c3df8e86a8a9eb1ebd7156e10a51d3d9b7c871ca5049fApprove82165262021-09-13 14:29:503 days 23 hrs ago0x00a99f4bf5d465f303b6bb8cb53f5ca5e6046ba8 IN  0xfb4c85b31b888e4f84ac131667865e029d6486f70 HT0.0000996165
0xb6d60edf3b78eb9c1978efbebab7fdf3618e49053b7a2162108e1957dd6b8ac7Approve82154632021-09-13 13:36:414 days 27 mins ago0x240ce0f68395efa7dc93aaa2a3e4e87dd62dba2a IN  0xfb4c85b31b888e4f84ac131667865e029d6486f70 HT0.0001001835
0x9029dc485d707f46bb0ecfb9b68a998b80b1108cf2306efa51e80a2e3039db2dApprove81864172021-09-12 13:24:225 days 39 mins ago0x99e56f086e5cb53d2e5e80f514fab4c81c7752a8 IN  0xfb4c85b31b888e4f84ac131667865e029d6486f70 HT0.0001001835
0x25a672aeb84b8a5948a1fbc7be0b70accff9b58cc134e509931f65d6fdabcae6Approve81850792021-09-12 12:17:285 days 1 hr ago0x3125090b4995173ef9bace78ade6ea9304a2bdd0 IN  0xfb4c85b31b888e4f84ac131667865e029d6486f70 HT0.0001001835
0x73a38b9d67021b7a62da780fa8cce35cf64dcc22321264316445628fbf16b61dApprove81685892021-09-11 22:32:535 days 15 hrs ago0x10c0f6ddb5b2a1255939fd2472217bbfd5eb8249 IN  0xfb4c85b31b888e4f84ac131667865e029d6486f70 HT0.0001001835
0x07b90a4079aef2fc649661d2154ecd550d812e03e308d473f3c8722995f301e7Approve81673282021-09-11 21:29:505 days 16 hrs ago0x5b9d3377660e7750eefbf5d77092239f6169c8ee IN  0xfb4c85b31b888e4f84ac131667865e029d6486f70 HT0.0001001835
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SoyBar

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at hecoinfo.com on 2021-05-29
*/

// SPDX-License-Identifier: MIT

pragma solidity >=0.4.0;

// File: maki-swap-lib/contracts/GSN/Context.sol

/*
 * @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.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor() internal {}

    function _msgSender() internal view returns (address payable) {
        return msg.sender;
    }

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

// File: maki-swap-lib/contracts/access/Ownable.sol

pragma solidity >=0.4.0;


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

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

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

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public 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 onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address newOwner) internal {
        require(newOwner != address(0), 'Ownable: new owner is the zero address');
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// File: maki-swap-lib/contracts/token/HRC20/IHRC20.sol

pragma solidity >=0.4.0;

interface IHRC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

    /**
     * @dev Returns the HIP token owner.
     */
    function getOwner() external view returns (address);

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

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

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

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

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

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

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

// File: maki-swap-lib/contracts/math/SafeMath.sol

pragma solidity >=0.5.0 <0.8.0;

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

    function min(uint256 x, uint256 y) internal pure returns (uint256 z) {
        z = x < y ? x : y;
    }

    // babylonian method (https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method)
    function sqrt(uint256 y) internal pure returns (uint256 z) {
        if (y > 3) {
            z = y;
            uint256 x = y / 2 + 1;
            while (x < z) {
                z = x;
                x = (y / x + x) / 2;
            }
        } else if (y != 0) {
            z = 1;
        }
    }
}

// File: maki-swap-lib/contracts/utils/Address.sol

pragma solidity ^0.6.2;

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

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

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

    /**
     * @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 HT 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');
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(
        address target,
        bytes memory data,
        uint256 weiValue,
        string memory errorMessage
    ) private returns (bytes memory) {
        require(isContract(target), 'Address: call to non-contract');

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{value: weiValue}(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

// File: maki-swap-lib/contracts/token/HRC20/HRC20.sol

pragma solidity >=0.4.0;


/**
 * @dev Implementation of the {IHRC20} 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 {HRC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-HRC20-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 HRC20 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 {IHRC20-approve}.
 */
contract HRC20 is Context, IHRC20, Ownable {
    using SafeMath for uint256;
    using Address for address;

    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

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

    /**
     * @dev Returns the HRC token owner.
     */
    function getOwner() external view override returns (address) {
        return owner();
    }

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

    /**
     * @dev Returns the token decimals.
     */
    function decimals() public override view returns (uint8) {
        return _decimals;
    }

    /**
     * @dev Returns the token symbol.
     */
    function symbol() public override view returns (string memory) {
        return _symbol;
    }

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

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

    /**
     * @dev See {HRC20-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 override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

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

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

    /**
     * @dev See {HRC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {HRC20};
     *
     * 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 override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(
            sender,
            _msgSender(),
            _allowances[sender][_msgSender()].sub(amount, 'HRC20: 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 {HRC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public 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 {HRC20-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 returns (bool) {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender].sub(subtractedValue, 'HRC20: decreased allowance below zero')
        );
        return true;
    }

    /**
     * @dev Creates `amount` tokens and assigns them to `msg.sender`, increasing
     * the total supply.
     *
     * Requirements
     *
     * - `msg.sender` must be the token owner
     */
    function mint(uint256 amount) public onlyOwner returns (bool) {
        _mint(_msgSender(), amount);
        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 {
        require(sender != address(0), 'HRC20: transfer from the zero address');
        require(recipient != address(0), 'HRC20: transfer to the zero address');

        _balances[sender] = _balances[sender].sub(amount, 'HRC20: 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 {
        require(account != address(0), 'HRC20: mint to the zero address');

        _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 {
        require(account != address(0), 'HRC20: burn from the zero address');

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

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

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

    /**
     * @dev Destroys `amount` tokens from `account`.`amount` is then deducted
     * from the caller's allowance.
     *
     * See {_burn} and {_approve}.
     */
    function _burnFrom(address account, uint256 amount) internal {
        _burn(account, amount);
        _approve(
            account,
            _msgSender(),
            _allowances[account][_msgSender()].sub(amount, 'HRC20: burn amount exceeds allowance')
        );
    }
}

// File: contracts/farm/MakiToken.sol

pragma solidity ^0.6.12;


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveDelegates(currentDelegate, delegatee, delegatorBalance);
    }

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

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

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

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

        emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
    }

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

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

// File: contracts/farm/SoyBar.sol

pragma solidity ^0.6.12;

// SoyBar with Governance.
contract SoyBar is HRC20("SoyBar Token", "SOY") {
    /// @dev Creates `_amount` token to `_to`. Must only be called by the owner (MasterChef).
    function mint(address _to, uint256 _amount) public onlyOwner {
        _mint(_to, _amount);
        _moveDelegates(address(0), _delegates[_to], _amount);
    }

    function burn(address _from, uint256 _amount) public onlyOwner {
        _burn(_from, _amount);
        _moveDelegates(_delegates[_from], address(0), _amount);
    }

    // The MAKI TOKEN!
    MakiToken public maki;

    constructor(MakiToken _maki) public {
        maki = _maki;
    }

    // Safe maki transfer function, just in case if rounding error causes pool to not have enough MAKI.
    function safeMakiTransfer(address _to, uint256 _amount) public onlyOwner {
        uint256 makiBal = maki.balanceOf(address(this));
        if (_amount > makiBal) {
            maki.transfer(_to, makiBal);
        } else {
            maki.transfer(_to, _amount);
        }
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveDelegates(currentDelegate, delegatee, delegatorBalance);
    }

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

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

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

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

        emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
    }

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

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

Contract ABI

[{"inputs":[{"internalType":"contract MakiToken","name":"_maki","type":"address"}],"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":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DELEGATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"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":[{"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":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"checkpoints","outputs":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint256","name":"votes","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":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegator","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorVotes","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":"maki","outputs":[{"internalType":"contract MakiToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"safeMakiTransfer","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":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162003a7c38038062003a7c833981810160405260208110156200003757600080fd5b81019080805190602001909291905050506040518060400160405280600c81526020017f536f7942617220546f6b656e00000000000000000000000000000000000000008152506040518060400160405280600381526020017f534f5900000000000000000000000000000000000000000000000000000000008152506000620000c6620001fc60201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35081600490805190602001906200017c92919062000204565b5080600590805190602001906200019592919062000204565b506012600660006101000a81548160ff021916908360ff160217905550505080600660016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050620002aa565b600033905090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200024757805160ff191683800117855562000278565b8280016001018555821562000278579182015b82811115620002775782518255916020019190600101906200025a565b5b5090506200028791906200028b565b5090565b5b80821115620002a65760008160009055506001016200028c565b5090565b6137c280620002ba6000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c80637ecebe0011610104578063a9059cbb116100a2578063dd62ed3e11610071578063dd62ed3e14610a1d578063e7a324dc14610a95578063f1127ed814610ab3578063f2fde38b14610b28576101da565b8063a9059cbb1461089a578063b4b5ea57146108fe578063befa360514610956578063c3cda520146109a4576101da565b806395d89b41116100de57806395d89b41146107215780639dc29fac146107a4578063a0712d68146107f2578063a457c2d714610836576101da565b80637ecebe0014610661578063893d20e8146106b95780638da5cb5b146106ed576101da565b806340c10f191161017c57806370a082311161014b57806370a0823114610569578063715018a6146105c1578063717559c3146105cb578063782d6fe1146105ff576101da565b806340c10f191461040b578063587cde1e146104595780635c19a95c146104c75780636fcfff451461050b576101da565b806320606b70116101b857806320606b70146102e457806323b872dd14610302578063313ce5671461038657806339509351146103a7576101da565b806306fdde03146101df578063095ea7b31461026257806318160ddd146102c6575b600080fd5b6101e7610b6c565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561022757808201518184015260208101905061020c565b50505050905090810190601f1680156102545780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102ae6004803603604081101561027857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610c0e565b60405180821515815260200191505060405180910390f35b6102ce610c2c565b6040518082815260200191505060405180910390f35b6102ec610c36565b6040518082815260200191505060405180910390f35b61036e6004803603606081101561031857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610c5a565b60405180821515815260200191505060405180910390f35b61038e610d33565b604051808260ff16815260200191505060405180910390f35b6103f3600480360360408110156103bd57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610d4a565b60405180821515815260200191505060405180910390f35b6104576004803603604081101561042157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610dfd565b005b61049b6004803603602081101561046f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610f3e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610509600480360360208110156104dd57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610fa7565b005b61054d6004803603602081101561052157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610fb4565b604051808263ffffffff16815260200191505060405180910390f35b6105ab6004803603602081101561057f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610fd7565b6040518082815260200191505060405180910390f35b6105c9611020565b005b6105d36111a6565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61064b6004803603604081101561061557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506111cc565b6040518082815260200191505060405180910390f35b6106a36004803603602081101561067757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061158d565b6040518082815260200191505060405180910390f35b6106c16115a5565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106f56115b4565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107296115dd565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561076957808201518184015260208101905061074e565b50505050905090810190601f1680156107965780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6107f0600480360360408110156107ba57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061167f565b005b61081e6004803603602081101561080857600080fd5b81019080803590602001909291905050506117c0565b60405180821515815260200191505060405180910390f35b6108826004803603604081101561084c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506118a4565b60405180821515815260200191505060405180910390f35b6108e6600480360360408110156108b057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611971565b60405180821515815260200191505060405180910390f35b6109406004803603602081101561091457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061198f565b6040518082815260200191505060405180910390f35b6109a26004803603604081101561096c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611a65565b005b610a1b600480360360c08110156109ba57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190929190803560ff1690602001909291908035906020019092919080359060200190929190505050611da6565b005b610a7f60048036036040811015610a3357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061210a565b6040518082815260200191505060405180910390f35b610a9d612191565b6040518082815260200191505060405180910390f35b610b0560048036036040811015610ac957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803563ffffffff1690602001909291905050506121b5565b604051808363ffffffff1681526020018281526020019250505060405180910390f35b610b6a60048036036020811015610b3e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506121f6565b005b606060048054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610c045780601f10610bd957610100808354040283529160200191610c04565b820191906000526020600020905b815481529060010190602001808311610be757829003601f168201915b5050505050905090565b6000610c22610c1b6122ca565b84846122d2565b6001905092915050565b6000600354905090565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6000610c678484846124c9565b610d2884610c736122ca565b610d238560405180606001604052806028815260200161363860289139600260008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610cd96122ca565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546127839092919063ffffffff16565b6122d2565b600190509392505050565b6000600660009054906101000a900460ff16905090565b6000610df3610d576122ca565b84610dee8560026000610d686122ca565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461284390919063ffffffff16565b6122d2565b6001905092915050565b610e056122ca565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610ec5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610ecf82826128cb565b610f3a6000600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683612a88565b5050565b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610fb13382612d25565b50565b60096020528060005260406000206000915054906101000a900463ffffffff1681565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6110286122ca565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146110e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000438210611226576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001806136816027913960400191505060405180910390fd5b6000600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900463ffffffff16905060008163ffffffff161415611293576000915050611587565b82600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001840363ffffffff1663ffffffff16815260200190815260200160002060000160009054906101000a900463ffffffff1663ffffffff161161137d57600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001830363ffffffff1663ffffffff16815260200190815260200160002060010154915050611587565b82600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008063ffffffff16815260200190815260200160002060000160009054906101000a900463ffffffff1663ffffffff1611156113fe576000915050611587565b6000806001830390505b8163ffffffff168163ffffffff161115611521576000600283830363ffffffff168161143057fe5b048203905061143d613539565b600860008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008363ffffffff1663ffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a900463ffffffff1663ffffffff1663ffffffff168152602001600182015481525050905086816000015163ffffffff1614156114f957806020015195505050505050611587565b86816000015163ffffffff1610156115135781935061151a565b6001820392505b5050611408565b600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008363ffffffff1663ffffffff1681526020019081526020016000206001015493505050505b92915050565b600a6020528060005260406000206000915090505481565b60006115af6115b4565b905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060058054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156116755780601f1061164a57610100808354040283529160200191611675565b820191906000526020600020905b81548152906001019060200180831161165857829003601f168201915b5050505050905090565b6116876122ca565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611747576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6117518282612e96565b6117bc600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600083612a88565b5050565b60006117ca6122ca565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461188a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b61189b6118956122ca565b836128cb565b60019050919050565b60006119676118b16122ca565b846119628560405180606001604052806025815260200161361360259139600260006118db6122ca565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546127839092919063ffffffff16565b6122d2565b6001905092915050565b600061198561197e6122ca565b84846124c9565b6001905092915050565b600080600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900463ffffffff16905060008163ffffffff16116119f9576000611a5d565b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001830363ffffffff1663ffffffff168152602001908152602001600020600101545b915050919050565b611a6d6122ca565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611b2d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611bb857600080fd5b505afa158015611bcc573d6000803e3d6000fd5b505050506040513d6020811015611be257600080fd5b8101908080519060200190929190505050905080821115611cd157600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611c9057600080fd5b505af1158015611ca4573d6000803e3d6000fd5b505050506040513d6020811015611cba57600080fd5b810190808051906020019092919050505050611da1565b600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611d6457600080fd5b505af1158015611d78573d6000803e3d6000fd5b505050506040513d6020811015611d8e57600080fd5b8101908080519060200190929190505050505b505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a866611dd1610b6c565b80519060200120611de0613050565b30604051602001808581526020018481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff16815260200194505050505060405160208183030381529060405280519060200120905060007fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf888888604051602001808581526020018473ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018281526020019450505050506040516020818303038152906040528051906020012090506000828260405160200180807f190100000000000000000000000000000000000000000000000000000000000081525060020183815260200182815260200192505050604051602081830303815290604052805190602001209050600060018288888860405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015611f64573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611ff6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806136ff6026913960400191505060405180910390fd5b600a60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919060010191905055891461209b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806137476022913960400191505060405180910390fd5b874211156120f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061355a6026913960400191505060405180910390fd5b6120fe818b612d25565b50505050505050505050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b6008602052816000526040600020602052806000526040600020600091509150508060000160009054906101000a900463ffffffff16908060010154905082565b6121fe6122ca565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146122be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6122c78161305d565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612358576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806137696024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156123de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806135806022913960400191505060405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561254f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806135c86025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806136a86023913960400191505060405180910390fd5b612641816040518060600160405280602681526020016135ed60269139600160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546127839092919063ffffffff16565b600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506126d681600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461284390919063ffffffff16565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b6000838311158290612830576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156127f55780820151818401526020810190506127da565b50505050905090810190601f1680156128225780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b6000808284019050838110156128c1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561296e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f48524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b6129838160035461284390919063ffffffff16565b6003819055506129db81600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461284390919063ffffffff16565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015612ac45750600081115b15612d2057600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612bf4576000600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900463ffffffff1690506000808263ffffffff1611612b67576000612bcb565b600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001840363ffffffff1663ffffffff168152602001908152602001600020600101545b90506000612be284836131a090919063ffffffff16565b9050612bf0868484846131ea565b5050505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612d1f576000600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900463ffffffff1690506000808263ffffffff1611612c92576000612cf6565b600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001840363ffffffff1663ffffffff168152602001908152602001600020600101545b90506000612d0d848361284390919063ffffffff16565b9050612d1b858484846131ea565b5050505b5b505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000612d9484610fd7565b905082600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f60405160405180910390a4612e90828483612a88565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f1c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806136606021913960400191505060405180910390fd5b612f888160405180606001604052806022815260200161372560229139600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546127839092919063ffffffff16565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612fe0816003546131a090919063ffffffff16565b600381905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b6000804690508091505090565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156130e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806135a26026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006131e283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612783565b905092915050565b600061320e436040518060600160405280603481526020016136cb6034913961347e565b905060008463ffffffff161180156132a357508063ffffffff16600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001870363ffffffff1663ffffffff16815260200190815260200160002060000160009054906101000a900463ffffffff1663ffffffff16145b156133145781600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001870363ffffffff1663ffffffff16815260200190815260200160002060010181905550613421565b60405180604001604052808263ffffffff16815260200183815250600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008663ffffffff1663ffffffff16815260200190815260200160002060008201518160000160006101000a81548163ffffffff021916908363ffffffff1602179055506020820151816001015590505060018401600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548163ffffffff021916908363ffffffff1602179055505b8473ffffffffffffffffffffffffffffffffffffffff167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248484604051808381526020018281526020019250505060405180910390a25050505050565b60006401000000008310829061352f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156134f45780820151818401526020810190506134d9565b50505050905090810190601f1680156135215780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5082905092915050565b6040518060400160405280600063ffffffff16815260200160008152509056fe4d414b493a3a64656c656761746542795369673a207369676e6174757265206578706972656448524332303a20617070726f766520746f20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737348524332303a207472616e736665722066726f6d20746865207a65726f206164647265737348524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636548524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f48524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636548524332303a206275726e2066726f6d20746865207a65726f20616464726573734d414b493a3a6765745072696f72566f7465733a206e6f74207965742064657465726d696e656448524332303a207472616e7366657220746f20746865207a65726f20616464726573734d414b493a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d626572206578636565647320333220626974734d414b493a3a64656c656761746542795369673a20696e76616c6964207369676e617475726548524332303a206275726e20616d6f756e7420657863656564732062616c616e63654d414b493a3a64656c656761746542795369673a20696e76616c6964206e6f6e636548524332303a20617070726f76652066726f6d20746865207a65726f2061646472657373a2646970667358221220e1b9398177a14501d71bb7ccd771ffcf46ab42f17394b02e53185b70aa5d152964736f6c634300060c00330000000000000000000000005fad6fbba4bba686ba9b8052cf0bd51699f38b93

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

0000000000000000000000005fad6fbba4bba686ba9b8052cf0bd51699f38b93

-----Decoded View---------------
Arg [0] : _maki (address): 0x5fad6fbba4bba686ba9b8052cf0bd51699f38b93

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000005fad6fbba4bba686ba9b8052cf0bd51699f38b93


Deployed ByteCode Sourcemap

38626:10030:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21680:92;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23167:161;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;22156:100;;;:::i;:::-;;;;;;;;;;;;;;;;;;;40641:155;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23799:397;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;21839:92;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;24604:210;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;38776:162;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;41725:117;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;41987:104;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;40523:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;22318:119;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2910:140;;;:::i;:::-;;39146:21;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;44562:1293;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;41091:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;21523:94;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;2268:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;21996:96;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38946:168;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;25845:130;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;25316:311;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;22649:167;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;43898:236;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;39356:286;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;42522:1178;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;22878:143;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;40887:126;;;:::i;:::-;;;;;;;;;;;;;;;;;;;40389:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;3205:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;21680:92;21726:13;21759:5;21752:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21680:92;:::o;23167:161::-;23242:4;23259:39;23268:12;:10;:12::i;:::-;23282:7;23291:6;23259:8;:39::i;:::-;23316:4;23309:11;;23167:161;;;;:::o;22156:100::-;22209:7;22236:12;;22229:19;;22156:100;:::o;40641:155::-;40692:104;40641:155;:::o;23799:397::-;23931:4;23948:36;23958:6;23966:9;23977:6;23948:9;:36::i;:::-;23995:171;24018:6;24039:12;:10;:12::i;:::-;24066:89;24104:6;24066:89;;;;;;;;;;;;;;;;;:11;:19;24078:6;24066:19;;;;;;;;;;;;;;;:33;24086:12;:10;:12::i;:::-;24066:33;;;;;;;;;;;;;;;;:37;;:89;;;;;:::i;:::-;23995:8;:171::i;:::-;24184:4;24177:11;;23799:397;;;;;:::o;21839:92::-;21889:5;21914:9;;;;;;;;;;;21907:16;;21839:92;:::o;24604:210::-;24684:4;24701:83;24710:12;:10;:12::i;:::-;24724:7;24733:50;24772:10;24733:11;:25;24745:12;:10;:12::i;:::-;24733:25;;;;;;;;;;;;;;;:34;24759:7;24733:34;;;;;;;;;;;;;;;;:38;;:50;;;;:::i;:::-;24701:8;:83::i;:::-;24802:4;24795:11;;24604:210;;;;:::o;38776:162::-;2490:12;:10;:12::i;:::-;2480:22;;:6;;;;;;;;;;:22;;;2472:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38848:19:::1;38854:3;38859:7;38848:5;:19::i;:::-;38878:52;38901:1;38905:10;:15;38916:3;38905:15;;;;;;;;;;;;;;;;;;;;;;;;;38922:7;38878:14;:52::i;:::-;38776:162:::0;;:::o;41725:117::-;41786:7;41813:10;:21;41824:9;41813:21;;;;;;;;;;;;;;;;;;;;;;;;;41806:28;;41725:117;;;:::o;41987:104::-;42051:32;42061:10;42073:9;42051;:32::i;:::-;41987:104;:::o;40523:48::-;;;;;;;;;;;;;;;;;;;;;;:::o;22318:119::-;22384:7;22411:9;:18;22421:7;22411:18;;;;;;;;;;;;;;;;22404:25;;22318:119;;;:::o;2910:140::-;2490:12;:10;:12::i;:::-;2480:22;;:6;;;;;;;;;;:22;;;2472:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3009:1:::1;2972:40;;2993:6;::::0;::::1;;;;;;;;2972:40;;;;;;;;;;;;3040:1;3023:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;2910:140::o:0;39146:21::-;;;;;;;;;;;;;:::o;44562:1293::-;44673:7;44734:12;44720:11;:26;44698:115;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44826:19;44848:14;:23;44863:7;44848:23;;;;;;;;;;;;;;;;;;;;;;;;;44826:45;;44902:1;44886:12;:17;;;44882:58;;;44927:1;44920:8;;;;;44882:58;45052:11;45000;:20;45012:7;45000:20;;;;;;;;;;;;;;;:38;45036:1;45021:12;:16;45000:38;;;;;;;;;;;;;;;:48;;;;;;;;;;;;:63;;;44996:147;;45087:11;:20;45099:7;45087:20;;;;;;;;;;;;;;;:38;45123:1;45108:12;:16;45087:38;;;;;;;;;;;;;;;:44;;;45080:51;;;;;44996:147;45240:11;45204;:20;45216:7;45204:20;;;;;;;;;;;;;;;:23;45225:1;45204:23;;;;;;;;;;;;;:33;;;;;;;;;;;;:47;;;45200:88;;;45275:1;45268:8;;;;;45200:88;45300:12;45327;45357:1;45342:12;:16;45327:31;;45369:428;45384:5;45376:13;;:5;:13;;;45369:428;;;45406:13;45448:1;45439:5;45431;:13;45430:19;;;;;;;;45422:5;:27;45406:43;;45491:20;;:::i;:::-;45514:11;:20;45526:7;45514:20;;;;;;;;;;;;;;;:28;45535:6;45514:28;;;;;;;;;;;;;;;45491:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45577:11;45561:2;:12;;;:27;;;45557:229;;;45616:2;:8;;;45609:15;;;;;;;;;45557:229;45665:11;45650:2;:12;;;:26;;;45646:140;;;45705:6;45697:14;;45646:140;;;45769:1;45760:6;:10;45752:18;;45646:140;45369:428;;;;;45814:11;:20;45826:7;45814:20;;;;;;;;;;;;;;;:27;45835:5;45814:27;;;;;;;;;;;;;;;:33;;;45807:40;;;;;44562:1293;;;;;:::o;41091:41::-;;;;;;;;;;;;;;;;;:::o;21523:94::-;21575:7;21602;:5;:7::i;:::-;21595:14;;21523:94;:::o;2268:79::-;2306:7;2333:6;;;;;;;;;;;2326:13;;2268:79;:::o;21996:96::-;22044:13;22077:7;22070:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21996:96;:::o;38946:168::-;2490:12;:10;:12::i;:::-;2480:22;;:6;;;;;;;;;;:22;;;2472:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39020:21:::1;39026:5;39033:7;39020:5;:21::i;:::-;39052:54;39067:10;:17;39078:5;39067:17;;;;;;;;;;;;;;;;;;;;;;;;;39094:1;39098:7;39052:14;:54::i;:::-;38946:168:::0;;:::o;25845:130::-;25901:4;2490:12;:10;:12::i;:::-;2480:22;;:6;;;;;;;;;;:22;;;2472:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25918:27:::1;25924:12;:10;:12::i;:::-;25938:6;25918:5;:27::i;:::-;25963:4;25956:11;;25845:130:::0;;;:::o;25316:311::-;25401:4;25418:179;25441:12;:10;:12::i;:::-;25468:7;25490:96;25529:15;25490:96;;;;;;;;;;;;;;;;;:11;:25;25502:12;:10;:12::i;:::-;25490:25;;;;;;;;;;;;;;;:34;25516:7;25490:34;;;;;;;;;;;;;;;;:38;;:96;;;;;:::i;:::-;25418:8;:179::i;:::-;25615:4;25608:11;;25316:311;;;;:::o;22649:167::-;22727:4;22744:42;22754:12;:10;:12::i;:::-;22768:9;22779:6;22744:9;:42::i;:::-;22804:4;22797:11;;22649:167;;;;:::o;43898:236::-;43963:7;43983:19;44005:14;:23;44020:7;44005:23;;;;;;;;;;;;;;;;;;;;;;;;;43983:45;;44074:1;44059:12;:16;;;:67;;44125:1;44059:67;;;44078:11;:20;44090:7;44078:20;;;;;;;;;;;;;;;:38;44114:1;44099:12;:16;44078:38;;;;;;;;;;;;;;;:44;;;44059:67;44039:87;;;43898:236;;;:::o;39356:286::-;2490:12;:10;:12::i;:::-;2480:22;;:6;;;;;;;;;;:22;;;2472:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39440:15:::1;39458:4;;;;;;;;;;;:14;;;39481:4;39458:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;39440:47;;39512:7;39502;:17;39498:137;;;39536:4;;;;;;;;;;;:13;;;39550:3;39555:7;39536:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;39498:137;;;39596:4;;;;;;;;;;;:13;;;39610:3;39615:7;39596:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;39498:137;2550:1;39356:286:::0;;:::o;42522:1178::-;42707:23;40692:104;42861:6;:4;:6::i;:::-;42845:24;;;;;;42892:12;:10;:12::i;:::-;42935:4;42774:185;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42746:228;;;;;;42707:267;;42987:18;40942:71;43081:9;43092:5;43099:6;43049:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43021:100;;;;;;42987:134;;43134:14;43221:15;43238:10;43192:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43164:100;;;;;;43134:130;;43277:17;43297:26;43307:6;43315:1;43318;43321;43297:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43277:46;;43377:1;43356:23;;:9;:23;;;;43334:111;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43487:6;:17;43494:9;43487:17;;;;;;;;;;;;;;;;:19;;;;;;;;;;;;43478:5;:28;43456:112;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43594:6;43587:3;:13;;43579:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43661:31;43671:9;43682;43661;:31::i;:::-;43654:38;;;;42522:1178;;;;;;:::o;22878:143::-;22959:7;22986:11;:18;22998:5;22986:18;;;;;;;;;;;;;;;:27;23005:7;22986:27;;;;;;;;;;;;;;;;22979:34;;22878:143;;;;:::o;40887:126::-;40942:71;40887:126;:::o;40389:68::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;3205:109::-;2490:12;:10;:12::i;:::-;2480:22;;:6;;;;;;;;;;:22;;;2472:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3278:28:::1;3297:8;3278:18;:28::i;:::-;3205:109:::0;:::o;838:98::-;883:15;918:10;911:17;;838:98;:::o;28679:372::-;28824:1;28807:19;;:5;:19;;;;28799:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28905:1;28886:21;;:7;:21;;;;28878:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28989:6;28959:11;:18;28971:5;28959:18;;;;;;;;;;;;;;;:27;28978:7;28959:27;;;;;;;;;;;;;;;:36;;;;29027:7;29011:32;;29020:5;29011:32;;;29036:6;29011:32;;;;;;;;;;;;;;;;;;28679:372;;;:::o;26465:505::-;26615:1;26597:20;;:6;:20;;;;26589:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26699:1;26678:23;;:9;:23;;;;26670:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26774;26796:6;26774:71;;;;;;;;;;;;;;;;;:9;:17;26784:6;26774:17;;;;;;;;;;;;;;;;:21;;:71;;;;;:::i;:::-;26754:9;:17;26764:6;26754:17;;;;;;;;;;;;;;;:91;;;;26879:32;26904:6;26879:9;:20;26889:9;26879:20;;;;;;;;;;;;;;;;:24;;:32;;;;:::i;:::-;26856:9;:20;26866:9;26856:20;;;;;;;;;;;;;;;:55;;;;26944:9;26927:35;;26936:6;26927:35;;;26955:6;26927:35;;;;;;;;;;;;;;;;;;26465:505;;;:::o;8724:226::-;8844:7;8877:1;8872;:6;;8880:12;8864:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8904:9;8920:1;8916;:5;8904:17;;8941:1;8934:8;;;8724:226;;;;;:::o;7821:181::-;7879:7;7899:9;7915:1;7911;:5;7899:17;;7940:1;7935;:6;;7927:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7993:1;7986:8;;;7821:181;;;;:::o;27251:308::-;27346:1;27327:21;;:7;:21;;;;27319:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27412:24;27429:6;27412:12;;:16;;:24;;;;:::i;:::-;27397:12;:39;;;;27468:30;27491:6;27468:9;:18;27478:7;27468:18;;;;;;;;;;;;;;;;:22;;:30;;;;:::i;:::-;27447:9;:18;27457:7;27447:18;;;;;;;;;;;;;;;:51;;;;27535:7;27514:37;;27531:1;27514:37;;;27544:6;27514:37;;;;;;;;;;;;;;;;;;27251:308;;:::o;46294:1123::-;46434:6;46424:16;;:6;:16;;;;:30;;;;;46453:1;46444:6;:10;46424:30;46420:990;;;46493:1;46475:20;;:6;:20;;;46471:456;;46564:16;46583:14;:22;46598:6;46583:22;;;;;;;;;;;;;;;;;;;;;;;;;46564:41;;46624:17;46677:1;46665:9;:13;;;:110;;46774:1;46665:110;;;46706:11;:19;46718:6;46706:19;;;;;;;;;;;;;;;:34;46738:1;46726:9;:13;46706:34;;;;;;;;;;;;;;;:40;;;46665:110;46624:151;;46794:17;46814:21;46828:6;46814:9;:13;;:21;;;;:::i;:::-;46794:41;;46854:57;46871:6;46879:9;46890;46901;46854:16;:57::i;:::-;46471:456;;;;46965:1;46947:20;;:6;:20;;;46943:456;;47036:16;47055:14;:22;47070:6;47055:22;;;;;;;;;;;;;;;;;;;;;;;;;47036:41;;47096:17;47149:1;47137:9;:13;;;:110;;47246:1;47137:110;;;47178:11;:19;47190:6;47178:19;;;;;;;;;;;;;;;:34;47210:1;47198:9;:13;47178:34;;;;;;;;;;;;;;;:40;;;47137:110;47096:151;;47266:17;47286:21;47300:6;47286:9;:13;;:21;;;;:::i;:::-;47266:41;;47326:57;47343:6;47351:9;47362;47373;47326:16;:57::i;:::-;46943:456;;;;46420:990;46294:1123;;;:::o;45863:423::-;45940:23;45966:10;:21;45977:9;45966:21;;;;;;;;;;;;;;;;;;;;;;;;;45940:47;;45998:24;46025:20;46035:9;46025;:20::i;:::-;45998:47;;46124:9;46100:10;:21;46111:9;46100:21;;;;;;;;;;;;;;;;:33;;;;;;;;;;;;;;;;;;46195:9;46151:54;;46178:15;46151:54;;46167:9;46151:54;;;;;;;;;;;;46218:60;46233:15;46250:9;46261:16;46218:14;:60::i;:::-;45863:423;;;;:::o;27891:348::-;27986:1;27967:21;;:7;:21;;;;27959:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28060:68;28083:6;28060:68;;;;;;;;;;;;;;;;;:9;:18;28070:7;28060:18;;;;;;;;;;;;;;;;:22;;:68;;;;;:::i;:::-;28039:9;:18;28049:7;28039:18;;;;;;;;;;;;;;;:89;;;;28154:24;28171:6;28154:12;;:16;;:24;;;;:::i;:::-;28139:12;:39;;;;28220:1;28194:37;;28203:7;28194:37;;;28224:6;28194:37;;;;;;;;;;;;;;;;;;27891:348;;:::o;48475:178::-;48520:7;48540:15;48601:9;48590:20;;48638:7;48631:14;;;48475:178;:::o;3420:229::-;3514:1;3494:22;;:8;:22;;;;3486:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3604:8;3575:38;;3596:6;;;;;;;;;;3575:38;;;;;;;;;;;;3633:8;3624:6;;:17;;;;;;;;;;;;;;;;;;3420:229;:::o;8285:136::-;8343:7;8370:43;8374:1;8377;8370:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;8363:50;;8285:136;;;;:::o;47425:838::-;47590:18;47624:125;47649:12;47624:125;;;;;;;;;;;;;;;;;:6;:125::i;:::-;47590:159;;47795:1;47780:12;:16;;;:98;;;;;47867:11;47813:65;;:11;:22;47825:9;47813:22;;;;;;;;;;;;;;;:40;47851:1;47836:12;:16;47813:40;;;;;;;;;;;;;;;:50;;;;;;;;;;;;:65;;;47780:98;47762:425;;;47954:8;47905:11;:22;47917:9;47905:22;;;;;;;;;;;;;;;:40;47943:1;47928:12;:16;47905:40;;;;;;;;;;;;;;;:46;;:57;;;;47762:425;;;48034:82;;;;;;;;48063:11;48034:82;;;;;;48093:8;48034:82;;;47995:11;:22;48007:9;47995:22;;;;;;;;;;;;;;;:36;48018:12;47995:36;;;;;;;;;;;;;;;:121;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48174:1;48159:12;:16;48131:14;:25;48146:9;48131:25;;;;;;;;;;;;;;;;:44;;;;;;;;;;;;;;;;;;47762:425;48225:9;48204:51;;;48236:8;48246;48204:51;;;;;;;;;;;;;;;;;;;;;;;;47425:838;;;;;:::o;48271:196::-;48376:6;48412:5;48408:1;:9;48419:12;48400:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48457:1;48443:16;;48271:196;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

ipfs://e1b9398177a14501d71bb7ccd771ffcf46ab42f17394b02e53185b70aa5d1529
Block Transaction Gas Used Reward
Age Block Fee Address Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading