ETH Price: $3,308.21 (-3.43%)

Contract

0x3603b7a7923E58498Cd6313Ea0127aEFB6416EBA
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw196847272024-04-18 20:28:59222 days ago1713472139IN
0x3603b7a7...FB6416EBA
0 ETH0.0003170710.17967434
Transfer196846462024-04-18 20:12:47222 days ago1713471167IN
0x3603b7a7...FB6416EBA
0.058 ETH0.000430529.31721619
Transfer196846352024-04-18 20:10:35222 days ago1713471035IN
0x3603b7a7...FB6416EBA
0.644 ETH0.003883638.51850309
Transfer196845972024-04-18 20:02:59222 days ago1713470579IN
0x3603b7a7...FB6416EBA
0.125 ETH0.0016701211.81010655
Transfer196845822024-04-18 19:59:59222 days ago1713470399IN
0x3603b7a7...FB6416EBA
0.058 ETH0.000826828.64313827
Transfer196845632024-04-18 19:55:59222 days ago1713470159IN
0x3603b7a7...FB6416EBA
0.125 ETH0.001387859.57560423
Transfer196844012024-04-18 19:23:23222 days ago1713468203IN
0x3603b7a7...FB6416EBA
0.029 ETH0.00075279.28835815
Transfer196843932024-04-18 19:21:47222 days ago1713468107IN
0x3603b7a7...FB6416EBA
0.116 ETH0.001150119.22104274
Transfer196843822024-04-18 19:19:35222 days ago1713467975IN
0x3603b7a7...FB6416EBA
0.058 ETH0.000759269.66439587
Transfer196843152024-04-18 19:06:11222 days ago1713467171IN
0x3603b7a7...FB6416EBA
1.05 ETH0.0085751910.4540545
Transfer196841162024-04-18 18:25:59222 days ago1713464759IN
0x3603b7a7...FB6416EBA
0.029 ETH0.0013431613.4987121
Transfer196840622024-04-18 18:15:11222 days ago1713464111IN
0x3603b7a7...FB6416EBA
0.029 ETH0.001068212.6327167
Transfer196840602024-04-18 18:14:47222 days ago1713464087IN
0x3603b7a7...FB6416EBA
0.029 ETH0.0010975812.98006721
Transfer196840572024-04-18 18:14:11222 days ago1713464051IN
0x3603b7a7...FB6416EBA
0.029 ETH0.0012153711.95536629
Transfer196840572024-04-18 18:14:11222 days ago1713464051IN
0x3603b7a7...FB6416EBA
0.029 ETH0.0009695811.96471619
Transfer196840172024-04-18 18:06:11222 days ago1713463571IN
0x3603b7a7...FB6416EBA
0.029 ETH0.0009688111.45890388
Transfer196837452024-04-18 17:11:11222 days ago1713460271IN
0x3603b7a7...FB6416EBA
0.058 ETH0.0013016812.84598394
Transfer196837112024-04-18 17:04:23222 days ago1713459863IN
0x3603b7a7...FB6416EBA
0.087 ETH0.0013333314.32233739
Transfer196836712024-04-18 16:56:23222 days ago1713459383IN
0x3603b7a7...FB6416EBA
0.029 ETH0.0012405314.30963355
Transfer196836552024-04-18 16:53:11222 days ago1713459191IN
0x3603b7a7...FB6416EBA
0.029 ETH0.0012000113.84225391
Transfer196836312024-04-18 16:48:23222 days ago1713458903IN
0x3603b7a7...FB6416EBA
0.029 ETH0.0011804114.56637489
Transfer196836122024-04-18 16:44:35222 days ago1713458675IN
0x3603b7a7...FB6416EBA
0.029 ETH0.00128815.23200122
Transfer196835922024-04-18 16:40:35222 days ago1713458435IN
0x3603b7a7...FB6416EBA
0.029 ETH0.001135713.10050842
Transfer196835792024-04-18 16:37:59222 days ago1713458279IN
0x3603b7a7...FB6416EBA
0.125 ETH0.0017413114.00724267
Transfer196835762024-04-18 16:37:23222 days ago1713458243IN
0x3603b7a7...FB6416EBA
0.125 ETH0.0019157215.41026561
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
196847272024-04-18 20:28:59222 days ago1713472139
0x3603b7a7...FB6416EBA
3.3344 ETH
196845632024-04-18 19:55:59222 days ago1713470159
0x3603b7a7...FB6416EBA
0.025 ETH
196843152024-04-18 19:06:11222 days ago1713467171
0x3603b7a7...FB6416EBA
0.21 ETH
196841162024-04-18 18:25:59222 days ago1713464759
0x3603b7a7...FB6416EBA
0.00435 ETH
196840622024-04-18 18:15:11222 days ago1713464111
0x3603b7a7...FB6416EBA
0.0058 ETH
196840602024-04-18 18:14:47222 days ago1713464087
0x3603b7a7...FB6416EBA
0.0058 ETH
196840572024-04-18 18:14:11222 days ago1713464051
0x3603b7a7...FB6416EBA
0.0058 ETH
196840172024-04-18 18:06:11222 days ago1713463571
0x3603b7a7...FB6416EBA
0.0058 ETH
196837452024-04-18 17:11:11222 days ago1713460271
0x3603b7a7...FB6416EBA
0.0145 ETH
196836712024-04-18 16:56:23222 days ago1713459383
0x3603b7a7...FB6416EBA
0.00725 ETH
196836552024-04-18 16:53:11222 days ago1713459191
0x3603b7a7...FB6416EBA
0.00725 ETH
196836122024-04-18 16:44:35222 days ago1713458675
0x3603b7a7...FB6416EBA
0.0058 ETH
196835922024-04-18 16:40:35222 days ago1713458435
0x3603b7a7...FB6416EBA
0.00725 ETH
196834112024-04-18 16:03:47222 days ago1713456227
0x3603b7a7...FB6416EBA
0.00725 ETH
196833042024-04-18 15:41:47222 days ago1713454907
0x3603b7a7...FB6416EBA
0.00725 ETH
196832912024-04-18 15:39:11222 days ago1713454751
0x3603b7a7...FB6416EBA
0.0145 ETH
196832102024-04-18 15:22:47222 days ago1713453767
0x3603b7a7...FB6416EBA
3.25295 ETH
196792842024-04-18 2:13:23222 days ago1713406403
0x3603b7a7...FB6416EBA
0.0058 ETH
196782492024-04-17 22:43:59223 days ago1713393839
0x3603b7a7...FB6416EBA
0.00725 ETH
196776842024-04-17 20:49:23223 days ago1713386963
0x3603b7a7...FB6416EBA
2.357 ETH
196709502024-04-16 22:14:47224 days ago1713305687
0x3603b7a7...FB6416EBA
0.95045 ETH
196657062024-04-16 4:36:59224 days ago1713242219
0x3603b7a7...FB6416EBA
0.0058 ETH
196648932024-04-16 1:52:35224 days ago1713232355
0x3603b7a7...FB6416EBA
0.01875 ETH
196454742024-04-13 8:29:59227 days ago1712996999
0x3603b7a7...FB6416EBA
0.04 ETH
196395212024-04-12 12:27:23228 days ago1712924843
0x3603b7a7...FB6416EBA
3.2417 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CigAffiliate

