Contract 0xE02dF9e3e622DeBdD69fb838bB799E3F168902c5

 

Contract Overview

BakerySwap: BAKE Token
Balance:
0 BNB

BNB Value:
$0.00

Token:
 
Txn Hash
Block
From
To
Value [Txn Fee]
0x37135653470fd5222734b8ef7638813a90b5ec4d2df77feef4b0db645a8919ab94768302021-07-25 22:07:1618 secs ago0xf92dff5728444eea275efd349970a47940ee984f IN  BakerySwap: BAKE Token0 BNB0.000332865
0x036b81805ce997247748c23156e0c5aff6c8b3b6a93aa4c073f42ce2d5698e6d94768072021-07-25 22:06:071 min ago0x6e9ef060e09b0ada79fb7717a0a3744a9ab2e4b4 IN  BakerySwap: BAKE Token0 BNB0.00022191
0x74bc9d1eca9801f6eac606f6b06e8cb1c873fad19c618935eacfd3529404b09a94767942021-07-25 22:05:282 mins ago0x44f76a99bcc9faf4f97507a61d5a96cdad4cbdb3 IN  BakerySwap: BAKE Token0 BNB0.00022191
0x9262bf707f377f62773165cc3313415551c1d7f871fccae38581ea92d72148d994767832021-07-25 22:04:552 mins ago0xbe2ccbf08a7a5e531bb30f495d0a1d1ece6b9a16 IN  BakerySwap: BAKE Token0 BNB0.000180395
0x28036b6a725bc58248f748f896201b6ac896f01f5245acf9ade2ca45a95fbc1d94767672021-07-25 22:04:073 mins ago0x0a1c559c9d8096654ebb1d960ed59d66990e2845 IN  BakerySwap: BAKE Token0 BNB0.00022191
0x42418e5059f672f03c0b3645be6c0d72bb63c33312826e5c7e73b246dbd0871f94767432021-07-25 22:02:554 mins ago0x26a10bc373bed123461e0920b0ae7a9b9f0b8d6e IN  BakerySwap: BAKE Token0 BNB0.00022083
0x3037e0f5aa624e9163d4c0fa980dd8d21f650b058e3a8a1f0163aba330896d0d94767092021-07-25 22:01:136 mins agoBinance: Hot Wallet 6 IN  BakerySwap: BAKE Token0 BNB0.00036067
0x9f0e1e82041d8c52e614ad6e05ac283c419879470b287d56691e5de11206cab594767022021-07-25 22:00:526 mins ago0xfa962bbda850737a3001ded56e717eb85a27d9bb IN  BakerySwap: BAKE Token0 BNB0.000180395
0x2609c26a6c3051e611909c1d29dc96e990ff061cccd1799bb679d9d313ad33b694767022021-07-25 22:00:526 mins ago0xfbc0fc114b4a1a80b0da6905b64cd8f4b589ad6e IN  BakerySwap: BAKE Token0 BNB0.00022191
0x0b2dcd2ab84c0d268efa979ceeff1574304c7e5377fca3c15ed065ac35e59b3194766972021-07-25 22:00:376 mins ago0x263918db41008b392708dfabcee6fe29c6a9c5ec IN  BakerySwap: BAKE Token0 BNB0.000072495
0x107624e2515d70767f8c0227159621b1b3eed4158f0ad74eb8697d66d69e90d494766912021-07-25 22:00:197 mins ago0x9970489e171254210edc739ac2577730a037755f IN  BakerySwap: BAKE Token0 BNB0.000105335
0x42e29741bfb10d8bac589cbedb4af8e768e50d849856a0e20ed91297eabae29194766912021-07-25 22:00:197 mins ago0xec4ee3886e781bddcd69db24897b24a379ac566c IN  BakerySwap: BAKE Token0 BNB0.000105335
0xe5348c37dcfb50146d90e373b59c118b6c5ceed411aaf246c7b0a34e0e4d3fb194766882021-07-25 22:00:107 mins ago0xe41ac32caeb0a32ab0d729a73e4d9b937a31d497 IN  BakerySwap: BAKE Token0 BNB0.00022191
0xa6bd48c0e531670143c3bafbc47a7da5f05a662df633e463518b36df332e201894766672021-07-25 21:59:078 mins ago0x263918db41008b392708dfabcee6fe29c6a9c5ec IN  BakerySwap: BAKE Token0 BNB0.00022191
0xca5eb313c0c787fe4b94de3a13c580cf96c235e0e15e26bdaef33c5a05ef212a94766512021-07-25 21:58:199 mins ago0x0d0707963952f2fba59dd06f2b425ace40b492fe IN  BakerySwap: BAKE Token0 BNB0.000459603
0xe01b36e573207901bc8a0fda4147481c1895c409e7b6269f1097e3e817a31c6e94766462021-07-25 21:58:049 mins ago0xe314f6dd1df39609871f654eca467e478fd63215 IN  BakerySwap: BAKE Token0 BNB0.00022191
0x42b1b8f37bf0e3319255019417cc0f2491f581faf04af485950fc4bb751dc73594765922021-07-25 21:55:2212 mins ago0xf5b7128889bdf8e8086bd72de37d29104577fd36 IN  BakerySwap: BAKE Token0 BNB0.00022191
0x17ece173cc3a8d60aff0d4af03942f8f0e50af1627d2a794b12ed449c6874ae494765612021-07-25 21:53:4913 mins ago0xcdc2fce658a0f84030420a287b302f1816aa4f3a IN  BakerySwap: BAKE Token0 BNB0.00022191
0xa397c4c8517dcba697fa61a983b48d8fd9ab20287586528a347425c4a8033ddc94765082021-07-25 21:51:1016 mins ago0x8c0416ea1fff4fb85cd6b55b32bee616b1dd409a IN  BakerySwap: BAKE Token0 BNB0.00022191
0x3d30338547fe129d31cb8e7d6726df292a3c90ad0ade01dd78c9f9582fc9480c94765022021-07-25 21:50:5216 mins ago0x4bbe1c4b69d1fce3f0f1edb881ebf32ab86acfad IN  BakerySwap: BAKE Token0 BNB0.00022191
0xc59e0589edd74c753d73cad60506c13bead00d9b6433e7e4287bd7655337fcdb94764932021-07-25 21:50:2517 mins ago0x2dca8b8ccfc3686a1ea1ba0c6ee11f15a0e968cb IN  BakerySwap: BAKE Token0 BNB0.00036055
0x9f3174c020cf096b028d1f957f5c7c5da181017130004299f62c0e14a598627f94764922021-07-25 21:50:2217 mins ago0x4a508759d898799dffbf27279035362b77f392b4 IN  BakerySwap: BAKE Token0 BNB0.00022191
0x588211bdbf5aa87ad171788519d682c0a2f1dfd65944c65c7d2ff4dfcf4e8e3a94764872021-07-25 21:50:0717 mins ago0x0d51c4bfa62de2362eea2f040e347da7c5486cf0 IN  BakerySwap: BAKE Token0 BNB0.00022191
0xcc700239438e60efb163d1d00d3d794b2b1abcf9db202402960ccbc71c6361a094764602021-07-25 21:48:4618 mins ago0x6e5f74b55bb3bd3da47d24b9bfefea29589c3782 IN  BakerySwap: BAKE Token0 BNB0.00022191
0x60cbebec6e3b78d682c3be8561e322c29637ba46e2456153eb300f6a6b7d401e94764572021-07-25 21:48:3718 mins ago0x19d9373e178a5754c0e76744c44cd40554ebf61b IN  BakerySwap: BAKE Token0 BNB0.00022191
[ Download CSV Export 

OVERVIEW

An AMM Dex on Binance Smart Chain.

Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xa4252bcbd547aea80019558f873f6bf69ebdf34bf683af88ac2d4881c5fa51be54713362021-03-07 11:59:45140 days 10 hrs ago 0xc2eed0f5a0dc28cfa895084bc0a9b8b8279ae492 BakerySwap: BAKE Token0 BNB
0xa4252bcbd547aea80019558f873f6bf69ebdf34bf683af88ac2d4881c5fa51be54713362021-03-07 11:59:45140 days 10 hrs ago 0xcde540d7eafe93ac5fe6233bee57e1270d3e330f BakerySwap: BAKE Token0 BNB
0x9d758d075b9a5238a1ade4bb68cd2c7bda7413f9e68226c5ebb8154b0c5225ed54713352021-03-07 11:59:42140 days 10 hrs ago 0x5466bbb3c6280943c8a9b0c39e3ad7d31b2bb78d BakerySwap: BAKE Token0 BNB
0xe22f57e9c8e834771cd8dcfa3628deb88ae9dcad5c6dc064308a141b6e86886654713342021-03-07 11:59:39140 days 10 hrs ago 0x6e218ea042bef40a8baf706b00d0f0a7b4fce50a BakerySwap: BAKE Token0 BNB
0xe22f57e9c8e834771cd8dcfa3628deb88ae9dcad5c6dc064308a141b6e86886654713342021-03-07 11:59:39140 days 10 hrs ago 0xf235a5e5c8df3292114afce280d2a166f520d92e BakerySwap: BAKE Token0 BNB
0xe22f57e9c8e834771cd8dcfa3628deb88ae9dcad5c6dc064308a141b6e86886654713342021-03-07 11:59:39140 days 10 hrs ago 0xf235a5e5c8df3292114afce280d2a166f520d92e BakerySwap: BAKE Token0 BNB
0xe22f57e9c8e834771cd8dcfa3628deb88ae9dcad5c6dc064308a141b6e86886654713342021-03-07 11:59:39140 days 10 hrs ago 0xf235a5e5c8df3292114afce280d2a166f520d92e BakerySwap: BAKE Token0 BNB
0xe22f57e9c8e834771cd8dcfa3628deb88ae9dcad5c6dc064308a141b6e86886654713342021-03-07 11:59:39140 days 10 hrs ago 0xc2eed0f5a0dc28cfa895084bc0a9b8b8279ae492 BakerySwap: BAKE Token0 BNB
0xe22f57e9c8e834771cd8dcfa3628deb88ae9dcad5c6dc064308a141b6e86886654713342021-03-07 11:59:39140 days 10 hrs ago 0xc2eed0f5a0dc28cfa895084bc0a9b8b8279ae492 BakerySwap: BAKE Token0 BNB
0xe22f57e9c8e834771cd8dcfa3628deb88ae9dcad5c6dc064308a141b6e86886654713342021-03-07 11:59:39140 days 10 hrs ago PancakeSwap: BAKE BakerySwap: BAKE Token0 BNB
0xe22f57e9c8e834771cd8dcfa3628deb88ae9dcad5c6dc064308a141b6e86886654713342021-03-07 11:59:39140 days 10 hrs ago PancakeSwap: BAKE BakerySwap: BAKE Token0 BNB
0xb46b5f48059db36bcb6a536fb2fd7c93d52e2ccb69a14a1e9d677eebbdbb207054713332021-03-07 11:59:36140 days 10 hrs ago 0x5466bbb3c6280943c8a9b0c39e3ad7d31b2bb78d BakerySwap: BAKE Token0 BNB
0xd79589996391f42e27f4a324692c4c429bde62b6be354b8c79f5b8ed98e8790954713332021-03-07 11:59:36140 days 10 hrs ago 0x0000000000b80b2b49630047c38f2810ab8fb946 BakerySwap: BAKE Token0 BNB
0xd79589996391f42e27f4a324692c4c429bde62b6be354b8c79f5b8ed98e8790954713332021-03-07 11:59:36140 days 10 hrs ago 0x0000000000b80b2b49630047c38f2810ab8fb946 BakerySwap: BAKE Token0 BNB
0xb5a981bf1f9a9e3db000b1116bd0e8f47d5b947db3347bd07258074b18b305a954713322021-03-07 11:59:33140 days 10 hrs ago 0x6e218ea042bef40a8baf706b00d0f0a7b4fce50a BakerySwap: BAKE Token0 BNB
0xb5a981bf1f9a9e3db000b1116bd0e8f47d5b947db3347bd07258074b18b305a954713322021-03-07 11:59:33140 days 10 hrs ago 0x107830bc52e2fc449336f8fd039939c841d4131c BakerySwap: BAKE Token0 BNB
0xb5a981bf1f9a9e3db000b1116bd0e8f47d5b947db3347bd07258074b18b305a954713322021-03-07 11:59:33140 days 10 hrs ago 0x107830bc52e2fc449336f8fd039939c841d4131c BakerySwap: BAKE Token0 BNB
0xf961dee161efd8386400519fabd6b6314fc815da2f15a912a245d2e24b5e8fec54713322021-03-07 11:59:33140 days 10 hrs ago 0x6e218ea042bef40a8baf706b00d0f0a7b4fce50a BakerySwap: BAKE Token0 BNB
0xf961dee161efd8386400519fabd6b6314fc815da2f15a912a245d2e24b5e8fec54713322021-03-07 11:59:33140 days 10 hrs ago 0xcde540d7eafe93ac5fe6233bee57e1270d3e330f BakerySwap: BAKE Token0 BNB
0xf961dee161efd8386400519fabd6b6314fc815da2f15a912a245d2e24b5e8fec54713322021-03-07 11:59:33140 days 10 hrs ago 0x0000000000b80b2b49630047c38f2810ab8fb946 BakerySwap: BAKE Token0 BNB
0xf961dee161efd8386400519fabd6b6314fc815da2f15a912a245d2e24b5e8fec54713322021-03-07 11:59:33140 days 10 hrs ago 0x79249e6b65030902671c5fa85d79e3ec28e4b1b9 BakerySwap: BAKE Token0 BNB
0xf961dee161efd8386400519fabd6b6314fc815da2f15a912a245d2e24b5e8fec54713322021-03-07 11:59:33140 days 10 hrs ago 0x79249e6b65030902671c5fa85d79e3ec28e4b1b9 BakerySwap: BAKE Token0 BNB
0xf961dee161efd8386400519fabd6b6314fc815da2f15a912a245d2e24b5e8fec54713322021-03-07 11:59:33140 days 10 hrs ago 0x0000000000b80b2b49630047c38f2810ab8fb946 BakerySwap: BAKE Token0 BNB
0xf961dee161efd8386400519fabd6b6314fc815da2f15a912a245d2e24b5e8fec54713322021-03-07 11:59:33140 days 10 hrs ago 0x0000000000b80b2b49630047c38f2810ab8fb946 BakerySwap: BAKE Token0 BNB
0x525aa3d9efcad8c14baff486eab8b8e3d8655584cc6d9a2a1edfe31494fcd53e54713322021-03-07 11:59:33140 days 10 hrs ago 0x6e218ea042bef40a8baf706b00d0f0a7b4fce50a BakerySwap: BAKE Token0 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BakeryToken

Compiler Version
v0.6.6+commit.6c089d02

Optimization Enabled:
Yes with 999999 runs

Other Settings:
istanbul EvmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2020-09-14
*/

// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity >=0.6.6;

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

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

interface IBEP20 {
    /**
     * @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 bep 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);
}

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

/**
 * @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 ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, 'Address: low-level call with value failed');
    }

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

/**
 * @dev Implementation of the {IBEP20} 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 {BEP20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-BEP20-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 BEP20 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 {IBEP20-approve}.
 */
contract BEP20 is Context, IBEP20, 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 bep token owner.
     */
    function getOwner() external override view 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 {BEP20-totalSupply}.
     */
    function totalSupply() public override view returns (uint256) {
        return _totalSupply;
    }

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

    /**
     * @dev See {BEP20-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 {BEP20-allowance}.
     */
    function allowance(address owner, address spender) public override view returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
 * @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 See {BEP20-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 {BEP20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {BEP20};
     *
     * 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, 'BEP20: 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 {BEP20-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 {BEP20-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, 'BEP20: decreased allowance below zero')
        );
        return true;
    }

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

        _balances[sender] = _balances[sender].sub(amount, 'BEP20: 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), 'BEP20: 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), 'BEP20: burn from the zero address');

        _balances[account] = _balances[account].sub(amount, 'BEP20: 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), 'BEP20: approve from the zero address');
        require(spender != address(0), 'BEP20: 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, 'BEP20: burn amount exceeds allowance')
        );
    }
}

