Contract 0x1fad86967ed905a0c61991d4afcc4efcaed37cc6

 
Txn Hash
Block
From
To
Value [Txn Fee]
0x4c343262dd84b09d55fce9622540a3314b8e49f67dee06b3a490982437988ac071581862021-05-05 12:39:381 day 9 hrs ago0x03a282746a66c9ccc3050384187f2e9ea2fcc1e6 IN  0x1fad86967ed905a0c61991d4afcc4efcaed37cc60 BNB0.000221915
0x99e61c1aa2caaf62c554454b09e2fb3f7e74a47ccb4e859bc9863a4a8417af1471379872021-05-04 19:40:512 days 2 hrs ago0xff8faecfbc3f2e5675e2d896b11b2daa8faf8a76 IN  0x1fad86967ed905a0c61991d4afcc4efcaed37cc60 BNB0.000221915
0x7f4c2b8e55db3345c583ddc276cb05cc45cf2daa980dee5d055296ed3bc4041770788982021-05-02 17:57:384 days 4 hrs ago0x2735348760b58749924df6dd6f6fcf134d80446c IN  0x1fad86967ed905a0c61991d4afcc4efcaed37cc60 BNB0.000221915
0x3b0ba474656d9c2aeeb2d5352804eb8e0ab7bb157f44ff1009d8cb2bd5e7381c70727862021-05-02 12:43:374 days 9 hrs ago0x62dadcf8a2f1d8dece4a8e57092ebc922598cac2 IN  0x1fad86967ed905a0c61991d4afcc4efcaed37cc60 BNB0.000221915
0x6873bd413b125699579cbc9c16e4fbce0b0d38ecd29d1cb1d0d83a4deabef00e70539312021-05-01 20:57:505 days 1 hr ago0x503dce939bb9d47ce09f0f16630062875ad05759 IN  0x1fad86967ed905a0c61991d4afcc4efcaed37cc60 BNB0.000181175
0x7e32b94a29130b39663a72a93e5c78b3a17c923a1633a78d67ce4648bb94a69270476022021-05-01 15:36:005 days 6 hrs ago0xbf3553d81e39038c323fbc59036b2b0cc48f7801 IN  0x1fad86967ed905a0c61991d4afcc4efcaed37cc60 BNB0.000221915
0x8ab5a1b76e4fa582c681bef67c8f18eb2ea65dcebd289cc74633deb06299fc9e70284682021-04-30 23:35:145 days 22 hrs ago0x17af32653c1312c4dc419923181cb8d4a1026a0b IN  0x1fad86967ed905a0c61991d4afcc4efcaed37cc60 BNB0.000221915
0x54e0b0c42d418981446273bdf2fe9e98997a716000e9e778a2b546bec60ac73a70201852021-04-30 16:33:386 days 5 hrs ago0x111c19efa7b0a2cdb877c73eeb373f288d1bdae0 IN  0x1fad86967ed905a0c61991d4afcc4efcaed37cc60 BNB0.000221915
0x96d3944cfacd3583648c7675ab654b679810064a990bc71126bd5908ba8e230370150552021-04-30 12:02:286 days 10 hrs ago0x10e4bc78666746ded6f57cc2d7e145166d523f51 IN  0x1fad86967ed905a0c61991d4afcc4efcaed37cc60 BNB0.000221915
0xa4a4f3da0767485fc4126dbb8f9b79703d91804a982fd6d80ec13e5e46040e9170136992021-04-30 10:53:466 days 11 hrs ago0x0f80a7d9f15005312ee1a8bf28aac7227746e5ac IN  0x1fad86967ed905a0c61991d4afcc4efcaed37cc60 BNB0.000221915
0x2019bd2ed8fab1130654285644eb402e35b764c6b78eaa6d95cfb8ae024585b270056832021-04-30 4:07:186 days 18 hrs ago0xbd6175c457cbc407c76b94c4504664e03b837c76 IN  0x1fad86967ed905a0c61991d4afcc4efcaed37cc60 BNB0.000266298
0x42e93003cb7ee242363568c7bdd707a5cf08f7b703c6acedf8b9c7a8085329a269912882021-04-29 16:00:257 days 6 hrs ago0x33b88e0b705a27dd9a4c98f2ec4d5fc2529b0b77 IN  0x1fad86967ed905a0c61991d4afcc4efcaed37cc60 BNB0.000221915
0x4ece63d1fdf837a1a3dd60a1b5ea7f81f34b539cf6b114264090e5d9417cab7769750482021-04-29 2:23:477 days 20 hrs ago0xe52ce90b9816e4501eb2a841ebe6a2bafdf79b6a IN  0x1fad86967ed905a0c61991d4afcc4efcaed37cc60 BNB0.000221915
0x73555259554fb15f8b9484f69d06ae3800cdcccbbbeeb662b61b5fbea6451c6569677602021-04-28 20:18:408 days 2 hrs ago0x19cde4d7e2e1f699dc1f213415a9c2386dae9249 IN  0x1fad86967ed905a0c61991d4afcc4efcaed37cc60 BNB0.000221915
0xbf2fd10c92c93928fadc99bb0069b714483e9e1fc86e8f8de417a1b41cb5c30a69649772021-04-28 17:58:538 days 4 hrs ago0x3a12a78d7e24475cf65392ee34d810b4a4bd7803 IN  0x1fad86967ed905a0c61991d4afcc4efcaed37cc60 BNB0.000221915
0x4680d5a7f81f3a7971c290dcea3839866ea4ab1c11c69bca76e0f91792a401ea69595082021-04-28 13:22:568 days 9 hrs ago0x72a4bdbef18fc6df8c76662387209213e138f84d IN  0x1fad86967ed905a0c61991d4afcc4efcaed37cc60 BNB0.000221915
0x20e72fbe71fe35fea205cac366f109eda0f43f387a9ff66cd351998b52533a2269478352021-04-28 3:36:558 days 18 hrs ago0xe80ad7cc30a01d99e2fc806186475ba9f071ad2b IN  0x1fad86967ed905a0c61991d4afcc4efcaed37cc60 BNB0.000221915
0xaadc54a8487edeeeabd67ec20568765521c85d705f1d688c5f56c2f9b89c1dc869447402021-04-28 1:01:578 days 21 hrs ago0x151ad33f5ee346263955d47734b5200817a946d7 IN  0x1fad86967ed905a0c61991d4afcc4efcaed37cc60 BNB0.000221915
0x520e36890022e4bff966d35d3354094fb537f74b2b7094562e94c03507ad317e69399062021-04-27 21:00:139 days 1 hr ago0xd00a7a9cc29c47f0b7d0f39ad080da7934aa3c98 IN  0x1fad86967ed905a0c61991d4afcc4efcaed37cc60 BNB0.000221915
0xd3e292c98b8a68d81fc644f6e787a881cf4d82277238ffe4cca7129496fd985169375512021-04-27 19:00:299 days 3 hrs ago0xd1774ee5cac02d9369bd667608904d3f82981d89 IN  0x1fad86967ed905a0c61991d4afcc4efcaed37cc60 BNB0.0000725
0xf725463dabb42181137630af0594c3d260db265acbbfe617c3889eded50f82e569334782021-04-27 15:35:339 days 6 hrs ago0xed8b66868fad5aafa7827783a51de2a25e2e548d IN  0x1fad86967ed905a0c61991d4afcc4efcaed37cc60 BNB0.000221915
0x0e6941494d201a3d44fe5dc935a728bd92692820eac5d09f0fb3dc83af05ef9b69298572021-04-27 12:26:519 days 9 hrs ago0x914107bcb8279acc7f789e95c81083b464d64d8d IN  0x1fad86967ed905a0c61991d4afcc4efcaed37cc60 BNB0.000221915
0x52477e8adf7f90c27d0d6c5263786a55a33c320dee02111aa1f0ac199b8ea94169297152021-04-27 12:19:459 days 10 hrs ago0x8e68c60d0215dd12b2b40463c163052ec02e409c IN  0x1fad86967ed905a0c61991d4afcc4efcaed37cc60 BNB0.000125915
0x665c65fe88d452198354952237bf6f2d65e713a3f345ace4954a3e79e540489769296972021-04-27 12:18:519 days 10 hrs ago0x8e68c60d0215dd12b2b40463c163052ec02e409c IN  0x1fad86967ed905a0c61991d4afcc4efcaed37cc60 BNB0.000221915
0x07d3d90bf9bf07d43d31049b14254f42330936237eda9d519feafcbd35c2730569267552021-04-27 9:51:189 days 12 hrs ago0xc8bd9d35a3fea4868797a5b5d7f89fb58ade841e IN  0x1fad86967ed905a0c61991d4afcc4efcaed37cc60 BNB0.000221915
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PuppyShelter

