Contract 0x7b81730d871b925742fc4a55be06962b0d6807e7

 

Contract Overview

Balance:
0 BNB

BNB Value:
$0.00

Token:
 
Txn Hash
Block
From
To
Value [Txn Fee]
0x4b7375e4e9f8a530302be2543b9d20edbca96f4ac3116a8c688449cd9c282d3485249312021-06-22 17:54:1834 days 9 hrs agoSwamp Finance: Deployer IN  0x7b81730d871b925742fc4a55be06962b0d6807e70 BNB0.00027041
0x6884f6e678852dfd16861ac157885f58dc67ccbfc75e734c0c918167c708590d85249302021-06-22 17:54:1534 days 9 hrs agoSwamp Finance: Deployer IN  0x7b81730d871b925742fc4a55be06962b0d6807e70 BNB0.00027041
0xf675021158dabb224b614f9fc34e2eca671cc609695ac1619fc47c735574f20d85249292021-06-22 17:54:1234 days 9 hrs agoSwamp Finance: Deployer IN  0x7b81730d871b925742fc4a55be06962b0d6807e70 BNB0.0018447
0xb0a4fec92fdbe4503c4e91f5cefd7b8c1aeb65d7510f640742a8074310d2c63485249282021-06-22 17:54:0934 days 9 hrs agoSwamp Finance: Deployer IN  0x7b81730d871b925742fc4a55be06962b0d6807e70 BNB0.0018447
0x80bf096153e1442b5088d73fa46a139b1bcc29bfe804be5ae550e4a20bdaac0f85249272021-06-22 17:54:0634 days 9 hrs agoSwamp Finance: Deployer IN  0x7b81730d871b925742fc4a55be06962b0d6807e70 BNB0.0018447
0x30e68e42c8e28c664d5871eea007ec05c738b316e14b3e20b379b7456cdf823485249272021-06-22 17:54:0634 days 9 hrs agoSwamp Finance: Deployer IN  0x7b81730d871b925742fc4a55be06962b0d6807e70 BNB0.0018447
0x47887e0e6a4aae63fd6630c993d53ab3c4c0487e0d5edcda7c679d65a4cd9b7e85249242021-06-22 17:53:5734 days 9 hrs agoSwamp Finance: Deployer IN  0x7b81730d871b925742fc4a55be06962b0d6807e70 BNB0.0018447
0x91ee11e4bfca63d438064c2e6b18c6d16ee62269b6148e0554f0c9ea1954b93d85249212021-06-22 17:53:4834 days 9 hrs agoSwamp Finance: Deployer IN  0x7b81730d871b925742fc4a55be06962b0d6807e70 BNB0.0018447
0x2815ca38bf0a05a99ea25c4bc7c99ff537653c71335dff7d1be09831cddb6a8085249202021-06-22 17:53:4534 days 9 hrs agoSwamp Finance: Deployer IN  0x7b81730d871b925742fc4a55be06962b0d6807e70 BNB0.0018447
0x4d440e3c939566d6a0d99f1a26eebd4574d5fa212de91856d0785897081f533f85249172021-06-22 17:53:3634 days 9 hrs agoSwamp Finance: Deployer IN  0x7b81730d871b925742fc4a55be06962b0d6807e70 BNB0.0018447
0xb0eadc6ed5e4d9042ebb9c0d752a297e2aba27a117a3ae1eb704eb514772b80585249162021-06-22 17:53:3334 days 9 hrs agoSwamp Finance: Deployer IN  0x7b81730d871b925742fc4a55be06962b0d6807e70 BNB0.0018447
0xb1ead071e841941a6a7c54145208cc0f66b446bd7b51dafd5d79a1d7ef776a5885249152021-06-22 17:53:3034 days 9 hrs agoSwamp Finance: Deployer IN  0x7b81730d871b925742fc4a55be06962b0d6807e70 BNB0.0018447
0x71b8104efe6ab051c3015053498c029ff0883518a280326d59b0eacffe22b6ba85249122021-06-22 17:53:2134 days 9 hrs agoSwamp Finance: Deployer IN  0x7b81730d871b925742fc4a55be06962b0d6807e70 BNB0.0018447
0x85dfff88f99030d6e6215c378cca6c57967f1aac1eb98db96845881e2b89a21b85249112021-06-22 17:53:1834 days 9 hrs agoSwamp Finance: Deployer IN  0x7b81730d871b925742fc4a55be06962b0d6807e70 BNB0.0018447
0xdf3f04611d3dd567d807d29fdc4d11923dc8eecb96cd57756f97b1631222e77285249092021-06-22 17:53:1234 days 9 hrs agoSwamp Finance: Deployer IN  0x7b81730d871b925742fc4a55be06962b0d6807e70 BNB0.0018447
0x8a2cee18ab657b2c61ad38da69f56a691f00297ccd1a9f925208a28ecc73f03285249062021-06-22 17:53:0334 days 9 hrs agoSwamp Finance: Deployer IN  0x7b81730d871b925742fc4a55be06962b0d6807e70 BNB0.0018447
0xa803bda618d381616b335b01ab520ba15c7f144701db8ca0e8f8a95c8ab7ecdd85249052021-06-22 17:53:0034 days 9 hrs agoSwamp Finance: Deployer IN  0x7b81730d871b925742fc4a55be06962b0d6807e70 BNB0.0018447
0xb3432aaf937cfe16534da527207e34e67998bf77e4d9ba0a508822b0c7bc73f485249042021-06-22 17:52:5734 days 9 hrs agoSwamp Finance: Deployer IN  0x7b81730d871b925742fc4a55be06962b0d6807e70 BNB0.0018447
0x080ab59bd2951a3d954540175ed0810152792064872e650988691a739ffe41f085249032021-06-22 17:52:5434 days 9 hrs agoSwamp Finance: Deployer IN  0x7b81730d871b925742fc4a55be06962b0d6807e70 BNB0.0018447
0xd7438905e87021ddc0f932cc129cb7f5cc77c51e3cf6f4e9e9ebc4c8c7aface785249012021-06-22 17:52:4834 days 9 hrs agoSwamp Finance: Deployer IN  0x7b81730d871b925742fc4a55be06962b0d6807e70 BNB0.0018447
0x1b2921597175dd692276b055b9225ee635989ea99d03a92914b8e4ff76f9dacd85248992021-06-22 17:52:4234 days 9 hrs agoSwamp Finance: Deployer IN  0x7b81730d871b925742fc4a55be06962b0d6807e70 BNB0.0018447
0xc72848b6a6cdbacab1c05d6a6c4703ae42ccf4ab1459dbdaae6b7b4ca5a412cd85248992021-06-22 17:52:4234 days 9 hrs agoSwamp Finance: Deployer IN  0x7b81730d871b925742fc4a55be06962b0d6807e70 BNB0.0018447
0xaf41ea24eb539cdc02f0dfd2fe803cf9afd31011d901aef180f2f1c809c42de385248982021-06-22 17:52:3934 days 9 hrs agoSwamp Finance: Deployer IN  0x7b81730d871b925742fc4a55be06962b0d6807e70 BNB0.0018447
0x24a3bb668af103863f35e3465edeaf0f975b42e7dabf1ac36e8530872a4c068185248942021-06-22 17:52:2734 days 9 hrs agoSwamp Finance: Deployer IN  0x7b81730d871b925742fc4a55be06962b0d6807e70 BNB0.0018447
0xed2af242d4cf9ebbdfd08b3732e06159543675bbde4b310007be8ba1d68fa74985248922021-06-22 17:52:2134 days 9 hrs agoSwamp Finance: Deployer IN  0x7b81730d871b925742fc4a55be06962b0d6807e70 BNB0.0018447
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SwampDrop

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-05-31
*/