Compiler Version
v0.8.22+commit.4fc1097e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 5 : CigAffiliate.sol
// SPDX-License-Identifier: CC0-1.0
pragma solidity ^0.8.4;

import "./ReentrancyGuard.sol";
import "./Ownable.sol";
import "./IERC721A.sol";

contract CigAffiliate is Ownable, ReentrancyGuard {
    // addresses
    address poolAddress = 0x84aabB216768Afb5Ef7770DF2518E2c12230aC5a;
    address cigawrettesAddress = 0xEEd41d06AE195CA8f5CaCACE4cd691EE75F0683f;

    // affiliate percentages and tiers
    uint256[4] affiliatePercentages = [15, 20, 25, 25];
    uint256[3] affiliateTiers = [1, 15, 15];

    // prices and tiers
    uint256[6] prices = [0.029 ether, 0.025 ether, 0.023 ether, 0.021 ether, 0.019 ether, 0.019 ether];
    uint256[5] tiers =  [5, 25, 50, 100, 100];

    IERC721A nftContract = IERC721A(cigawrettesAddress);

    function setPrices(uint256[6] memory _prices) external onlyOwner {
        require(_prices.length == 6, "Prices length must be 6");
        for (uint i = 0; i < 6; i++) {
            prices[i] = _prices[i];
        }
    }

    function setTiers(uint256[5] memory _tiers) external onlyOwner {
        require(_tiers.length == 5, "Tiers length must be 5");
        for (uint i = 0; i < 5; i++) {
            tiers[i] = _tiers[i];
        }
    }

    function setAffiliatePercentages(uint256[4] memory _percentages) external onlyOwner {
        require(_percentages.length == 4, "Prices length must be 4");
        for (uint i = 0; i < 4; i++) {
            affiliatePercentages[i] = _percentages[i];
        }
    }

    function setAffiliateTiers(uint256[3] memory _tiers) external onlyOwner {
        require(_tiers.length == 3, "Tiers length must be 3");
        for (uint i = 0; i < 3; i++) {
            affiliateTiers[i] = _tiers[i];
        }
    }

    function getPrice(uint256 quantity) public view returns (uint256) {
        if(quantity < tiers[0]) {
            return prices[0] * quantity;
        } else if (quantity < tiers[1]) {
            return prices[1] * quantity;
        } else if (quantity < tiers[2]) {
            return prices[2] * quantity;
        } else if (quantity < tiers[3]) {
            return prices[3] * quantity;
        } else if (quantity < tiers[4]) {
            return prices[4] * quantity;
        } else {
            return prices[5] * quantity;
        }
    }

    function getAffiliatePercentage(address affiliate) public view returns (uint256) {
        uint256 balance = nftContract.balanceOf(affiliate);
        if (balance < affiliateTiers[0]) {
            return affiliatePercentages[0];
        } else if (balance < affiliateTiers[1]) {
            return affiliatePercentages[1];
        } else if (balance < affiliateTiers[2]) {
            return affiliatePercentages[2];
        } else {
            return affiliatePercentages[3];
        }
    }

    function _transfer(uint256[] calldata tokenIds) internal {
        if(tokenIds.length == 1) {
            nftContract.safeTransferFrom(poolAddress, msg.sender, tokenIds[0], "");
        } else {
            for (uint256 i = 0; i < tokenIds.length; i++)
                nftContract.safeTransferFrom(poolAddress, msg.sender, tokenIds[i], "");
        }
    }

    function transfer(uint256[] calldata tokenIds, address affiliate) external payable nonReentrant {
        require(tokenIds.length >= 1, "Need at least 1 tokenId.");
        require(msg.value >= getPrice(tokenIds.length), "Not enough ETH sent.");
        require(msg.sender != affiliate, "You cannot affiliate yourself.");

        _transfer(tokenIds);

        if (affiliate != address(0)) {
            uint256 affiliatePercentage = getAffiliatePercentage(affiliate);
            (bool success, ) = payable(affiliate)
                .call{
                    value: (msg.value * affiliatePercentage) / 100
                }("");
            require(success, "Transfer failed.");
        }
    }

    function setPoolAddress(address _poolAddress) external onlyOwner {
        poolAddress = _poolAddress;
    }

    function withdraw(address payable to) external onlyOwner {
        require(to != address(0));
        to.transfer(address(this).balance);
    }

    function setCigawrettes(
        address _cigawrettesAddress
    ) external onlyOwner {
        cigawrettesAddress = _cigawrettesAddress;
        nftContract = IERC721A(cigawrettesAddress);
    }

}