Compiler Version
v0.7.1+commit.f4a555be

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-04-23
*/

/**
 *Submitted for verification at Etherscan.io on 2021-04-23
*/

// File: @openzeppelin/contracts/utils/Context.sol

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.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 <0.8.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 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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


pragma solidity >=0.6.0 <0.8.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;

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(sender, recipient, amount);

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

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

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

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

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

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

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

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

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

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

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

// File: contracts/PuppyShelter.sol

// contracts/PuppyShelter.sol
pragma solidity ^0.7.1;


contract PuppyShelter is ERC20 {
    constructor() ERC20("PuppyShelter", "PUPPY") public {
        _mint(msg.sender, 10e32);
    }
}

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":"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":[],"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":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"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"}]

608060405234801561001057600080fd5b50604080518082018252600c81526b283ab8383ca9b432b63a32b960a11b602080830191825283518085019094526005845264505550505960d81b9084015281519192916100609160039161020d565b50805161007490600490602084019061020d565b50506005805460ff191660121790555061009c336d314dc6448d9338c15b0a000000006100a1565b6102a0565b6001600160a01b0382166100fc576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b610108600083836101a7565b610121816002546101ac60201b6105731790919060201c565b6002556001600160a01b038216600090815260208181526040909120546101519183906105736101ac821b17901c565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b505050565b600082820183811015610206576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061024e57805160ff191683800117855561027b565b8280016001018555821561027b579182015b8281111561027b578251825591602001919060010190610260565b5061028792915061028b565b5090565b5b80821115610287576000815560010161028c565b6109f280620002b06000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c8063395093511161007157806339509351146101d957806370a082311461020557806395d89b411461022b578063a457c2d714610233578063a9059cbb1461025f578063dd62ed3e1461028b576100a9565b806306fdde03146100ae578063095ea7b31461012b57806318160ddd1461016b57806323b872dd14610185578063313ce567146101bb575b600080fd5b6100b66102b9565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100f05781810151838201526020016100d8565b50505050905090810190601f16801561011d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101576004803603604081101561014157600080fd5b506001600160a01b03813516906020013561034f565b604080519115158252519081900360200190f35b61017361036c565b60408051918252519081900360200190f35b6101576004803603606081101561019b57600080fd5b506001600160a01b03813581169160208101359091169060400135610372565b6101c36103f9565b6040805160ff9092168252519081900360200190f35b610157600480360360408110156101ef57600080fd5b506001600160a01b038135169060200135610402565b6101736004803603602081101561021b57600080fd5b50356001600160a01b0316610450565b6100b661046b565b6101576004803603604081101561024957600080fd5b506001600160a01b0381351690602001356104cc565b6101576004803603604081101561027557600080fd5b506001600160a01b038135169060200135610534565b610173600480360360408110156102a157600080fd5b506001600160a01b0381358116916020013516610548565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156103455780601f1061031a57610100808354040283529160200191610345565b820191906000526020600020905b81548152906001019060200180831161032857829003601f168201915b5050505050905090565b600061036361035c6105d4565b84846105d8565b50600192915050565b60025490565b600061037f8484846106c4565b6103ef8461038b6105d4565b6103ea85604051806060016040528060288152602001610927602891396001600160a01b038a166000908152600160205260408120906103c96105d4565b6001600160a01b03168152602081019190915260400160002054919061081f565b6105d8565b5060019392505050565b60055460ff1690565b600061036361040f6105d4565b846103ea85600160006104206105d4565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610573565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156103455780601f1061031a57610100808354040283529160200191610345565b60006103636104d96105d4565b846103ea8560405180606001604052806025815260200161099860259139600160006105036105d4565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919061081f565b60006103636105416105d4565b84846106c4565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6000828201838110156105cd576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b03831661061d5760405162461bcd60e51b81526004018080602001828103825260248152602001806109746024913960400191505060405180910390fd5b6001600160a01b0382166106625760405162461bcd60e51b81526004018080602001828103825260228152602001806108df6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166107095760405162461bcd60e51b815260040180806020018281038252602581526020018061094f6025913960400191505060405180910390fd5b6001600160a01b03821661074e5760405162461bcd60e51b81526004018080602001828103825260238152602001806108bc6023913960400191505060405180910390fd5b6107598383836108b6565b61079681604051806060016040528060268152602001610901602691396001600160a01b038616600090815260208190526040902054919061081f565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107c59082610573565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108ae5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561087357818101518382015260200161085b565b50505050905090810190601f1680156108a05780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220d236099a873b7b129d866612a78c24e5e505a81d9fb999bbfa77f01869a41dd464736f6c63430007010033