// File @openzeppelin/contracts/token/ERC20/[email protected]
// SPDX-License-Identifier: MIT

pragma solidity ^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/utils/introspection/[email protected]


pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}


// File @openzeppelin/contracts/token/ERC721/[email protected]


pragma solidity ^0.8.0;

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
      * @dev Safely transfers `tokenId` token from `from` to `to`.
      *
      * Requirements:
      *
      * - `from` cannot be the zero address.
      * - `to` cannot be the zero address.
      * - `tokenId` token must exist and be owned by `from`.
      * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
      * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
      *
      * Emits a {Transfer} event.
      */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;
}


// File @openzeppelin/contracts/token/ERC721/[email protected]


pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);
}


// File @openzeppelin/contracts/token/ERC721/extensions/[email protected]


pragma solidity ^0.8.0;

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {

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

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

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}


// File @openzeppelin/contracts/utils/[email protected]


pragma solidity ^0.8.0;

/**
 * @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 on 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");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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


// File @openzeppelin/contracts/utils/[email protected]


pragma solidity ^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 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) {
        return msg.sender;
    }

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


// File @openzeppelin/contracts/utils/[email protected]


pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant alphabet = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = alphabet[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

}


// File @openzeppelin/contracts/utils/introspection/[email protected]


pragma solidity ^0.8.0;

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}


// File @openzeppelin/contracts/token/ERC721/[email protected]


pragma solidity ^0.8.0;







/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping (uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping (address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping (uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping (address => mapping (address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor (string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return interfaceId == type(IERC721).interfaceId
            || interfaceId == type(IERC721Metadata).interfaceId
            || super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0
            ? string(abi.encodePacked(baseURI, tokenId.toString()))
            : '';
    }

    /**
     * @dev Base URI for computing {tokenURI}. Empty by default, can be overriden
     * in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(_msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(address from, address to, uint256 tokenId) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {
        _mint(to, tokenId);
        require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(address from, address to, uint256 tokenId) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)
        private returns (bool)
    {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    // solhint-disable-next-line no-inline-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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


// File @openzeppelin/contracts/token/ERC721/extensions/[email protected]


pragma solidity ^0.8.0;

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}


// File @openzeppelin/contracts/token/ERC721/extensions/[email protected]


pragma solidity ^0.8.0;


/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) {
        return interfaceId == type(IERC721Enumerable).interfaceId
            || super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

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

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}


// File contracts/helpers/Ownable.sol


pragma solidity 0.8.4;

/**
 * @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 {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        address msgSender = msg.sender;
        _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 == msg.sender, "Ownable: caller is not the owner");
        _;
    }

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

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


// File contracts/SwampNFT.sol

pragma solidity 0.8.4;



contract SwampNFT is ERC721Enumerable, Ownable {

  using Strings for uint256;

  /**
   * @dev URI base for tokenURI function. Token URI is constructed as _baseTokenURI + tokenId.
   */
  string public baseTokenURI;

  /**
   * @dev Mapping of addresses that are authorized to add mint new tokens.
   */
  mapping (address => bool) public authorizedAddresses;

  /**
   * @dev Only authorized addresses can call a function with this modifier.
   */
  modifier onlyAuthorized() {
    require(authorizedAddresses[msg.sender] || owner() == msg.sender, "Not authorized");
    _;
  }

  /**
   * @dev Implements ERC721 contract and sets default values. 
   */
  constructor(
    string memory name,
    string memory symbol,
    string memory defaultBaseTokenURI
  ) ERC721(name, symbol)
  {
    baseTokenURI = defaultBaseTokenURI;
  }

  /**
   * @dev Sets or revokes authorized address.
   * @param addr Address we are setting.
   * @param isAuthorized True is setting, false if we are revoking.
   */
  function setAuthorizedAddress(address addr, bool isAuthorized)
    external
    onlyOwner()
  {
    authorizedAddresses[addr] = isAuthorized;
  }

  /**
   * @dev Creates a new NFT.
   * @param to Receiver of the newly created token. 
   * @param tokenId Unique if of the NFT.
   */
  function mint(
    address to,
    uint256 tokenId
  )
    external
    onlyAuthorized()
  {
    _safeMint(to, tokenId);
  }

  /**
   * @dev Updatey the URI base for all NFTs.
   * @param newBaseTokenURI New URI base.
   */
  function setBaseURI(
    string calldata newBaseTokenURI
  )
    external
    onlyOwner()
  {
    baseTokenURI = newBaseTokenURI;
  }

  /**
   * @dev Overrides _baseURI function so we define the URI base we will be using.
   */
  function _baseURI()
    internal
    view
    virtual
    override
    returns (string memory)
  {
    return baseTokenURI;
  }

  /**
    * @dev See {IERC721Metadata-tokenURI}.
    */
  function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
    require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

    string memory baseURI = _baseURI();
    return bytes(baseURI).length > 0
      ? string(abi.encodePacked(baseURI, tokenId.toString(), '.json'))
      : '';
  }
}


