POL Price: $0.407823 (-2.57%)
 

Sponsored

Transaction Hash
Method
Block
From
To
Approve615517012024-09-07 23:27:186 days ago1725751638IN
0xA7a7d9A2...884b30fBB
0 POL0.0013861830.00000002
Approve611074972024-08-27 16:33:3518 days ago1724776415IN
0xA7a7d9A2...884b30fBB
0 POL0.0017798138.51903973
Approve609012822024-08-22 12:45:5223 days ago1724330752IN
0xA7a7d9A2...884b30fBB
0 POL0.0008731830.00000007
Approve606555042024-08-16 10:08:2329 days ago1723802903IN
0xA7a7d9A2...884b30fBB
0 POL0.0014351730.86000005
Transfer593934162024-07-15 14:56:2061 days ago1721055380IN
0xA7a7d9A2...884b30fBB
0 POL0.0023864150.77256617
Approve593907842024-07-15 13:18:1061 days ago1721049490IN
0xA7a7d9A2...884b30fBB
0 POL0.0013951830.00000031
Transfer590417132024-07-06 20:32:0969 days ago1720297929IN
0xA7a7d9A2...884b30fBB
0 POL0.0011303637.80216224
Approve590027542024-07-05 21:16:3170 days ago1720214191IN
0xA7a7d9A2...884b30fBB
0 POL0.0013861830.00000004
Approve588680412024-07-02 12:24:3374 days ago1719923073IN
0xA7a7d9A2...884b30fBB
0 POL0.0013886730.06969956
Approve588672832024-07-02 11:56:5774 days ago1719921417IN
0xA7a7d9A2...884b30fBB
0 POL0.0013890330.06969942
Approve581327082024-06-14 1:43:4292 days ago1718329422IN
0xA7a7d9A2...884b30fBB
0 POL0.0022244648.14242986
Approve571455342024-05-19 12:13:55118 days ago1716120835IN
0xA7a7d9A2...884b30fBB
0 POL0.0013984330.07000371
Transfer571453932024-05-19 12:08:54118 days ago1716120534IN
0xA7a7d9A2...884b30fBB
0 POL0.0008412431.04000283
Approve569219462024-05-13 13:39:36124 days ago1715607576IN
0xA7a7d9A2...884b30fBB
0 POL0.0013951830.00020324
Transfer565998702024-05-05 8:42:26132 days ago1714898546IN
0xA7a7d9A2...884b30fBB
0 POL0.0014100630.00000016
Approve564318452024-04-30 19:24:44136 days ago1714505084IN
0xA7a7d9A2...884b30fBB
0 POL0.0019883168.31298593
Approve563788852024-04-29 8:38:00138 days ago1714379880IN
0xA7a7d9A2...884b30fBB
0 POL0.00303859104.3975987
Approve563448132024-04-28 10:08:24139 days ago1714298904IN
0xA7a7d9A2...884b30fBB
0 POL0.0029046299.79480168
Approve563175042024-04-27 15:55:39140 days ago1714233339IN
0xA7a7d9A2...884b30fBB
0 POL0.0024961585.76066797
Approve559933852024-04-19 4:42:51148 days ago1713501771IN
0xA7a7d9A2...884b30fBB
0 POL0.00888804192.35692987
Approve559263962024-04-17 11:39:11150 days ago1713353951IN
0xA7a7d9A2...884b30fBB
0 POL0.00751196162.57549498
Transfer556527462024-04-10 5:17:06157 days ago1712726226IN
0xA7a7d9A2...884b30fBB
0 POL0.00644128137.04279788
Approve556470832024-04-10 1:32:22157 days ago1712712742IN
0xA7a7d9A2...884b30fBB
0 POL0.00758977163.2
Approve556470832024-04-10 1:32:22157 days ago1712712742IN
0xA7a7d9A2...884b30fBB
0 POL0.00759908163.4
Approve556470562024-04-10 1:31:26157 days ago1712712686IN
0xA7a7d9A2...884b30fBB
0 POL0.0093012200
View all transactions

Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Corgidoge

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 polygonscan.com on 2021-10-16
*/

// SPDX-License-Identifier: MIT