File 2 of 5 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of ERC721A.
 */
interface IERC721A {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the
     * ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

    /**
     * The `quantity` minted with ERC2309 exceeds the safety limit.
     */
    error MintERC2309QuantityExceedsLimit();

    /**
     * The `extraData` cannot be set on an unintialized ownership slot.
     */
    error OwnershipNotInitializedForExtraData();

    // =============================================================
    //                            STRUCTS
    // =============================================================

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Stores the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
        // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}.
        uint24 extraData;
    }

    // =============================================================
    //                         TOKEN COUNTERS
    // =============================================================

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() external view returns (uint256);

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);

    // =============================================================
    //                            IERC721
    // =============================================================

    /**
     * @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,
        bytes calldata data
    ) external payable;

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external payable;

    /**
     * @dev Transfers `tokenId` 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 payable;

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

    /**
     * @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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

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

    // =============================================================
    //                           IERC2309
    // =============================================================

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId`
     * (inclusive) is transferred from `from` to `to`, as defined in the
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

File 3 of 5 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "./Context.sol";

/**
 * @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.
 */
abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 4 of 5 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/ReentrancyGuard.sol)

pragma solidity ^0.8.20;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant NOT_ENTERED = 1;
    uint256 private constant ENTERED = 2;

    uint256 private _status;

    /**
     * @dev Unauthorized reentrant call.
     */
    error ReentrancyGuardReentrantCall();

    constructor() {
        _status = NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be NOT_ENTERED
        if (_status == ENTERED) {
            revert ReentrancyGuardReentrantCall();
        }

        // Any calls to nonReentrant after this point will fail
        _status = ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = NOT_ENTERED;
    }

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == ENTERED;
    }
}