// File contracts/SwampDrop.sol

pragma solidity 0.8.4;


/**
 * @dev Contract for new NFT drops. SwampDrop must be authorized to mint new NFTs of the specified
 * NFT contract (_nftAddress). You also have to be carefull of IDs you set. Since this contract
 * assumes offchain reservation of IDs. Meaning when you add drops you need to consider if NFT ids
 * will be available when buying.
 */
contract SwampDrop is Ownable {

  struct Drop {
    uint256 totalSupply;
    uint256 idCounter;
    uint256 startingId;
    uint256 price;
    uint256 startTime;
  }

  /**
   * @dev Address of SWAMP ERC20 contract.
   */
  IERC20 private _swampAddress;

  /**
   * @dev Address that will receive tokens from bought NFTs.
   */
  address private _receiverAddress;

  /**
   * @dev Address that will receive tokens from bought NFTs.
   */
  SwampNFT private _nftAddress;

  /**
   * @dev List of drops.
   */
  Drop[] public drops;

  /**
   * @dev Implements ERC721 contract and sets default values. 
   */
  constructor(
    IERC20 swampAddress,
    SwampNFT nftAddress
  )
  {
    _swampAddress = swampAddress;
    _receiverAddress = msg.sender;
    _nftAddress = nftAddress;
  }

  /**
   * @dev Creates a drop for a NFT range. Meaning this is a nft with multiple editions. You declare
   * its total supply and starting id. This mean you have to reserve the range of its from
   * staringId to startingId + totalSupply. If ids are not reserved minting will FAIL. 
   * @param totalSupply Amount of NFT editions.
   * @param startingId Starting NFT id.
   * @param price Amount of _swampAddress tokens that this token costs. Must be in 18 decimals (or
   * how ever _swampAddress ERC20 is setup.)
   * @param startTime UNIX timestamp from when the NFT is available for purchase.
   */
  function add(
    uint256 totalSupply,
    uint256 startingId,
    uint256 price,
    uint256 startTime
  )
    external
    onlyOwner
  {
    Drop memory d = Drop(totalSupply, 0, startingId, price, startTime);
    drops.push(d);
  }

  /**
   * @dev Removes and existing drop.
   * @param index Index of the drop we are removing.
   */
  function remove(
    uint256 index
  )
    external
    onlyOwner
  {
    delete drops[index];
  }

  /**
   * @dev Buys an available drop based on dropIndex. This creates a new NFT based on drop info and
   * transfers erc20 amount from users wallet.
   * @param dropIndex Index of the NFT drop we want to buy.
   */
  function buy(
    uint256 dropIndex
  )
    external
  {
    Drop memory d = drops[dropIndex];
    require(block.timestamp >= d.startTime, "Drop not yet available.");
    require(d.totalSupply > d.idCounter, "No more editions available.");
    uint256 nftId = d.startingId + d.idCounter;
    drops[dropIndex].idCounter++;
    _nftAddress.mint(msg.sender, nftId); 
    _swampAddress.transferFrom(msg.sender, _receiverAddress, d.price);
  }

  /**
   * @dev Returns the count of all existing Drops.
   * @return Total supply of NFTs.
   */
  function getDropCount()
    external
    view
    returns (uint256)
  {
    return drops.length;
  }

}

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"swampAddress","type":"address"},{"internalType":"contract SwampNFT","name":"nftAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"uint256","name":"totalSupply","type":"uint256"},{"internalType":"uint256","name":"startingId","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"startTime","type":"uint256"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"dropIndex","type":"uint256"}],"name":"buy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"drops","outputs":[{"internalType":"uint256","name":"totalSupply","type":"uint256"},{"internalType":"uint256","name":"idCounter","type":"uint256"},{"internalType":"uint256","name":"startingId","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"startTime","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDropCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"remove","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040516200126c3803806200126c8339818101604052810190620000379190620001d1565b6000339050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555033600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050620002a2565b600081519050620001b4816200026e565b92915050565b600081519050620001cb8162000288565b92915050565b60008060408385031215620001e557600080fd5b6000620001f585828601620001a3565b92505060206200020885828601620001ba565b9150509250929050565b60006200021f826200024e565b9050919050565b6000620002338262000212565b9050919050565b6000620002478262000212565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b620002798162000226565b81146200028557600080fd5b50565b62000293816200023a565b81146200029f57600080fd5b50565b610fba80620002b26000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80638da5cb5b1161005b5780638da5cb5b14610105578063d96a094a14610123578063e022d77c1461013f578063f2fde38b1461015b57610088565b80634cc822151461008d57806355abf41a146100a95780635eb39968146100c7578063715018a6146100fb575b600080fd5b6100a760048036038101906100a29190610aaf565b610177565b005b6100b161027b565b6040516100be9190610ce0565b60405180910390f35b6100e160048036038101906100dc9190610aaf565b610288565b6040516100f2959493929190610cfb565b60405180910390f35b6101036102ce565b005b61010d61041a565b60405161011a9190610be5565b60405180910390f35b61013d60048036038101906101389190610aaf565b610443565b005b61015960048036038101906101549190610ad8565b610742565b005b61017560048036038101906101709190610a5d565b610863565b005b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610205576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101fc90610ca0565b60405180910390fd5b6004818154811061023f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600502016000808201600090556001820160009055600282016000905560038201600090556004820160009055505050565b6000600480549050905090565b6004818154811061029857600080fd5b90600052602060002090600502016000915090508060000154908060010154908060020154908060030154908060040154905085565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461035c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161035390610ca0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006004828154811061047f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600502016040518060a00160405290816000820154815260200160018201548152602001600282015481526020016003820154815260200160048201548152505090508060800151421015610513576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161050a90610cc0565b60405180910390fd5b806020015181600001511161055d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161055490610c80565b60405180910390fd5b6000816020015182604001516105739190610d5f565b9050600483815481106105af577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906005020160010160008154809291906105d190610dfd565b9190505550600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1933836040518363ffffffff1660e01b8152600401610633929190610c37565b600060405180830381600087803b15801561064d57600080fd5b505af1158015610661573d6000803e3d6000fd5b50505050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd33600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1685606001516040518463ffffffff1660e01b81526004016106ea93929190610c00565b602060405180830381600087803b15801561070457600080fd5b505af1158015610718573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061073c9190610a86565b50505050565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146107d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c790610ca0565b60405180910390fd5b60006040518060a00160405280868152602001600081526020018581526020018481526020018381525090506004819080600181540180825580915050600190039060005260206000209060050201600090919091909150600082015181600001556020820151816001015560408201518160020155606082015181600301556080820151816004015550505050505050565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146108f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e890610ca0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610961576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095890610c60565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600081359050610a2d81610f3f565b92915050565b600081519050610a4281610f56565b92915050565b600081359050610a5781610f6d565b92915050565b600060208284031215610a6f57600080fd5b6000610a7d84828501610a1e565b91505092915050565b600060208284031215610a9857600080fd5b6000610aa684828501610a33565b91505092915050565b600060208284031215610ac157600080fd5b6000610acf84828501610a48565b91505092915050565b60008060008060808587031215610aee57600080fd5b6000610afc87828801610a48565b9450506020610b0d87828801610a48565b9350506040610b1e87828801610a48565b9250506060610b2f87828801610a48565b91505092959194509250565b610b4481610db5565b82525050565b6000610b57602683610d4e565b9150610b6282610e75565b604082019050919050565b6000610b7a601b83610d4e565b9150610b8582610ec4565b602082019050919050565b6000610b9d602083610d4e565b9150610ba882610eed565b602082019050919050565b6000610bc0601783610d4e565b9150610bcb82610f16565b602082019050919050565b610bdf81610df3565b82525050565b6000602082019050610bfa6000830184610b3b565b92915050565b6000606082019050610c156000830186610b3b565b610c226020830185610b3b565b610c2f6040830184610bd6565b949350505050565b6000604082019050610c4c6000830185610b3b565b610c596020830184610bd6565b9392505050565b60006020820190508181036000830152610c7981610b4a565b9050919050565b60006020820190508181036000830152610c9981610b6d565b9050919050565b60006020820190508181036000830152610cb981610b90565b9050919050565b60006020820190508181036000830152610cd981610bb3565b9050919050565b6000602082019050610cf56000830184610bd6565b92915050565b600060a082019050610d106000830188610bd6565b610d1d6020830187610bd6565b610d2a6040830186610bd6565b610d376060830185610bd6565b610d446080830184610bd6565b9695505050505050565b600082825260208201905092915050565b6000610d6a82610df3565b9150610d7583610df3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115610daa57610da9610e46565b5b828201905092915050565b6000610dc082610dd3565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000610e0882610df3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610e3b57610e3a610e46565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4e6f206d6f72652065646974696f6e7320617661696c61626c652e0000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f44726f70206e6f742079657420617661696c61626c652e000000000000000000600082015250565b610f4881610db5565b8114610f5357600080fd5b50565b610f5f81610dc7565b8114610f6a57600080fd5b50565b610f7681610df3565b8114610f8157600080fd5b5056fea2646970667358221220d722a06792c54e134c1d94fa10ae996013f9377ecce4869faa822f9c4b0e72e764736f6c63430008040033000000000000000000000000c5a49b4cbe004b6fd55b30ba1de6ac360ff9765d000000000000000000000000bcd2a7d78fa3bcd6bfee36db99e1334492b93754

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

