More Info
Private Name Tags
ContractCreator
Sponsored
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0x5951cfe9fd75a3c7f2ed28ec6efb6f2df232ff99b6c092ac0e2ab27c552267db | - | (pending) | 1 sec ago | IN | 0 MATIC | (Pending) | |||
Confirm Order | 60221570 | 31 secs ago | IN | 0 MATIC | 0.0103925 | ||||
Ship Order | 60221570 | 31 secs ago | IN | 0 MATIC | 0.03142419 | ||||
Confirm Order | 60221565 | 43 secs ago | IN | 0 MATIC | 0.01339514 | ||||
Confirm Order | 60221564 | 45 secs ago | IN | 0 MATIC | 0.01354231 | ||||
Confirm Order | 60221563 | 47 secs ago | IN | 0 MATIC | 0.01024364 | ||||
Confirm Order | 60221554 | 1 min ago | IN | 0 MATIC | 0.01055397 | ||||
Ship Order | 60221554 | 1 min ago | IN | 0 MATIC | 0.03424159 | ||||
Confirm Order | 60221549 | 1 min ago | IN | 0 MATIC | 0.00997126 | ||||
Ship Order | 60221541 | 1 min ago | IN | 0 MATIC | 0.02350321 | ||||
Confirm Order | 60221540 | 1 min ago | IN | 0 MATIC | 0.01216279 | ||||
Confirm Order | 60221539 | 1 min ago | IN | 0 MATIC | 0.01060696 | ||||
Ship Order | 60221537 | 1 min ago | IN | 0 MATIC | 0.02285591 | ||||
Ship Order | 60221537 | 1 min ago | IN | 0 MATIC | 0.02353129 | ||||
Create And Pay O... | 60221535 | 1 min ago | IN | 0 MATIC | 0.05569269 | ||||
Ship Order | 60221525 | 2 mins ago | IN | 0 MATIC | 0.01612803 | ||||
Ship Order | 60221521 | 2 mins ago | IN | 0 MATIC | 0.01321833 | ||||
Ship Order | 60221516 | 2 mins ago | IN | 0 MATIC | 0.01997445 | ||||
Confirm Order | 60221513 | 2 mins ago | IN | 0 MATIC | 0.00797244 | ||||
Confirm Order | 60221511 | 2 mins ago | IN | 0 MATIC | 0.00727544 | ||||
Confirm Order | 60221509 | 2 mins ago | IN | 0 MATIC | 0.00699793 | ||||
Confirm Order | 60221505 | 2 mins ago | IN | 0 MATIC | 0.00735266 | ||||
Ship Order | 60221503 | 2 mins ago | IN | 0 MATIC | 0.01575825 | ||||
Ship Order | 60221500 | 3 mins ago | IN | 0 MATIC | 0.01779664 | ||||
Ship Order | 60221494 | 3 mins ago | IN | 0 MATIC | 0.01831131 |
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x35CC6957...8958Dc312 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
Vcity_Barter
Compiler Version
v0.8.24+commit.e11b9ed9
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/token/ERC1155/utils/ERC1155Holder.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract Vcity_Barter is ERC1155Holder, ReentrancyGuard, Ownable(msg.sender) { struct Order { string orderId; address buyer; address seller; string itemDescription; string encryptedShippingInfo; uint256 amount; string encryptedTrackingInfo; bool isPaid; bool isShipped; bool isCompleted; bool isCancelled; } mapping(string => Order) public orders; IERC1155 public nftContract; uint256 private constant TOKEN_ID = 1; uint256 private shop_status = 1; event OrderCreatedAndPaid(string orderId, address buyer, address seller, string itemDescription, uint256 amount); event ShippingInfoUpdated(string orderId, string newEncryptedShippingInfo); event OrderShipped(string orderId, string encryptedTrackingInfo); event OrderCompleted(string orderId); event OrderCancelled(string orderId, string reason); constructor() { nftContract = IERC1155(0x76B6bFFd69D0568756fa4B30ab07B0445d0D888f); } function createAndPayOrder(string memory _orderId, string memory _itemDescription, string memory _encryptedShippingInfo, address _seller, uint256 _amount) public nonReentrant { require(shop_status == 1, "The store is not open yet."); require(orders[_orderId].buyer == address(0), "Order already exists"); nftContract.safeTransferFrom(msg.sender, address(this), TOKEN_ID, _amount, ""); orders[_orderId] = Order(_orderId, msg.sender, _seller, _itemDescription, _encryptedShippingInfo, _amount, "", true, false, false, false); emit OrderCreatedAndPaid(_orderId, msg.sender, _seller, _itemDescription, _amount); } function updateAddress(string memory _orderId, string memory _newEncryptedShippingInfo) public nonReentrant { Order storage order = orders[_orderId]; require(shop_status == 1, "The store is not open yet."); require(msg.sender == order.buyer, "Only the buyer can update the shipping address"); require(!order.isCancelled, "Order has been cancelled"); require(order.isPaid, "Order not paid"); require(!order.isShipped, "Order already shipped"); order.encryptedShippingInfo = _newEncryptedShippingInfo; emit ShippingInfoUpdated(_orderId, _newEncryptedShippingInfo); } function shipOrder(string memory _orderId, string memory _encryptedTrackingInfo) public nonReentrant { Order storage order = orders[_orderId]; require(shop_status == 1, "The store is not open yet."); require(msg.sender == order.seller, "Only the seller can ship the order"); require(!order.isCancelled, "Order has been cancelled"); require(order.isPaid, "Order not paid"); order.encryptedTrackingInfo = _encryptedTrackingInfo; order.isShipped = true; emit OrderShipped(_orderId, _encryptedTrackingInfo); } function confirmOrder(string memory _orderId) public nonReentrant { require(shop_status == 1, "The store is not open yet."); Order storage order = orders[_orderId]; require(msg.sender == order.buyer, "Only buyer can confirm the order"); require(!order.isCancelled, "Order has been cancelled"); require(order.isShipped, "Order has not been shipped"); require(!order.isCompleted, "Order is already completed"); nftContract.safeTransferFrom(address(this), order.seller, TOKEN_ID, order.amount, ""); order.isCompleted = true; emit OrderCompleted(_orderId); } function buyerCancelOrder(string memory _orderId) public nonReentrant { Order storage order = orders[_orderId]; require(shop_status == 1, "The store is not open yet."); require(!order.isCancelled, "Order is already cancelled"); require(msg.sender == order.buyer, "Only buyer can cancel the order"); require(!order.isCompleted, "Order is already completed"); if(order.isPaid && !order.isShipped) { nftContract.safeTransferFrom(address(this), order.buyer, TOKEN_ID, order.amount, ""); } order.isCancelled = true; emit OrderCancelled(_orderId, "Cancelled by buyer"); } function sellerCancelOrder(string memory _orderId) public nonReentrant { Order storage order = orders[_orderId]; require(shop_status == 1, "The store is not open yet."); require(!order.isCancelled, "Order is already cancelled"); require(msg.sender == order.seller, "Only seller can cancel the order"); require(!order.isCompleted, "Order is already completed"); require(!order.isShipped, "Order has been shipped"); if(order.isPaid) { nftContract.safeTransferFrom(address(this), order.buyer, TOKEN_ID, order.amount, ""); } order.isCancelled = true; emit OrderCancelled(_orderId, "Cancelled by seller"); } function updateShopStatus(uint256 status) public onlyOwner nonReentrant { shop_status=status; } function backToSeller(string memory _orderId) public onlyOwner nonReentrant { Order storage order = orders[_orderId]; require(!order.isCancelled, "Order has been cancelled"); nftContract.safeTransferFrom(address(this), order.seller, TOKEN_ID, order.amount, ""); order.isCompleted = true; order.isCancelled = true; emit OrderCompleted(_orderId); } function backToBuyer(string memory _orderId, string memory reason) public onlyOwner nonReentrant { Order storage order = orders[_orderId]; require(!order.isCancelled, "Order is already cancelled"); nftContract.safeTransferFrom(address(this), order.buyer, TOKEN_ID, order.amount, ""); order.isCancelled = true; emit OrderCancelled(_orderId, reason); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../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. * * The initial owner is set to the address provided by the deployer. 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; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @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 { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling 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 { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _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 (last updated v4.9.0) (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() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == _ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC1155/utils/ERC1155Holder.sol) pragma solidity ^0.8.20; import {IERC165, ERC165} from "../../../utils/introspection/ERC165.sol"; import {IERC1155Receiver} from "../IERC1155Receiver.sol"; /** * @dev Simple implementation of `IERC1155Receiver` that will allow a contract to hold ERC1155 tokens. * * IMPORTANT: When inheriting this contract, you must include a way to use the received tokens, otherwise they will be * stuck. */ abstract contract ERC1155Holder 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); } 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 // OpenZeppelin Contracts (last updated v5.0.1) (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.20; import {IERC165} from "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` amount of tokens of 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 value 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 a `value` amount of tokens of type `id` from `from` to `to`. * * WARNING: This function can potentially allow a reentrancy attack when transferring tokens * to an untrusted contract, when invoking {onERC1155Received} on the receiver. * Ensure to follow the checks-effects-interactions pattern and consider employing * reentrancy guards when interacting with untrusted contracts. * * 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 `value` 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 value, bytes calldata data) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * WARNING: This function can potentially allow a reentrancy attack when transferring tokens * to an untrusted contract, when invoking {onERC1155BatchReceived} on the receiver. * Ensure to follow the checks-effects-interactions pattern and consider employing * reentrancy guards when interacting with untrusted contracts. * * Emits either a {TransferSingle} or a {TransferBatch} event, depending on the length of the array arguments. * * Requirements: * * - `ids` and `values` 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 values, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC1155/IERC1155Receiver.sol) pragma solidity ^0.8.20; import {IERC165} from "../../utils/introspection/IERC165.sol"; /** * @dev Interface that must be implemented by smart contracts in order to receive * ERC-1155 token transfers. */ 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. * * NOTE: 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. * * NOTE: 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 // OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol) pragma solidity ^0.8.20; import {IERC165} from "./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); * } * ``` */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol) pragma solidity ^0.8.20; /** * @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 (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @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; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"orderId","type":"string"},{"indexed":false,"internalType":"string","name":"reason","type":"string"}],"name":"OrderCancelled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"orderId","type":"string"}],"name":"OrderCompleted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"orderId","type":"string"},{"indexed":false,"internalType":"address","name":"buyer","type":"address"},{"indexed":false,"internalType":"address","name":"seller","type":"address"},{"indexed":false,"internalType":"string","name":"itemDescription","type":"string"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"OrderCreatedAndPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"orderId","type":"string"},{"indexed":false,"internalType":"string","name":"encryptedTrackingInfo","type":"string"}],"name":"OrderShipped","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"orderId","type":"string"},{"indexed":false,"internalType":"string","name":"newEncryptedShippingInfo","type":"string"}],"name":"ShippingInfoUpdated","type":"event"},{"inputs":[{"internalType":"string","name":"_orderId","type":"string"},{"internalType":"string","name":"reason","type":"string"}],"name":"backToBuyer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_orderId","type":"string"}],"name":"backToSeller","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_orderId","type":"string"}],"name":"buyerCancelOrder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_orderId","type":"string"}],"name":"confirmOrder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_orderId","type":"string"},{"internalType":"string","name":"_itemDescription","type":"string"},{"internalType":"string","name":"_encryptedShippingInfo","type":"string"},{"internalType":"address","name":"_seller","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"createAndPayOrder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"nftContract","outputs":[{"internalType":"contract IERC1155","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":[{"internalType":"string","name":"","type":"string"}],"name":"orders","outputs":[{"internalType":"string","name":"orderId","type":"string"},{"internalType":"address","name":"buyer","type":"address"},{"internalType":"address","name":"seller","type":"address"},{"internalType":"string","name":"itemDescription","type":"string"},{"internalType":"string","name":"encryptedShippingInfo","type":"string"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"string","name":"encryptedTrackingInfo","type":"string"},{"internalType":"bool","name":"isPaid","type":"bool"},{"internalType":"bool","name":"isShipped","type":"bool"},{"internalType":"bool","name":"isCompleted","type":"bool"},{"internalType":"bool","name":"isCancelled","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_orderId","type":"string"}],"name":"sellerCancelOrder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_orderId","type":"string"},{"internalType":"string","name":"_encryptedTrackingInfo","type":"string"}],"name":"shipOrder","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":[{"internalType":"string","name":"_orderId","type":"string"},{"internalType":"string","name":"_newEncryptedShippingInfo","type":"string"}],"name":"updateAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"status","type":"uint256"}],"name":"updateShopStatus","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Deployed Bytecode
0x608060405234801561000f575f80fd5b5060043610610109575f3560e01c8063715018a6116100a0578063d56d229d1161006f578063d56d229d14610293578063ec13eac1146102b1578063f23a6e61146102cd578063f2fde38b146102fd578063f364674d1461031957610109565b8063715018a61461021f5780638da5cb5b14610229578063bc197c8114610247578063cfb82a371461027757610109565b80633ace041a116100dc5780633ace041a146101af5780633dffc6ef146101cb57806367e7727a146101e75780636c0ad0061461020357610109565b806301ffc9a71461010d57806309d3a1351461013d5780631a948947146101595780631ed30e9814610193575b5f80fd5b61012760048036038101906101229190611f03565b610335565b6040516101349190611f48565b60405180910390f35b6101576004803603810190610152919061209d565b6103ae565b005b610173600480360381019061016e919061209d565b610698565b60405161018a9b9a999897969594939291906121b5565b60405180910390f35b6101ad60048036038101906101a8919061227a565b61098f565b005b6101c960048036038101906101c4919061209d565b610ba5565b005b6101e560048036038101906101e0919061209d565b610eae565b005b61020160048036038101906101fc919061231a565b6111cf565b005b61021d6004803603810190610218919061209d565b6111f1565b005b6102276113a6565b005b6102316113b9565b60405161023e9190612345565b60405180910390f35b610261600480360381019061025c91906124ea565b6113e1565b60405161026e91906125c4565b60405180910390f35b610291600480360381019061028c91906125dd565b6113f5565b005b61029b6117ea565b6040516102a89190612703565b60405180910390f35b6102cb60048036038101906102c6919061227a565b61180f565b005b6102e760048036038101906102e2919061271c565b611a5a565b6040516102f491906125c4565b60405180910390f35b610317600480360381019061031291906127af565b611a6e565b005b610333600480360381019061032e919061227a565b611af2565b005b5f7f4e2312e0000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806103a757506103a682611c8d565b5b9050919050565b6103b6611cf6565b5f6002826040516103c79190612814565b9081526020016040518091039020905060016004541461041c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161041390612874565b60405180910390fd5b8060070160039054906101000a900460ff161561046e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610465906128dc565b60405180910390fd5b806001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146104ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104f690612944565b60405180910390fd5b8060070160029054906101000a900460ff1615610551576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610548906129ac565b60405180910390fd5b806007015f9054906101000a900460ff16801561057d57508060070160019054906101000a900460ff16155b156106385760035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a30836001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600185600501546040518563ffffffff1660e01b815260040161060a94939291906129fd565b5f604051808303815f87803b158015610621575f80fd5b505af1158015610633573d5f803e3d5ffd5b505050505b60018160070160036101000a81548160ff0219169083151502179055507fb318e6d8b93b736fc0cb35fd115e61cd990190d365740e8b34c17459b60da5ed826040516106849190612a9d565b60405180910390a150610695611d43565b50565b6002818051602081018201805184825260208301602085012081835280955050505050505f91509050805f0180546106cf90612afd565b80601f01602080910402602001604051908101604052809291908181526020018280546106fb90612afd565b80156107465780601f1061071d57610100808354040283529160200191610746565b820191905f5260205f20905b81548152906001019060200180831161072957829003601f168201915b505050505090806001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690806002015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060030180546107a590612afd565b80601f01602080910402602001604051908101604052809291908181526020018280546107d190612afd565b801561081c5780601f106107f35761010080835404028352916020019161081c565b820191905f5260205f20905b8154815290600101906020018083116107ff57829003601f168201915b50505050509080600401805461083190612afd565b80601f016020809104026020016040519081016040528092919081815260200182805461085d90612afd565b80156108a85780601f1061087f576101008083540402835291602001916108a8565b820191905f5260205f20905b81548152906001019060200180831161088b57829003601f168201915b5050505050908060050154908060060180546108c390612afd565b80601f01602080910402602001604051908101604052809291908181526020018280546108ef90612afd565b801561093a5780601f106109115761010080835404028352916020019161093a565b820191905f5260205f20905b81548152906001019060200180831161091d57829003601f168201915b505050505090806007015f9054906101000a900460ff16908060070160019054906101000a900460ff16908060070160029054906101000a900460ff16908060070160039054906101000a900460ff1690508b565b610997611cf6565b5f6002836040516109a89190612814565b908152602001604051809103902090506001600454146109fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f490612874565b60405180910390fd5b806002015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8590612b9d565b60405180910390fd5b8060070160039054906101000a900460ff1615610ae0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad790612c05565b60405180910390fd5b806007015f9054906101000a900460ff16610b30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2790612c6d565b60405180910390fd5b81816006019081610b419190612e1f565b5060018160070160016101000a81548160ff0219169083151502179055507f913baec0321adbbca38573a42b2cddef418022a7b5136734b6f4bc9063bf8ec58383604051610b90929190612eee565b60405180910390a150610ba1611d43565b5050565b610bad611cf6565b600160045414610bf2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be990612874565b60405180910390fd5b5f600282604051610c039190612814565b90815260200160405180910390209050806001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ca4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9b90612f6d565b60405180910390fd5b8060070160039054906101000a900460ff1615610cf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ced90612c05565b60405180910390fd5b8060070160019054906101000a900460ff16610d47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3e90612fd5565b60405180910390fd5b8060070160029054906101000a900460ff1615610d99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d90906129ac565b60405180910390fd5b60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a30836002015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600185600501546040518563ffffffff1660e01b8152600401610e2194939291906129fd565b5f604051808303815f87803b158015610e38575f80fd5b505af1158015610e4a573d5f803e3d5ffd5b5050505060018160070160026101000a81548160ff0219169083151502179055507fc54168d3090b6f00fab4ccb0e6661857004c64ab480534010cdf71800c75241d82604051610e9a9190612ff3565b60405180910390a150610eab611d43565b50565b610eb6611cf6565b5f600282604051610ec79190612814565b90815260200160405180910390209050600160045414610f1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1390612874565b60405180910390fd5b8060070160039054906101000a900460ff1615610f6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f65906128dc565b60405180910390fd5b806002015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610fff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff69061305d565b60405180910390fd5b8060070160029054906101000a900460ff1615611051576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611048906129ac565b60405180910390fd5b8060070160019054906101000a900460ff16156110a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109a906130c5565b60405180910390fd5b806007015f9054906101000a900460ff161561116f5760035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a30836001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600185600501546040518563ffffffff1660e01b815260040161114194939291906129fd565b5f604051808303815f87803b158015611158575f80fd5b505af115801561116a573d5f803e3d5ffd5b505050505b60018160070160036101000a81548160ff0219169083151502179055507fb318e6d8b93b736fc0cb35fd115e61cd990190d365740e8b34c17459b60da5ed826040516111bb919061312d565b60405180910390a1506111cc611d43565b50565b6111d7611d4c565b6111df611cf6565b806004819055506111ee611d43565b50565b6111f9611d4c565b611201611cf6565b5f6002826040516112129190612814565b908152602001604051809103902090508060070160039054906101000a900460ff1615611274576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126b90612c05565b60405180910390fd5b60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a30836002015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600185600501546040518563ffffffff1660e01b81526004016112fc94939291906129fd565b5f604051808303815f87803b158015611313575f80fd5b505af1158015611325573d5f803e3d5ffd5b5050505060018160070160026101000a81548160ff02191690831515021790555060018160070160036101000a81548160ff0219169083151502179055507fc54168d3090b6f00fab4ccb0e6661857004c64ab480534010cdf71800c75241d826040516113929190612ff3565b60405180910390a1506113a3611d43565b50565b6113ae611d4c565b6113b75f611dd3565b565b5f60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b5f63bc197c8160e01b905095945050505050565b6113fd611cf6565b600160045414611442576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143990612874565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff166002866040516114699190612814565b90815260200160405180910390206001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146114f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e7906131aa565b60405180910390fd5b60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a33306001856040518563ffffffff1660e01b815260040161155194939291906129fd565b5f604051808303815f87803b158015611568575f80fd5b505af115801561157a573d5f803e3d5ffd5b505050506040518061016001604052808681526020013373ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff16815260200185815260200184815260200182815260200160405180602001604052805f81525081526020016001151581526020015f151581526020015f151581526020015f151581525060028660405161161d9190612814565b90815260200160405180910390205f820151815f01908161163e9190612e1f565b506020820151816001015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040820151816002015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060608201518160030190816116e09190612e1f565b5060808201518160040190816116f69190612e1f565b5060a0820151816005015560c08201518160060190816117169190612e1f565b5060e0820151816007015f6101000a81548160ff0219169083151502179055506101008201518160070160016101000a81548160ff0219169083151502179055506101208201518160070160026101000a81548160ff0219169083151502179055506101408201518160070160036101000a81548160ff0219169083151502179055509050507f7701fd754f362efdc29b800a9a55adf9685a1c10806509070e8eaabc594a162685338487856040516117d39594939291906131c8565b60405180910390a16117e3611d43565b5050505050565b60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611817611cf6565b5f6002836040516118289190612814565b9081526020016040518091039020905060016004541461187d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187490612874565b60405180910390fd5b806001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461190e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190590613297565b60405180910390fd5b8060070160039054906101000a900460ff1615611960576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195790612c05565b60405180910390fd5b806007015f9054906101000a900460ff166119b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a790612c6d565b60405180910390fd5b8060070160019054906101000a900460ff1615611a02576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f9906132ff565b60405180910390fd5b81816004019081611a139190612e1f565b507fbd4d9da2371ac17835c302593b8f5886815c3ea14ecd3d02679516322db5e6978383604051611a45929190612eee565b60405180910390a150611a56611d43565b5050565b5f63f23a6e6160e01b905095945050505050565b611a76611d4c565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611ae6575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401611add9190612345565b60405180910390fd5b611aef81611dd3565b50565b611afa611d4c565b611b02611cf6565b5f600283604051611b139190612814565b908152602001604051809103902090508060070160039054906101000a900460ff1615611b75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6c906128dc565b60405180910390fd5b60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a30836001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600185600501546040518563ffffffff1660e01b8152600401611bfd94939291906129fd565b5f604051808303815f87803b158015611c14575f80fd5b505af1158015611c26573d5f803e3d5ffd5b5050505060018160070160036101000a81548160ff0219169083151502179055507fb318e6d8b93b736fc0cb35fd115e61cd990190d365740e8b34c17459b60da5ed8383604051611c78929190612eee565b60405180910390a150611c89611d43565b5050565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60025f5403611d3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3190613367565b60405180910390fd5b60025f81905550565b60015f81905550565b611d54611e96565b73ffffffffffffffffffffffffffffffffffffffff16611d726113b9565b73ffffffffffffffffffffffffffffffffffffffff1614611dd157611d95611e96565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401611dc89190612345565b60405180910390fd5b565b5f60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f33905090565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611ee281611eae565b8114611eec575f80fd5b50565b5f81359050611efd81611ed9565b92915050565b5f60208284031215611f1857611f17611ea6565b5b5f611f2584828501611eef565b91505092915050565b5f8115159050919050565b611f4281611f2e565b82525050565b5f602082019050611f5b5f830184611f39565b92915050565b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b611faf82611f69565b810181811067ffffffffffffffff82111715611fce57611fcd611f79565b5b80604052505050565b5f611fe0611e9d565b9050611fec8282611fa6565b919050565b5f67ffffffffffffffff82111561200b5761200a611f79565b5b61201482611f69565b9050602081019050919050565b828183375f83830152505050565b5f61204161203c84611ff1565b611fd7565b90508281526020810184848401111561205d5761205c611f65565b5b612068848285612021565b509392505050565b5f82601f83011261208457612083611f61565b5b813561209484826020860161202f565b91505092915050565b5f602082840312156120b2576120b1611ea6565b5b5f82013567ffffffffffffffff8111156120cf576120ce611eaa565b5b6120db84828501612070565b91505092915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b8381101561211b578082015181840152602081019050612100565b5f8484015250505050565b5f612130826120e4565b61213a81856120ee565b935061214a8185602086016120fe565b61215381611f69565b840191505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6121878261215e565b9050919050565b6121978161217d565b82525050565b5f819050919050565b6121af8161219d565b82525050565b5f610160820190508181035f8301526121ce818e612126565b90506121dd602083018d61218e565b6121ea604083018c61218e565b81810360608301526121fc818b612126565b90508181036080830152612210818a612126565b905061221f60a08301896121a6565b81810360c08301526122318188612126565b905061224060e0830187611f39565b61224e610100830186611f39565b61225c610120830185611f39565b61226a610140830184611f39565b9c9b505050505050505050505050565b5f80604083850312156122905761228f611ea6565b5b5f83013567ffffffffffffffff8111156122ad576122ac611eaa565b5b6122b985828601612070565b925050602083013567ffffffffffffffff8111156122da576122d9611eaa565b5b6122e685828601612070565b9150509250929050565b6122f98161219d565b8114612303575f80fd5b50565b5f81359050612314816122f0565b92915050565b5f6020828403121561232f5761232e611ea6565b5b5f61233c84828501612306565b91505092915050565b5f6020820190506123585f83018461218e565b92915050565b6123678161217d565b8114612371575f80fd5b50565b5f813590506123828161235e565b92915050565b5f67ffffffffffffffff8211156123a2576123a1611f79565b5b602082029050602081019050919050565b5f80fd5b5f6123c96123c484612388565b611fd7565b905080838252602082019050602084028301858111156123ec576123eb6123b3565b5b835b8181101561241557806124018882612306565b8452602084019350506020810190506123ee565b5050509392505050565b5f82601f83011261243357612432611f61565b5b81356124438482602086016123b7565b91505092915050565b5f67ffffffffffffffff82111561246657612465611f79565b5b61246f82611f69565b9050602081019050919050565b5f61248e6124898461244c565b611fd7565b9050828152602081018484840111156124aa576124a9611f65565b5b6124b5848285612021565b509392505050565b5f82601f8301126124d1576124d0611f61565b5b81356124e184826020860161247c565b91505092915050565b5f805f805f60a0868803121561250357612502611ea6565b5b5f61251088828901612374565b955050602061252188828901612374565b945050604086013567ffffffffffffffff81111561254257612541611eaa565b5b61254e8882890161241f565b935050606086013567ffffffffffffffff81111561256f5761256e611eaa565b5b61257b8882890161241f565b925050608086013567ffffffffffffffff81111561259c5761259b611eaa565b5b6125a8888289016124bd565b9150509295509295909350565b6125be81611eae565b82525050565b5f6020820190506125d75f8301846125b5565b92915050565b5f805f805f60a086880312156125f6576125f5611ea6565b5b5f86013567ffffffffffffffff81111561261357612612611eaa565b5b61261f88828901612070565b955050602086013567ffffffffffffffff8111156126405761263f611eaa565b5b61264c88828901612070565b945050604086013567ffffffffffffffff81111561266d5761266c611eaa565b5b61267988828901612070565b935050606061268a88828901612374565b925050608061269b88828901612306565b9150509295509295909350565b5f819050919050565b5f6126cb6126c66126c18461215e565b6126a8565b61215e565b9050919050565b5f6126dc826126b1565b9050919050565b5f6126ed826126d2565b9050919050565b6126fd816126e3565b82525050565b5f6020820190506127165f8301846126f4565b92915050565b5f805f805f60a0868803121561273557612734611ea6565b5b5f61274288828901612374565b955050602061275388828901612374565b945050604061276488828901612306565b935050606061277588828901612306565b925050608086013567ffffffffffffffff81111561279657612795611eaa565b5b6127a2888289016124bd565b9150509295509295909350565b5f602082840312156127c4576127c3611ea6565b5b5f6127d184828501612374565b91505092915050565b5f81905092915050565b5f6127ee826120e4565b6127f881856127da565b93506128088185602086016120fe565b80840191505092915050565b5f61281f82846127e4565b915081905092915050565b7f5468652073746f7265206973206e6f74206f70656e207965742e0000000000005f82015250565b5f61285e601a836120ee565b91506128698261282a565b602082019050919050565b5f6020820190508181035f83015261288b81612852565b9050919050565b7f4f7264657220697320616c72656164792063616e63656c6c65640000000000005f82015250565b5f6128c6601a836120ee565b91506128d182612892565b602082019050919050565b5f6020820190508181035f8301526128f3816128ba565b9050919050565b7f4f6e6c792062757965722063616e2063616e63656c20746865206f72646572005f82015250565b5f61292e601f836120ee565b9150612939826128fa565b602082019050919050565b5f6020820190508181035f83015261295b81612922565b9050919050565b7f4f7264657220697320616c726561647920636f6d706c657465640000000000005f82015250565b5f612996601a836120ee565b91506129a182612962565b602082019050919050565b5f6020820190508181035f8301526129c38161298a565b9050919050565b5f82825260208201905092915050565b50565b5f6129e85f836129ca565b91506129f3826129da565b5f82019050919050565b5f60a082019050612a105f83018761218e565b612a1d602083018661218e565b612a2a60408301856121a6565b612a3760608301846121a6565b8181036080830152612a48816129dd565b905095945050505050565b7f43616e63656c6c656420627920627579657200000000000000000000000000005f82015250565b5f612a876012836120ee565b9150612a9282612a53565b602082019050919050565b5f6040820190508181035f830152612ab58184612126565b90508181036020830152612ac881612a7b565b905092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680612b1457607f821691505b602082108103612b2757612b26612ad0565b5b50919050565b7f4f6e6c79207468652073656c6c65722063616e207368697020746865206f72645f8201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b5f612b876022836120ee565b9150612b9282612b2d565b604082019050919050565b5f6020820190508181035f830152612bb481612b7b565b9050919050565b7f4f7264657220686173206265656e2063616e63656c6c656400000000000000005f82015250565b5f612bef6018836120ee565b9150612bfa82612bbb565b602082019050919050565b5f6020820190508181035f830152612c1c81612be3565b9050919050565b7f4f72646572206e6f7420706169640000000000000000000000000000000000005f82015250565b5f612c57600e836120ee565b9150612c6282612c23565b602082019050919050565b5f6020820190508181035f830152612c8481612c4b565b9050919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302612ce77fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612cac565b612cf18683612cac565b95508019841693508086168417925050509392505050565b5f612d23612d1e612d198461219d565b6126a8565b61219d565b9050919050565b5f819050919050565b612d3c83612d09565b612d50612d4882612d2a565b848454612cb8565b825550505050565b5f90565b612d64612d58565b612d6f818484612d33565b505050565b5b81811015612d9257612d875f82612d5c565b600181019050612d75565b5050565b601f821115612dd757612da881612c8b565b612db184612c9d565b81016020851015612dc0578190505b612dd4612dcc85612c9d565b830182612d74565b50505b505050565b5f82821c905092915050565b5f612df75f1984600802612ddc565b1980831691505092915050565b5f612e0f8383612de8565b9150826002028217905092915050565b612e28826120e4565b67ffffffffffffffff811115612e4157612e40611f79565b5b612e4b8254612afd565b612e56828285612d96565b5f60209050601f831160018114612e87575f8415612e75578287015190505b612e7f8582612e04565b865550612ee6565b601f198416612e9586612c8b565b5f5b82811015612ebc57848901518255600182019150602085019450602081019050612e97565b86831015612ed95784890151612ed5601f891682612de8565b8355505b6001600288020188555050505b505050505050565b5f6040820190508181035f830152612f068185612126565b90508181036020830152612f1a8184612126565b90509392505050565b7f4f6e6c792062757965722063616e20636f6e6669726d20746865206f726465725f82015250565b5f612f576020836120ee565b9150612f6282612f23565b602082019050919050565b5f6020820190508181035f830152612f8481612f4b565b9050919050565b7f4f7264657220686173206e6f74206265656e20736869707065640000000000005f82015250565b5f612fbf601a836120ee565b9150612fca82612f8b565b602082019050919050565b5f6020820190508181035f830152612fec81612fb3565b9050919050565b5f6020820190508181035f83015261300b8184612126565b905092915050565b7f4f6e6c792073656c6c65722063616e2063616e63656c20746865206f726465725f82015250565b5f6130476020836120ee565b915061305282613013565b602082019050919050565b5f6020820190508181035f8301526130748161303b565b9050919050565b7f4f7264657220686173206265656e2073686970706564000000000000000000005f82015250565b5f6130af6016836120ee565b91506130ba8261307b565b602082019050919050565b5f6020820190508181035f8301526130dc816130a3565b9050919050565b7f43616e63656c6c65642062792073656c6c6572000000000000000000000000005f82015250565b5f6131176013836120ee565b9150613122826130e3565b602082019050919050565b5f6040820190508181035f8301526131458184612126565b905081810360208301526131588161310b565b905092915050565b7f4f7264657220616c7265616479206578697374730000000000000000000000005f82015250565b5f6131946014836120ee565b915061319f82613160565b602082019050919050565b5f6020820190508181035f8301526131c181613188565b9050919050565b5f60a0820190508181035f8301526131e08188612126565b90506131ef602083018761218e565b6131fc604083018661218e565b818103606083015261320e8185612126565b905061321d60808301846121a6565b9695505050505050565b7f4f6e6c79207468652062757965722063616e20757064617465207468652073685f8201527f697070696e672061646472657373000000000000000000000000000000000000602082015250565b5f613281602e836120ee565b915061328c82613227565b604082019050919050565b5f6020820190508181035f8301526132ae81613275565b9050919050565b7f4f7264657220616c7265616479207368697070656400000000000000000000005f82015250565b5f6132e96015836120ee565b91506132f4826132b5565b602082019050919050565b5f6020820190508181035f830152613316816132dd565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c005f82015250565b5f613351601f836120ee565b915061335c8261331d565b602082019050919050565b5f6020820190508181035f83015261337e81613345565b905091905056fea26469706673582212203c9b3e7a1bfaf28feca4e596565de9bc858ba47780006119c19ad9b11ca66baf64736f6c63430008180033
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.