POL Price: $0.702131 (-0.36%)
 

Overview

POL Balance

Polygon PoS Chain LogoPolygon PoS Chain LogoPolygon PoS Chain Logo0 POL

POL Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Buy333868782022-09-21 14:38:31808 days ago1663771111IN
Tigris : NFTsale
0 POL0.0030480430.04238253
Buy333867522022-09-21 14:34:14808 days ago1663770854IN
Tigris : NFTsale
0 POL0.003733330.94119105
Buy333866972022-09-21 14:32:20808 days ago1663770740IN
Tigris : NFTsale
0 POL0.0056574434.92165414
Buy333865852022-09-21 14:28:28808 days ago1663770508IN
Tigris : NFTsale
0 POL0.0105855244.56127001
Buy333864182022-09-21 14:22:42808 days ago1663770162IN
Tigris : NFTsale
0 POL0.0046457430.00000497
Buy333861652022-09-21 14:14:00808 days ago1663769640IN
Tigris : NFTsale
0 POL0.0037220830.84821163
Buy333861332022-09-21 14:12:56808 days ago1663769576IN
Tigris : NFTsale
0 POL0.0054296145
Buy333860042022-09-21 14:08:30808 days ago1663769310IN
Tigris : NFTsale
0 POL0.0036197530.0001023
Buy333859992022-09-21 14:08:20808 days ago1663769300IN
Tigris : NFTsale
0 POL0.0036197530.00010451
Buy333859992022-09-21 14:08:20808 days ago1663769300IN
Tigris : NFTsale
0 POL0.0036197530.00010451
Buy333859602022-09-21 14:06:58808 days ago1663769218IN
Tigris : NFTsale
0 POL0.0036197530.0001125
Buy333859532022-09-21 14:06:44808 days ago1663769204IN
Tigris : NFTsale
0 POL0.0036281830.06996659
Buy333859202022-09-21 14:05:38808 days ago1663769138IN
Tigris : NFTsale
0 POL0.000637630.07010306
Buy333859152022-09-21 14:05:24808 days ago1663769124IN
Tigris : NFTsale
0 POL0.0006493930.62624759
Buy333859122022-09-21 14:05:18808 days ago1663769118IN
Tigris : NFTsale
0 POL0.003695330.62626115
Buy333859062022-09-21 14:05:06808 days ago1663769106IN
Tigris : NFTsale
0 POL0.0006530830.79998907
Buy333859022022-09-21 14:04:58808 days ago1663769098IN
Tigris : NFTsale
0 POL0.0006382430.10001948
Buy333858982022-09-21 14:04:50808 days ago1663769090IN
Tigris : NFTsale
0 POL0.000659231.08857118
Buy333858772022-09-21 14:04:08808 days ago1663769048IN
Tigris : NFTsale
0 POL0.0063969930.41931509
Buy333858772022-09-21 14:04:08808 days ago1663769048IN
Tigris : NFTsale
0 POL0.0006361230.00012898
Buy333858182022-09-21 14:02:06808 days ago1663768926IN
Tigris : NFTsale
0 POL0.000637630.06998915
Buy333858082022-09-21 14:01:46808 days ago1663768906IN
Tigris : NFTsale
0 POL0.0036281830.07001726
Buy333858012022-09-21 14:01:32808 days ago1663768892IN
Tigris : NFTsale
0 POL0.0036197530.00009511
Buy333857932022-09-21 14:01:16808 days ago1663768876IN
Tigris : NFTsale
0 POL0.0036197530.0000878
Buy333857912022-09-21 14:01:08808 days ago1663768868IN
Tigris : NFTsale
0 POL0.0034757530.00008745
View all transactions

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

Contract Source Code Verified (Exact Match)

Contract Name:
NFTSale

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 1000000 runs

Other Settings:
default evmVersion
File 1 of 3 : NFTSale.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";

interface IERC721 {
    function balanceOf(address) external view returns (uint256);
    function safeTransferMany(address, uint[] memory) external;
    function claim(address) external;
}

interface IERC20 {
    function balanceOf(address) external view returns (uint256);
    function transfer(address, uint) external;
    function transferFrom(address, address, uint) external;
}

