Contract 0xc294a07df611cfc515dcdc7d377648a7a0d85c8f

 
Txn Hash
Block
From
To
Value [Txn Fee]
0xc0028fb09533bba7175613eef7c94bbb64b4d250ae02e1426bb06f2efbf923bb82219372021-06-12 3:21:5911 hrs 12 mins ago0x1c4d6b144b8494a899406cdc83f6d2b3284266fa IN  Biscuit Farm: BCU Token0 BNB0.000087066
0x7666b100ba2845e509676523707eba235d9a5aef4d61c55034533a1b27e5c9c081655722021-06-10 4:11:492 days 10 hrs ago0xd23159ef1ba38f72558251fb0641eaec67bd325e IN  Biscuit Farm: BCU Token0 BNB0.00019049
0xd7e8395ad3a8615835ed77bf5d814dede3ac97e2b35f40a64914a4c549c4368d81612802021-06-10 0:37:042 days 13 hrs ago0xd3b21d0232454e5f73c04ef7a4c563cbd3bd5ee0 IN  Biscuit Farm: BCU Token0 BNB0.00022203
0xeacaec30ea951378f521a805888f9dc454865067df17bd50b1b28bd9f2491e6681490912021-06-09 14:25:163 days 9 mins ago0xc820e075dfcb68acd6aea36487e1f21b7723a7a1 IN  Biscuit Farm: BCU Token0 BNB0.00022203
0x214e71e2799611a4e7530ac50d62925cb3e1b74fb2dd0018e01eedb97002a28781362812021-06-09 3:41:533 days 10 hrs ago0x29e0ab12f847bf0df50e5e01bb97b3b166375e98 IN  Biscuit Farm: BCU Token0 BNB0.00022203
0x7008e0599617a3a35ec812f9a122a8a14f630ef170ecbc97a895d6cfbd4ba72981348962021-06-09 2:32:383 days 12 hrs ago0x29e0ab12f847bf0df50e5e01bb97b3b166375e98 IN  Biscuit Farm: BCU Token0 BNB0.00022203
0xe2750df2bdf7a717ecd7358869d47e55bb409be971cb0c7609c52ef2e3eaf7b981347502021-06-09 2:25:203 days 12 hrs ago0xab6a248e274078b1463d6e2250c1388ec594439c IN  Biscuit Farm: BCU Token0 BNB0.00019061
0xf52824af57bf3570d14a93fcb8cf20ec0785580f1b55551339013023b4f1136a81270482021-06-08 19:59:093 days 18 hrs ago0x4bd6dbbb08a54a4a505ae34856c4353e563add07 IN  Biscuit Farm: BCU Token0 BNB0.00022203
0x8609237735b5835c81bcad6289b68dea44ecf49ee306eac1af0efd95b59c99e081203452021-06-08 14:23:344 days 11 mins ago0x39e5affd40bc9c9eb3c2f1e0c402f649107a1585 IN  Biscuit Farm: BCU Token0 BNB0.00019061
0x1385b1d5dcb6dae2ed91d327894995eb789df79a701167e3fe98653bc693034380637972021-06-06 15:12:215 days 23 hrs ago0xab6a248e274078b1463d6e2250c1388ec594439c IN  Biscuit Farm: BCU Token0 BNB0.00022203
0x6ad08d9346555b427c06b179fb2650ea5714398884fd3cfc1d6b2534f77934aa80594322021-06-06 11:33:256 days 3 hrs ago0xe8b198ce788b09acfdb0bfb7b0be90d7280f560a IN  Biscuit Farm: BCU Token0 BNB0.00022203
0x99b07a16e6fa7d7a7a8d6808696ffbe4c58bac76538af41163d09ec5774a445680537722021-06-06 6:49:126 days 7 hrs ago0x7a1cfc15c35617bb11034a6c9fd19239579183d5 IN  Biscuit Farm: BCU Token0 BNB0.00022203
0x9fd98df7b74eed43d53f083df047b16c32ce36e917738bd8388191e6953680d480377432021-06-05 17:26:246 days 21 hrs ago0xa189eb010b66b88405fdaab17402c8b3334be8d6 IN  Biscuit Farm: BCU Token0 BNB0.00022203
0xab4410394fd5c50fb16b2826fdae799366a1343fa81fe62041a2fb024aae1dee80307932021-06-05 11:38:407 days 2 hrs ago0xa189eb010b66b88405fdaab17402c8b3334be8d6 IN  Biscuit Farm: BCU Token0 BNB0.00022203
0x1d61acda9bbda9356f2e261fe9aceb071bd6e43bb42459d2b717ed2a3c8a712880281752021-06-05 9:26:227 days 5 hrs ago0x83f9586b9cfa238e3558c661e10886febda2c275 IN  Biscuit Farm: BCU Token0 BNB0.00022203
0x064520befbed8f1528b44c4ff840ee8ed58875e808223f99f0c91267153b7c2e80279622021-06-05 9:15:437 days 5 hrs ago0x1624a6a420cb3225433d549cbd366f4d4de3ea56 IN  Biscuit Farm: BCU Token0 BNB0.00014861
0x9bb8b688af6835ec8951181af5f377f55171e8765bac794a96c7fc60ebe861bd79889442021-06-04 0:39:418 days 13 hrs ago0x991515662a0209f062d027abfdb21a2683b10015 IN  Biscuit Farm: BCU Token0 BNB0.00022203
0x28221536c79886b98e4804b70efd117ae121ce767da509238240d787e233116279888192021-06-04 0:33:268 days 14 hrs ago0x991515662a0209f062d027abfdb21a2683b10015 IN  Biscuit Farm: BCU Token0 BNB0.00022203
0x41a31a3586b93b20dc3eb799ca7d243f91fd03d23979e3451275735da1a315b779337432021-06-02 2:30:5810 days 12 hrs ago0x727ba79596db5350379751046ca85533d1698395 IN  Biscuit Farm: BCU Token0 BNB0.00022203
0xa57031d58f37d5613605b19ee50f8bd0de13ea69993f4b8777d222a7ebbf9d3179336352021-06-02 2:25:3410 days 12 hrs ago0x727ba79596db5350379751046ca85533d1698395 IN  Biscuit Farm: BCU Token0 BNB0.000266436
0x68c89ae24d066f87075bb93138962a49c852905c1c88d76a4c0662c20dbb91f079331702021-06-02 2:02:1810 days 12 hrs ago0x727ba79596db5350379751046ca85533d1698395 IN  Biscuit Farm: BCU Token0 BNB0.00022203
0xd69ffa3582d0c5cd56cd507d1d869e77639dc9120551fe9e0bbf92bb9c840f1979127842021-06-01 9:00:4411 days 5 hrs ago0xe59e4f72444e2abf8e7d4000a817840b54af34d2 IN  Biscuit Farm: BCU Token0 BNB0.00022203
0x2d999a243c1d444b9e7d57d8c328790c57c556461b1c32f34096d0053fa1553378544422021-05-30 8:10:3013 days 6 hrs ago0xcc3bcbcde3c1d119f1e866eca2fae02e748b40f5 IN  Biscuit Farm: BCU Token0 BNB0.00022203
0x056b0404543a817456cb48a0f3e7ba37044ca73dafb34463515e97663276e34178437392021-05-29 23:14:3013 days 15 hrs ago0xbac7eb249d1d92f379ab740d52dc240a31d0f285 IN  Biscuit Farm: BCU Token0 BNB0.000310842
0x7b659c97eeebc4d734971533d801971fcd1a46229ff8e932567466588788d28578393462021-05-29 19:33:4613 days 19 hrs ago0xe1e97eb13b8598721113d7d5af7719d4f36c1729 IN  Biscuit Farm: BCU Token0 BNB0.0002264706
[ Download CSV Export 

OVERVIEW

BCU Finance (Biscuit Farm Finance) is a yield farming aggregator running on Binance Smart Chain (BSC). It was designed totally 100% decentralized farming platform and yield optimizer with lots of features allowing users to earn tokens.

Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BiscuitToken

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

pragma solidity ^0.6.0;

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

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

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

pragma solidity ^0.6.0;

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

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

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

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

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

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

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

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

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

pragma solidity ^0.6.0;

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

		return c;
	}

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

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

		return c;
	}

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

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

		return c;
	}

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

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

		return c;
	}

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

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

