Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 158 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Send NF Ts | 16199007 | 848 days ago | IN | 0 ETH | 0.01044099 | ||||
Enter Bid | 16198613 | 849 days ago | IN | 0 ETH | 0.00749327 | ||||
Enter Bid | 16198606 | 849 days ago | IN | 0 ETH | 0.02131823 | ||||
Enter Bid | 16198588 | 849 days ago | IN | 0 ETH | 0.00548969 | ||||
Enter Bid | 16198562 | 849 days ago | IN | 0 ETH | 0.0067493 | ||||
Enter Bid | 16198531 | 849 days ago | IN | 0 ETH | 0.01089249 | ||||
Enter Bid | 16198504 | 849 days ago | IN | 0 ETH | 0.00628147 | ||||
Enter Bid | 16198392 | 849 days ago | IN | 0 ETH | 0.01826273 | ||||
Enter Bid | 16198377 | 849 days ago | IN | 0 ETH | 0.02039939 | ||||
Enter Bid | 16198348 | 849 days ago | IN | 0 ETH | 0.01941393 | ||||
Enter Bid | 16198148 | 849 days ago | IN | 0 ETH | 0.00789807 | ||||
Enter Bid | 16198130 | 849 days ago | IN | 0 ETH | 0.00768599 | ||||
Enter Bid | 16198108 | 849 days ago | IN | 0 ETH | 0.00816017 | ||||
Enter Bid | 16197957 | 849 days ago | IN | 0 ETH | 0.01797012 | ||||
Enter Bid | 16197953 | 849 days ago | IN | 0 ETH | 0.00477395 | ||||
Enter Bid | 16197948 | 849 days ago | IN | 0 ETH | 0.00906284 | ||||
Enter Bid | 16197815 | 849 days ago | IN | 0 ETH | 0.02205089 | ||||
Enter Bid | 16197811 | 849 days ago | IN | 0 ETH | 0.03136095 | ||||
Enter Bid | 16197803 | 849 days ago | IN | 0 ETH | 0.01986567 | ||||
Enter Bid | 16197730 | 849 days ago | IN | 0 ETH | 0.00680228 | ||||
Enter Bid | 16197627 | 849 days ago | IN | 0 ETH | 0.00726658 | ||||
Enter Bid | 16197433 | 849 days ago | IN | 0 ETH | 0.01874044 | ||||
Enter Bid | 16197384 | 849 days ago | IN | 0 ETH | 0.00312134 | ||||
Enter Bid | 16197303 | 849 days ago | IN | 0 ETH | 0.00337566 | ||||
Enter Bid | 16196600 | 849 days ago | IN | 0 ETH | 0.00575512 |
Advanced mode: Intended for advanced users or developers and will display all Internal Transactions including zero value transfers. Name tag integration is not available in advanced view.
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Method | Block |
From
|
To
|
||||
---|---|---|---|---|---|---|---|---|
Safe Batch Trans... | 16199007 | 848 days ago | 0 ETH | |||||
Balance Of Batch | 16199007 | 848 days ago | 0 ETH | |||||
On ERC1155Batch ... | 16198613 | 849 days ago | 0 ETH | |||||
Safe Batch Trans... | 16198613 | 849 days ago | 0 ETH | |||||
Is Approved For ... | 16198613 | 849 days ago | 0 ETH | |||||
Transfer* | 16198613 | 849 days ago | 0 ETH | |||||
On ERC1155Batch ... | 16198606 | 849 days ago | 0 ETH | |||||
Safe Batch Trans... | 16198606 | 849 days ago | 0 ETH | |||||
Is Approved For ... | 16198606 | 849 days ago | 0 ETH | |||||
Transfer* | 16198606 | 849 days ago | 0 ETH | |||||
On ERC1155Batch ... | 16198588 | 849 days ago | 0 ETH | |||||
Safe Batch Trans... | 16198588 | 849 days ago | 0 ETH | |||||
Is Approved For ... | 16198588 | 849 days ago | 0 ETH | |||||
Transfer* | 16198588 | 849 days ago | 0 ETH | |||||
On ERC1155Batch ... | 16198562 | 849 days ago | 0 ETH | |||||
Safe Batch Trans... | 16198562 | 849 days ago | 0 ETH | |||||
Is Approved For ... | 16198562 | 849 days ago | 0 ETH | |||||
Transfer* | 16198562 | 849 days ago | 0 ETH | |||||
On ERC1155Batch ... | 16198531 | 849 days ago | 0 ETH | |||||
Safe Batch Trans... | 16198531 | 849 days ago | 0 ETH | |||||
Is Approved For ... | 16198531 | 849 days ago | 0 ETH | |||||
Transfer* | 16198531 | 849 days ago | 0 ETH | |||||
On ERC1155Batch ... | 16198504 | 849 days ago | 0 ETH | |||||
Safe Batch Trans... | 16198504 | 849 days ago | 0 ETH | |||||
Is Approved For ... | 16198504 | 849 days ago | 0 ETH |
Loading...
Loading
Contract Name:
BurnAuction1155
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/utils/cryptography/SignatureChecker.sol"; contract BurnAuction1155 is ReentrancyGuard, Ownable { using ECDSA for bytes32; using Strings for uint256; uint16 public currentAuctionIndex; uint16 refundIndex; uint256 public beginAuctionTime; uint256 public timeToBid; uint256 public currentAuctionExtensionTime; address public BidNFT; address[] public joinedAuction; address public signer; address[] private batchTransferAddresses; uint256[] private batchIds; bool private nftsSent; bool private auctionCleared; event EnterBid(uint256 indexed auctionId, address indexed nftContract, uint256[] nftIds, uint256[] nftAmounts, address indexed bidder); struct Bid { uint256 tokenId; uint256 amount; } mapping(uint256 => mapping(address => uint256)) public amountBidByAuction; // Index with currentAuctionIndex to get the current auction reservers mapping(uint256 => mapping(address => Bid[])) public addressBidsByAuction; constructor() { currentAuctionIndex = 30000; batchTransferAddresses = [ address(this), address(this), address(this), address(this), address(this), address(this), address(this), address(this), address(this), address(this), address(this), address(this), address(this), address(this), address(this) ]; batchIds = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]; auctionCleared = true; BidNFT = 0x99FF13E70AD1De4335A636f029eF510749d67b39; } function setBidContract(address _address) external onlyOwner { require(_address != address(0), "Address cannot be the zero address"); BidNFT = _address; } function getTotalAuctionMembers() external view returns (uint256) { return joinedAuction.length; } function changeTimeToBid(uint256 _time) external onlyOwner { require( block.timestamp < (beginAuctionTime + timeToBid), "Auction has ended" ); timeToBid = _time; } function timeUntilAuctionEnds() external view returns (uint256) { require(block.timestamp > beginAuctionTime, "Auction is not active"); require( block.timestamp < (beginAuctionTime + timeToBid), "Auction has ended" ); return (beginAuctionTime + timeToBid) - block.timestamp; } function getFinalValue( uint256[] memory nftValues ) internal pure returns (uint256) { uint256 val; for (uint256 i = 0; i < nftValues.length; ) { val += nftValues[i]; unchecked { ++i; } } return val; } function enterBid( uint256[] calldata nfts, uint256[] calldata nftValues, uint256[] calldata nftAmounts, bytes calldata signature ) external nonReentrant { require( block.timestamp > beginAuctionTime, "Auction is not currently active" ); require( block.timestamp < (timeToBid + beginAuctionTime), "Auction has ended" ); require( verifySignature(nfts, nftValues, nftAmounts, signature), "Invalid nft values" ); require( IERC1155(BidNFT).isApprovedForAll(msg.sender, address(this)), "Contract not approved to transfer" ); // If this is the users first time bidding add them to the bidders array which is accurate for the current auction // and add them to the addressHasReserved mapping which records bidders for all auctions if ( addressBidsByAuction[currentAuctionIndex][_msgSender()].length < 1 ) { joinedAuction.push(_msgSender()); } // Transfer all bid NFTs to this contract IERC1155(BidNFT).safeBatchTransferFrom( _msgSender(), address(this), nfts, nftAmounts, "0x" ); for (uint256 i = 0; i < nfts.length; ) { Bid memory bid = Bid(nfts[i], nftAmounts[i]); addressBidsByAuction[currentAuctionIndex][_msgSender()].push(bid); unchecked { ++i; } } amountBidByAuction[currentAuctionIndex][_msgSender()] += getFinalValue( nftValues ); // If current bid is closer to auction end time than the auction extension time then extend the auction to prevent sniping if ( (beginAuctionTime + timeToBid) - block.timestamp < currentAuctionExtensionTime ) { timeToBid = (block.timestamp + currentAuctionExtensionTime) - beginAuctionTime; } emit EnterBid(currentAuctionIndex, BidNFT, nfts, nftAmounts, msg.sender); } // Create auction function (set auction start time, auction length, extension time) and can't be called until `clearAuction` has run function createAuction( uint256 startTime, uint256 bidTime, uint256 bidSnipeTimer ) external onlyOwner { require(BidNFT != address(0), "Bid NFT needs to be set"); require(auctionCleared == true, "Previous auction needs to be cleared"); currentAuctionExtensionTime = bidSnipeTimer; beginAuctionTime = startTime; timeToBid = bidTime; nftsSent = false; auctionCleared = false; } function sendNFTs() external onlyOwner { address toDeadAddress = 0x000000000000000000000000000000000000dEaD; uint256[] memory balances = IERC1155(BidNFT).balanceOfBatch( batchTransferAddresses, batchIds ); IERC1155(BidNFT).safeBatchTransferFrom( address(this), toDeadAddress, batchIds, balances, "0x" ); nftsSent = true; } function clearAuction() public onlyOwner { require(beginAuctionTime > 0, "Auction already cleared"); require( block.timestamp > beginAuctionTime + timeToBid, "Auction has yet to conclude" ); require(nftsSent == true, "Must send all NFTs before clearing auction"); _clearAuction(); } function _clearAuction() internal { delete beginAuctionTime; delete joinedAuction; delete currentAuctionExtensionTime; auctionCleared = true; unchecked { ++currentAuctionIndex; } } function setSigner(address signer_) external onlyOwner { require(signer_ != address(0), "Signer cannot be the zero address"); signer = signer_; } function verifySignature( uint256[] calldata nfts, uint256[] calldata nftValues, uint256[] calldata nftAmounts, bytes calldata signature ) internal view returns (bool) { require(signer != address(0), "Signer not set"); bytes32 hash = keccak256(abi.encodePacked(nfts, nftValues, nftAmounts)); bytes32 signedHash = hash.toEthSignedMessageHash(); return SignatureChecker.isValidSignatureNow(signer, signedHash, signature); } // In case an ERC20 token needs to be sent from contract function ERC20Withdraw( address to, address _token, uint256 quantity ) external onlyOwner { IERC20 targetToken = IERC20(_token); targetToken.transferFrom(address(this), to, quantity); } function onERC1155Received( address, address, uint256, uint256, bytes memory ) public virtual returns (bytes4) { return this.onERC1155Received.selector; } function onERC1155BatchReceived( address, address, uint256[] memory, uint256[] memory, bytes memory ) public virtual returns (bytes4) { return this.onERC1155BatchReceived.selector; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.1) (utils/cryptography/SignatureChecker.sol) pragma solidity ^0.8.0; import "./ECDSA.sol"; import "../Address.sol"; import "../../interfaces/IERC1271.sol"; /** * @dev Signature verification helper that can be used instead of `ECDSA.recover` to seamlessly support both ECDSA * signatures from externally owned accounts (EOAs) as well as ERC1271 signatures from smart contract wallets like * Argent and Gnosis Safe. * * _Available since v4.1._ */ library SignatureChecker { /** * @dev Checks if a signature is valid for a given signer and data hash. If the signer is a smart contract, the * signature is validated against that smart contract using ERC1271, otherwise it's validated using `ECDSA.recover`. * * NOTE: Unlike ECDSA signatures, contract signatures are revocable, and the outcome of this function can thus * change through time. It could return true at block N and false at block N+1 (or the opposite). */ function isValidSignatureNow( address signer, bytes32 hash, bytes memory signature ) internal view returns (bool) { (address recovered, ECDSA.RecoverError error) = ECDSA.tryRecover(hash, signature); if (error == ECDSA.RecoverError.NoError && recovered == signer) { return true; } (bool success, bytes memory result) = signer.staticcall( abi.encodeWithSelector(IERC1271.isValidSignature.selector, hash, signature) ); return (success && result.length == 32 && abi.decode(result, (bytes32)) == bytes32(IERC1271.isValidSignature.selector)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.3) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. /// @solidity memory-safe-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// 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); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @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; 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() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol) 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 `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, 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 `from` to `to` 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 from, address to, 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (interfaces/IERC1271.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC1271 standard signature validation method for * contracts as defined in https://eips.ethereum.org/EIPS/eip-1271[ERC-1271]. * * _Available since v4.1._ */ interface IERC1271 { /** * @dev Should return whether the signature provided is valid for the provided data * @param hash Hash of the data to be signed * @param signature Signature byte array associated with _data */ function isValidSignature(bytes32 hash, bytes memory signature) external view returns (bytes4 magicValue); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @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 * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 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"); (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"); (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"); (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"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal 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 /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @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] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) 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); }
// 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; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"auctionId","type":"uint256"},{"indexed":true,"internalType":"address","name":"nftContract","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"nftIds","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"nftAmounts","type":"uint256[]"},{"indexed":true,"internalType":"address","name":"bidder","type":"address"}],"name":"EnterBid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"BidNFT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"ERC20Withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"addressBidsByAuction","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"amountBidByAuction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"beginAuctionTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_time","type":"uint256"}],"name":"changeTimeToBid","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"clearAuction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"bidTime","type":"uint256"},{"internalType":"uint256","name":"bidSnipeTimer","type":"uint256"}],"name":"createAuction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentAuctionExtensionTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentAuctionIndex","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"nfts","type":"uint256[]"},{"internalType":"uint256[]","name":"nftValues","type":"uint256[]"},{"internalType":"uint256[]","name":"nftAmounts","type":"uint256[]"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"enterBid","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getTotalAuctionMembers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"joinedAuction","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155BatchReceived","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sendNFTs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setBidContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"signer_","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"signer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timeToBid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timeUntilAuctionEnds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506001600055620000223362000186565b6001805461ffff60a01b191661075360a41b179055604080516101e0810182523080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c0810191909152620000bf90600890600f620001d8565b50604080516101e08101825260018152600260208201526003918101919091526004606082015260056080820152600660a0820152600760c0820152600860e082015260096101008201819052600a610120830152600b610140830152600c610160830152600d610180830152600e6101a0830152600f6101c083018190526200014a929062000242565b50600a805461ff001916610100179055600580546001600160a01b0319167399ff13e70ad1de4335a636f029ef510749d67b391790556200029c565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805482825590600052602060002090810192821562000230579160200282015b828111156200023057825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620001f9565b506200023e92915062000285565b5090565b82805482825590600052602060002090810192821562000230579160200282015b8281111562000230578251829060ff1690559160200191906001019062000263565b5b808211156200023e576000815560010162000286565b611ca080620002ac6000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c8063b0f7d96d116100c3578063d7ebac811161007c578063d7ebac81146102ef578063db8f665214610317578063dfac38d71461032a578063ed3e9ac514610333578063f23a6e611461033c578063f2fde38b1461035b57600080fd5b8063b0f7d96d14610263578063bc197c8114610276578063c850d2f8146102ae578063cab2e391146102b6578063cda4beef146102c9578063d4c21dab146102dc57600080fd5b80636c19e783116101155780636c19e78314610213578063715018a6146102265780638da5cb5b1461022e578063961449991461023f57806397b3de4e146102525780639cea14871461025a57600080fd5b80631a8414611461015d578063238ac933146101675780633b7e48d1146101975780633f13e4b31461019f57806358882e7f146101b257806360b9619d146101da575b600080fd5b61016561036e565b005b60075461017a906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b61016561049f565b60055461017a906001600160a01b031681565b6001546101c790600160a01b900461ffff1681565b60405161ffff909116815260200161018e565b6102056101e83660046113cf565b600b60209081526000928352604080842090915290825290205481565b60405190815260200161018e565b6101656102213660046113fb565b6105a2565b61016561062c565b6001546001600160a01b031661017a565b61016561024d366004611416565b61063e565b600654610205565b61020560035481565b610165610271366004611452565b6106c9565b6102956102843660046115b1565b63bc197c8160e01b95945050505050565b6040516001600160e01b0319909116815260200161018e565b610205610704565b6101656102c43660046113fb565b61079d565b6101656102d736600461165b565b610828565b6101656102ea3660046116cc565b61090a565b6103026102fd3660046117bd565b610da5565b6040805192835260208301919091520161018e565b61017a610325366004611452565b610def565b61020560025481565b61020560045481565b61029561034a3660046117e2565b63f23a6e6160e01b95945050505050565b6101656103693660046113fb565b610e19565b610376610e92565b6000600254116103cd5760405162461bcd60e51b815260206004820152601760248201527f41756374696f6e20616c726561647920636c656172656400000000000000000060448201526064015b60405180910390fd5b6003546002546103dd919061185d565b421161042b5760405162461bcd60e51b815260206004820152601b60248201527f41756374696f6e206861732079657420746f20636f6e636c756465000000000060448201526064016103c4565b600a5460ff1615156001146104955760405162461bcd60e51b815260206004820152602a60248201527f4d7573742073656e6420616c6c204e465473206265666f726520636c6561726960448201526937339030bab1ba34b7b760b11b60648201526084016103c4565b61049d610eec565b565b6104a7610e92565b6005546040516313849cfd60e21b815261dead916000916001600160a01b0390911690634e1273f4906104e2906008906009906004016118b6565b600060405180830381865afa1580156104ff573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610527919081019061191e565b600554604051631759616b60e11b81529192506001600160a01b031690632eb2c2d69061055f903090869060099087906004016119af565b600060405180830381600087803b15801561057957600080fd5b505af115801561058d573d6000803e3d6000fd5b5050600a805460ff1916600117905550505050565b6105aa610e92565b6001600160a01b03811661060a5760405162461bcd60e51b815260206004820152602160248201527f5369676e65722063616e6e6f7420626520746865207a65726f206164647265736044820152607360f81b60648201526084016103c4565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b610634610e92565b61049d6000610f3a565b610646610e92565b6040516323b872dd60e01b81523060048201526001600160a01b038481166024830152604482018390528391908216906323b872dd906064016020604051808303816000875af115801561069e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c29190611a3a565b5050505050565b6106d1610e92565b6003546002546106e1919061185d565b42106106ff5760405162461bcd60e51b81526004016103c490611a5c565b600355565b6000600254421161074f5760405162461bcd60e51b815260206004820152601560248201527441756374696f6e206973206e6f742061637469766560581b60448201526064016103c4565b60035460025461075f919061185d565b421061077d5760405162461bcd60e51b81526004016103c490611a5c565b4260035460025461078e919061185d565b6107989190611a87565b905090565b6107a5610e92565b6001600160a01b0381166108065760405162461bcd60e51b815260206004820152602260248201527f416464726573732063616e6e6f7420626520746865207a65726f206164647265604482015261737360f01b60648201526084016103c4565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b610830610e92565b6005546001600160a01b03166108885760405162461bcd60e51b815260206004820152601760248201527f426964204e4654206e6565647320746f2062652073657400000000000000000060448201526064016103c4565b600a5460ff6101009091041615156001146108f15760405162461bcd60e51b8152602060048201526024808201527f50726576696f75732061756374696f6e206e6565647320746f20626520636c65604482015263185c995960e21b60648201526084016103c4565b600455600291909155600355600a805461ffff19169055565b60026000540361095c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016103c4565b600260008190555442116109b25760405162461bcd60e51b815260206004820152601f60248201527f41756374696f6e206973206e6f742063757272656e746c79206163746976650060448201526064016103c4565b6002546003546109c2919061185d565b42106109e05760405162461bcd60e51b81526004016103c490611a5c565b6109f08888888888888888610f8c565b610a315760405162461bcd60e51b8152602060048201526012602482015271496e76616c6964206e66742076616c75657360701b60448201526064016103c4565b60055460405163e985e9c560e01b81523360048201523060248201526001600160a01b039091169063e985e9c590604401602060405180830381865afa158015610a7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa39190611a3a565b610af95760405162461bcd60e51b815260206004820152602160248201527f436f6e7472616374206e6f7420617070726f76656420746f207472616e7366656044820152603960f91b60648201526084016103c4565b60018054600160a01b900461ffff166000908152600c602090815260408083203384529091529020541015610b6b57600680546001810182556000919091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b031916331790555b6005546001600160a01b0316632eb2c2d633308b8b89896040518763ffffffff1660e01b8152600401610ba396959493929190611acc565b600060405180830381600087803b158015610bbd57600080fd5b505af1158015610bd1573d6000803e3d6000fd5b5050505060005b87811015610c7f57600060405180604001604052808b8b85818110610bff57610bff611b2e565b905060200201358152602001878785818110610c1d57610c1d611b2e565b6020908102929092013590925260018054600160a01b900461ffff166000908152600c83526040808220338352845281208054808401825590825290839020855160029092020190815593909101519281019290925550919091019050610bd8565b50610cbc8686808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506110c692505050565b600154600160a01b900461ffff166000908152600b6020908152604080832033845290915281208054909190610cf390849061185d565b90915550506004546003546002544291610d0c9161185d565b610d169190611a87565b1015610d3a57600254600454610d2c904261185d565b610d369190611a87565b6003555b60055460015460405133926001600160a01b031691600160a01b900461ffff16907f26ff82b56ac4292ed8722dac509d8095c784c8311a3bd08f225e32c64c24f9b290610d8e908d908d908b908b90611b44565b60405180910390a450506001600055505050505050565b600c6020528260005260406000206020528160005260406000208181548110610dcd57600080fd5b6000918252602090912060029091020180546001909101549093509150839050565b60068181548110610dff57600080fd5b6000918252602090912001546001600160a01b0316905081565b610e21610e92565b6001600160a01b038116610e865760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103c4565b610e8f81610f3a565b50565b6001546001600160a01b0316331461049d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016103c4565b60026000905560066000610f009190611381565b6000600455600a805461ff0019166101001790556001805461ffff600160a01b808304821684019091160261ffff60a01b19909116179055565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6007546000906001600160a01b0316610fd85760405162461bcd60e51b815260206004820152600e60248201526d14da59db995c881b9bdd081cd95d60921b60448201526064016103c4565b6000898989898989604051602001610ff596959493929190611b94565b6040516020818303038152906040528051906020012090506000611066826040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b600754604080516020601f89018190048102820181019092528781529293506110b7926001600160a01b03909216918491899089908190840183828082843760009201919091525061110b92505050565b9b9a5050505050505050505050565b60008060005b8351811015611104578381815181106110e7576110e7611b2e565b6020026020010151826110fa919061185d565b91506001016110cc565b5092915050565b600080600061111a858561124f565b9092509050600081600481111561113357611133611bc1565b1480156111515750856001600160a01b0316826001600160a01b0316145b1561116157600192505050611248565b600080876001600160a01b0316631626ba7e60e01b8888604051602401611189929190611bfb565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b03199094169390931790925290516111c79190611c35565b600060405180830381855afa9150503d8060008114611202576040519150601f19603f3d011682016040523d82523d6000602084013e611207565b606091505b509150915081801561121a575080516020145b801561124157508051630b135d3f60e11b9061123f9083016020908101908401611c51565b145b9450505050505b9392505050565b60008082516041036112855760208301516040840151606085015160001a61127987828585611294565b9450945050505061128d565b506000905060025b9250929050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156112cb5750600090506003611378565b8460ff16601b141580156112e357508460ff16601c14155b156112f45750600090506004611378565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611348573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661137157600060019250925050611378565b9150600090505b94509492505050565b5080546000825590600052602060002090810190610e8f91905b808211156113af576000815560010161139b565b5090565b80356001600160a01b03811681146113ca57600080fd5b919050565b600080604083850312156113e257600080fd5b823591506113f2602084016113b3565b90509250929050565b60006020828403121561140d57600080fd5b611248826113b3565b60008060006060848603121561142b57600080fd5b611434846113b3565b9250611442602085016113b3565b9150604084013590509250925092565b60006020828403121561146457600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156114aa576114aa61146b565b604052919050565b600067ffffffffffffffff8211156114cc576114cc61146b565b5060051b60200190565b600082601f8301126114e757600080fd5b813560206114fc6114f7836114b2565b611481565b82815260059290921b8401810191818101908684111561151b57600080fd5b8286015b84811015611536578035835291830191830161151f565b509695505050505050565b600082601f83011261155257600080fd5b813567ffffffffffffffff81111561156c5761156c61146b565b61157f601f8201601f1916602001611481565b81815284602083860101111561159457600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a086880312156115c957600080fd5b6115d2866113b3565b94506115e0602087016113b3565b9350604086013567ffffffffffffffff808211156115fd57600080fd5b61160989838a016114d6565b9450606088013591508082111561161f57600080fd5b61162b89838a016114d6565b9350608088013591508082111561164157600080fd5b5061164e88828901611541565b9150509295509295909350565b60008060006060848603121561167057600080fd5b505081359360208301359350604090920135919050565b60008083601f84011261169957600080fd5b50813567ffffffffffffffff8111156116b157600080fd5b6020830191508360208260051b850101111561128d57600080fd5b6000806000806000806000806080898b0312156116e857600080fd5b883567ffffffffffffffff8082111561170057600080fd5b61170c8c838d01611687565b909a50985060208b013591508082111561172557600080fd5b6117318c838d01611687565b909850965060408b013591508082111561174a57600080fd5b6117568c838d01611687565b909650945060608b013591508082111561176f57600080fd5b818b0191508b601f83011261178357600080fd5b81358181111561179257600080fd5b8c60208285010111156117a457600080fd5b6020830194508093505050509295985092959890939650565b6000806000606084860312156117d257600080fd5b83359250611442602085016113b3565b600080600080600060a086880312156117fa57600080fd5b611803866113b3565b9450611811602087016113b3565b93506040860135925060608601359150608086013567ffffffffffffffff81111561183b57600080fd5b61164e88828901611541565b634e487b7160e01b600052601160045260246000fd5b8082018082111561187057611870611847565b92915050565b6000815480845260208085019450836000528060002060005b838110156118ab5781548752958201956001918201910161188f565b509495945050505050565b6000604082016040835280855480835260608501915086600052602092508260002060005b828110156119005781546001600160a01b0316845292840192600191820191016118db565b505050838103828501526119148186611876565b9695505050505050565b6000602080838503121561193157600080fd5b825167ffffffffffffffff81111561194857600080fd5b8301601f8101851361195957600080fd5b80516119676114f7826114b2565b81815260059190911b8201830190838101908783111561198657600080fd5b928401925b828410156119a45783518252928401929084019061198b565b979650505050505050565b600060018060a01b03808716835260208187168185015260a060408501526119da60a0850187611876565b8481036060860152855180825282870193509082019060005b81811015611a0f578451835293830193918301916001016119f3565b505084810360808601526002815261060f60f31b6020820152604081015b9998505050505050505050565b600060208284031215611a4c57600080fd5b8151801515811461124857600080fd5b602080825260119082015270105d58dd1a5bdb881a185cc8195b991959607a1b604082015260600190565b8181038181111561187057611870611847565b81835260006001600160fb1b03831115611ab357600080fd5b8260051b80836020870137939093016020019392505050565b6001600160a01b0387811682528616602082015260a060408201819052600090611af99083018688611a9a565b8281036060840152611b0c818587611a9a565b83810360808501526002815261060f60f31b6020820152905060408101611a2d565b634e487b7160e01b600052603260045260246000fd5b604081526000611b58604083018688611a9a565b82810360208401526119a4818587611a9a565b60006001600160fb1b03831115611b8157600080fd5b8260051b80838637939093019392505050565b6000611bb5611bae611ba7848a8c611b6b565b8789611b6b565b8486611b6b565b98975050505050505050565b634e487b7160e01b600052602160045260246000fd5b60005b83811015611bf2578181015183820152602001611bda565b50506000910152565b8281526040602082015260008251806040840152611c20816060850160208701611bd7565b601f01601f1916919091016060019392505050565b60008251611c47818460208701611bd7565b9190910192915050565b600060208284031215611c6357600080fd5b505191905056fea2646970667358221220ed52587116e2e808f59cc02a7bb4857ec4d6042550b50df243067d5f96ca5d7964736f6c63430008110033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101585760003560e01c8063b0f7d96d116100c3578063d7ebac811161007c578063d7ebac81146102ef578063db8f665214610317578063dfac38d71461032a578063ed3e9ac514610333578063f23a6e611461033c578063f2fde38b1461035b57600080fd5b8063b0f7d96d14610263578063bc197c8114610276578063c850d2f8146102ae578063cab2e391146102b6578063cda4beef146102c9578063d4c21dab146102dc57600080fd5b80636c19e783116101155780636c19e78314610213578063715018a6146102265780638da5cb5b1461022e578063961449991461023f57806397b3de4e146102525780639cea14871461025a57600080fd5b80631a8414611461015d578063238ac933146101675780633b7e48d1146101975780633f13e4b31461019f57806358882e7f146101b257806360b9619d146101da575b600080fd5b61016561036e565b005b60075461017a906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b61016561049f565b60055461017a906001600160a01b031681565b6001546101c790600160a01b900461ffff1681565b60405161ffff909116815260200161018e565b6102056101e83660046113cf565b600b60209081526000928352604080842090915290825290205481565b60405190815260200161018e565b6101656102213660046113fb565b6105a2565b61016561062c565b6001546001600160a01b031661017a565b61016561024d366004611416565b61063e565b600654610205565b61020560035481565b610165610271366004611452565b6106c9565b6102956102843660046115b1565b63bc197c8160e01b95945050505050565b6040516001600160e01b0319909116815260200161018e565b610205610704565b6101656102c43660046113fb565b61079d565b6101656102d736600461165b565b610828565b6101656102ea3660046116cc565b61090a565b6103026102fd3660046117bd565b610da5565b6040805192835260208301919091520161018e565b61017a610325366004611452565b610def565b61020560025481565b61020560045481565b61029561034a3660046117e2565b63f23a6e6160e01b95945050505050565b6101656103693660046113fb565b610e19565b610376610e92565b6000600254116103cd5760405162461bcd60e51b815260206004820152601760248201527f41756374696f6e20616c726561647920636c656172656400000000000000000060448201526064015b60405180910390fd5b6003546002546103dd919061185d565b421161042b5760405162461bcd60e51b815260206004820152601b60248201527f41756374696f6e206861732079657420746f20636f6e636c756465000000000060448201526064016103c4565b600a5460ff1615156001146104955760405162461bcd60e51b815260206004820152602a60248201527f4d7573742073656e6420616c6c204e465473206265666f726520636c6561726960448201526937339030bab1ba34b7b760b11b60648201526084016103c4565b61049d610eec565b565b6104a7610e92565b6005546040516313849cfd60e21b815261dead916000916001600160a01b0390911690634e1273f4906104e2906008906009906004016118b6565b600060405180830381865afa1580156104ff573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610527919081019061191e565b600554604051631759616b60e11b81529192506001600160a01b031690632eb2c2d69061055f903090869060099087906004016119af565b600060405180830381600087803b15801561057957600080fd5b505af115801561058d573d6000803e3d6000fd5b5050600a805460ff1916600117905550505050565b6105aa610e92565b6001600160a01b03811661060a5760405162461bcd60e51b815260206004820152602160248201527f5369676e65722063616e6e6f7420626520746865207a65726f206164647265736044820152607360f81b60648201526084016103c4565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b610634610e92565b61049d6000610f3a565b610646610e92565b6040516323b872dd60e01b81523060048201526001600160a01b038481166024830152604482018390528391908216906323b872dd906064016020604051808303816000875af115801561069e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c29190611a3a565b5050505050565b6106d1610e92565b6003546002546106e1919061185d565b42106106ff5760405162461bcd60e51b81526004016103c490611a5c565b600355565b6000600254421161074f5760405162461bcd60e51b815260206004820152601560248201527441756374696f6e206973206e6f742061637469766560581b60448201526064016103c4565b60035460025461075f919061185d565b421061077d5760405162461bcd60e51b81526004016103c490611a5c565b4260035460025461078e919061185d565b6107989190611a87565b905090565b6107a5610e92565b6001600160a01b0381166108065760405162461bcd60e51b815260206004820152602260248201527f416464726573732063616e6e6f7420626520746865207a65726f206164647265604482015261737360f01b60648201526084016103c4565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b610830610e92565b6005546001600160a01b03166108885760405162461bcd60e51b815260206004820152601760248201527f426964204e4654206e6565647320746f2062652073657400000000000000000060448201526064016103c4565b600a5460ff6101009091041615156001146108f15760405162461bcd60e51b8152602060048201526024808201527f50726576696f75732061756374696f6e206e6565647320746f20626520636c65604482015263185c995960e21b60648201526084016103c4565b600455600291909155600355600a805461ffff19169055565b60026000540361095c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016103c4565b600260008190555442116109b25760405162461bcd60e51b815260206004820152601f60248201527f41756374696f6e206973206e6f742063757272656e746c79206163746976650060448201526064016103c4565b6002546003546109c2919061185d565b42106109e05760405162461bcd60e51b81526004016103c490611a5c565b6109f08888888888888888610f8c565b610a315760405162461bcd60e51b8152602060048201526012602482015271496e76616c6964206e66742076616c75657360701b60448201526064016103c4565b60055460405163e985e9c560e01b81523360048201523060248201526001600160a01b039091169063e985e9c590604401602060405180830381865afa158015610a7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa39190611a3a565b610af95760405162461bcd60e51b815260206004820152602160248201527f436f6e7472616374206e6f7420617070726f76656420746f207472616e7366656044820152603960f91b60648201526084016103c4565b60018054600160a01b900461ffff166000908152600c602090815260408083203384529091529020541015610b6b57600680546001810182556000919091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b031916331790555b6005546001600160a01b0316632eb2c2d633308b8b89896040518763ffffffff1660e01b8152600401610ba396959493929190611acc565b600060405180830381600087803b158015610bbd57600080fd5b505af1158015610bd1573d6000803e3d6000fd5b5050505060005b87811015610c7f57600060405180604001604052808b8b85818110610bff57610bff611b2e565b905060200201358152602001878785818110610c1d57610c1d611b2e565b6020908102929092013590925260018054600160a01b900461ffff166000908152600c83526040808220338352845281208054808401825590825290839020855160029092020190815593909101519281019290925550919091019050610bd8565b50610cbc8686808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506110c692505050565b600154600160a01b900461ffff166000908152600b6020908152604080832033845290915281208054909190610cf390849061185d565b90915550506004546003546002544291610d0c9161185d565b610d169190611a87565b1015610d3a57600254600454610d2c904261185d565b610d369190611a87565b6003555b60055460015460405133926001600160a01b031691600160a01b900461ffff16907f26ff82b56ac4292ed8722dac509d8095c784c8311a3bd08f225e32c64c24f9b290610d8e908d908d908b908b90611b44565b60405180910390a450506001600055505050505050565b600c6020528260005260406000206020528160005260406000208181548110610dcd57600080fd5b6000918252602090912060029091020180546001909101549093509150839050565b60068181548110610dff57600080fd5b6000918252602090912001546001600160a01b0316905081565b610e21610e92565b6001600160a01b038116610e865760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103c4565b610e8f81610f3a565b50565b6001546001600160a01b0316331461049d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016103c4565b60026000905560066000610f009190611381565b6000600455600a805461ff0019166101001790556001805461ffff600160a01b808304821684019091160261ffff60a01b19909116179055565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6007546000906001600160a01b0316610fd85760405162461bcd60e51b815260206004820152600e60248201526d14da59db995c881b9bdd081cd95d60921b60448201526064016103c4565b6000898989898989604051602001610ff596959493929190611b94565b6040516020818303038152906040528051906020012090506000611066826040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b600754604080516020601f89018190048102820181019092528781529293506110b7926001600160a01b03909216918491899089908190840183828082843760009201919091525061110b92505050565b9b9a5050505050505050505050565b60008060005b8351811015611104578381815181106110e7576110e7611b2e565b6020026020010151826110fa919061185d565b91506001016110cc565b5092915050565b600080600061111a858561124f565b9092509050600081600481111561113357611133611bc1565b1480156111515750856001600160a01b0316826001600160a01b0316145b1561116157600192505050611248565b600080876001600160a01b0316631626ba7e60e01b8888604051602401611189929190611bfb565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b03199094169390931790925290516111c79190611c35565b600060405180830381855afa9150503d8060008114611202576040519150601f19603f3d011682016040523d82523d6000602084013e611207565b606091505b509150915081801561121a575080516020145b801561124157508051630b135d3f60e11b9061123f9083016020908101908401611c51565b145b9450505050505b9392505050565b60008082516041036112855760208301516040840151606085015160001a61127987828585611294565b9450945050505061128d565b506000905060025b9250929050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156112cb5750600090506003611378565b8460ff16601b141580156112e357508460ff16601c14155b156112f45750600090506004611378565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611348573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661137157600060019250925050611378565b9150600090505b94509492505050565b5080546000825590600052602060002090810190610e8f91905b808211156113af576000815560010161139b565b5090565b80356001600160a01b03811681146113ca57600080fd5b919050565b600080604083850312156113e257600080fd5b823591506113f2602084016113b3565b90509250929050565b60006020828403121561140d57600080fd5b611248826113b3565b60008060006060848603121561142b57600080fd5b611434846113b3565b9250611442602085016113b3565b9150604084013590509250925092565b60006020828403121561146457600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156114aa576114aa61146b565b604052919050565b600067ffffffffffffffff8211156114cc576114cc61146b565b5060051b60200190565b600082601f8301126114e757600080fd5b813560206114fc6114f7836114b2565b611481565b82815260059290921b8401810191818101908684111561151b57600080fd5b8286015b84811015611536578035835291830191830161151f565b509695505050505050565b600082601f83011261155257600080fd5b813567ffffffffffffffff81111561156c5761156c61146b565b61157f601f8201601f1916602001611481565b81815284602083860101111561159457600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a086880312156115c957600080fd5b6115d2866113b3565b94506115e0602087016113b3565b9350604086013567ffffffffffffffff808211156115fd57600080fd5b61160989838a016114d6565b9450606088013591508082111561161f57600080fd5b61162b89838a016114d6565b9350608088013591508082111561164157600080fd5b5061164e88828901611541565b9150509295509295909350565b60008060006060848603121561167057600080fd5b505081359360208301359350604090920135919050565b60008083601f84011261169957600080fd5b50813567ffffffffffffffff8111156116b157600080fd5b6020830191508360208260051b850101111561128d57600080fd5b6000806000806000806000806080898b0312156116e857600080fd5b883567ffffffffffffffff8082111561170057600080fd5b61170c8c838d01611687565b909a50985060208b013591508082111561172557600080fd5b6117318c838d01611687565b909850965060408b013591508082111561174a57600080fd5b6117568c838d01611687565b909650945060608b013591508082111561176f57600080fd5b818b0191508b601f83011261178357600080fd5b81358181111561179257600080fd5b8c60208285010111156117a457600080fd5b6020830194508093505050509295985092959890939650565b6000806000606084860312156117d257600080fd5b83359250611442602085016113b3565b600080600080600060a086880312156117fa57600080fd5b611803866113b3565b9450611811602087016113b3565b93506040860135925060608601359150608086013567ffffffffffffffff81111561183b57600080fd5b61164e88828901611541565b634e487b7160e01b600052601160045260246000fd5b8082018082111561187057611870611847565b92915050565b6000815480845260208085019450836000528060002060005b838110156118ab5781548752958201956001918201910161188f565b509495945050505050565b6000604082016040835280855480835260608501915086600052602092508260002060005b828110156119005781546001600160a01b0316845292840192600191820191016118db565b505050838103828501526119148186611876565b9695505050505050565b6000602080838503121561193157600080fd5b825167ffffffffffffffff81111561194857600080fd5b8301601f8101851361195957600080fd5b80516119676114f7826114b2565b81815260059190911b8201830190838101908783111561198657600080fd5b928401925b828410156119a45783518252928401929084019061198b565b979650505050505050565b600060018060a01b03808716835260208187168185015260a060408501526119da60a0850187611876565b8481036060860152855180825282870193509082019060005b81811015611a0f578451835293830193918301916001016119f3565b505084810360808601526002815261060f60f31b6020820152604081015b9998505050505050505050565b600060208284031215611a4c57600080fd5b8151801515811461124857600080fd5b602080825260119082015270105d58dd1a5bdb881a185cc8195b991959607a1b604082015260600190565b8181038181111561187057611870611847565b81835260006001600160fb1b03831115611ab357600080fd5b8260051b80836020870137939093016020019392505050565b6001600160a01b0387811682528616602082015260a060408201819052600090611af99083018688611a9a565b8281036060840152611b0c818587611a9a565b83810360808501526002815261060f60f31b6020820152905060408101611a2d565b634e487b7160e01b600052603260045260246000fd5b604081526000611b58604083018688611a9a565b82810360208401526119a4818587611a9a565b60006001600160fb1b03831115611b8157600080fd5b8260051b80838637939093019392505050565b6000611bb5611bae611ba7848a8c611b6b565b8789611b6b565b8486611b6b565b98975050505050505050565b634e487b7160e01b600052602160045260246000fd5b60005b83811015611bf2578181015183820152602001611bda565b50506000910152565b8281526040602082015260008251806040840152611c20816060850160208701611bd7565b601f01601f1916919091016060019392505050565b60008251611c47818460208701611bd7565b9190910192915050565b600060208284031215611c6357600080fd5b505191905056fea2646970667358221220ed52587116e2e808f59cc02a7bb4857ec4d6042550b50df243067d5f96ca5d7964736f6c63430008110033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ 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.