contract NFTSale is Ownable {

    uint public price;
    IERC721 public nft;
    IERC20 public dai;

    uint[] public availableIds;

    constructor (IERC721 _nft, IERC20 _dai) {
        nft = _nft;
        dai = _dai;
    }


    function setPrice(uint _price) external onlyOwner {
        price = _price;
    }

    function available() external view returns (uint) {
        return nft.balanceOf(address(this));
    }

    function buy(uint _amount) external {
        require(_amount <= availableIds.length, "Not enough for sale");
        uint _daiAmount = _amount*price;
        dai.transferFrom(msg.sender, owner(), _daiAmount);
        uint[] memory _sold = new uint[](_amount);
        for (uint i=0; i<_amount; i++) {
            _sold[i] = availableIds[(availableIds.length-i) - 1];
        }
        for (uint i=0; i<_amount; i++) {
            availableIds.pop();
        }
        nft.safeTransferMany(msg.sender, _sold);
    }

    function recoverDai() external {
        dai.transfer(owner(), dai.balanceOf(address(this)));
    }

    function recoverNft() external onlyOwner {
        nft.safeTransferMany(owner(), availableIds);
        availableIds = new uint[](0);
    }

    function setIds(uint[] calldata _ids) external onlyOwner {
        availableIds = _ids;
    }

    function claimPendingRev(address _tigAsset) external {
        nft.claim(_tigAsset);
        IERC20(_tigAsset).transfer(owner(), IERC20(_tigAsset).balanceOf(address(this)));
    }
}

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

pragma solidity ^0.8.0;