// File: @openzeppelin/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) {
		// This method relies in extcodesize, which returns 0 for contracts in
		// construction, since the code is only stored at the end of the
		// constructor execution.

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

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

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

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

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

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

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

pragma solidity ^0.6.0;

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

	mapping (address => uint256) private _balances;

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

	uint256 private _totalSupply;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

		_beforeTokenTransfer(sender, recipient, amount);

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.6.0;

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

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

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

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

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

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

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

// File: contracts/BiscuitToken.sol

pragma solidity 0.6.12;

// BiscuitToken with Governance.
contract BiscuitToken is ERC20("Biscuit Farm Finance", "BCU"), Ownable {
	uint256 private _cap = 20000000e18;

	address public feeaddr;
	uint256 public transferFeeRate;
	
	mapping(address => bool) private _transactionFee;

	function cap() public view returns (uint256) {
		return _cap;
	}

	function capfarm() public view returns (uint256) {
		return cap().sub(totalSupply());
	} 

	/**
	 * @dev See {ERC20-_beforeTokenTransfer}.
	 *
	 * Requirements:
	 *
	 * - minted tokens must not cause the total supply to go over the cap.
	 */
	function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual override {
		super._beforeTokenTransfer(from, to, amount);

		if (from == address(0)) { // When minting tokens
			require(totalSupply().add(amount) <= _cap, "ERC20Capped: cap exceeded");
		}
	}

	/**
	 * @dev Moves tokens `amount` from `sender` to `recipient`.
	 *
	 * This is internal function is equivalent to {transfer}, and can be used to
	 * e.g. implement automatic token fees, slashing mechanisms, etc.
	 *
	 * Emits a {Transfer} event.
	 *
	 * Requirements:
	 *
	 * - `sender` cannot be the zero address.
	 * - `recipient` cannot be the zero address.
	 * - `sender` must have a balance of at least `amount`.
	 */
	function _transfer(address sender, address recipient, uint256 amount) internal virtual override {
		if (transferFeeRate > 0 && _transactionFee[recipient] == true && recipient != address(0) && feeaddr != address(0)) {
			uint256 _feeamount = amount * transferFeeRate / 100;
			super._transfer(sender, feeaddr, _feeamount); // TransferFee
			amount = amount - _feeamount;
		}

		super._transfer(sender, recipient, amount);
	}

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

	/**
	 * @dev Destroys `amount` tokens from the caller.
	 *
	 * See {ERC20-_burn}.
	 */
	function burn(uint256 amount) public virtual returns (bool) {
		_burn(_msgSender(), amount);
		return true;
	}

	/**
	 * @dev Destroys `amount` tokens from `account`, deducting from the caller's
	 * allowance.
	 *
	 * See {ERC20-_burn} and {ERC20-allowance}.
	 *
	 * Requirements:
	 *
	 * - the caller must have allowance for ``accounts``'s tokens of at least
	 * `amount`.
	 */
	function burnFrom(address account, uint256 amount) public virtual returns (bool) {
		uint256 decreasedAllowance = allowance(account, _msgSender()).sub(amount, "ERC20: burn amount exceeds allowance");

		_approve(account, _msgSender(), decreasedAllowance);
		_burn(account, amount);
		return true;
	}

	function addTransferFeeAddress(address _transferFeeAddress) public onlyOwner {
		_transactionFee[_transferFeeAddress] = true;
	}

	function removeTransferBurnAddress(address _transferFeeAddress) public onlyOwner {
		delete _transactionFee[_transferFeeAddress];
	}

    function setFeeAddr(address _feeaddr) public onlyOwner {
		feeaddr = _feeaddr;
    }

	constructor() public {
		transferFeeRate = 1;
		_mint(msg.sender, 2000000*10**18);
	}
}