File 5 of 5 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

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) {
        return msg.data;
    }
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"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":"address","name":"affiliate","type":"address"}],"name":"getAffiliatePercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[4]","name":"_percentages","type":"uint256[4]"}],"name":"setAffiliatePercentages","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[3]","name":"_tiers","type":"uint256[3]"}],"name":"setAffiliateTiers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_cigawrettesAddress","type":"address"}],"name":"setCigawrettes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_poolAddress","type":"address"}],"name":"setPoolAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[6]","name":"_prices","type":"uint256[6]"}],"name":"setPrices","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[5]","name":"_tiers","type":"uint256[5]"}],"name":"setTiers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"address","name":"affiliate","type":"address"}],"name":"transfer","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"to","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040527384aabb216768afb5ef7770df2518e2c12230ac5a60025f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073eed41d06ae195ca8f5cacace4cd691ee75f0683f60035f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040518060800160405280600f60ff168152602001601460ff168152602001601960ff168152602001601960ff168152506004906004620000ef9291906200037b565b506040518060600160405280600160ff168152602001600f60ff168152602001600f60ff16815250600890600362000129929190620003c5565b506040518060c0016040528066670758aa7c800066ffffffffffffff1681526020016658d15e1762800066ffffffffffffff1681526020016651b660cdd5800066ffffffffffffff168152602001664a9b638448800066ffffffffffffff168152602001664380663abb800066ffffffffffffff168152602001664380663abb800066ffffffffffffff16815250600b906006620001c99291906200040f565b506040518060a00160405280600560ff168152602001601960ff168152602001603260ff168152602001606460ff168152602001606460ff168152506011906005620002179291906200045f565b5060035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660165f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555034801562000285575f80fd5b50620002a66200029a620002b360201b60201c565b620002ba60201b60201c565b60018081905550620004c6565b5f33905090565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8260048101928215620003b2579160200282015b82811115620003b1578251829060ff169055916020019190600101906200038f565b5b509050620003c19190620004a9565b5090565b8260038101928215620003fc579160200282015b82811115620003fb578251829060ff16905591602001919060010190620003d9565b5b5090506200040b9190620004a9565b5090565b82600681019282156200044c579160200282015b828111156200044b578251829066ffffffffffffff1690559160200191906001019062000423565b5b5090506200045b9190620004a9565b5090565b826005810192821562000496579160200282015b8281111562000495578251829060ff1690559160200191906001019062000473565b5b509050620004a59190620004a9565b5090565b5b80821115620004c2575f815f905550600101620004aa565b5090565b611ca180620004d45f395ff3fe6080604052600436106100c0575f3560e01c80638229ffb61161007e578063a95b0a6e11610058578063a95b0a6e14610210578063e75722301461024c578063e9e15b4f14610288578063f2fde38b146102b0576100c0565b80638229ffb6146101a2578063855af5a3146101be5780638da5cb5b146101e6576100c0565b80629d3da3146100c457806323a091c8146100ec5780633092bec41461011457806351cff8d91461013c5780635aadf77014610164578063715018a61461018c575b5f80fd5b3480156100cf575f80fd5b506100ea60048036038101906100e59190611163565b6102d8565b005b3480156100f7575f80fd5b50610112600480360381019061010d919061123c565b610370565b005b34801561011f575f80fd5b5061013a60048036038101906101359190611315565b610408565b005b348015610147575f80fd5b50610162600480360381019061015d919061139a565b6104a0565b005b34801561016f575f80fd5b5061018a60048036038101906101859190611400565b610526565b005b348015610197575f80fd5b506101a06105d2565b005b6101bc60048036038101906101b79190611484565b6105e5565b005b3480156101c9575f80fd5b506101e460048036038101906101df919061158f565b610808565b005b3480156101f1575f80fd5b506101fa6108a0565b60405161020791906115c9565b60405180910390f35b34801561021b575f80fd5b5061023660048036038101906102319190611400565b6108c7565b60405161024391906115f1565b60405180910390f35b348015610257575f80fd5b50610272600480360381019061026d919061160a565b610a39565b60405161027f91906115f1565b60405180910390f35b348015610293575f80fd5b506102ae60048036038101906102a99190611400565b610bc5565b005b3480156102bb575f80fd5b506102d660048036038101906102d19190611400565b610c10565b005b6102e0610c92565b60058014610323576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161031a9061168f565b60405180910390fd5b5f5b600581101561036c57818160058110610341576103406116ad565b5b60200201516011826005811061035a576103596116ad565b5b01819055508080600101915050610325565b5050565b610378610c92565b600680146103bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103b290611724565b60405180910390fd5b5f5b6006811015610404578181600681106103d9576103d86116ad565b5b6020020151600b82600681106103f2576103f16116ad565b5b018190555080806001019150506103bd565b5050565b610410610c92565b60048014610453576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161044a9061178c565b60405180910390fd5b5f5b600481101561049c57818160048110610471576104706116ad565b5b60200201516004826004811061048a576104896116ad565b5b01819055508080600101915050610455565b5050565b6104a8610c92565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036104df575f80fd5b8073ffffffffffffffffffffffffffffffffffffffff166108fc4790811502906040515f60405180830381858888f19350505050158015610522573d5f803e3d5ffd5b5050565b61052e610c92565b8060035f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660165f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6105da610c92565b6105e35f610d10565b565b6105ed610dd1565b6001838390501015610634576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161062b906117f4565b60405180910390fd5b61064083839050610a39565b341015610682576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106799061185c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16036106f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106e7906118c4565b60405180910390fd5b6106fa8383610e17565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146107fb575f610737826108c7565b90505f8273ffffffffffffffffffffffffffffffffffffffff166064833461075f919061190f565b610769919061197d565b604051610775906119da565b5f6040518083038185875af1925050503d805f81146107af576040519150601f19603f3d011682016040523d82523d5f602084013e6107b4565b606091505b50509050806107f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ef90611a38565b60405180910390fd5b50505b610803610fd1565b505050565b610810610c92565b60038014610853576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161084a90611aa0565b60405180910390fd5b5f5b600381101561089c57818160038110610871576108706116ad565b5b60200201516008826003811061088a576108896116ad565b5b01819055508080600101915050610855565b5050565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b5f8060165f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b815260040161092391906115c9565b602060405180830381865afa15801561093e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109629190611ad2565b905060085f60038110610978576109776116ad565b5b015481101561099f5760045f60048110610995576109946116ad565b5b0154915050610a34565b60086001600381106109b4576109b36116ad565b5b01548110156109dc5760046001600481106109d2576109d16116ad565b5b0154915050610a34565b60086002600381106109f1576109f06116ad565b5b0154811015610a19576004600260048110610a0f57610a0e6116ad565b5b0154915050610a34565b6004600360048110610a2e57610a2d6116ad565b5b01549150505b919050565b5f60115f60058110610a4e57610a4d6116ad565b5b0154821015610a7f5781600b5f60068110610a6c57610a6b6116ad565b5b0154610a78919061190f565b9050610bc0565b6011600160058110610a9457610a936116ad565b5b0154821015610ac65781600b600160068110610ab357610ab26116ad565b5b0154610abf919061190f565b9050610bc0565b6011600260058110610adb57610ada6116ad565b5b0154821015610b0d5781600b600260068110610afa57610af96116ad565b5b0154610b06919061190f565b9050610bc0565b6011600360058110610b2257610b216116ad565b5b0154821015610b545781600b600360068110610b4157610b406116ad565b5b0154610b4d919061190f565b9050610bc0565b6011600460058110610b6957610b686116ad565b5b0154821015610b9b5781600b600460068110610b8857610b876116ad565b5b0154610b94919061190f565b9050610bc0565b81600b600560068110610bb157610bb06116ad565b5b0154610bbd919061190f565b90505b919050565b610bcd610c92565b8060025f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610c18610c92565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610c86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7d90611b6d565b60405180910390fd5b610c8f81610d10565b50565b610c9a610fda565b73ffffffffffffffffffffffffffffffffffffffff16610cb86108a0565b73ffffffffffffffffffffffffffffffffffffffff1614610d0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0590611bd5565b60405180910390fd5b565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600260015403610e0d576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600181905550565b60018282905003610eec5760165f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b88d4fde60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff163385855f818110610e9557610e946116ad565b5b905060200201356040518463ffffffff1660e01b8152600401610eba93929190611c23565b5f604051808303815f87803b158015610ed1575f80fd5b505af1158015610ee3573d5f803e3d5ffd5b50505050610fcd565b5f5b82829050811015610fcb5760165f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b88d4fde60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1633868686818110610f6c57610f6b6116ad565b5b905060200201356040518463ffffffff1660e01b8152600401610f9193929190611c23565b5f604051808303815f87803b158015610fa8575f80fd5b505af1158015610fba573d5f803e3d5ffd5b505050508080600101915050610eee565b505b5050565b60018081905550565b5f33905090565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b61103c82610ff6565b810181811067ffffffffffffffff8211171561105b5761105a611006565b5b80604052505050565b5f61106d610fe1565b90506110798282611033565b919050565b5f67ffffffffffffffff82111561109857611097611006565b5b602082029050919050565b5f80fd5b5f819050919050565b6110b9816110a7565b81146110c3575f80fd5b50565b5f813590506110d4816110b0565b92915050565b5f6110ec6110e78461107e565b611064565b90508060208402830185811115611106576111056110a3565b5b835b8181101561112f578061111b88826110c6565b845260208401935050602081019050611108565b5050509392505050565b5f82601f83011261114d5761114c610ff2565b5b600561115a8482856110da565b91505092915050565b5f60a0828403121561117857611177610fea565b5b5f61118584828501611139565b91505092915050565b5f67ffffffffffffffff8211156111a8576111a7611006565b5b602082029050919050565b5f6111c56111c08461118e565b611064565b905080602084028301858111156111df576111de6110a3565b5b835b8181101561120857806111f488826110c6565b8452602084019350506020810190506111e1565b5050509392505050565b5f82601f83011261122657611225610ff2565b5b60066112338482856111b3565b91505092915050565b5f60c0828403121561125157611250610fea565b5b5f61125e84828501611212565b91505092915050565b5f67ffffffffffffffff82111561128157611280611006565b5b602082029050919050565b5f61129e61129984611267565b611064565b905080602084028301858111156112b8576112b76110a3565b5b835b818110156112e157806112cd88826110c6565b8452602084019350506020810190506112ba565b5050509392505050565b5f82601f8301126112ff576112fe610ff2565b5b600461130c84828561128c565b91505092915050565b5f6080828403121561132a57611329610fea565b5b5f611337848285016112eb565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61136982611340565b9050919050565b6113798161135f565b8114611383575f80fd5b50565b5f8135905061139481611370565b92915050565b5f602082840312156113af576113ae610fea565b5b5f6113bc84828501611386565b91505092915050565b5f6113cf82611340565b9050919050565b6113df816113c5565b81146113e9575f80fd5b50565b5f813590506113fa816113d6565b92915050565b5f6020828403121561141557611414610fea565b5b5f611422848285016113ec565b91505092915050565b5f80fd5b5f8083601f84011261144457611443610ff2565b5b8235905067ffffffffffffffff8111156114615761146061142b565b5b60208301915083602082028301111561147d5761147c6110a3565b5b9250929050565b5f805f6040848603121561149b5761149a610fea565b5b5f84013567ffffffffffffffff8111156114b8576114b7610fee565b5b6114c48682870161142f565b935093505060206114d7868287016113ec565b9150509250925092565b5f67ffffffffffffffff8211156114fb576114fa611006565b5b602082029050919050565b5f611518611513846114e1565b611064565b90508060208402830185811115611532576115316110a3565b5b835b8181101561155b578061154788826110c6565b845260208401935050602081019050611534565b5050509392505050565b5f82601f83011261157957611578610ff2565b5b6003611586848285611506565b91505092915050565b5f606082840312156115a4576115a3610fea565b5b5f6115b184828501611565565b91505092915050565b6115c3816113c5565b82525050565b5f6020820190506115dc5f8301846115ba565b92915050565b6115eb816110a7565b82525050565b5f6020820190506116045f8301846115e2565b92915050565b5f6020828403121561161f5761161e610fea565b5b5f61162c848285016110c6565b91505092915050565b5f82825260208201905092915050565b7f5469657273206c656e677468206d7573742062652035000000000000000000005f82015250565b5f611679601683611635565b915061168482611645565b602082019050919050565b5f6020820190508181035f8301526116a68161166d565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f507269636573206c656e677468206d75737420626520360000000000000000005f82015250565b5f61170e601783611635565b9150611719826116da565b602082019050919050565b5f6020820190508181035f83015261173b81611702565b9050919050565b7f507269636573206c656e677468206d75737420626520340000000000000000005f82015250565b5f611776601783611635565b915061178182611742565b602082019050919050565b5f6020820190508181035f8301526117a38161176a565b9050919050565b7f4e656564206174206c65617374203120746f6b656e49642e00000000000000005f82015250565b5f6117de601883611635565b91506117e9826117aa565b602082019050919050565b5f6020820190508181035f83015261180b816117d2565b9050919050565b7f4e6f7420656e6f756768204554482073656e742e0000000000000000000000005f82015250565b5f611846601483611635565b915061185182611812565b602082019050919050565b5f6020820190508181035f8301526118738161183a565b9050919050565b7f596f752063616e6e6f7420616666696c6961746520796f757273656c662e00005f82015250565b5f6118ae601e83611635565b91506118b98261187a565b602082019050919050565b5f6020820190508181035f8301526118db816118a2565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f611919826110a7565b9150611924836110a7565b9250828202611932816110a7565b91508282048414831517611949576119486118e2565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f611987826110a7565b9150611992836110a7565b9250826119a2576119a1611950565b5b828204905092915050565b5f81905092915050565b50565b5f6119c55f836119ad565b91506119d0826119b7565b5f82019050919050565b5f6119e4826119ba565b9150819050919050565b7f5472616e73666572206661696c65642e000000000000000000000000000000005f82015250565b5f611a22601083611635565b9150611a2d826119ee565b602082019050919050565b5f6020820190508181035f830152611a4f81611a16565b9050919050565b7f5469657273206c656e677468206d7573742062652033000000000000000000005f82015250565b5f611a8a601683611635565b9150611a9582611a56565b602082019050919050565b5f6020820190508181035f830152611ab781611a7e565b9050919050565b5f81519050611acc816110b0565b92915050565b5f60208284031215611ae757611ae6610fea565b5b5f611af484828501611abe565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f611b57602683611635565b9150611b6282611afd565b604082019050919050565b5f6020820190508181035f830152611b8481611b4b565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f611bbf602083611635565b9150611bca82611b8b565b602082019050919050565b5f6020820190508181035f830152611bec81611bb3565b9050919050565b5f82825260208201905092915050565b5f611c0e5f83611bf3565b9150611c19826119b7565b5f82019050919050565b5f608082019050611c365f8301866115ba565b611c4360208301856115ba565b611c5060408301846115e2565b8181036060830152611c6181611c03565b905094935050505056fea264697066735822122088432204265fe05cb14daf5f647fbb836b479c42e0671228ed648051f560ef0e64736f6c63430008160033