import "../utils/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 3 of 3 : 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": true,
    "runs": 1000000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC721","name":"_nft","type":"address"},{"internalType":"contract IERC20","name":"_dai","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":[],"name":"available","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"availableIds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"buy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tigAsset","type":"address"}],"name":"claimPendingRev","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"dai","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nft","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"recoverDai","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"recoverNft","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_ids","type":"uint256[]"}],"name":"setIds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5060405161107a38038061107a83398101604081905261002f916100d1565b61003833610069565b600280546001600160a01b039384166001600160a01b0319918216179091556003805492909316911617905561010b565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146100ce57600080fd5b50565b600080604083850312156100e457600080fd5b82516100ef816100b9565b6020840151909250610100816100b9565b809150509250929050565b610f608061011a6000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c8063b45f900d1161008c578063d96a094a11610066578063d96a094a146101c9578063e2735fd1146101dc578063f2fde38b146101ef578063f4b9fa751461020257600080fd5b8063b45f900d146101a6578063c9b9ebb1146101ae578063d528d118146101b657600080fd5b80638da5cb5b116100c85780638da5cb5b1461015957806391b7f5ed14610177578063a035b1fe1461018a578063a80203761461019357600080fd5b806347ccca02146100ef57806348a0d75414610139578063715018a61461014f575b600080fd5b60025461010f9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b610141610222565b604051908152602001610130565b6101576102ba565b005b60005473ffffffffffffffffffffffffffffffffffffffff1661010f565b610157610185366004610c3e565b6102ce565b61014160015481565b6101576101a1366004610c57565b6102db565b6101576104af565b61015761058f565b6101416101c4366004610c3e565b6106e3565b6101576101d7366004610c3e565b610704565b6101576101ea366004610c94565b6109e0565b6101576101fd366004610c57565b6109f9565b60035461010f9073ffffffffffffffffffffffffffffffffffffffff1681565b6002546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009173ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa158015610291573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102b59190610d09565b905090565b6102c2610aad565b6102cc6000610b2e565b565b6102d6610aad565b600155565b6002546040517f1e83409a00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff838116600483015290911690631e83409a90602401600060405180830381600087803b15801561034857600080fd5b505af115801561035c573d6000803e3d6000fd5b505050508073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb61039b60005473ffffffffffffffffffffffffffffffffffffffff1690565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff8516906370a0823190602401602060405180830381865afa158015610405573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104299190610d09565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff90921660048301526024820152604401600060405180830381600087803b15801561049457600080fd5b505af11580156104a8573d6000803e3d6000fd5b5050505050565b6104b7610aad565b60025473ffffffffffffffffffffffffffffffffffffffff1663d6651c706104f460005473ffffffffffffffffffffffffffffffffffffffff1690565b60046040518363ffffffff1660e01b8152600401610513929190610d22565b600060405180830381600087803b15801561052d57600080fd5b505af1158015610541573d6000803e3d6000fd5b506000925061054e915050565b604051908082528060200260200182016040528015610577578160200160208202803683370190505b50805161058c91600491602090910190610ba3565b50565b60035473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6105cc60005473ffffffffffffffffffffffffffffffffffffffff1690565b6003546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff909116906370a0823190602401602060405180830381865afa15801561063a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061065e9190610d09565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff90921660048301526024820152604401600060405180830381600087803b1580156106c957600080fd5b505af11580156106dd573d6000803e3d6000fd5b50505050565b600481815481106106f357600080fd5b600091825260209091200154905081565b600454811115610775576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f4e6f7420656e6f75676820666f722073616c650000000000000000000000000060448201526064015b60405180910390fd5b6000600154826107859190610de9565b60035490915073ffffffffffffffffffffffffffffffffffffffff166323b872dd336107c660005473ffffffffffffffffffffffffffffffffffffffff1690565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff92831660048201529116602482015260448101849052606401600060405180830381600087803b15801561083a57600080fd5b505af115801561084e573d6000803e3d6000fd5b5050505060008267ffffffffffffffff81111561086d5761086d610d8b565b604051908082528060200260200182016040528015610896578160200160208202803683370190505b50905060005b8381101561090a57600480546001906108b6908490610e26565b6108c09190610e26565b815481106108d0576108d0610e3d565b90600052602060002001548282815181106108ed576108ed610e3d565b60209081029190910101528061090281610e6c565b91505061089c565b5060005b8381101561095057600480548061092757610927610ea4565b60019003818190600052602060002001600090559055808061094890610e6c565b91505061090e565b506002546040517fd6651c7000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063d6651c70906109a99033908590600401610ed3565b600060405180830381600087803b1580156109c357600080fd5b505af11580156109d7573d6000803e3d6000fd5b50505050505050565b6109e8610aad565b6109f460048383610bee565b505050565b610a01610aad565b73ffffffffffffffffffffffffffffffffffffffff8116610aa4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161076c565b61058c81610b2e565b60005473ffffffffffffffffffffffffffffffffffffffff1633146102cc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161076c565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b828054828255906000526020600020908101928215610bde579160200282015b82811115610bde578251825591602001919060010190610bc3565b50610bea929150610c29565b5090565b828054828255906000526020600020908101928215610bde579160200282015b82811115610bde578235825591602001919060010190610c0e565b5b80821115610bea5760008155600101610c2a565b600060208284031215610c5057600080fd5b5035919050565b600060208284031215610c6957600080fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610c8d57600080fd5b9392505050565b60008060208385031215610ca757600080fd5b823567ffffffffffffffff80821115610cbf57600080fd5b818501915085601f830112610cd357600080fd5b813581811115610ce257600080fd5b8660208260051b8501011115610cf757600080fd5b60209290920196919550909350505050565b600060208284031215610d1b57600080fd5b5051919050565b60006040820173ffffffffffffffffffffffffffffffffffffffff8516835260206040818501528185548084526060860191508660005282600020935060005b81811015610d7e57845483526001948501949284019201610d62565b5090979650505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610e2157610e21610dba565b500290565b600082821015610e3857610e38610dba565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610e9d57610e9d610dba565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b60006040820173ffffffffffffffffffffffffffffffffffffffff851683526020604081850152818551808452606086019150828701935060005b81811015610d7e57845183529383019391830191600101610f0e56fea2646970667358221220083e40f2b1dda69c1bf3b5cb08012ca82c391f91ebf30ecc810d7b7ac616034664736f6c634300080f00330000000000000000000000005df98aa475d8815df7cd4fc4549b5c150e8505be0000000000000000000000008f3cf7ad23cd3cadbd9735aff958023239c6a063

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c8063b45f900d1161008c578063d96a094a11610066578063d96a094a146101c9578063e2735fd1146101dc578063f2fde38b146101ef578063f4b9fa751461020257600080fd5b8063b45f900d146101a6578063c9b9ebb1146101ae578063d528d118146101b657600080fd5b80638da5cb5b116100c85780638da5cb5b1461015957806391b7f5ed14610177578063a035b1fe1461018a578063a80203761461019357600080fd5b806347ccca02146100ef57806348a0d75414610139578063715018a61461014f575b600080fd5b60025461010f9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b610141610222565b604051908152602001610130565b6101576102ba565b005b60005473ffffffffffffffffffffffffffffffffffffffff1661010f565b610157610185366004610c3e565b6102ce565b61014160015481565b6101576101a1366004610c57565b6102db565b6101576104af565b61015761058f565b6101416101c4366004610c3e565b6106e3565b6101576101d7366004610c3e565b610704565b6101576101ea366004610c94565b6109e0565b6101576101fd366004610c57565b6109f9565b60035461010f9073ffffffffffffffffffffffffffffffffffffffff1681565b6002546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009173ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa158015610291573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102b59190610d09565b905090565b6102c2610aad565b6102cc6000610b2e565b565b6102d6610aad565b600155565b6002546040517f1e83409a00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff838116600483015290911690631e83409a90602401600060405180830381600087803b15801561034857600080fd5b505af115801561035c573d6000803e3d6000fd5b505050508073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb61039b60005473ffffffffffffffffffffffffffffffffffffffff1690565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff8516906370a0823190602401602060405180830381865afa158015610405573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104299190610d09565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff90921660048301526024820152604401600060405180830381600087803b15801561049457600080fd5b505af11580156104a8573d6000803e3d6000fd5b5050505050565b6104b7610aad565b60025473ffffffffffffffffffffffffffffffffffffffff1663d6651c706104f460005473ffffffffffffffffffffffffffffffffffffffff1690565b60046040518363ffffffff1660e01b8152600401610513929190610d22565b600060405180830381600087803b15801561052d57600080fd5b505af1158015610541573d6000803e3d6000fd5b506000925061054e915050565b604051908082528060200260200182016040528015610577578160200160208202803683370190505b50805161058c91600491602090910190610ba3565b50565b60035473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6105cc60005473ffffffffffffffffffffffffffffffffffffffff1690565b6003546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff909116906370a0823190602401602060405180830381865afa15801561063a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061065e9190610d09565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff90921660048301526024820152604401600060405180830381600087803b1580156106c957600080fd5b505af11580156106dd573d6000803e3d6000fd5b50505050565b600481815481106106f357600080fd5b600091825260209091200154905081565b600454811115610775576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f4e6f7420656e6f75676820666f722073616c650000000000000000000000000060448201526064015b60405180910390fd5b6000600154826107859190610de9565b60035490915073ffffffffffffffffffffffffffffffffffffffff166323b872dd336107c660005473ffffffffffffffffffffffffffffffffffffffff1690565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff92831660048201529116602482015260448101849052606401600060405180830381600087803b15801561083a57600080fd5b505af115801561084e573d6000803e3d6000fd5b5050505060008267ffffffffffffffff81111561086d5761086d610d8b565b604051908082528060200260200182016040528015610896578160200160208202803683370190505b50905060005b8381101561090a57600480546001906108b6908490610e26565b6108c09190610e26565b815481106108d0576108d0610e3d565b90600052602060002001548282815181106108ed576108ed610e3d565b60209081029190910101528061090281610e6c565b91505061089c565b5060005b8381101561095057600480548061092757610927610ea4565b60019003818190600052602060002001600090559055808061094890610e6c565b91505061090e565b506002546040517fd6651c7000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063d6651c70906109a99033908590600401610ed3565b600060405180830381600087803b1580156109c357600080fd5b505af11580156109d7573d6000803e3d6000fd5b50505050505050565b6109e8610aad565b6109f460048383610bee565b505050565b610a01610aad565b73ffffffffffffffffffffffffffffffffffffffff8116610aa4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161076c565b61058c81610b2e565b60005473ffffffffffffffffffffffffffffffffffffffff1633146102cc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161076c565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b828054828255906000526020600020908101928215610bde579160200282015b82811115610bde578251825591602001919060010190610bc3565b50610bea929150610c29565b5090565b828054828255906000526020600020908101928215610bde579160200282015b82811115610bde578235825591602001919060010190610c0e565b5b80821115610bea5760008155600101610c2a565b600060208284031215610c5057600080fd5b5035919050565b600060208284031215610c6957600080fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610c8d57600080fd5b9392505050565b60008060208385031215610ca757600080fd5b823567ffffffffffffffff80821115610cbf57600080fd5b818501915085601f830112610cd357600080fd5b813581811115610ce257600080fd5b8660208260051b8501011115610cf757600080fd5b60209290920196919550909350505050565b600060208284031215610d1b57600080fd5b5051919050565b60006040820173ffffffffffffffffffffffffffffffffffffffff8516835260206040818501528185548084526060860191508660005282600020935060005b81811015610d7e57845483526001948501949284019201610d62565b5090979650505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610e2157610e21610dba565b500290565b600082821015610e3857610e38610dba565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610e9d57610e9d610dba565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b60006040820173ffffffffffffffffffffffffffffffffffffffff851683526020604081850152818551808452606086019150828701935060005b81811015610d7e57845183529383019391830191600101610f0e56fea2646970667358221220083e40f2b1dda69c1bf3b5cb08012ca82c391f91ebf30ecc810d7b7ac616034664736f6c634300080f0033

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

0000000000000000000000005df98aa475d8815df7cd4fc4549b5c150e8505be0000000000000000000000008f3cf7ad23cd3cadbd9735aff958023239c6a063

-----Decoded View---------------
Arg [0] : _nft (address): 0x5DF98AA475D8815df7cd4fC4549B5c150e8505Be
Arg [1] : _dai (address): 0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000005df98aa475d8815df7cd4fc4549b5c150e8505be
Arg [1] : 0000000000000000000000008f3cf7ad23cd3cadbd9735aff958023239c6a063


Block Transaction Gas Used Reward
view all blocks produced

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

Validator Index Block Amount
View All Withdrawals

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

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