Contract ABI

[{"inputs":[],"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":"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":[{"internalType":"address","name":"_transferFeeAddress","type":"address"}],"name":"addTransferFeeAddress","outputs":[],"stateMutability":"nonpayable","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":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"capfarm","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeaddr","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_transferFeeAddress","type":"address"}],"name":"removeTransferBurnAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeaddr","type":"address"}],"name":"setFeeAddr","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":[],"name":"transferFeeRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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"}]

60806040526a108b2a2c280290940000006006553480156200002057600080fd5b506040518060400160405280601481526020017f42697363756974204661726d2046696e616e63650000000000000000000000008152506040518060400160405280600381526020016242435560e81b81525081600390805190602001906200008b92919062000356565b508051620000a190600490602084019062000356565b50506005805460ff19166012179055506000620000bd62000135565b60058054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060016008556200012f336a01a784379d99db4200000062000139565b620003f2565b3390565b6001600160a01b03821662000195576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b620001a36000838362000248565b620001bf81600254620002ee60201b62000bdc1790919060201c565b6002556001600160a01b03821660009081526020818152604090912054620001f291839062000bdc620002ee821b17901c565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b62000260838383620002e960201b62000c3d1760201c565b6001600160a01b038316620002e95760065462000295826200028162000350565b620002ee60201b62000bdc1790919060201c565b1115620002e9576040805162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a2063617020657863656564656400000000000000604482015290519081900360640190fd5b505050565b60008282018381101562000349576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60025490565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200039957805160ff1916838001178555620003c9565b82800160010185558215620003c9579182015b82811115620003c9578251825591602001919060010190620003ac565b50620003d7929150620003db565b5090565b5b80821115620003d75760008155600101620003dc565b61145080620004026000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c8063715018a6116100c3578063a457c2d71161007c578063a457c2d7146103e9578063a64f714c14610415578063a9059cbb1461041d578063b2855b4f14610449578063dd62ed3e1461046f578063f2fde38b1461049d57610158565b8063715018a61461033d57806379cc6790146103455780638da5cb5b146103715780638fe8cf241461039557806391116d67146103bb57806395d89b41146103e157610158565b8063355274ea11610115578063355274ea14610290578063395093511461029857806340c10f19146102c457806342966c68146102f257806359cf15641461030f57806370a082311461031757610158565b806306fdde031461015d578063095ea7b3146101da57806318160ddd1461021a57806323b872dd14610234578063313ce5671461026a578063351bf51814610288575b600080fd5b6101656104c3565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561019f578181015183820152602001610187565b50505050905090810190601f1680156101cc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610206600480360360408110156101f057600080fd5b506001600160a01b038135169060200135610559565b604080519115158252519081900360200190f35b610222610576565b60408051918252519081900360200190f35b6102066004803603606081101561024a57600080fd5b506001600160a01b0381358116916020810135909116906040013561057c565b610272610603565b6040805160ff9092168252519081900360200190f35b61022261060c565b610222610612565b610206600480360360408110156102ae57600080fd5b506001600160a01b038135169060200135610618565b6102f0600480360360408110156102da57600080fd5b506001600160a01b038135169060200135610666565b005b6102066004803603602081101561030857600080fd5b50356106d1565b6102226106ec565b6102226004803603602081101561032d57600080fd5b50356001600160a01b031661070c565b6102f0610727565b6102066004803603604081101561035b57600080fd5b506001600160a01b0381351690602001356107d4565b61037961082a565b604080516001600160a01b039092168252519081900360200190f35b6102f0600480360360208110156103ab57600080fd5b50356001600160a01b031661083e565b6102f0600480360360208110156103d157600080fd5b50356001600160a01b03166108bc565b61016561093d565b610206600480360360408110156103ff57600080fd5b506001600160a01b03813516906020013561099e565b610379610a06565b6102066004803603604081101561043357600080fd5b506001600160a01b038135169060200135610a15565b6102f06004803603602081101561045f57600080fd5b50356001600160a01b0316610a29565b6102226004803603604081101561048557600080fd5b506001600160a01b0381358116916020013516610aa8565b6102f0600480360360208110156104b357600080fd5b50356001600160a01b0316610ad3565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561054f5780601f106105245761010080835404028352916020019161054f565b820191906000526020600020905b81548152906001019060200180831161053257829003601f168201915b5050505050905090565b600061056d610566610c42565b8484610c46565b50600192915050565b60025490565b6000610589848484610d32565b6105f984610595610c42565b6105f485604051806060016040528060288152602001611320602891396001600160a01b038a166000908152600160205260408120906105d3610c42565b6001600160a01b031681526020810191909152604001600020549190610dcb565b610c46565b5060019392505050565b60055460ff1690565b60085481565b60065490565b600061056d610625610c42565b846105f48560016000610636610c42565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610bdc565b61066e610c42565b60055461010090046001600160a01b039081169116146106c3576040805162461bcd60e51b81526020600482018190526024820152600080516020611348833981519152604482015290519081900360640190fd5b6106cd8282610e62565b5050565b60006106e46106de610c42565b83610f52565b506001919050565b60006107076106f9610576565b610701610612565b9061104e565b905090565b6001600160a01b031660009081526020819052604090205490565b61072f610c42565b60055461010090046001600160a01b03908116911614610784576040805162461bcd60e51b81526020600482018190526024820152600080516020611348833981519152604482015290519081900360640190fd5b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b60008061080c836040518060600160405280602481526020016113686024913961080587610800610c42565b610aa8565b9190610dcb565b90506108208461081a610c42565b83610c46565b6105f98484610f52565b60055461010090046001600160a01b031690565b610846610c42565b60055461010090046001600160a01b0390811691161461089b576040805162461bcd60e51b81526020600482018190526024820152600080516020611348833981519152604482015290519081900360640190fd5b6001600160a01b03166000908152600960205260409020805460ff19169055565b6108c4610c42565b60055461010090046001600160a01b03908116911614610919576040805162461bcd60e51b81526020600482018190526024820152600080516020611348833981519152604482015290519081900360640190fd5b6001600160a01b03166000908152600960205260409020805460ff19166001179055565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561054f5780601f106105245761010080835404028352916020019161054f565b600061056d6109ab610c42565b846105f4856040518060600160405280602581526020016113f660259139600160006109d5610c42565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610dcb565b6007546001600160a01b031681565b600061056d610a22610c42565b8484610d32565b610a31610c42565b60055461010090046001600160a01b03908116911614610a86576040805162461bcd60e51b81526020600482018190526024820152600080516020611348833981519152604482015290519081900360640190fd5b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610adb610c42565b60055461010090046001600160a01b03908116911614610b30576040805162461bcd60e51b81526020600482018190526024820152600080516020611348833981519152604482015290519081900360640190fd5b6001600160a01b038116610b755760405162461bcd60e51b81526004018080602001828103825260268152602001806112b26026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b600082820183811015610c36576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b505050565b3390565b6001600160a01b038316610c8b5760405162461bcd60e51b81526004018080602001828103825260248152602001806113d26024913960400191505060405180910390fd5b6001600160a01b038216610cd05760405162461bcd60e51b81526004018080602001828103825260228152602001806112d86022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6000600854118015610d6157506001600160a01b03821660009081526009602052604090205460ff1615156001145b8015610d7557506001600160a01b03821615155b8015610d8b57506007546001600160a01b031615155b15610dc05760006064600854830281610da057fe5b6007549190049150610dbd9085906001600160a01b031683611090565b90035b610c3d838383611090565b60008184841115610e5a5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610e1f578181015183820152602001610e07565b50505050905090810190601f168015610e4c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b038216610ebd576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b610ec9600083836111eb565b600254610ed69082610bdc565b6002556001600160a01b038216600090815260208190526040902054610efc9082610bdc565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b038216610f975760405162461bcd60e51b815260040180806020018281038252602181526020018061138c6021913960400191505060405180910390fd5b610fa3826000836111eb565b610fe081604051806060016040528060228152602001611290602291396001600160a01b0385166000908152602081905260409020549190610dcb565b6001600160a01b038316600090815260208190526040902055600254611006908261104e565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6000610c3683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610dcb565b6001600160a01b0383166110d55760405162461bcd60e51b81526004018080602001828103825260258152602001806113ad6025913960400191505060405180910390fd5b6001600160a01b03821661111a5760405162461bcd60e51b815260040180806020018281038252602381526020018061126d6023913960400191505060405180910390fd5b6111258383836111eb565b611162816040518060600160405280602681526020016112fa602691396001600160a01b0386166000908152602081905260409020549190610dcb565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546111919082610bdc565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6111f6838383610c3d565b6001600160a01b038316610c3d5760065461121982611213610576565b90610bdc565b1115610c3d576040805162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a2063617020657863656564656400000000000000604482015290519081900360640190fdfe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122062356fe9f3ebf3e08dd69f138cd5e7d0a347b7234f81edeffaa3c07b87c9889f64736f6c634300060c0033