contract BakeryToken is BEP20('BakeryToken', 'BAKE') {
    /// @notice Creates `_amount` token to `_to`. Must only be called by the owner (BakerySwapRouter).
    function mintTo(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

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

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

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

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

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

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

    /// @notice A record of states for signing / validating signatures
    mapping(address => uint256) 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, uint256 previousBalance, uint256 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,
        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), 'BAKE::delegateBySig: invalid signature');
        require(nonce == nonces[signatory]++, 'BAKE::delegateBySig: invalid nonce');
        require(now <= expiry, 'BAKE::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, uint256 blockNumber) external view returns (uint256) {
        require(blockNumber < block.number, 'BAKE::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 BAKEs (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, 'BAKE::_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

[{"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":"","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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintTo","outputs":[],"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":[],"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"}]

600b60809081526a2130b5b2b93caa37b5b2b760a91b60a052610100604052600460c09081526342414b4560e01b60e0526000620000456001600160e01b03620000d016565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508151620000a4906004906020850190620000d5565b508051620000ba906005906020840190620000d5565b50506006805460ff191660121790555062000177565b335b90565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200011857805160ff191683800117855562000148565b8280016001018555821562000148579182015b82811115620001485782518255916020019190600101906200012b565b50620001569291506200015a565b5090565b620000d291905b8082111562000156576000815560010162000161565b6123b480620001876000396000f3fe608060405234801561001057600080fd5b50600436106101b95760003560e01c8063782d6fe1116100f9578063a9059cbb11610097578063dd62ed3e11610071578063dd62ed3e1461062f578063e7a324dc1461066a578063f1127ed814610672578063f2fde38b146106d1576101b9565b8063a9059cbb1461056f578063b4b5ea57146105a8578063c3cda520146105db576101b9565b80638da5cb5b116100d35780638da5cb5b1461050957806395d89b4114610511578063a0712d6814610519578063a457c2d714610536576101b9565b8063782d6fe1146104955780637ecebe00146104ce578063893d20e814610501576101b9565b806339509351116101665780635c19a95c116101405780635c19a95c146103db5780636fcfff451461040e57806370a082311461045a578063715018a61461048d576101b9565b8063395093511461030b578063449a52f814610344578063587cde1e1461037f576101b9565b806320606b701161019757806320606b70146102a257806323b872dd146102aa578063313ce567146102ed576101b9565b806306fdde03146101be578063095ea7b31461023b57806318160ddd14610288575b600080fd5b6101c6610704565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102005781810151838201526020016101e8565b50505050905090810190601f16801561022d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102746004803603604081101561025157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356107b8565b604080519115158252519081900360200190f35b6102906107d6565b60408051918252519081900360200190f35b6102906107dc565b610274600480360360608110156102c057600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013590911690604001356107f7565b6102f561089e565b6040805160ff9092168252519081900360200190f35b6102746004803603604081101561032157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356108a7565b61037d6004803603604081101561035a57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610908565b005b6103b26004803603602081101561039557600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166109d9565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b61037d600480360360208110156103f157600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610a04565b6104416004803603602081101561042457600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610a11565b6040805163ffffffff9092168252519081900360200190f35b6102906004803603602081101561047057600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610a29565b61037d610a51565b610290600480360360408110156104ab57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610b51565b610290600480360360208110156104e457600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610e1b565b6103b2610e2d565b6103b2610e3c565b6101c6610e58565b6102746004803603602081101561052f57600080fd5b5035610ed7565b6102746004803603604081101561054c57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610f83565b6102746004803603604081101561058557600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610ffe565b610290600480360360208110156105be57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611012565b61037d600480360360c08110156105f157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060208101359060408101359060ff6060820135169060808101359060a001356110ae565b6102906004803603604081101561064557600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602001351661140a565b610290611442565b6106b16004803603604081101561068857600080fd5b50803573ffffffffffffffffffffffffffffffffffffffff16906020013563ffffffff1661145d565b6040805163ffffffff909316835260208301919091528051918290030190f35b61037d600480360360208110156106e757600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661148a565b60048054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107ae5780601f10610783576101008083540402835291602001916107ae565b820191906000526020600020905b81548152906001019060200180831161079157829003601f168201915b5050505050905090565b60006107cc6107c5611524565b8484611528565b5060015b92915050565b60035490565b6040518060436121cf82396043019050604051809103902081565b600061080484848461166f565b61089484610810611524565b61088f856040518060600160405280602881526020016121816028913973ffffffffffffffffffffffffffffffffffffffff8a1660009081526002602052604081209061085b611524565b73ffffffffffffffffffffffffffffffffffffffff168152602081019190915260400160002054919063ffffffff61184216565b611528565b5060019392505050565b60065460ff1690565b60006107cc6108b4611524565b8461088f85600260006108c5611524565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6118f316565b610910611524565b60005473ffffffffffffffffffffffffffffffffffffffff90811691161461099957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6109a38282611967565b73ffffffffffffffffffffffffffffffffffffffff8083166000908152600760205260408120546109d5921683611a9a565b5050565b73ffffffffffffffffffffffffffffffffffffffff9081166000908152600760205260409020541690565b610a0e3382611c8c565b50565b60096020526000908152604090205463ffffffff1681565b73ffffffffffffffffffffffffffffffffffffffff1660009081526001602052604090205490565b610a59611524565b60005473ffffffffffffffffffffffffffffffffffffffff908116911614610ae257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b6000438210610bab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001806122386027913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff831660009081526009602052604090205463ffffffff1680610be65760009150506107d0565b73ffffffffffffffffffffffffffffffffffffffff8416600090815260086020908152604080832063ffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff860181168552925290912054168310610cab5773ffffffffffffffffffffffffffffffffffffffff841660009081526008602090815260408083207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9490940163ffffffff168352929052206001015490506107d0565b73ffffffffffffffffffffffffffffffffffffffff8416600090815260086020908152604080832083805290915290205463ffffffff16831015610cf35760009150506107d0565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82015b8163ffffffff168163ffffffff161115610dd757600282820363ffffffff16048103610d436120fa565b5073ffffffffffffffffffffffffffffffffffffffff8716600090815260086020908152604080832063ffffffff808616855290835292819020815180830190925280549093168082526001909301549181019190915290871415610db2576020015194506107d09350505050565b805163ffffffff16871115610dc957819350610dd0565b6001820392505b5050610d19565b5073ffffffffffffffffffffffffffffffffffffffff8516600090815260086020908152604080832063ffffffff9094168352929052206001015491505092915050565b600a6020526000908152604090205481565b6000610e37610e3c565b905090565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b60058054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107ae5780601f10610783576101008083540402835291602001916107ae565b6000610ee1611524565b60005473ffffffffffffffffffffffffffffffffffffffff908116911614610f6a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610f7b610f75611524565b83611967565b506001919050565b60006107cc610f90611524565b8461088f856040518060600160405280602581526020016122a86025913960026000610fba611524565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61184216565b60006107cc61100b611524565b848461166f565b73ffffffffffffffffffffffffffffffffffffffff811660009081526009602052604081205463ffffffff168061104a5760006110a7565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260086020908152604080832063ffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff86011684529091529020600101545b9392505050565b600060405180806121cf60439139604301905060405180910390206110d1610704565b805190602001206110e0611d53565b30604051602001808581526020018481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200194505050505060405160208183030381529060405280519060200120905060006040518080612323603a91396040805191829003603a01822060208084019190915273ffffffffffffffffffffffffffffffffffffffff8c1683830152606083018b905260808084018b90528251808503909101815260a0840183528051908201207f190100000000000000000000000000000000000000000000000000000000000060c085015260c2840187905260e2808501829052835180860390910181526101028501808552815191840191909120600091829052610122860180865281905260ff8c1661014287015261016286018b905261018286018a9052935191965092945091926001926101a280830193927fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08301929081900390910190855afa15801561127e573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff8116611315576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806122126026913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff81166000908152600a60205260409020805460018101909155891461139a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806123016022913960400191505060405180910390fd5b874211156113f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806121a96026913960400191505060405180910390fd5b6113fd818b611c8c565b505050505b505050505050565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260026020908152604080832093909416825291909152205490565b60405180603a6123238239603a019050604051809103902081565b60086020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b611492611524565b60005473ffffffffffffffffffffffffffffffffffffffff90811691161461151b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610a0e81611d57565b3390565b73ffffffffffffffffffffffffffffffffffffffff8316611594576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806121376024913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216611600576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602281526020018061235d6022913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b73ffffffffffffffffffffffffffffffffffffffff83166116db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806121126025913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216611747576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806122856023913960400191505060405180910390fd5b6117978160405180606001604052806026815260200161225f6026913973ffffffffffffffffffffffffffffffffffffffff8616600090815260016020526040902054919063ffffffff61184216565b73ffffffffffffffffffffffffffffffffffffffff80851660009081526001602052604080822093909355908416815220546117d9908263ffffffff6118f316565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156118eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156118b0578181015183820152602001611898565b50505050905090810190601f1680156118dd5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000828201838110156110a757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff82166119e957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f42455032303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6003546119fc908263ffffffff6118f316565b60035573ffffffffffffffffffffffffffffffffffffffff8216600090815260016020526040902054611a35908263ffffffff6118f316565b73ffffffffffffffffffffffffffffffffffffffff831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015611ad65750600081115b15611c875773ffffffffffffffffffffffffffffffffffffffff831615611bb35773ffffffffffffffffffffffffffffffffffffffff831660009081526009602052604081205463ffffffff169081611b30576000611b8d565b73ffffffffffffffffffffffffffffffffffffffff8516600090815260086020908152604080832063ffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff87011684529091529020600101545b90506000611ba1828563ffffffff611e5016565b9050611baf86848484611e92565b5050505b73ffffffffffffffffffffffffffffffffffffffff821615611c875773ffffffffffffffffffffffffffffffffffffffff821660009081526009602052604081205463ffffffff169081611c08576000611c65565b73ffffffffffffffffffffffffffffffffffffffff8416600090815260086020908152604080832063ffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff87011684529091529020600101545b90506000611c79828563ffffffff6118f316565b905061140285848484611e92565b505050565b73ffffffffffffffffffffffffffffffffffffffff80831660009081526007602052604081205490911690611cc084610a29565b73ffffffffffffffffffffffffffffffffffffffff85811660008181526007602052604080822080547fffffffffffffffffffffffff000000000000000000000000000000000000000016898616908117909155905194955093928616927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4611d4d828483611a9a565b50505050565b4690565b73ffffffffffffffffffffffffffffffffffffffff8116611dc3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061215b6026913960400191505060405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60006110a783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611842565b6000611eb6436040518060600160405280603481526020016122cd60349139612082565b905060008463ffffffff16118015611f2a575073ffffffffffffffffffffffffffffffffffffffff8516600090815260086020908152604080832063ffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8901811685529252909120548282169116145b15611f925773ffffffffffffffffffffffffffffffffffffffff8516600090815260086020908152604080832063ffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8901168452909152902060010182905561202b565b60408051808201825263ffffffff8084168252602080830186815273ffffffffffffffffffffffffffffffffffffffff8a166000818152600884528681208b861682528452868120955186549086167fffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000918216178755925160019687015590815260099092529390208054928801909116919092161790555b6040805184815260208101849052815173ffffffffffffffffffffffffffffffffffffffff8816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b60008164010000000084106120f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482018181528351602484015283519092839260449091019190850190808383600083156118b0578181015183820152602001611898565b509192915050565b60408051808201909152600080825260208201529056fe42455032303a207472616e736665722066726f6d20746865207a65726f206164647265737342455032303a20617070726f76652066726f6d20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737342455032303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636542414b453a3a64656c656761746542795369673a207369676e61747572652065787069726564454950373132446f6d61696e28737472696e67206e616d652c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e74726163742942414b453a3a64656c656761746542795369673a20696e76616c6964207369676e617475726542414b453a3a6765745072696f72566f7465733a206e6f74207965742064657465726d696e656442455032303a207472616e7366657220616d6f756e7420657863656564732062616c616e636542455032303a207472616e7366657220746f20746865207a65726f206164647265737342455032303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f42414b453a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d6265722065786365656473203332206269747342414b453a3a64656c656761746542795369673a20696e76616c6964206e6f6e636544656c65676174696f6e28616464726573732064656c6567617465652c75696e74323536206e6f6e63652c75696e74323536206578706972792942455032303a20617070726f766520746f20746865207a65726f2061646472657373a2646970667358221220e1ac1c38eab9940acc5c0f5f29e815710b45d99b2d233d62b7c7656e16a57beb64736f6c63430006060033

Deployed ByteCode Sourcemap

29030:8615:0:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;29030:8615:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;21212:92:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;21212:92:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23019:161;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;23019:161:0;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;21688:100;;;:::i;:::-;;;;;;;;;;;;;;;;30372:138;;;:::i;23651:397::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;23651:397:0;;;;;;;;;;;;;;;;;;:::i;21371:92::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24456:210;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;24456:210:0;;;;;;;;;:::i;29194:164::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;29194:164:0;;;;;;;;;:::i;:::-;;31393:117;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;31393:117:0;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;31658:104;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;31658:104:0;;;;:::i;30251:48::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;30251:48:0;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;21850:119;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;21850:119:0;;;;:::i;2786:140::-;;;:::i;33941:1224::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;33941:1224:0;;;;;;;;;:::i;30818:41::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;30818:41:0;;;;:::i;21055:94::-;;;:::i;2144:79::-;;;:::i;21528:96::-;;;:::i;22743:130::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;22743:130:0;;:::i;25168:311::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;25168:311:0;;;;;;;;;:::i;22181:167::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;22181:167:0;;;;;;;;;:::i;33287:223::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;33287:223:0;;;;:::i;32196:890::-;;;;;;15:3:-1;10;7:12;4:2;;;32:1;29;22:12;4:2;-1:-1;32196:890:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;22410:143::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;22410:143:0;;;;;;;;;;;:::i;30604:133::-;;;:::i;30114:68::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;30114:68:0;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;3081:109;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;3081:109:0;;;;:::i;21212:92::-;21291:5;21284:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21258:13;;21284:12;;21291:5;;21284:12;;21291:5;21284:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21212:92;:::o;23019:161::-;23094:4;23111:39;23120:12;:10;:12::i;:::-;23134:7;23143:6;23111:8;:39::i;:::-;-1:-1:-1;23168:4:0;23019:161;;;;;:::o;21688:100::-;21768:12;;21688:100;:::o;30372:138::-;30414:96;;;;;;;;;;;;;;;;;;30372:138;:::o;23651:397::-;23783:4;23800:36;23810:6;23818:9;23829:6;23800:9;:36::i;:::-;23847:171;23870:6;23891:12;:10;:12::i;:::-;23918:89;23956:6;23918:89;;;;;;;;;;;;;;;;;:19;;;;;;;:11;:19;;;;;;23938:12;:10;:12::i;:::-;23918:33;;;;;;;;;;;;;-1:-1:-1;23918:33:0;;;:89;;:37;:89;:::i;:::-;23847:8;:171::i;:::-;-1:-1:-1;24036:4:0;23651:397;;;;;:::o;21371:92::-;21446:9;;;;21371:92;:::o;24456:210::-;24536:4;24553:83;24562:12;:10;:12::i;:::-;24576:7;24585:50;24624:10;24585:11;:25;24597:12;:10;:12::i;:::-;24585:25;;;;;;;;;;;;;;;;;;-1:-1:-1;24585:25:0;;;:34;;;;;;;;;;;:50;:38;:50;:::i;29194:164::-;2366:12;:10;:12::i;:::-;2356:6;;:22;:6;;;:22;;;2348:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29268:19:::1;29274:3;29279:7;29268:5;:19::i;:::-;29325:15;::::0;;::::1;29321:1;29325:15:::0;;;:10:::1;:15;::::0;;;;;29298:52:::1;::::0;29325:15:::1;29342:7:::0;29298:14:::1;:52::i;:::-;29194:164:::0;;:::o;31393:117::-;31481:21;;;;31454:7;31481:21;;;:10;:21;;;;;;;;31393:117::o;31658:104::-;31722:32;31732:10;31744:9;31722;:32::i;:::-;31658:104;:::o;30251:48::-;;;;;;;;;;;;;;;:::o;21850:119::-;21943:18;;21916:7;21943:18;;;:9;:18;;;;;;;21850:119::o;2786:140::-;2366:12;:10;:12::i;:::-;2356:6;;:22;:6;;;:22;;;2348:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2885:1:::1;2869:6:::0;;2848:40:::1;::::0;::::1;2869:6:::0;;::::1;::::0;2848:40:::1;::::0;2885:1;;2848:40:::1;2916:1;2899:19:::0;;;::::1;::::0;;2786:140::o;33941:1224::-;34025:7;34067:12;34053:11;:26;34045:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34158:23;;;34136:19;34158:23;;;:14;:23;;;;;;;;34196:17;34192:58;;34237:1;34230:8;;;;;34192:58;34310:20;;;;;;;:11;:20;;;;;;;;:38;34331:16;;;34310:38;;;;;;;;;:48;;:63;-1:-1:-1;34306:147:0;;34397:20;;;;;;;:11;:20;;;;;;;;34418:16;;;;;34397:38;;;;;;;;34433:1;34397:44;;;-1:-1:-1;34390:51:0;;34306:147;34514:20;;;;;;;:11;:20;;;;;;;;:23;;;;;;;;:33;:23;:33;:47;-1:-1:-1;34510:88:0;;;34585:1;34578:8;;;;;34510:88;34610:12;34652:16;;;34679:428;34694:5;34686:13;;:5;:13;;;34679:428;;;34758:1;34741:13;;;34740:19;;;34732:27;;34801:20;;:::i;:::-;-1:-1:-1;34824:20:0;;;;;;;:11;:20;;;;;;;;:28;;;;;;;;;;;;;34801:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34871:27;;34867:229;;;34926:8;;;;-1:-1:-1;34919:15:0;;-1:-1:-1;;;;34919:15:0;34867:229;34960:12;;:26;;;-1:-1:-1;34956:140:0;;;35015:6;35007:14;;34956:140;;;35079:1;35070:6;:10;35062:18;;34956:140;34679:428;;;;;-1:-1:-1;35124:20:0;;;;;;;:11;:20;;;;;;;;:27;;;;;;;;;;:33;;;;-1:-1:-1;;33941:1224:0;;;;:::o;30818:41::-;;;;;;;;;;;;;:::o;21055:94::-;21107:7;21134;:5;:7::i;:::-;21127:14;;21055:94;:::o;2144:79::-;2182:7;2209:6;;;2144:79;:::o;21528:96::-;21609:7;21602:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21576:13;;21602:14;;21609:7;;21602:14;;21609:7;21602:14;;;;;;;;;;;;;;;;;;;;;;;;22743:130;22799:4;2366:12;:10;:12::i;:::-;2356:6;;:22;:6;;;:22;;;2348:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22816:27:::1;22822:12;:10;:12::i;:::-;22836:6;22816:5;:27::i;:::-;-1:-1:-1::0;22861:4:0::1;22743:130:::0;;;:::o;25168:311::-;25253:4;25270:179;25293:12;:10;:12::i;:::-;25320:7;25342:96;25381:15;25342:96;;;;;;;;;;;;;;;;;:11;:25;25354:12;:10;:12::i;:::-;25342:25;;;;;;;;;;;;;;;;;;-1:-1:-1;25342:25:0;;;:34;;;;;;;;;;;:96;;:38;:96;:::i;22181:167::-;22259:4;22276:42;22286:12;:10;:12::i;:::-;22300:9;22311:6;22276:9;:42::i;33287:223::-;33394:23;;;33352:7;33394:23;;;:14;:23;;;;;;;;33435:16;:67;;33501:1;33435:67;;;33454:20;;;;;;;:11;:20;;;;;;;;:38;33475:16;;;33454:38;;;;;;;;33490:1;33454:44;;33435:67;33428:74;33287:223;-1:-1:-1;;;33287:223:0:o;32196:890::-;32381:23;30414:96;;;;;;;;;;;;;;;;;;;32475:6;:4;:6::i;:::-;32459:24;;;;;;32485:12;:10;:12::i;:::-;32507:4;32431:82;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;32431:82:0;;;32407:117;;;;;;32381:143;;32537:18;30650:87;;;;;;;;;;;;;;;;;;;32568:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;32568:57:0;;;;;32558:68;;;;;;32666:57;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;32666:57:0;;;;;;32656:68;;;;;;;;;-1:-1:-1;32757:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32558:68;;-1:-1:-1;32656:68:0;;-1:-1:-1;;;32757:26:0;;;;;;;32568:57;-1:-1:-1;32757:26:0;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;32757:26:0;;;;;;-1:-1:-1;;32802:23:0;;;32794:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32896:17;;;;;;;:6;:17;;;;;:19;;;;;;;;32887:28;;32879:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32980:6;32973:3;:13;;32965:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33047:31;33057:9;33068;33047;:31::i;:::-;33040:38;;;;32196:890;;;;;;;:::o;22410:143::-;22518:18;;;;22491:7;22518:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;22410:143::o;30604:133::-;30650:87;;;;;;;;;;;;;;;;;;30604:133;:::o;30114:68::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;3081:109::-;2366:12;:10;:12::i;:::-;2356:6;;:22;:6;;;:22;;;2348:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3154:28:::1;3173:8;3154:18;:28::i;799:98::-:0;879:10;799:98;:::o;28183:372::-;28311:19;;;28303:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28390:21;;;28382:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28463:18;;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;28515:32;;;;;;;;;;;;;;;;;28183:372;;;:::o;25969:505::-;26101:20;;;26093:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26182:23;;;26174:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26278;26300:6;26278:71;;;;;;;;;;;;;;;;;:17;;;;;;;:9;:17;;;;;;;:71;;:21;:71;:::i;:::-;26258:17;;;;;;;;:9;:17;;;;;;:91;;;;26383:20;;;;;;;:32;;26408:6;26383:32;:24;:32;:::i;:::-;26360:20;;;;;;;;:9;:20;;;;;;;;;:55;;;;26431:35;;;;;;;26360:20;;26431:35;;;;;;;;;;;;;25969:505;;;:::o;8424:226::-;8544:7;8580:12;8572:6;;;;8564:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;8564:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8616:5:0;;;8424:226::o;7521:181::-;7579:7;7611:5;;;7635:6;;;;7627:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26755:308;26831:21;;;26823:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26916:12;;:24;;26933:6;26916:24;:16;:24;:::i;:::-;26901:12;:39;26972:18;;;;;;;:9;:18;;;;;;:30;;26995:6;26972:30;:22;:30;:::i;:::-;26951:18;;;;;;;:9;:18;;;;;;;;:51;;;;27018:37;;;;;;;26951:18;;;;27018:37;;;;;;;;;;26755:308;;:::o;35605:981::-;35745:6;35735:16;;:6;:16;;;;:30;;;;;35764:1;35755:6;:10;35735:30;35731:848;;;35786:20;;;;35782:385;;35894:22;;;35875:16;35894:22;;;:14;:22;;;;;;;;;35955:13;:60;;36014:1;35955:60;;;35971:19;;;;;;;:11;:19;;;;;;;;:34;35991:13;;;35971:34;;;;;;;;36003:1;35971:40;;35955:60;35935:80;-1:-1:-1;36034:17:0;36054:21;35935:80;36068:6;36054:21;:13;:21;:::i;:::-;36034:41;;36094:57;36111:6;36119:9;36130;36141;36094:16;:57::i;:::-;35782:385;;;;36187:20;;;;36183:385;;36295:22;;;36276:16;36295:22;;;:14;:22;;;;;;;;;36356:13;:60;;36415:1;36356:60;;;36372:19;;;;;;;:11;:19;;;;;;;;:34;36392:13;;;36372:34;;;;;;;;36404:1;36372:40;;36356:60;36336:80;-1:-1:-1;36435:17:0;36455:21;36336:80;36469:6;36455:21;:13;:21;:::i;:::-;36435:41;;36495:57;36512:6;36520:9;36531;36542;36495:16;:57::i;36183:385::-;35605:981;;;:::o;35173:424::-;35276:21;;;;35250:23;35276:21;;;:10;:21;;;;;;;;;;35335:20;35287:9;35335;:20::i;:::-;35411:21;;;;;;;;:10;:21;;;;;;:33;;;;;;;;;;;;;35462:54;;35308:47;;-1:-1:-1;35411:33:0;35462:54;;;;;;35411:21;35462:54;35529:60;35544:15;35561:9;35572:16;35529:14;:60::i;:::-;35173:424;;;;:::o;37464:178::-;37590:9;37464:178;:::o;3296:229::-;3370:22;;;3362:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3472:6;;;3451:38;;;;;;;3472:6;;;3451:38;;;3500:6;:17;;;;;;;;;;;;;;;3296:229::o;7985:136::-;8043:7;8070:43;8074:1;8077;8070:43;;;;;;;;;;;;;;;;;:3;:43::i;36594:690::-;36759:18;36780:76;36787:12;36780:76;;;;;;;;;;;;;;;;;:6;:76::i;:::-;36759:97;;36888:1;36873:12;:16;;;:85;;;;-1:-1:-1;36893:22:0;;;;;;;:11;:22;;;;;;;;:65;36916:16;;;36893:40;;;;;;;;;:50;:65;;;:50;;:65;36873:85;36869:339;;;36975:22;;;;;;;:11;:22;;;;;;;;:40;36998:16;;;36975:40;;;;;;;;37013:1;36975:46;:57;;;36869:339;;;37104:33;;;;;;;;;;;;;;;;;;;;;37065:22;;;-1:-1:-1;37065:22:0;;;:11;:22;;;;;:36;;;;;;;;;;:72;;;;;;;;;;;;;;;;;;;;;37152:25;;;:14;:25;;;;;;:44;;37180:16;;;37152:44;;;;;;;;;;36869:339;37225:51;;;;;;;;;;;;;;;;;;;;;;;;;;36594:690;;;;;:::o;37292:164::-;37370:6;37408:12;37401:5;37397:9;;37389:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;37389:32:0;-1:-1:-1;37446:1:0;;37292:164;-1:-1:-1;;37292:164:0:o;29030:8615::-;;;;;;;;;;-1:-1:-1;29030:8615:0;;;;;;;;:::o

Swarm Source

ipfs://e1ac1c38eab9940acc5c0f5f29e815710b45d99b2d233d62b7c7656e16a57beb
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.