000000000000000000000000c5a49b4cbe004b6fd55b30ba1de6ac360ff9765d000000000000000000000000bcd2a7d78fa3bcd6bfee36db99e1334492b93754

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000c5a49b4cbe004b6fd55b30ba1de6ac360ff9765d
Arg [1] : 000000000000000000000000bcd2a7d78fa3bcd6bfee36db99e1334492b93754


Deployed ByteCode Sourcemap

48408:2803:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50208:105;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;51100:106;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;48947:19;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;;;;;;45009:148;;;:::i;:::-;;44369:79;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;50542:450;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;49852:244;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;45312;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;50208:105;44591:10;44581:20;;:6;;;;;;;;;;:20;;;44573:65;;;;;;;;;;;;:::i;:::-;;;;;;;;;50295:5:::1;50301;50295:12;;;;;;;;;;;;;;;;;;;;;;;;;;;50288:19:::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50208:105:::0;:::o;51100:106::-;51162:7;51188:5;:12;;;;51181:19;;51100:106;:::o;48947:19::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;45009:148::-;44591:10;44581:20;;:6;;;;;;;;;;:20;;;44573:65;;;;;;;;;;;;:::i;:::-;;;;;;;;;45116:1:::1;45079:40;;45100:6;::::0;::::1;;;;;;;;45079:40;;;;;;;;;;;;45147:1;45130:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;45009:148::o:0;44369:79::-;44407:7;44434:6;;;;;;;;;;;44427:13;;44369:79;:::o;50542:450::-;50608:13;50624:5;50630:9;50624:16;;;;;;;;;;;;;;;;;;;;;;;;;;50608:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50674:1;:11;;;50655:15;:30;;50647:66;;;;;;;;;;;;:::i;:::-;;;;;;;;;50744:1;:11;;;50728:1;:13;;;:27;50720:67;;;;;;;;;;;;:::i;:::-;;;;;;;;;50794:13;50825:1;:11;;;50810:1;:12;;;:26;;;;:::i;:::-;50794:42;;50843:5;50849:9;50843:16;;;;;;;;;;;;;;;;;;;;;;;;;;:26;;;:28;;;;;;;;;:::i;:::-;;;;;;50878:11;;;;;;;;;;;:16;;;50895:10;50907:5;50878:35;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50921:13;;;;;;;;;;;:26;;;50948:10;50960:16;;;;;;;;;;;50978:1;:7;;;50921:65;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;50542:450;;;:::o;49852:244::-;44591:10;44581:20;;:6;;;;;;;;;;:20;;;44573:65;;;;;;;;;;;;:::i;:::-;;;;;;;;;50004:13:::1;50020:50;;;;;;;;50025:11;50020:50;;;;50038:1;50020:50;;;;50041:10;50020:50;;;;50053:5;50020:50;;;;50060:9;50020:50;;::::0;50004:66:::1;;50077:5;50088:1;50077:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44649:1;49852:244:::0;;;;:::o;45312:::-;44591:10;44581:20;;:6;;;;;;;;;;:20;;;44573:65;;;;;;;;;;;;:::i;:::-;;;;;;;;;45421:1:::1;45401:22;;:8;:22;;;;45393:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;45511:8;45482:38;;45503:6;::::0;::::1;;;;;;;;45482:38;;;;;;;;;;;;45540:8;45531:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;45312:244:::0;:::o;7:139:1:-;53:5;91:6;78:20;69:29;;107:33;134:5;107:33;:::i;:::-;59:87;;;;:::o;152:137::-;206:5;237:6;231:13;222:22;;253:30;277:5;253:30;:::i;:::-;212:77;;;;:::o;295:139::-;341:5;379:6;366:20;357:29;;395:33;422:5;395:33;:::i;:::-;347:87;;;;:::o;440:262::-;499:6;548:2;536:9;527:7;523:23;519:32;516:2;;;564:1;561;554:12;516:2;607:1;632:53;677:7;668:6;657:9;653:22;632:53;:::i;:::-;622:63;;578:117;506:196;;;;:::o;708:278::-;775:6;824:2;812:9;803:7;799:23;795:32;792:2;;;840:1;837;830:12;792:2;883:1;908:61;961:7;952:6;941:9;937:22;908:61;:::i;:::-;898:71;;854:125;782:204;;;;:::o;992:262::-;1051:6;1100:2;1088:9;1079:7;1075:23;1071:32;1068:2;;;1116:1;1113;1106:12;1068:2;1159:1;1184:53;1229:7;1220:6;1209:9;1205:22;1184:53;:::i;:::-;1174:63;;1130:117;1058:196;;;;:::o;1260:698::-;1346:6;1354;1362;1370;1419:3;1407:9;1398:7;1394:23;1390:33;1387:2;;;1436:1;1433;1426:12;1387:2;1479:1;1504:53;1549:7;1540:6;1529:9;1525:22;1504:53;:::i;:::-;1494:63;;1450:117;1606:2;1632:53;1677:7;1668:6;1657:9;1653:22;1632:53;:::i;:::-;1622:63;;1577:118;1734:2;1760:53;1805:7;1796:6;1785:9;1781:22;1760:53;:::i;:::-;1750:63;;1705:118;1862:2;1888:53;1933:7;1924:6;1913:9;1909:22;1888:53;:::i;:::-;1878:63;;1833:118;1377:581;;;;;;;:::o;1964:118::-;2051:24;2069:5;2051:24;:::i;:::-;2046:3;2039:37;2029:53;;:::o;2088:366::-;2230:3;2251:67;2315:2;2310:3;2251:67;:::i;:::-;2244:74;;2327:93;2416:3;2327:93;:::i;:::-;2445:2;2440:3;2436:12;2429:19;;2234:220;;;:::o;2460:366::-;2602:3;2623:67;2687:2;2682:3;2623:67;:::i;:::-;2616:74;;2699:93;2788:3;2699:93;:::i;:::-;2817:2;2812:3;2808:12;2801:19;;2606:220;;;:::o;2832:366::-;2974:3;2995:67;3059:2;3054:3;2995:67;:::i;:::-;2988:74;;3071:93;3160:3;3071:93;:::i;:::-;3189:2;3184:3;3180:12;3173:19;;2978:220;;;:::o;3204:366::-;3346:3;3367:67;3431:2;3426:3;3367:67;:::i;:::-;3360:74;;3443:93;3532:3;3443:93;:::i;:::-;3561:2;3556:3;3552:12;3545:19;;3350:220;;;:::o;3576:118::-;3663:24;3681:5;3663:24;:::i;:::-;3658:3;3651:37;3641:53;;:::o;3700:222::-;3793:4;3831:2;3820:9;3816:18;3808:26;;3844:71;3912:1;3901:9;3897:17;3888:6;3844:71;:::i;:::-;3798:124;;;;:::o;3928:442::-;4077:4;4115:2;4104:9;4100:18;4092:26;;4128:71;4196:1;4185:9;4181:17;4172:6;4128:71;:::i;:::-;4209:72;4277:2;4266:9;4262:18;4253:6;4209:72;:::i;:::-;4291;4359:2;4348:9;4344:18;4335:6;4291:72;:::i;:::-;4082:288;;;;;;:::o;4376:332::-;4497:4;4535:2;4524:9;4520:18;4512:26;;4548:71;4616:1;4605:9;4601:17;4592:6;4548:71;:::i;:::-;4629:72;4697:2;4686:9;4682:18;4673:6;4629:72;:::i;:::-;4502:206;;;;;:::o;4714:419::-;4880:4;4918:2;4907:9;4903:18;4895:26;;4967:9;4961:4;4957:20;4953:1;4942:9;4938:17;4931:47;4995:131;5121:4;4995:131;:::i;:::-;4987:139;;4885:248;;;:::o;5139:419::-;5305:4;5343:2;5332:9;5328:18;5320:26;;5392:9;5386:4;5382:20;5378:1;5367:9;5363:17;5356:47;5420:131;5546:4;5420:131;:::i;:::-;5412:139;;5310:248;;;:::o;5564:419::-;5730:4;5768:2;5757:9;5753:18;5745:26;;5817:9;5811:4;5807:20;5803:1;5792:9;5788:17;5781:47;5845:131;5971:4;5845:131;:::i;:::-;5837:139;;5735:248;;;:::o;5989:419::-;6155:4;6193:2;6182:9;6178:18;6170:26;;6242:9;6236:4;6232:20;6228:1;6217:9;6213:17;6206:47;6270:131;6396:4;6270:131;:::i;:::-;6262:139;;6160:248;;;:::o;6414:222::-;6507:4;6545:2;6534:9;6530:18;6522:26;;6558:71;6626:1;6615:9;6611:17;6602:6;6558:71;:::i;:::-;6512:124;;;;:::o;6642:664::-;6847:4;6885:3;6874:9;6870:19;6862:27;;6899:71;6967:1;6956:9;6952:17;6943:6;6899:71;:::i;:::-;6980:72;7048:2;7037:9;7033:18;7024:6;6980:72;:::i;:::-;7062;7130:2;7119:9;7115:18;7106:6;7062:72;:::i;:::-;7144;7212:2;7201:9;7197:18;7188:6;7144:72;:::i;:::-;7226:73;7294:3;7283:9;7279:19;7270:6;7226:73;:::i;:::-;6852:454;;;;;;;;:::o;7312:169::-;7396:11;7430:6;7425:3;7418:19;7470:4;7465:3;7461:14;7446:29;;7408:73;;;;:::o;7487:305::-;7527:3;7546:20;7564:1;7546:20;:::i;:::-;7541:25;;7580:20;7598:1;7580:20;:::i;:::-;7575:25;;7734:1;7666:66;7662:74;7659:1;7656:81;7653:2;;;7740:18;;:::i;:::-;7653:2;7784:1;7781;7777:9;7770:16;;7531:261;;;;:::o;7798:96::-;7835:7;7864:24;7882:5;7864:24;:::i;:::-;7853:35;;7843:51;;;:::o;7900:90::-;7934:7;7977:5;7970:13;7963:21;7952:32;;7942:48;;;:::o;7996:126::-;8033:7;8073:42;8066:5;8062:54;8051:65;;8041:81;;;:::o;8128:77::-;8165:7;8194:5;8183:16;;8173:32;;;:::o;8211:233::-;8250:3;8273:24;8291:5;8273:24;:::i;:::-;8264:33;;8319:66;8312:5;8309:77;8306:2;;;8389:18;;:::i;:::-;8306:2;8436:1;8429:5;8425:13;8418:20;;8254:190;;;:::o;8450:180::-;8498:77;8495:1;8488:88;8595:4;8592:1;8585:15;8619:4;8616:1;8609:15;8636:225;8776:34;8772:1;8764:6;8760:14;8753:58;8845:8;8840:2;8832:6;8828:15;8821:33;8742:119;:::o;8867:177::-;9007:29;9003:1;8995:6;8991:14;8984:53;8973:71;:::o;9050:182::-;9190:34;9186:1;9178:6;9174:14;9167:58;9156:76;:::o;9238:173::-;9378:25;9374:1;9366:6;9362:14;9355:49;9344:67;:::o;9417:122::-;9490:24;9508:5;9490:24;:::i;:::-;9483:5;9480:35;9470:2;;9529:1;9526;9519:12;9470:2;9460:79;:::o;9545:116::-;9615:21;9630:5;9615:21;:::i;:::-;9608:5;9605:32;9595:2;;9651:1;9648;9641:12;9595:2;9585:76;:::o;9667:122::-;9740:24;9758:5;9740:24;:::i;:::-;9733:5;9730:35;9720:2;;9779:1;9776;9769:12;9720:2;9710:79;:::o

Swarm Source

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