/**
 * Website: https://corgiswap.org/
 * Website: https://corgidoge.com
 * Telegram: https://t.me/corgidoge_official
 * Telegram: https://t.me/corgidoge_news
 * Twitter: https://twitter.com/corgidogeestate
 */

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;
	}
}

pragma solidity ^0.6.0;

/**
 * @dev Interface of the BSC standard as defined in the EIP.
 */
interface IBSC {
	/**
	 * @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);
			}
		}
	}
}

pragma solidity ^0.6.0;

/**
 * @dev Implementation of the {IBSC} 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 {BSCPresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-BSC-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 BSC 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 {IBSC-approve}.
 */
contract BSC is Context, IBSC {
	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 = 8;
	}

	/**
	 * @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 {BSC} 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
	 * {IBSC-balanceOf} and {IBSC-transfer}.
	 */
	function decimals() public view returns (uint8) {
		return _decimals;
	}

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

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

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

	/**
	 * @dev See {IBSC-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 {IBSC-transferFrom}.
	 *
	 * Emits an {Approval} event indicating the updated allowance. This is not
	 * required by the EIP. See the note at the beginning of {BSC};
	 *
	 * 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, "BSC: 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 {IBSC-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 {IBSC-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, "BSC: 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), "BSC: transfer from the zero address");
		require(recipient != address(0), "BSC: transfer to the zero address");

		_beforeTokenTransfer(sender, recipient, amount);

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

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

		_balances[account] = _balances[account].sub(amount, "BSC: 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), "BSC: approve from the zero address");
		require(spender != address(0), "BSC: 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 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/Corgidoge.sol

pragma solidity 0.6.12;

// Corgidoge with Governance.
contract Corgidoge is BSC("Corgi doge", "CORGI"), Ownable {
	uint256 private _cap = 1e21;

	constructor() public {
		_mint(msg.sender, 1e21);
	}

	/**
	 * @dev Returns the max amount of tokens can mined.
	 */

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

	/**
	 * @dev Returns the amount of tokens can mine.
	 */

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

