Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 36,779 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Claim Phase1 | 16766808 | 640 days ago | IN | 0.01 ETH | 0.00215116 | ||||
Claim Phase1 | 16766808 | 640 days ago | IN | 0.01 ETH | 0.00215116 | ||||
Claim Phase1 | 16766808 | 640 days ago | IN | 0.01 ETH | 0.00215116 | ||||
Claim Phase1 | 16766807 | 640 days ago | IN | 0.01 ETH | 0.00215969 | ||||
Claim Phase1 | 16394322 | 692 days ago | IN | 0.01 ETH | 0.00166759 | ||||
Claim Phase1 | 16394317 | 692 days ago | IN | 0.01 ETH | 0.00170429 | ||||
Claim Phase1 | 16394315 | 692 days ago | IN | 0.01 ETH | 0.00170429 | ||||
Claim Phase1 | 16394313 | 692 days ago | IN | 0.01 ETH | 0.00172846 | ||||
Claim Phase1 | 16394310 | 692 days ago | IN | 0.01 ETH | 0.00185436 | ||||
Claim Phase1 | 15642352 | 797 days ago | IN | 0.01 ETH | 0.00374883 | ||||
Claim Phase1 | 15086832 | 883 days ago | IN | 0.01 ETH | 0.00203032 | ||||
Claim Phase1 | 15076755 | 884 days ago | IN | 0.01 ETH | 0.005697 | ||||
Claim Phase1 | 14951985 | 906 days ago | IN | 0.01 ETH | 0.0020772 | ||||
Claim Phase1 | 14936977 | 909 days ago | IN | 0.01 ETH | 0.00656415 | ||||
Claim Phase1 | 14936977 | 909 days ago | IN | 0.01 ETH | 0.00721992 | ||||
Claim Phase1 | 14936961 | 909 days ago | IN | 0.01 ETH | 0.00877765 | ||||
Claim Phase1 | 14846434 | 924 days ago | IN | 0.01 ETH | 0.0022198 | ||||
Claim Phase1 | 14810748 | 929 days ago | IN | 0.01 ETH | 0.00229124 | ||||
Claim Phase1 | 14796393 | 932 days ago | IN | 0.01 ETH | 0.0021381 | ||||
Claim Phase1 | 14722360 | 943 days ago | IN | 0.01 ETH | 0.00249467 | ||||
Claim Phase1 | 14722343 | 943 days ago | IN | 0.01 ETH | 0.00245254 | ||||
Claim Phase1 | 14703310 | 946 days ago | IN | 0.01 ETH | 0.00539886 | ||||
Claim Phase1 | 14703310 | 946 days ago | IN | 0.01 ETH | 0.00669706 | ||||
Claim Phase1 | 14699703 | 947 days ago | IN | 0.01 ETH | 0.01538684 | ||||
Claim Phase1 | 14693724 | 948 days ago | IN | 0.01 ETH | 0.00242531 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
14348894 | 1002 days ago | 200 ETH |
Loading...
Loading
Contract Name:
BobuDistributor
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 500 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/security/ReentrancyGuard.sol'; import '@openzeppelin/contracts/token/ERC1155/IERC1155.sol'; import '@openzeppelin/contracts/token/ERC1155/utils/ERC1155Holder.sol'; import '@openzeppelin/contracts/utils/cryptography/ECDSA.sol'; error Phase1SaleNotStarted(); error Phase2SaleNotStarted(); error MaxPhase1ClaimsReached(); error MaxPhase2ClaimsReached(); error InsufficientAmount(); error CallerIsContract(); error TransferFailed(); error InvalidSignature(); contract BobuDistributor is Ownable, ReentrancyGuard, ERC1155Holder { using ECDSA for bytes32; mapping(address => uint256) public numFractionsClaimed; IERC1155 private immutable fractional1155; uint256 private immutable fractionIdIn1155; struct SaleDetails { uint128 phase1SaleTime; uint128 phase2SaleTime; } SaleDetails public saleDetails; uint256 constant PRICE_FOR_ONE = 0.01 ether; address private signer; constructor(address fractional1155Address_, uint256 fractionIdIn1155_) { fractional1155 = IERC1155(fractional1155Address_); fractionIdIn1155 = fractionIdIn1155_; } function claimPhase1(bytes calldata _signature) external payable callerIsUser { SaleDetails memory saleDetailsLoc = saleDetails; if ( saleDetailsLoc.phase1SaleTime == 0 || block.timestamp < saleDetailsLoc.phase1SaleTime ) { revert Phase1SaleNotStarted(); } if (numFractionsClaimed[msg.sender] != 0) { revert MaxPhase1ClaimsReached(); } if (msg.value < PRICE_FOR_ONE) revert InsufficientAmount(); if (!_verify(_signature)) revert InvalidSignature(); // It is impossible to overflow here because we restrict the number of claims // per wallet to be 101. unchecked { numFractionsClaimed[msg.sender]++; } fractional1155.safeTransferFrom( address(this), msg.sender, fractionIdIn1155, 1, '0' ); } function claimPhase2(uint32 amount, bytes calldata _signature) external payable callerIsUser { SaleDetails memory saleDetailsLoc = saleDetails; if ( saleDetailsLoc.phase2SaleTime == 0 || block.timestamp < saleDetailsLoc.phase2SaleTime ) { revert Phase2SaleNotStarted(); } if (numFractionsClaimed[msg.sender] + amount > 101) { revert MaxPhase2ClaimsReached(); } if (msg.value < (PRICE_FOR_ONE * amount)) revert InsufficientAmount(); if (!_verify(_signature)) revert InvalidSignature(); // It is impossible to overflow here because we restrict the number of claims // per wallet to be 101. unchecked { numFractionsClaimed[msg.sender] += amount; } fractional1155.safeTransferFrom( address(this), msg.sender, fractionIdIn1155, amount, '0' ); } function setSaleDetails(uint128 phase1SaleTime_, uint128 phase2SaleTime_) external onlyOwner { saleDetails = SaleDetails(phase1SaleTime_, phase2SaleTime_); } modifier callerIsUser() { if (tx.origin != msg.sender) revert CallerIsContract(); _; } function withdrawMoney() external onlyOwner nonReentrant { (bool success, ) = msg.sender.call{value: address(this).balance}(''); if (!success) revert TransferFailed(); } function withdrawRemainingBobus() external onlyOwner nonReentrant { fractional1155.safeTransferFrom( address(this), msg.sender, fractionIdIn1155, fractional1155.balanceOf(address(this), fractionIdIn1155), '0' ); } function _verify(bytes memory _signature) private view returns (bool) { bytes32 hashVal = keccak256(abi.encodePacked(msg.sender)); bytes32 signedHash = hashVal.toEthSignedMessageHash(); address signingAddress = signedHash.recover(_signature); return signingAddress == signer; } function setSigner(address _signer) external onlyOwner { signer = _signer; } }
// SPDX-License-Identifier: MIT 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() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { 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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT 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 make 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 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 be 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 pragma solidity ^0.8.0; import "./ERC1155Receiver.sol"; /** * @dev _Available since v3.1._ */ contract ERC1155Holder is ERC1155Receiver { function onERC1155Received( address, address, uint256, uint256, bytes memory ) public virtual override returns (bytes4) { return this.onERC1155Received.selector; } function onERC1155BatchReceived( address, address, uint256[] memory, uint256[] memory, bytes memory ) public virtual override returns (bytes4) { return this.onERC1155BatchReceived.selector; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @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 { /** * @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. * * 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] */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ 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. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return recover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return recover(hash, r, vs); } else { revert("ECDSA: invalid signature length"); } } /** * @dev Overload of {ECDSA-recover} 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.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { bytes32 s; uint8 v; assembly { s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } return recover(hash, v, r, s); } /** * @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) { // 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 (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): 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. require( uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, "ECDSA: invalid signature 's' value" ); require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value"); // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); require(signer != address(0), "ECDSA: invalid signature"); return signer; } /** * @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 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 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; } }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; import "../IERC1155Receiver.sol"; import "../../../utils/introspection/ERC165.sol"; /** * @dev _Available since v3.1._ */ abstract contract ERC1155Receiver is ERC165, IERC1155Receiver { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155Receiver).interfaceId || super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** @dev Handles the receipt of a single ERC1155 token type. This function is called at the end of a `safeTransferFrom` after the balance has been updated. To accept the transfer, this must return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` (i.e. 0xf23a6e61, or its own function selector). @param operator The address which initiated the transfer (i.e. msg.sender) @param from The address which previously owned the token @param id The ID of the token being transferred @param value The amount of tokens being transferred @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** @dev Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. To accept the transfer(s), this must return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` (i.e. 0xbc197c81, or its own function selector). @param operator The address which initiated the batch transfer (i.e. msg.sender) @param from The address which previously owned the token @param ids An array containing ids of each token being transferred (order and length must match values array) @param values An array containing amounts of each token being transferred (order and length must match ids array) @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
{ "optimizer": { "enabled": true, "runs": 500 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"fractional1155Address_","type":"address"},{"internalType":"uint256","name":"fractionIdIn1155_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"CallerIsContract","type":"error"},{"inputs":[],"name":"InsufficientAmount","type":"error"},{"inputs":[],"name":"InvalidSignature","type":"error"},{"inputs":[],"name":"MaxPhase1ClaimsReached","type":"error"},{"inputs":[],"name":"MaxPhase2ClaimsReached","type":"error"},{"inputs":[],"name":"Phase1SaleNotStarted","type":"error"},{"inputs":[],"name":"Phase2SaleNotStarted","type":"error"},{"inputs":[],"name":"TransferFailed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"claimPhase1","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint32","name":"amount","type":"uint32"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"claimPhase2","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numFractionsClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"saleDetails","outputs":[{"internalType":"uint128","name":"phase1SaleTime","type":"uint128"},{"internalType":"uint128","name":"phase2SaleTime","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint128","name":"phase1SaleTime_","type":"uint128"},{"internalType":"uint128","name":"phase2SaleTime_","type":"uint128"}],"name":"setSaleDetails","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signer","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawMoney","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawRemainingBobus","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c060405234801561001057600080fd5b5060405161162a38038061162a83398101604081905261002f916100a7565b61003833610057565b6001805560609190911b6001600160601b03191660805260a0526100df565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080604083850312156100b9578182fd5b82516001600160a01b03811681146100cf578283fd5b6020939093015192949293505050565b60805160601c60a051611507610123600039600081816104010152818161069b01526108b001526000818161042901528181610663015261087901526115076000f3fe6080604052600436106100dd5760003560e01c8063715018a61161007f578063bc197c8111610059578063bc197c811461024c578063f23a6e6114610291578063f2fde38b146102bd578063faa2e90a146102dd57600080fd5b8063715018a6146101fa5780638da5cb5b1461020f578063ac4460021461023757600080fd5b80634ab8173b116100bb5780634ab8173b1461019d5780635801bdc6146101b457806369de949e146101c75780636c19e783146101da57600080fd5b806301ffc9a7146100e257806332e38240146101175780633474a4a614610152575b600080fd5b3480156100ee57600080fd5b506101026100fd36600461129e565b6102fd565b60405190151581526020015b60405180910390f35b34801561012357600080fd5b50610144610132366004611174565b60026020526000908152604090205481565b60405190815260200161010e565b34801561015e57600080fd5b5060035461017d906001600160801b0380821691600160801b90041682565b604080516001600160801b0393841681529290911660208301520161010e565b3480156101a957600080fd5b506101b2610334565b005b6101b26101c23660046112c6565b61050c565b6101b26101d5366004611350565b6106fa565b3480156101e657600080fd5b506101b26101f5366004611174565b610912565b34801561020657600080fd5b506101b261099b565b34801561021b57600080fd5b506000546040516001600160a01b03909116815260200161010e565b34801561024357600080fd5b506101b2610a01565b34801561025857600080fd5b50610278610267366004611195565b63bc197c8160e01b95945050505050565b6040516001600160e01b0319909116815260200161010e565b34801561029d57600080fd5b506102786102ac36600461123b565b63f23a6e6160e01b95945050505050565b3480156102c957600080fd5b506101b26102d8366004611174565b610b23565b3480156102e957600080fd5b506101b26102f8366004611306565b610bee565b60006001600160e01b03198216630271189760e51b148061032e57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6000546001600160a01b031633146103935760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b600260015414156103e65760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161038a565b6002600155604051627eeac760e11b815230600482018190527f0000000000000000000000000000000000000000000000000000000000000000602483018190527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169263f242432a92913391859062fdd58e9060440160206040518083038186803b15801561047d57600080fd5b505afa158015610491573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104b59190611338565b6040518563ffffffff1660e01b81526004016104d494939291906113ab565b600060405180830381600087803b1580156104ee57600080fd5b505af1158015610502573d6000803e3d6000fd5b5050600180555050565b32331461052c57604051637df1f81760e01b815260040160405180910390fd5b604080518082019091526003546001600160801b03808216808452600160801b909204166020830152158061056a575080516001600160801b031642105b1561058857604051634f199eff60e01b815260040160405180910390fd5b33600090815260026020526040902054156105b657604051631c96390960e21b815260040160405180910390fd5b662386f26fc100003410156105de57604051632ca2f52b60e11b815260040160405180910390fd5b61061d83838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610c7a92505050565b61063a57604051638baa579f60e01b815260040160405180910390fd5b3360008181526002602052604090819020805460019081019091559051637921219560e11b81527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169263f242432a926106c3923092917f0000000000000000000000000000000000000000000000000000000000000000916004016113ab565b600060405180830381600087803b1580156106dd57600080fd5b505af11580156106f1573d6000803e3d6000fd5b50505050505050565b32331461071a57604051637df1f81760e01b815260040160405180910390fd5b604080518082019091526003546001600160801b038082168352600160801b9091041660208201819052158061075c575080602001516001600160801b031642105b156107795760405162031ce960e21b815260040160405180910390fd5b3360009081526002602052604090205460659061079d9063ffffffff87169061146e565b11156107bc57604051637821de4d60e11b815260040160405180910390fd5b6107d363ffffffff8516662386f26fc10000611486565b3410156107f357604051632ca2f52b60e11b815260040160405180910390fd5b61083283838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610c7a92505050565b61084f57604051638baa579f60e01b815260040160405180910390fd5b3360008181526002602052604090819020805463ffffffff881601905551637921219560e11b81527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169163f242432a916108da9130917f0000000000000000000000000000000000000000000000000000000000000000908a906004016113f1565b600060405180830381600087803b1580156108f457600080fd5b505af1158015610908573d6000803e3d6000fd5b5050505050505050565b6000546001600160a01b0316331461096c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161038a565b6004805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6000546001600160a01b031633146109f55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161038a565b6109ff6000610d1f565b565b6000546001600160a01b03163314610a5b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161038a565b60026001541415610aae5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161038a565b6002600155604051600090339047908381818185875af1925050503d8060008114610af5576040519150601f19603f3d011682016040523d82523d6000602084013e610afa565b606091505b5050905080610b1c576040516312171d8360e31b815260040160405180910390fd5b5060018055565b6000546001600160a01b03163314610b7d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161038a565b6001600160a01b038116610be25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161038a565b610beb81610d1f565b50565b6000546001600160a01b03163314610c485760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161038a565b604080518082019091526001600160801b03928316808252919092166020909201829052600160801b90910217600355565b604080513360601b6bffffffffffffffffffffffff1916602080830191909152825160148184030181526034830184528051908201207f19457468657265756d205369676e6564204d6573736167653a0a333200000000605484015260708084018290528451808503909101815260909093019093528151910120600091906000610d058286610d7c565b6004546001600160a01b0391821691161495945050505050565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000815160411415610db05760208201516040830151606084015160001a610da686828585610e20565b935050505061032e565b815160401415610dd85760208201516040830151610dcf858383610fc9565b9250505061032e565b60405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161038a565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115610e9d5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161038a565b8360ff16601b1480610eb257508360ff16601c145b610f095760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b606482015260840161038a565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa158015610f5d573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610fc05760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161038a565b95945050505050565b60007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821660ff83901c601b0161100286828785610e20565b9695505050505050565b80356001600160a01b038116811461102357600080fd5b919050565b600082601f830112611038578081fd5b8135602067ffffffffffffffff821115611054576110546114bb565b8160051b61106382820161143d565b83815282810190868401838801850189101561107d578687fd5b8693505b8584101561109f578035835260019390930192918401918401611081565b50979650505050505050565b60008083601f8401126110bc578182fd5b50813567ffffffffffffffff8111156110d3578182fd5b6020830191508360208285010111156110eb57600080fd5b9250929050565b600082601f830112611102578081fd5b813567ffffffffffffffff81111561111c5761111c6114bb565b61112f601f8201601f191660200161143d565b818152846020838601011115611143578283fd5b816020850160208301379081016020019190915292915050565b80356001600160801b038116811461102357600080fd5b600060208284031215611185578081fd5b61118e8261100c565b9392505050565b600080600080600060a086880312156111ac578081fd5b6111b58661100c565b94506111c36020870161100c565b9350604086013567ffffffffffffffff808211156111df578283fd5b6111eb89838a01611028565b94506060880135915080821115611200578283fd5b61120c89838a01611028565b93506080880135915080821115611221578283fd5b5061122e888289016110f2565b9150509295509295909350565b600080600080600060a08688031215611252578081fd5b61125b8661100c565b94506112696020870161100c565b93506040860135925060608601359150608086013567ffffffffffffffff811115611292578182fd5b61122e888289016110f2565b6000602082840312156112af578081fd5b81356001600160e01b03198116811461118e578182fd5b600080602083850312156112d8578182fd5b823567ffffffffffffffff8111156112ee578283fd5b6112fa858286016110ab565b90969095509350505050565b60008060408385031215611318578182fd5b6113218361115d565b915061132f6020840161115d565b90509250929050565b600060208284031215611349578081fd5b5051919050565b600080600060408486031215611364578283fd5b833563ffffffff81168114611377578384fd5b9250602084013567ffffffffffffffff811115611392578283fd5b61139e868287016110ab565b9497909650939450505050565b60006001600160a01b03808716835280861660208401525083604083015282606083015260a0608083015261100260a0830160018152600360fc1b602082015260400190565b60006001600160a01b03808716835280861660208401525083604083015263ffffffff8316606083015260a0608083015261100260a0830160018152600360fc1b602082015260400190565b604051601f8201601f1916810167ffffffffffffffff81118282101715611466576114666114bb565b604052919050565b60008219821115611481576114816114a5565b500190565b60008160001904831182151516156114a0576114a06114a5565b500290565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220dd4418828a243fa236d675602fa9a8853c2451f272cc80ac5245dfb837597d4064736f6c634300080400330000000000000000000000002079812353e2c9409a788fbf5f383fa62ad85be80000000000000000000000000000000000000000000000000000000000000001
Deployed Bytecode
0x6080604052600436106100dd5760003560e01c8063715018a61161007f578063bc197c8111610059578063bc197c811461024c578063f23a6e6114610291578063f2fde38b146102bd578063faa2e90a146102dd57600080fd5b8063715018a6146101fa5780638da5cb5b1461020f578063ac4460021461023757600080fd5b80634ab8173b116100bb5780634ab8173b1461019d5780635801bdc6146101b457806369de949e146101c75780636c19e783146101da57600080fd5b806301ffc9a7146100e257806332e38240146101175780633474a4a614610152575b600080fd5b3480156100ee57600080fd5b506101026100fd36600461129e565b6102fd565b60405190151581526020015b60405180910390f35b34801561012357600080fd5b50610144610132366004611174565b60026020526000908152604090205481565b60405190815260200161010e565b34801561015e57600080fd5b5060035461017d906001600160801b0380821691600160801b90041682565b604080516001600160801b0393841681529290911660208301520161010e565b3480156101a957600080fd5b506101b2610334565b005b6101b26101c23660046112c6565b61050c565b6101b26101d5366004611350565b6106fa565b3480156101e657600080fd5b506101b26101f5366004611174565b610912565b34801561020657600080fd5b506101b261099b565b34801561021b57600080fd5b506000546040516001600160a01b03909116815260200161010e565b34801561024357600080fd5b506101b2610a01565b34801561025857600080fd5b50610278610267366004611195565b63bc197c8160e01b95945050505050565b6040516001600160e01b0319909116815260200161010e565b34801561029d57600080fd5b506102786102ac36600461123b565b63f23a6e6160e01b95945050505050565b3480156102c957600080fd5b506101b26102d8366004611174565b610b23565b3480156102e957600080fd5b506101b26102f8366004611306565b610bee565b60006001600160e01b03198216630271189760e51b148061032e57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6000546001600160a01b031633146103935760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b600260015414156103e65760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161038a565b6002600155604051627eeac760e11b815230600482018190527f0000000000000000000000000000000000000000000000000000000000000001602483018190527f0000000000000000000000002079812353e2c9409a788fbf5f383fa62ad85be86001600160a01b03169263f242432a92913391859062fdd58e9060440160206040518083038186803b15801561047d57600080fd5b505afa158015610491573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104b59190611338565b6040518563ffffffff1660e01b81526004016104d494939291906113ab565b600060405180830381600087803b1580156104ee57600080fd5b505af1158015610502573d6000803e3d6000fd5b5050600180555050565b32331461052c57604051637df1f81760e01b815260040160405180910390fd5b604080518082019091526003546001600160801b03808216808452600160801b909204166020830152158061056a575080516001600160801b031642105b1561058857604051634f199eff60e01b815260040160405180910390fd5b33600090815260026020526040902054156105b657604051631c96390960e21b815260040160405180910390fd5b662386f26fc100003410156105de57604051632ca2f52b60e11b815260040160405180910390fd5b61061d83838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610c7a92505050565b61063a57604051638baa579f60e01b815260040160405180910390fd5b3360008181526002602052604090819020805460019081019091559051637921219560e11b81527f0000000000000000000000002079812353e2c9409a788fbf5f383fa62ad85be86001600160a01b03169263f242432a926106c3923092917f0000000000000000000000000000000000000000000000000000000000000001916004016113ab565b600060405180830381600087803b1580156106dd57600080fd5b505af11580156106f1573d6000803e3d6000fd5b50505050505050565b32331461071a57604051637df1f81760e01b815260040160405180910390fd5b604080518082019091526003546001600160801b038082168352600160801b9091041660208201819052158061075c575080602001516001600160801b031642105b156107795760405162031ce960e21b815260040160405180910390fd5b3360009081526002602052604090205460659061079d9063ffffffff87169061146e565b11156107bc57604051637821de4d60e11b815260040160405180910390fd5b6107d363ffffffff8516662386f26fc10000611486565b3410156107f357604051632ca2f52b60e11b815260040160405180910390fd5b61083283838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610c7a92505050565b61084f57604051638baa579f60e01b815260040160405180910390fd5b3360008181526002602052604090819020805463ffffffff881601905551637921219560e11b81527f0000000000000000000000002079812353e2c9409a788fbf5f383fa62ad85be86001600160a01b03169163f242432a916108da9130917f0000000000000000000000000000000000000000000000000000000000000001908a906004016113f1565b600060405180830381600087803b1580156108f457600080fd5b505af1158015610908573d6000803e3d6000fd5b5050505050505050565b6000546001600160a01b0316331461096c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161038a565b6004805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6000546001600160a01b031633146109f55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161038a565b6109ff6000610d1f565b565b6000546001600160a01b03163314610a5b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161038a565b60026001541415610aae5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161038a565b6002600155604051600090339047908381818185875af1925050503d8060008114610af5576040519150601f19603f3d011682016040523d82523d6000602084013e610afa565b606091505b5050905080610b1c576040516312171d8360e31b815260040160405180910390fd5b5060018055565b6000546001600160a01b03163314610b7d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161038a565b6001600160a01b038116610be25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161038a565b610beb81610d1f565b50565b6000546001600160a01b03163314610c485760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161038a565b604080518082019091526001600160801b03928316808252919092166020909201829052600160801b90910217600355565b604080513360601b6bffffffffffffffffffffffff1916602080830191909152825160148184030181526034830184528051908201207f19457468657265756d205369676e6564204d6573736167653a0a333200000000605484015260708084018290528451808503909101815260909093019093528151910120600091906000610d058286610d7c565b6004546001600160a01b0391821691161495945050505050565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000815160411415610db05760208201516040830151606084015160001a610da686828585610e20565b935050505061032e565b815160401415610dd85760208201516040830151610dcf858383610fc9565b9250505061032e565b60405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161038a565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115610e9d5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161038a565b8360ff16601b1480610eb257508360ff16601c145b610f095760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b606482015260840161038a565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa158015610f5d573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610fc05760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161038a565b95945050505050565b60007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821660ff83901c601b0161100286828785610e20565b9695505050505050565b80356001600160a01b038116811461102357600080fd5b919050565b600082601f830112611038578081fd5b8135602067ffffffffffffffff821115611054576110546114bb565b8160051b61106382820161143d565b83815282810190868401838801850189101561107d578687fd5b8693505b8584101561109f578035835260019390930192918401918401611081565b50979650505050505050565b60008083601f8401126110bc578182fd5b50813567ffffffffffffffff8111156110d3578182fd5b6020830191508360208285010111156110eb57600080fd5b9250929050565b600082601f830112611102578081fd5b813567ffffffffffffffff81111561111c5761111c6114bb565b61112f601f8201601f191660200161143d565b818152846020838601011115611143578283fd5b816020850160208301379081016020019190915292915050565b80356001600160801b038116811461102357600080fd5b600060208284031215611185578081fd5b61118e8261100c565b9392505050565b600080600080600060a086880312156111ac578081fd5b6111b58661100c565b94506111c36020870161100c565b9350604086013567ffffffffffffffff808211156111df578283fd5b6111eb89838a01611028565b94506060880135915080821115611200578283fd5b61120c89838a01611028565b93506080880135915080821115611221578283fd5b5061122e888289016110f2565b9150509295509295909350565b600080600080600060a08688031215611252578081fd5b61125b8661100c565b94506112696020870161100c565b93506040860135925060608601359150608086013567ffffffffffffffff811115611292578182fd5b61122e888289016110f2565b6000602082840312156112af578081fd5b81356001600160e01b03198116811461118e578182fd5b600080602083850312156112d8578182fd5b823567ffffffffffffffff8111156112ee578283fd5b6112fa858286016110ab565b90969095509350505050565b60008060408385031215611318578182fd5b6113218361115d565b915061132f6020840161115d565b90509250929050565b600060208284031215611349578081fd5b5051919050565b600080600060408486031215611364578283fd5b833563ffffffff81168114611377578384fd5b9250602084013567ffffffffffffffff811115611392578283fd5b61139e868287016110ab565b9497909650939450505050565b60006001600160a01b03808716835280861660208401525083604083015282606083015260a0608083015261100260a0830160018152600360fc1b602082015260400190565b60006001600160a01b03808716835280861660208401525083604083015263ffffffff8316606083015260a0608083015261100260a0830160018152600360fc1b602082015260400190565b604051601f8201601f1916810167ffffffffffffffff81118282101715611466576114666114bb565b604052919050565b60008219821115611481576114816114a5565b500190565b60008160001904831182151516156114a0576114a06114a5565b500290565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220dd4418828a243fa236d675602fa9a8853c2451f272cc80ac5245dfb837597d4064736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000002079812353e2c9409a788fbf5f383fa62ad85be80000000000000000000000000000000000000000000000000000000000000001
-----Decoded View---------------
Arg [0] : fractional1155Address_ (address): 0x2079812353E2C9409a788FBF5f383fa62aD85bE8
Arg [1] : fractionIdIn1155_ (uint256): 1
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000002079812353e2c9409a788fbf5f383fa62ad85be8
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000001
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.