Deployed ByteCode Sourcemap

26312:3174:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16038:74;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17931:154;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;17931:154:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;17017:91;;;:::i;:::-;;;;;;;;;;;;;;;;18520:300;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;18520:300:0;;;;;;;;;;;;;;;;;:::i;16890:74::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;26453:30;;;:::i;26544:66::-;;;:::i;19190:203::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;19190:203:0;;;;;;;;:::i;28133:90::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;28133:90:0;;;;;;;;:::i;:::-;;28321:113;;;;;;;;;;;;;;;;-1:-1:-1;28321:113:0;;:::i;26615:90::-;;;:::i;17159:110::-;;;;;;;;;;;;;;;;-1:-1:-1;17159:110:0;-1:-1:-1;;;;;17159:110:0;;:::i;25709:133::-;;;:::i;28717:305::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;28717:305:0;;;;;;;;:::i;25127:70::-;;;:::i;:::-;;;;-1:-1:-1;;;;;25127:70:0;;;;;;;;;;;;;;29162:134;;;;;;;;;;;;;;;;-1:-1:-1;29162:134:0;-1:-1:-1;;;;;29162:134:0;;:::i;29027:130::-;;;;;;;;;;;;;;;;-1:-1:-1;29027:130:0;-1:-1:-1;;;;;29027:130:0;;:::i;16216:78::-;;;:::i;19851:254::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;19851:254:0;;;;;;;;:::i;26427:22::-;;;:::i;17455:160::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;17455:160:0;;;;;;;;:::i;29304:86::-;;;;;;;;;;;;;;;;-1:-1:-1;29304:86:0;-1:-1:-1;;;;;29304:86:0;;:::i;17666:142::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;17666:142:0;;;;;;;;;;:::i;25982:223::-;;;;;;;;;;;;;;;;-1:-1:-1;25982:223:0;-1:-1:-1;;;;;25982:223:0;;:::i;16038:74::-;16102:5;16095:12;;;;;;;;-1:-1:-1;;16095:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16075:13;;16095:12;;16102:5;;16095:12;;16102:5;16095:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16038:74;:::o;17931:154::-;18014:4;18025:39;18034:12;:10;:12::i;:::-;18048:7;18057:6;18025:8;:39::i;:::-;-1:-1:-1;18076:4:0;17931:154;;;;:::o;17017:91::-;17091:12;;17017:91;:::o;18520:300::-;18626:4;18637:36;18647:6;18655:9;18666:6;18637:9;:36::i;:::-;18678:121;18687:6;18695:12;:10;:12::i;:::-;18709:89;18747:6;18709:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18709:19:0;;;;;;:11;:19;;;;;;18729:12;:10;:12::i;:::-;-1:-1:-1;;;;;18709:33:0;;;;;;;;;;;;-1:-1:-1;18709:33:0;;;:89;:37;:89::i;:::-;18678:8;:121::i;:::-;-1:-1:-1;18811:4:0;18520:300;;;;;:::o;16890:74::-;16950:9;;;;16890:74;:::o;26453:30::-;;;;:::o;26544:66::-;26601:4;;26544:66;:::o;19190:203::-;19278:4;19289:83;19298:12;:10;:12::i;:::-;19312:7;19321:50;19360:10;19321:11;:25;19333:12;:10;:12::i;:::-;-1:-1:-1;;;;;19321:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;19321:25:0;;;:34;;;;;;;;;;;:38;:50::i;28133:90::-;25322:12;:10;:12::i;:::-;25312:6;;;;;-1:-1:-1;;;;;25312:6:0;;;:22;;;25304:67;;;;;-1:-1:-1;;;25304:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;25304:67:0;;;;;;;;;;;;;;;28199:19:::1;28205:3;28210:7;28199:5;:19::i;:::-;28133:90:::0;;:::o;28321:113::-;28375:4;28386:27;28392:12;:10;:12::i;:::-;28406:6;28386:5;:27::i;:::-;-1:-1:-1;28425:4:0;28321:113;;;:::o;26615:90::-;26655:7;26676:24;26686:13;:11;:13::i;:::-;26676:5;:3;:5::i;:::-;:9;;:24::i;:::-;26669:31;;26615:90;:::o;17159:110::-;-1:-1:-1;;;;;17246:18:0;17225:7;17246:18;;;;;;;;;;;;17159:110::o;25709:133::-;25322:12;:10;:12::i;:::-;25312:6;;;;;-1:-1:-1;;;;;25312:6:0;;;:22;;;25304:67;;;;;-1:-1:-1;;;25304:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;25304:67:0;;;;;;;;;;;;;;;25794:6:::1;::::0;25773:40:::1;::::0;25810:1:::1;::::0;25794:6:::1;::::0;::::1;-1:-1:-1::0;;;;;25794:6:0::1;::::0;25773:40:::1;::::0;25810:1;;25773:40:::1;25818:6;:19:::0;;-1:-1:-1;;;;;;25818:19:0::1;::::0;;25709:133::o;28717:305::-;28792:4;28803:26;28832:84;28869:6;28832:84;;;;;;;;;;;;;;;;;:32;28842:7;28851:12;:10;:12::i;:::-;28832:9;:32::i;:::-;:36;:84;:36;:84::i;:::-;28803:113;;28923:51;28932:7;28941:12;:10;:12::i;:::-;28955:18;28923:8;:51::i;:::-;28979:22;28985:7;28994:6;28979:5;:22::i;25127:70::-;25186:6;;;;;-1:-1:-1;;;;;25186:6:0;;25127:70::o;29162:134::-;25322:12;:10;:12::i;:::-;25312:6;;;;;-1:-1:-1;;;;;25312:6:0;;;:22;;;25304:67;;;;;-1:-1:-1;;;25304:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;25304:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;29255:36:0::1;;::::0;;;:15:::1;:36;::::0;;;;29248:43;;-1:-1:-1;;29248:43:0::1;::::0;;29162:134::o;29027:130::-;25322:12;:10;:12::i;:::-;25312:6;;;;;-1:-1:-1;;;;;25312:6:0;;;:22;;;25304:67;;;;;-1:-1:-1;;;25304:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;25304:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;29109:36:0::1;;::::0;;;:15:::1;:36;::::0;;;;:43;;-1:-1:-1;;29109:43:0::1;29148:4;29109:43;::::0;;29027:130::o;16216:78::-;16282:7;16275:14;;;;;;;;-1:-1:-1;;16275:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16255:13;;16275:14;;16282:7;;16275:14;;16282:7;16275:14;;;;;;;;;;;;;;;;;;;;;;;;19851:254;19944:4;19955:129;19964:12;:10;:12::i;:::-;19978:7;19987:96;20026:15;19987:96;;;;;;;;;;;;;;;;;:11;:25;19999:12;:10;:12::i;:::-;-1:-1:-1;;;;;19987:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;19987:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;26427:22::-;;;-1:-1:-1;;;;;26427:22:0;;:::o;17455:160::-;17541:4;17552:42;17562:12;:10;:12::i;:::-;17576:9;17587:6;17552:9;:42::i;29304:86::-;25322:12;:10;:12::i;:::-;25312:6;;;;;-1:-1:-1;;;;;25312:6:0;;;:22;;;25304:67;;;;;-1:-1:-1;;;25304:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;25304:67:0;;;;;;;;;;;;;;;29364:7:::1;:18:::0;;-1:-1:-1;;;;;;29364:18:0::1;-1:-1:-1::0;;;;;29364:18:0;;;::::1;::::0;;;::::1;::::0;;29304:86::o;17666:142::-;-1:-1:-1;;;;;17776:18:0;;;17755:7;17776:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;17666:142::o;25982:223::-;25322:12;:10;:12::i;:::-;25312:6;;;;;-1:-1:-1;;;;;25312:6:0;;;:22;;;25304:67;;;;;-1:-1:-1;;;25304:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;25304:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;26065:22:0;::::1;26057:73;;;;-1:-1:-1::0;;;26057:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26161:6;::::0;26140:38:::1;::::0;-1:-1:-1;;;;;26140:38:0;;::::1;::::0;26161:6:::1;::::0;::::1;;::::0;26140:38:::1;::::0;;;::::1;26183:6;:17:::0;;-1:-1:-1;;;;;26183:17:0;;::::1;;;-1:-1:-1::0;;;;;;26183:17:0;;::::1;::::0;;;::::1;::::0;;25982:223::o;4398:160::-;4456:7;4482:5;;;4500:6;;;;4492:46;;;;;-1:-1:-1;;;4492:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4552:1;4398:160;-1:-1:-1;;;4398:160:0:o;23989:92::-;;;;:::o;567:97::-;649:10;567:97;:::o;22723:319::-;-1:-1:-1;;;;;22819:19:0;;22811:68;;;;-1:-1:-1;;;22811:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22892:21:0;;22884:68;;;;-1:-1:-1;;;22884:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22959:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;23005:32;;;;;;;;;;;;;;;;;22723:319;;;:::o;27602:431::-;27725:1;27707:15;;:19;:57;;;;-1:-1:-1;;;;;;27730:26:0;;;;;;:15;:26;;;;;;;;:34;;:26;:34;27707:57;:84;;;;-1:-1:-1;;;;;;27768:23:0;;;;27707:84;:109;;;;-1:-1:-1;27795:7:0;;-1:-1:-1;;;;;27795:7:0;:21;;27707:109;27703:277;;;27824:18;27872:3;27854:15;;27845:6;:24;:30;;;;;27905:7;;27845:30;;;;-1:-1:-1;27881:44:0;;27897:6;;-1:-1:-1;;;;;27905:7:0;27845:30;27881:15;:44::i;:::-;27955:19;;27703:277;27986:42;28002:6;28010:9;28021:6;27986:15;:42::i;5205:171::-;5291:7;5321:12;5313:6;;;;5305:29;;;;-1:-1:-1;;;5305:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5351:5:0;;;5205:171::o;21301:345::-;-1:-1:-1;;;;;21379:21:0;;21371:65;;;;;-1:-1:-1;;;21371:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;21443:49;21472:1;21476:7;21485:6;21443:20;:49::i;:::-;21514:12;;:24;;21531:6;21514:16;:24::i;:::-;21499:12;:39;-1:-1:-1;;;;;21564:18:0;;:9;:18;;;;;;;;;;;:30;;21587:6;21564:22;:30::i;:::-;-1:-1:-1;;;;;21543:18:0;;:9;:18;;;;;;;;;;;:51;;;;21604:37;;;;;;;21543:18;;:9;;21604:37;;;;;;;;;;21301:345;;:::o;21942:385::-;-1:-1:-1;;;;;22020:21:0;;22012:67;;;;-1:-1:-1;;;22012:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22086:49;22107:7;22124:1;22128:6;22086:20;:49::i;:::-;22163:68;22186:6;22163:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22163:18:0;;:9;:18;;;;;;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;22142:18:0;;:9;:18;;;;;;;;;;:89;22251:12;;:24;;22268:6;22251:16;:24::i;:::-;22236:12;:39;22285:37;;;;;;;;22311:1;;-1:-1:-1;;;;;22285:37:0;;;;;;;;;;;;21942:385;;:::o;4808:127::-;4866:7;4887:43;4891:1;4894;4887:43;;;;;;;;;;;;;;;;;:3;:43::i;20550:500::-;-1:-1:-1;;;;;20650:20:0;;20642:70;;;;-1:-1:-1;;;20642:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20725:23:0;;20717:71;;;;-1:-1:-1;;;20717:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20795:47;20816:6;20824:9;20835:6;20795:20;:47::i;:::-;20869:71;20891:6;20869:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20869:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;20849:17:0;;;:9;:17;;;;;;;;;;;:91;;;;20968:20;;;;;;;:32;;20993:6;20968:24;:32::i;:::-;-1:-1:-1;;;;;20945:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;21010:35;;;;;;;20945:20;;21010:35;;;;;;;;;;;;;20550:500;;;:::o;26869:288::-;26972:44;26999:4;27005:2;27009:6;26972:26;:44::i;:::-;-1:-1:-1;;;;;27027:18:0;;27023:130;;27113:4;;27084:25;27102:6;27084:13;:11;:13::i;:::-;:17;;:25::i;:::-;:33;;27076:71;;;;;-1:-1:-1;;;27076:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

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