Deployed Bytecode

0x6080604052600436106100c0575f3560e01c80638229ffb61161007e578063a95b0a6e11610058578063a95b0a6e14610210578063e75722301461024c578063e9e15b4f14610288578063f2fde38b146102b0576100c0565b80638229ffb6146101a2578063855af5a3146101be5780638da5cb5b146101e6576100c0565b80629d3da3146100c457806323a091c8146100ec5780633092bec41461011457806351cff8d91461013c5780635aadf77014610164578063715018a61461018c575b5f80fd5b3480156100cf575f80fd5b506100ea60048036038101906100e59190611163565b6102d8565b005b3480156100f7575f80fd5b50610112600480360381019061010d919061123c565b610370565b005b34801561011f575f80fd5b5061013a60048036038101906101359190611315565b610408565b005b348015610147575f80fd5b50610162600480360381019061015d919061139a565b6104a0565b005b34801561016f575f80fd5b5061018a60048036038101906101859190611400565b610526565b005b348015610197575f80fd5b506101a06105d2565b005b6101bc60048036038101906101b79190611484565b6105e5565b005b3480156101c9575f80fd5b506101e460048036038101906101df919061158f565b610808565b005b3480156101f1575f80fd5b506101fa6108a0565b60405161020791906115c9565b60405180910390f35b34801561021b575f80fd5b5061023660048036038101906102319190611400565b6108c7565b60405161024391906115f1565b60405180910390f35b348015610257575f80fd5b50610272600480360381019061026d919061160a565b610a39565b60405161027f91906115f1565b60405180910390f35b348015610293575f80fd5b506102ae60048036038101906102a99190611400565b610bc5565b005b3480156102bb575f80fd5b506102d660048036038101906102d19190611400565b610c10565b005b6102e0610c92565b60058014610323576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161031a9061168f565b60405180910390fd5b5f5b600581101561036c57818160058110610341576103406116ad565b5b60200201516011826005811061035a576103596116ad565b5b01819055508080600101915050610325565b5050565b610378610c92565b600680146103bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103b290611724565b60405180910390fd5b5f5b6006811015610404578181600681106103d9576103d86116ad565b5b6020020151600b82600681106103f2576103f16116ad565b5b018190555080806001019150506103bd565b5050565b610410610c92565b60048014610453576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161044a9061178c565b60405180910390fd5b5f5b600481101561049c57818160048110610471576104706116ad565b5b60200201516004826004811061048a576104896116ad565b5b01819055508080600101915050610455565b5050565b6104a8610c92565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036104df575f80fd5b8073ffffffffffffffffffffffffffffffffffffffff166108fc4790811502906040515f60405180830381858888f19350505050158015610522573d5f803e3d5ffd5b5050565b61052e610c92565b8060035f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660165f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6105da610c92565b6105e35f610d10565b565b6105ed610dd1565b6001838390501015610634576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161062b906117f4565b60405180910390fd5b61064083839050610a39565b341015610682576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106799061185c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16036106f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106e7906118c4565b60405180910390fd5b6106fa8383610e17565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146107fb575f610737826108c7565b90505f8273ffffffffffffffffffffffffffffffffffffffff166064833461075f919061190f565b610769919061197d565b604051610775906119da565b5f6040518083038185875af1925050503d805f81146107af576040519150601f19603f3d011682016040523d82523d5f602084013e6107b4565b606091505b50509050806107f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ef90611a38565b60405180910390fd5b50505b610803610fd1565b505050565b610810610c92565b60038014610853576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161084a90611aa0565b60405180910390fd5b5f5b600381101561089c57818160038110610871576108706116ad565b5b60200201516008826003811061088a576108896116ad565b5b01819055508080600101915050610855565b5050565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b5f8060165f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b815260040161092391906115c9565b602060405180830381865afa15801561093e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109629190611ad2565b905060085f60038110610978576109776116ad565b5b015481101561099f5760045f60048110610995576109946116ad565b5b0154915050610a34565b60086001600381106109b4576109b36116ad565b5b01548110156109dc5760046001600481106109d2576109d16116ad565b5b0154915050610a34565b60086002600381106109f1576109f06116ad565b5b0154811015610a19576004600260048110610a0f57610a0e6116ad565b5b0154915050610a34565b6004600360048110610a2e57610a2d6116ad565b5b01549150505b919050565b5f60115f60058110610a4e57610a4d6116ad565b5b0154821015610a7f5781600b5f60068110610a6c57610a6b6116ad565b5b0154610a78919061190f565b9050610bc0565b6011600160058110610a9457610a936116ad565b5b0154821015610ac65781600b600160068110610ab357610ab26116ad565b5b0154610abf919061190f565b9050610bc0565b6011600260058110610adb57610ada6116ad565b5b0154821015610b0d5781600b600260068110610afa57610af96116ad565b5b0154610b06919061190f565b9050610bc0565b6011600360058110610b2257610b216116ad565b5b0154821015610b545781600b600360068110610b4157610b406116ad565b5b0154610b4d919061190f565b9050610bc0565b6011600460058110610b6957610b686116ad565b5b0154821015610b9b5781600b600460068110610b8857610b876116ad565b5b0154610b94919061190f565b9050610bc0565b81600b600560068110610bb157610bb06116ad565b5b0154610bbd919061190f565b90505b919050565b610bcd610c92565b8060025f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610c18610c92565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610c86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7d90611b6d565b60405180910390fd5b610c8f81610d10565b50565b610c9a610fda565b73ffffffffffffffffffffffffffffffffffffffff16610cb86108a0565b73ffffffffffffffffffffffffffffffffffffffff1614610d0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0590611bd5565b60405180910390fd5b565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600260015403610e0d576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600181905550565b60018282905003610eec5760165f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b88d4fde60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff163385855f818110610e9557610e946116ad565b5b905060200201356040518463ffffffff1660e01b8152600401610eba93929190611c23565b5f604051808303815f87803b158015610ed1575f80fd5b505af1158015610ee3573d5f803e3d5ffd5b50505050610fcd565b5f5b82829050811015610fcb5760165f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b88d4fde60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1633868686818110610f6c57610f6b6116ad565b5b905060200201356040518463ffffffff1660e01b8152600401610f9193929190611c23565b5f604051808303815f87803b158015610fa8575f80fd5b505af1158015610fba573d5f803e3d5ffd5b505050508080600101915050610eee565b505b5050565b60018081905550565b5f33905090565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b61103c82610ff6565b810181811067ffffffffffffffff8211171561105b5761105a611006565b5b80604052505050565b5f61106d610fe1565b90506110798282611033565b919050565b5f67ffffffffffffffff82111561109857611097611006565b5b602082029050919050565b5f80fd5b5f819050919050565b6110b9816110a7565b81146110c3575f80fd5b50565b5f813590506110d4816110b0565b92915050565b5f6110ec6110e78461107e565b611064565b90508060208402830185811115611106576111056110a3565b5b835b8181101561112f578061111b88826110c6565b845260208401935050602081019050611108565b5050509392505050565b5f82601f83011261114d5761114c610ff2565b5b600561115a8482856110da565b91505092915050565b5f60a0828403121561117857611177610fea565b5b5f61118584828501611139565b91505092915050565b5f67ffffffffffffffff8211156111a8576111a7611006565b5b602082029050919050565b5f6111c56111c08461118e565b611064565b905080602084028301858111156111df576111de6110a3565b5b835b8181101561120857806111f488826110c6565b8452602084019350506020810190506111e1565b5050509392505050565b5f82601f83011261122657611225610ff2565b5b60066112338482856111b3565b91505092915050565b5f60c0828403121561125157611250610fea565b5b5f61125e84828501611212565b91505092915050565b5f67ffffffffffffffff82111561128157611280611006565b5b602082029050919050565b5f61129e61129984611267565b611064565b905080602084028301858111156112b8576112b76110a3565b5b835b818110156112e157806112cd88826110c6565b8452602084019350506020810190506112ba565b5050509392505050565b5f82601f8301126112ff576112fe610ff2565b5b600461130c84828561128c565b91505092915050565b5f6080828403121561132a57611329610fea565b5b5f611337848285016112eb565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61136982611340565b9050919050565b6113798161135f565b8114611383575f80fd5b50565b5f8135905061139481611370565b92915050565b5f602082840312156113af576113ae610fea565b5b5f6113bc84828501611386565b91505092915050565b5f6113cf82611340565b9050919050565b6113df816113c5565b81146113e9575f80fd5b50565b5f813590506113fa816113d6565b92915050565b5f6020828403121561141557611414610fea565b5b5f611422848285016113ec565b91505092915050565b5f80fd5b5f8083601f84011261144457611443610ff2565b5b8235905067ffffffffffffffff8111156114615761146061142b565b5b60208301915083602082028301111561147d5761147c6110a3565b5b9250929050565b5f805f6040848603121561149b5761149a610fea565b5b5f84013567ffffffffffffffff8111156114b8576114b7610fee565b5b6114c48682870161142f565b935093505060206114d7868287016113ec565b9150509250925092565b5f67ffffffffffffffff8211156114fb576114fa611006565b5b602082029050919050565b5f611518611513846114e1565b611064565b90508060208402830185811115611532576115316110a3565b5b835b8181101561155b578061154788826110c6565b845260208401935050602081019050611534565b5050509392505050565b5f82601f83011261157957611578610ff2565b5b6003611586848285611506565b91505092915050565b5f606082840312156115a4576115a3610fea565b5b5f6115b184828501611565565b91505092915050565b6115c3816113c5565b82525050565b5f6020820190506115dc5f8301846115ba565b92915050565b6115eb816110a7565b82525050565b5f6020820190506116045f8301846115e2565b92915050565b5f6020828403121561161f5761161e610fea565b5b5f61162c848285016110c6565b91505092915050565b5f82825260208201905092915050565b7f5469657273206c656e677468206d7573742062652035000000000000000000005f82015250565b5f611679601683611635565b915061168482611645565b602082019050919050565b5f6020820190508181035f8301526116a68161166d565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f507269636573206c656e677468206d75737420626520360000000000000000005f82015250565b5f61170e601783611635565b9150611719826116da565b602082019050919050565b5f6020820190508181035f83015261173b81611702565b9050919050565b7f507269636573206c656e677468206d75737420626520340000000000000000005f82015250565b5f611776601783611635565b915061178182611742565b602082019050919050565b5f6020820190508181035f8301526117a38161176a565b9050919050565b7f4e656564206174206c65617374203120746f6b656e49642e00000000000000005f82015250565b5f6117de601883611635565b91506117e9826117aa565b602082019050919050565b5f6020820190508181035f83015261180b816117d2565b9050919050565b7f4e6f7420656e6f756768204554482073656e742e0000000000000000000000005f82015250565b5f611846601483611635565b915061185182611812565b602082019050919050565b5f6020820190508181035f8301526118738161183a565b9050919050565b7f596f752063616e6e6f7420616666696c6961746520796f757273656c662e00005f82015250565b5f6118ae601e83611635565b91506118b98261187a565b602082019050919050565b5f6020820190508181035f8301526118db816118a2565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f611919826110a7565b9150611924836110a7565b9250828202611932816110a7565b91508282048414831517611949576119486118e2565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f611987826110a7565b9150611992836110a7565b9250826119a2576119a1611950565b5b828204905092915050565b5f81905092915050565b50565b5f6119c55f836119ad565b91506119d0826119b7565b5f82019050919050565b5f6119e4826119ba565b9150819050919050565b7f5472616e73666572206661696c65642e000000000000000000000000000000005f82015250565b5f611a22601083611635565b9150611a2d826119ee565b602082019050919050565b5f6020820190508181035f830152611a4f81611a16565b9050919050565b7f5469657273206c656e677468206d7573742062652033000000000000000000005f82015250565b5f611a8a601683611635565b9150611a9582611a56565b602082019050919050565b5f6020820190508181035f830152611ab781611a7e565b9050919050565b5f81519050611acc816110b0565b92915050565b5f60208284031215611ae757611ae6610fea565b5b5f611af484828501611abe565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f611b57602683611635565b9150611b6282611afd565b604082019050919050565b5f6020820190508181035f830152611b8481611b4b565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f611bbf602083611635565b9150611bca82611b8b565b602082019050919050565b5f6020820190508181035f830152611bec81611bb3565b9050919050565b5f82825260208201905092915050565b5f611c0e5f83611bf3565b9150611c19826119b7565b5f82019050919050565b5f608082019050611c365f8301866115ba565b611c4360208301856115ba565b611c5060408301846115e2565b8181036060830152611c6181611c03565b905094935050505056fea264697066735822122088432204265fe05cb14daf5f647fbb836b479c42e0671228ed648051f560ef0e64736f6c63430008160033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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