Deployed ByteCode Sourcemap

22501:136:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13529:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15675:169;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15675:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;14628:108;;;:::i;:::-;;;;;;;;;;;;;;;;16326:321;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;16326:321:0;;;;;;;;;;;;;;;;;:::i;14472:91::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;17056:218;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;17056:218:0;;;;;;;;:::i;14799:127::-;;;;;;;;;;;;;;;;-1:-1:-1;14799:127:0;-1:-1:-1;;;;;14799:127:0;;:::i;13739:95::-;;;:::i;17777:269::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;17777:269:0;;;;;;;;:::i;15139:175::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15139:175:0;;;;;;;;:::i;15377:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15377:151:0;;;;;;;;;;:::i;13529:91::-;13607:5;13600:12;;;;;;;;-1:-1:-1;;13600:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13574:13;;13600:12;;13607:5;;13600:12;;13607:5;13600:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13529:91;:::o;15675:169::-;15758:4;15775:39;15784:12;:10;:12::i;:::-;15798:7;15807:6;15775:8;:39::i;:::-;-1:-1:-1;15832:4:0;15675:169;;;;:::o;14628:108::-;14716:12;;14628:108;:::o;16326:321::-;16432:4;16449:36;16459:6;16467:9;16478:6;16449:9;:36::i;:::-;16496:121;16505:6;16513:12;:10;:12::i;:::-;16527:89;16565:6;16527:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16527:19:0;;;;;;:11;:19;;;;;;16547:12;:10;:12::i;:::-;-1:-1:-1;;;;;16527:33:0;;;;;;;;;;;;-1:-1:-1;16527:33:0;;;:89;:37;:89::i;:::-;16496:8;:121::i;:::-;-1:-1:-1;16635:4:0;16326:321;;;;;:::o;14472:91::-;14546:9;;;;14472:91;:::o;17056:218::-;17144:4;17161:83;17170:12;:10;:12::i;:::-;17184:7;17193:50;17232:10;17193:11;:25;17205:12;:10;:12::i;:::-;-1:-1:-1;;;;;17193:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;17193:25:0;;;:34;;;;;;;;;;;:38;:50::i;14799:127::-;-1:-1:-1;;;;;14900:18:0;14873:7;14900:18;;;;;;;;;;;;14799:127::o;13739:95::-;13819:7;13812:14;;;;;;;;-1:-1:-1;;13812:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13786:13;;13812:14;;13819:7;;13812:14;;13819:7;13812:14;;;;;;;;;;;;;;;;;;;;;;;;17777:269;17870:4;17887:129;17896:12;:10;:12::i;:::-;17910:7;17919:96;17958:15;17919:96;;;;;;;;;;;;;;;;;:11;:25;17931:12;:10;:12::i;:::-;-1:-1:-1;;;;;17919:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;17919:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;15139:175::-;15225:4;15242:42;15252:12;:10;:12::i;:::-;15266:9;15277:6;15242:9;:42::i;15377:151::-;-1:-1:-1;;;;;15493:18:0;;;15466:7;15493:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;15377:151::o;6696:179::-;6754:7;6786:5;;;6810:6;;;;6802:46;;;;;-1:-1:-1;;;6802:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;6866:1;6696:179;-1:-1:-1;;;6696:179:0:o;738:106::-;826:10;738:106;:::o;20924:346::-;-1:-1:-1;;;;;21026:19:0;;21018:68;;;;-1:-1:-1;;;21018:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21105:21:0;;21097:68;;;;-1:-1:-1;;;21097:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21178:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;21230:32;;;;;;;;;;;;;;;;;20924:346;;;:::o;18536:539::-;-1:-1:-1;;;;;18642:20:0;;18634:70;;;;-1:-1:-1;;;18634:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18723:23:0;;18715:71;;;;-1:-1:-1;;;18715:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18799:47;18820:6;18828:9;18839:6;18799:20;:47::i;:::-;18879:71;18901:6;18879:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18879:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;18859:17:0;;;:9;:17;;;;;;;;;;;:91;;;;18984:20;;;;;;;:32;;19009:6;18984:24;:32::i;:::-;-1:-1:-1;;;;;18961:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;19032:35;;;;;;;18961:20;;19032:35;;;;;;;;;;;;;18536:539;;;:::o;9523:166::-;9609:7;9645:12;9637:6;;;;9629:29;;;;-1:-1:-1;;;9629:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;9676:5:0;;;9523:166::o;22303:92::-;;;;:::o

Swarm Source

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