	/**
	 * @dev See {BSC-_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, "BSCCapped: 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 {
		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 {BSC-_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 {BSC-_burn} and {BSC-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, "BSC: burn amount exceeds allowance");

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

Contract Security Audit

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":"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":[{"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":[],"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"}]

6080604052683635c9adc5dea000006006553480156200001e57600080fd5b50604080518082018252600a815269436f72676920646f676560b01b602080830191825283518085019094526005845264434f52474960d81b9084015281519192916200006e9160039162000332565b5080516200008490600490602084019062000332565b50506005805460ff19166008179055506000620000a062000111565b60058054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506200010b33683635c9adc5dea0000062000115565b620003ce565b3390565b6001600160a01b03821662000171576040805162461bcd60e51b815260206004820152601d60248201527f4253433a206d696e7420746f20746865207a65726f2061646472657373000000604482015290519081900360640190fd5b6200017f6000838362000224565b6200019b81600254620002ca60201b620008f41790919060201c565b6002556001600160a01b03821660009081526020818152604090912054620001ce918390620008f4620002ca821b17901c565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6200023c838383620002c560201b620009551760201c565b6001600160a01b038316620002c55760065462000271826200025d6200032c565b620002ca60201b620008f41790919060201c565b1115620002c5576040805162461bcd60e51b815260206004820152601760248201527f4253434361707065643a20636170206578636565646564000000000000000000604482015290519081900360640190fd5b505050565b60008282018381101562000325576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60025490565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200037557805160ff1916838001178555620003a5565b82800160010185558215620003a5579182015b82811115620003a557825182559160200191906001019062000388565b50620003b3929150620003b7565b5090565b5b80821115620003b35760008155600101620003b8565b61108c80620003de6000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c806359cf1564116100a257806395d89b411161007157806395d89b4114610343578063a457c2d71461034b578063a9059cbb14610377578063dd62ed3e146103a3578063f2fde38b146103d157610116565b806359cf1564146102c557806370a08231146102cd57806379cc6790146102f35780638da5cb5b1461031f57610116565b8063313ce567116100e9578063313ce56714610228578063355274ea14610246578063395093511461024e57806340c10f191461027a57806342966c68146102a857610116565b806306fdde031461011b578063095ea7b31461019857806318160ddd146101d857806323b872dd146101f2575b600080fd5b6101236103f7565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561015d578181015183820152602001610145565b50505050905090810190601f16801561018a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101c4600480360360408110156101ae57600080fd5b506001600160a01b03813516906020013561048d565b604080519115158252519081900360200190f35b6101e06104aa565b60408051918252519081900360200190f35b6101c46004803603606081101561020857600080fd5b506001600160a01b038135811691602081013590911690604001356104b0565b610230610537565b6040805160ff9092168252519081900360200190f35b6101e0610540565b6101c46004803603604081101561026457600080fd5b506001600160a01b038135169060200135610546565b6102a66004803603604081101561029057600080fd5b506001600160a01b038135169060200135610594565b005b6101c4600480360360208110156102be57600080fd5b5035610611565b6101e061062c565b6101e0600480360360208110156102e357600080fd5b50356001600160a01b031661064c565b6101c46004803603604081101561030957600080fd5b506001600160a01b038135169060200135610667565b6103276106bd565b604080516001600160a01b039092168252519081900360200190f35b6101236106d1565b6101c46004803603604081101561036157600080fd5b506001600160a01b038135169060200135610732565b6101c46004803603604081101561038d57600080fd5b506001600160a01b03813516906020013561079a565b6101e0600480360360408110156103b957600080fd5b506001600160a01b03813581169160200135166107ae565b6102a6600480360360208110156103e757600080fd5b50356001600160a01b03166107d9565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104835780601f1061045857610100808354040283529160200191610483565b820191906000526020600020905b81548152906001019060200180831161046657829003601f168201915b5050505050905090565b60006104a161049a61095a565b848461095e565b50600192915050565b60025490565b60006104bd848484610a60565b61052d846104c961095a565b61052885604051806060016040528060268152602001610fa9602691396001600160a01b038a1660009081526001602052604081209061050761095a565b6001600160a01b031681526020810191909152604001600020549190610a6b565b61095e565b5060019392505050565b60055460ff1690565b60065490565b60006104a161055361095a565b84610528856001600061056461095a565b6001600160a01b03908116825260208083019390935260409182016000908120918c1681529252902054906108f4565b61059c61095a565b60055461010090046001600160a01b03908116911614610603576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61060d8282610b02565b5050565b600061062461061e61095a565b83610bf2565b506001919050565b60006106476106396104aa565b610641610540565b90610d1d565b905090565b6001600160a01b031660009081526020819052604090205490565b60008061069f83604051806060016040528060228152602001611035602291396106988761069361095a565b6107ae565b9190610a6b565b90506106b3846106ad61095a565b8361095e565b61052d8484610bf2565b60055461010090046001600160a01b031690565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104835780601f1061045857610100808354040283529160200191610483565b60006104a161073f61095a565b8461052885604051806060016040528060238152602001610f3c602391396001600061076961095a565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610a6b565b60006104a16107a761095a565b8484610a60565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6107e161095a565b60055461010090046001600160a01b03908116911614610848576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b03811661088d5760405162461bcd60e51b8152600401808060200182810382526026815260200180610f5f6026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b60008282018381101561094e576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b505050565b3390565b6001600160a01b0383166109a35760405162461bcd60e51b8152600401808060200182810382526022815260200180610fcf6022913960400191505060405180910390fd5b6001600160a01b0382166109fe576040805162461bcd60e51b815260206004820181905260248201527f4253433a20617070726f766520746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b610955838383610d5f565b60008184841115610afa5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610abf578181015183820152602001610aa7565b50505050905090810190601f168015610aec5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b038216610b5d576040805162461bcd60e51b815260206004820152601d60248201527f4253433a206d696e7420746f20746865207a65726f2061646472657373000000604482015290519081900360640190fd5b610b6960008383610eba565b600254610b7690826108f4565b6002556001600160a01b038216600090815260208190526040902054610b9c90826108f4565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b038216610c4d576040805162461bcd60e51b815260206004820152601f60248201527f4253433a206275726e2066726f6d20746865207a65726f206164647265737300604482015290519081900360640190fd5b610c5982600083610eba565b60408051808201825260208082527f4253433a206275726e20616d6f756e7420657863656564732062616c616e6365818301526001600160a01b0385166000908152908190529190912054610caf918390610a6b565b6001600160a01b038316600090815260208190526040902055600254610cd59082610d1d565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600061094e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610a6b565b6001600160a01b038316610da45760405162461bcd60e51b81526004018080602001828103825260238152602001806110126023913960400191505060405180910390fd5b6001600160a01b038216610de95760405162461bcd60e51b8152600401808060200182810382526021815260200180610ff16021913960400191505060405180910390fd5b610df4838383610eba565b610e3181604051806060016040528060248152602001610f85602491396001600160a01b0386166000908152602081905260409020549190610a6b565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610e6090826108f4565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b610ec5838383610955565b6001600160a01b03831661095557600654610ee882610ee26104aa565b906108f4565b1115610955576040805162461bcd60e51b815260206004820152601760248201527f4253434361707065643a20636170206578636565646564000000000000000000604482015290519081900360640190fdfe4253433a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734253433a207472616e7366657220616d6f756e7420657863656564732062616c616e63654253433a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654253433a20617070726f76652066726f6d20746865207a65726f20616464726573734253433a207472616e7366657220746f20746865207a65726f20616464726573734253433a207472616e736665722066726f6d20746865207a65726f20616464726573734253433a206275726e20616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220df16acfcec62938c9ca5326b5d5d95d4522b8f260157f1ade65c109934d83d8b64736f6c634300060c0033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101165760003560e01c806359cf1564116100a257806395d89b411161007157806395d89b4114610343578063a457c2d71461034b578063a9059cbb14610377578063dd62ed3e146103a3578063f2fde38b146103d157610116565b806359cf1564146102c557806370a08231146102cd57806379cc6790146102f35780638da5cb5b1461031f57610116565b8063313ce567116100e9578063313ce56714610228578063355274ea14610246578063395093511461024e57806340c10f191461027a57806342966c68146102a857610116565b806306fdde031461011b578063095ea7b31461019857806318160ddd146101d857806323b872dd146101f2575b600080fd5b6101236103f7565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561015d578181015183820152602001610145565b50505050905090810190601f16801561018a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101c4600480360360408110156101ae57600080fd5b506001600160a01b03813516906020013561048d565b604080519115158252519081900360200190f35b6101e06104aa565b60408051918252519081900360200190f35b6101c46004803603606081101561020857600080fd5b506001600160a01b038135811691602081013590911690604001356104b0565b610230610537565b6040805160ff9092168252519081900360200190f35b6101e0610540565b6101c46004803603604081101561026457600080fd5b506001600160a01b038135169060200135610546565b6102a66004803603604081101561029057600080fd5b506001600160a01b038135169060200135610594565b005b6101c4600480360360208110156102be57600080fd5b5035610611565b6101e061062c565b6101e0600480360360208110156102e357600080fd5b50356001600160a01b031661064c565b6101c46004803603604081101561030957600080fd5b506001600160a01b038135169060200135610667565b6103276106bd565b604080516001600160a01b039092168252519081900360200190f35b6101236106d1565b6101c46004803603604081101561036157600080fd5b506001600160a01b038135169060200135610732565b6101c46004803603604081101561038d57600080fd5b506001600160a01b03813516906020013561079a565b6101e0600480360360408110156103b957600080fd5b506001600160a01b03813581169160200135166107ae565b6102a6600480360360208110156103e757600080fd5b50356001600160a01b03166107d9565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104835780601f1061045857610100808354040283529160200191610483565b820191906000526020600020905b81548152906001019060200180831161046657829003601f168201915b5050505050905090565b60006104a161049a61095a565b848461095e565b50600192915050565b60025490565b60006104bd848484610a60565b61052d846104c961095a565b61052885604051806060016040528060268152602001610fa9602691396001600160a01b038a1660009081526001602052604081209061050761095a565b6001600160a01b031681526020810191909152604001600020549190610a6b565b61095e565b5060019392505050565b60055460ff1690565b60065490565b60006104a161055361095a565b84610528856001600061056461095a565b6001600160a01b03908116825260208083019390935260409182016000908120918c1681529252902054906108f4565b61059c61095a565b60055461010090046001600160a01b03908116911614610603576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61060d8282610b02565b5050565b600061062461061e61095a565b83610bf2565b506001919050565b60006106476106396104aa565b610641610540565b90610d1d565b905090565b6001600160a01b031660009081526020819052604090205490565b60008061069f83604051806060016040528060228152602001611035602291396106988761069361095a565b6107ae565b9190610a6b565b90506106b3846106ad61095a565b8361095e565b61052d8484610bf2565b60055461010090046001600160a01b031690565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104835780601f1061045857610100808354040283529160200191610483565b60006104a161073f61095a565b8461052885604051806060016040528060238152602001610f3c602391396001600061076961095a565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610a6b565b60006104a16107a761095a565b8484610a60565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6107e161095a565b60055461010090046001600160a01b03908116911614610848576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b03811661088d5760405162461bcd60e51b8152600401808060200182810382526026815260200180610f5f6026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b60008282018381101561094e576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b505050565b3390565b6001600160a01b0383166109a35760405162461bcd60e51b8152600401808060200182810382526022815260200180610fcf6022913960400191505060405180910390fd5b6001600160a01b0382166109fe576040805162461bcd60e51b815260206004820181905260248201527f4253433a20617070726f766520746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b610955838383610d5f565b60008184841115610afa5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610abf578181015183820152602001610aa7565b50505050905090810190601f168015610aec5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b038216610b5d576040805162461bcd60e51b815260206004820152601d60248201527f4253433a206d696e7420746f20746865207a65726f2061646472657373000000604482015290519081900360640190fd5b610b6960008383610eba565b600254610b7690826108f4565b6002556001600160a01b038216600090815260208190526040902054610b9c90826108f4565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b038216610c4d576040805162461bcd60e51b815260206004820152601f60248201527f4253433a206275726e2066726f6d20746865207a65726f206164647265737300604482015290519081900360640190fd5b610c5982600083610eba565b60408051808201825260208082527f4253433a206275726e20616d6f756e7420657863656564732062616c616e6365818301526001600160a01b0385166000908152908190529190912054610caf918390610a6b565b6001600160a01b038316600090815260208190526040902055600254610cd59082610d1d565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600061094e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610a6b565b6001600160a01b038316610da45760405162461bcd60e51b81526004018080602001828103825260238152602001806110126023913960400191505060405180910390fd5b6001600160a01b038216610de95760405162461bcd60e51b8152600401808060200182810382526021815260200180610ff16021913960400191505060405180910390fd5b610df4838383610eba565b610e3181604051806060016040528060248152602001610f85602491396001600160a01b0386166000908152602081905260409020549190610a6b565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610e6090826108f4565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b610ec5838383610955565b6001600160a01b03831661095557600654610ee882610ee26104aa565b906108f4565b1115610955576040805162461bcd60e51b815260206004820152601760248201527f4253434361707065643a20636170206578636565646564000000000000000000604482015290519081900360640190fdfe4253433a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734253433a207472616e7366657220616d6f756e7420657863656564732062616c616e63654253433a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654253433a20617070726f76652066726f6d20746865207a65726f20616464726573734253433a207472616e7366657220746f20746865207a65726f20616464726573734253433a207472616e736665722066726f6d20746865207a65726f20616464726573734253433a206275726e20616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220df16acfcec62938c9ca5326b5d5d95d4522b8f260157f1ade65c109934d83d8b64736f6c634300060c0033

Deployed Bytecode Sourcemap

25921:2470:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16157:74;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18034:154;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;18034:154:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;17128:91;;;:::i;:::-;;;;;;;;;;;;;;;;18619:298;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;18619:298:0;;;;;;;;;;;;;;;;;:::i;17003:74::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;26143:66;;;:::i;19285:203::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;19285:203:0;;;;;;;;:::i;27507:90::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;27507:90:0;;;;;;;;:::i;:::-;;27693:113;;;;;;;;;;;;;;;;-1:-1:-1;27693:113:0;;:::i;26277:90::-;;;:::i;17268:110::-;;;;;;;;;;;;;;;;-1:-1:-1;17268:110:0;-1:-1:-1;;;;;17268:110:0;;:::i;28085:303::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;28085:303:0;;;;;;;;:::i;25202:70::-;;;:::i;:::-;;;;-1:-1:-1;;;;;25202:70:0;;;;;;;;;;;;;;16335:78;;;:::i;19944:252::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;19944:252:0;;;;;;;;:::i;17562:160::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;17562:160:0;;;;;;;;:::i;17771:142::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;17771:142:0;;;;;;;;;;:::i;25597:223::-;;;;;;;;;;;;;;;;-1:-1:-1;25597:223:0;-1:-1:-1;;;;;25597:223:0;;:::i;16157:74::-;16221:5;16214:12;;;;;;;;-1:-1:-1;;16214:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16194:13;;16214:12;;16221:5;;16214:12;;16221:5;16214:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16157:74;:::o;18034:154::-;18117:4;18128:39;18137:12;:10;:12::i;:::-;18151:7;18160:6;18128:8;:39::i;:::-;-1:-1:-1;18179:4:0;18034:154;;;;:::o;17128:91::-;17202:12;;17128:91;:::o;18619:298::-;18725:4;18736:36;18746:6;18754:9;18765:6;18736:9;:36::i;:::-;18777:119;18786:6;18794:12;:10;:12::i;:::-;18808:87;18846:6;18808:87;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18808:19:0;;;;;;:11;:19;;;;;;18828:12;:10;:12::i;:::-;-1:-1:-1;;;;;18808:33:0;;;;;;;;;;;;-1:-1:-1;18808:33:0;;;:87;:37;:87::i;:::-;18777:8;:119::i;:::-;-1:-1:-1;18908:4:0;18619:298;;;;;:::o;17003:74::-;17063:9;;;;17003:74;:::o;26143:66::-;26200:4;;26143:66;:::o;19285:203::-;19373:4;19384:83;19393:12;:10;:12::i;:::-;19407:7;19416:50;19455:10;19416:11;:25;19428:12;:10;:12::i;:::-;-1:-1:-1;;;;;19416:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;19416:25:0;;;:34;;;;;;;;;;;:38;:50::i;27507:90::-;25397:12;:10;:12::i;:::-;25387:6;;;;;-1:-1:-1;;;;;25387:6:0;;;:22;;;25379:67;;;;;-1:-1:-1;;;25379:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27573:19:::1;27579:3;27584:7;27573:5;:19::i;:::-;27507:90:::0;;:::o;27693:113::-;27747:4;27758:27;27764:12;:10;:12::i;:::-;27778:6;27758:5;:27::i;:::-;-1:-1:-1;27797:4:0;27693:113;;;:::o;26277:90::-;26317:7;26338:24;26348:13;:11;:13::i;:::-;26338:5;:3;:5::i;:::-;:9;;:24::i;:::-;26331:31;;26277:90;:::o;17268:110::-;-1:-1:-1;;;;;17355:18:0;17334:7;17355:18;;;;;;;;;;;;17268:110::o;28085:303::-;28160:4;28171:26;28200:82;28237:6;28200:82;;;;;;;;;;;;;;;;;:32;28210:7;28219:12;:10;:12::i;:::-;28200:9;:32::i;:::-;:36;:82;:36;:82::i;:::-;28171:111;;28289:51;28298:7;28307:12;:10;:12::i;:::-;28321:18;28289:8;:51::i;:::-;28345:22;28351:7;28360:6;28345:5;:22::i;25202:70::-;25261:6;;;;;-1:-1:-1;;;;;25261:6:0;;25202:70::o;16335:78::-;16401:7;16394:14;;;;;;;;-1:-1:-1;;16394:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16374:13;;16394:14;;16401:7;;16394:14;;16401:7;16394:14;;;;;;;;;;;;;;;;;;;;;;;;19944:252;20037:4;20048:127;20057:12;:10;:12::i;:::-;20071:7;20080:94;20119:15;20080:94;;;;;;;;;;;;;;;;;:11;:25;20092:12;:10;:12::i;:::-;-1:-1:-1;;;;;20080:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;20080:25:0;;;:34;;;;;;;;;;;:94;:38;:94::i;17562:160::-;17648:4;17659:42;17669:12;:10;:12::i;:::-;17683:9;17694:6;17659:9;:42::i;17771:142::-;-1:-1:-1;;;;;17881:18:0;;;17860:7;17881:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;17771:142::o;25597:223::-;25397:12;:10;:12::i;:::-;25387:6;;;;;-1:-1:-1;;;;;25387:6:0;;;:22;;;25379:67;;;;;-1:-1:-1;;;25379:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25680:22:0;::::1;25672:73;;;;-1:-1:-1::0;;;25672:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25776:6;::::0;25755:38:::1;::::0;-1:-1:-1;;;;;25755:38:0;;::::1;::::0;25776:6:::1;::::0;::::1;;::::0;25755:38:::1;::::0;;;::::1;25798:6;:17:::0;;-1:-1:-1;;;;;25798:17:0;;::::1;;;-1:-1:-1::0;;;;;;25798:17:0;;::::1;::::0;;;::::1;::::0;;25597:223::o;4590:160::-;4648:7;4674:5;;;4692:6;;;;4684:46;;;;;-1:-1:-1;;;4684:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4744:1;4590:160;-1:-1:-1;;;4590:160:0:o;24064:92::-;;;;:::o;822:97::-;904:10;822:97;:::o;22802:315::-;-1:-1:-1;;;;;22898:19:0;;22890:66;;;;-1:-1:-1;;;22890:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22969:21:0;;22961:66;;;;;-1:-1:-1;;;22961:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;23034:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;23080:32;;;;;;;;;;;;;;;;;22802:315;;;:::o;27259:148::-;27360:42;27376:6;27384:9;27395:6;27360:15;:42::i;5397:171::-;5483:7;5513:12;5505:6;;;;5497:29;;;;-1:-1:-1;;;5497:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5543:5:0;;;5397:171::o;21386:343::-;-1:-1:-1;;;;;21464:21:0;;21456:63;;;;;-1:-1:-1;;;21456:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;21526:49;21555:1;21559:7;21568:6;21526:20;:49::i;:::-;21597:12;;:24;;21614:6;21597:16;:24::i;:::-;21582:12;:39;-1:-1:-1;;;;;21647:18:0;;:9;:18;;;;;;;;;;;:30;;21670:6;21647:22;:30::i;:::-;-1:-1:-1;;;;;21626:18:0;;:9;:18;;;;;;;;;;;:51;;;;21687:37;;;;;;;21626:18;;:9;;21687:37;;;;;;;;;;21386:343;;:::o;22025:381::-;-1:-1:-1;;;;;22103:21:0;;22095:65;;;;;-1:-1:-1;;;22095:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;22167:49;22188:7;22205:1;22209:6;22167:20;:49::i;:::-;22244:66;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22244:18:0;;-1:-1:-1;22244:18:0;;;;;;;;;;;;:66;;22267:6;;22244:22;:66::i;:::-;-1:-1:-1;;;;;22223:18:0;;:9;:18;;;;;;;;;;:87;22330:12;;:24;;22347:6;22330:16;:24::i;:::-;22315:12;:39;22364:37;;;;;;;;22390:1;;-1:-1:-1;;;;;22364:37:0;;;;;;;;;;;;22025:381;;:::o;5000:127::-;5058:7;5079:43;5083:1;5086;5079:43;;;;;;;;;;;;;;;;;:3;:43::i;20641:494::-;-1:-1:-1;;;;;20741:20:0;;20733:68;;;;-1:-1:-1;;;20733:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20814:23:0;;20806:69;;;;-1:-1:-1;;;20806:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20882:47;20903:6;20911:9;20922:6;20882:20;:47::i;:::-;20956:69;20978:6;20956:69;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20956:17:0;;:9;:17;;;;;;;;;;;;:69;:21;:69::i;:::-;-1:-1:-1;;;;;20936:17:0;;;:9;:17;;;;;;;;;;;:89;;;;21053:20;;;;;;;:32;;21078:6;21053:24;:32::i;:::-;-1:-1:-1;;;;;21030:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;21095:35;;;;;;;21030:20;;21095:35;;;;;;;;;;;;;20641:494;;;:::o;26528:286::-;26631:44;26658:4;26664:2;26668:6;26631:26;:44::i;:::-;-1:-1:-1;;;;;26686:18:0;;26682:128;;26772:4;;26743:25;26761:6;26743:13;:11;:13::i;:::-;:17;;:25::i;:::-;:33;;26735:69;;;;;-1:-1:-1;;;26735:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://df16acfcec62938c9ca5326b5d5d95d4522b8f260157f1ade65c109934d83d8b

Block Transaction Gas Used Reward
view all blocks produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.