Source Code
Latest 25 from a total of 37,248 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Set User Offer | 78641053 | 128 days ago | IN | 0 POL | 0.00545349 | ||||
| Set User Offer | 78626071 | 128 days ago | IN | 0 POL | 0.02664665 | ||||
| Cancel User Offe... | 76923843 | 168 days ago | IN | 0 POL | 0.0013503 | ||||
| Set User Offer | 76923786 | 168 days ago | IN | 0 POL | 0.00356192 | ||||
| Set User Offer | 75094415 | 214 days ago | IN | 0 POL | 0.00276482 | ||||
| Cancel User Offe... | 72922990 | 268 days ago | IN | 0 POL | 0.00468032 | ||||
| Cancel User Offe... | 70454993 | 329 days ago | IN | 0 POL | 0.0009645 | ||||
| Cancel User Offe... | 69985969 | 341 days ago | IN | 0 POL | 0.00328957 | ||||
| Cancel User Offe... | 69792204 | 345 days ago | IN | 0 POL | 0.0009645 | ||||
| Cancel User Offe... | 69482077 | 353 days ago | IN | 0 POL | 0.0009645 | ||||
| Set User Offer | 69482063 | 353 days ago | IN | 0 POL | 0.0013203 | ||||
| Set User Offer | 69447862 | 354 days ago | IN | 0 POL | 0.0025143 | ||||
| Cancel User Offe... | 69378776 | 356 days ago | IN | 0 POL | 0.00111335 | ||||
| Cancel User Offe... | 69311203 | 357 days ago | IN | 0 POL | 0.0010931 | ||||
| Set User Offer | 68517511 | 377 days ago | IN | 0 POL | 0.00254438 | ||||
| Set User Offer | 68480327 | 378 days ago | IN | 0 POL | 0.00815393 | ||||
| Set User Offer | 68434053 | 379 days ago | IN | 0 POL | 0.00265135 | ||||
| Set User Offer | 68188882 | 385 days ago | IN | 0 POL | 0.00451059 | ||||
| Cancel User Offe... | 67949770 | 391 days ago | IN | 0 POL | 0.0009645 | ||||
| Set User Offer | 67808967 | 395 days ago | IN | 0 POL | 0.00268792 | ||||
| Buy | 67777683 | 396 days ago | IN | 119.7 POL | 0.00209605 | ||||
| Buy | 67774982 | 396 days ago | IN | 63 POL | 0.00192036 | ||||
| Buy | 67764346 | 396 days ago | IN | 35 POL | 0.01090953 | ||||
| Set User Offer | 67753550 | 396 days ago | IN | 0 POL | 0.00168155 | ||||
| Buy | 67750428 | 396 days ago | IN | 77.7 POL | 0.00456411 |
Latest 25 internal transactions (View All)
| Parent Transaction Hash | Block | From | To | |||
|---|---|---|---|---|---|---|
| 67777683 | 396 days ago | 119.7 POL | ||||
| 67774982 | 396 days ago | 63 POL | ||||
| 67764346 | 396 days ago | 35 POL | ||||
| 67750428 | 396 days ago | 77.7 POL | ||||
| 67750375 | 396 days ago | 7.8 POL | ||||
| 67750364 | 396 days ago | 7.8 POL | ||||
| 67748657 | 396 days ago | 3.5 POL | ||||
| 67748648 | 396 days ago | 3.5 POL | ||||
| 67721924 | 397 days ago | 19 POL | ||||
| 67717963 | 397 days ago | 65.66 POL | ||||
| 67715365 | 397 days ago | 32.079516 POL | ||||
| 67710831 | 397 days ago | 14.8 POL | ||||
| 67684850 | 398 days ago | 152 POL | ||||
| 67680942 | 398 days ago | 48.1 POL | ||||
| 67677590 | 398 days ago | 11.1 POL | ||||
| 67667399 | 399 days ago | 37 POL | ||||
| 67654114 | 399 days ago | 12 POL | ||||
| 67648730 | 399 days ago | 7.6 POL | ||||
| 67648669 | 399 days ago | 19 POL | ||||
| 67623223 | 400 days ago | 6.144 POL | ||||
| 67600193 | 400 days ago | 23.4 POL | ||||
| 67598702 | 400 days ago | 5.85 POL | ||||
| 67598696 | 400 days ago | 5.85 POL | ||||
| 67595233 | 400 days ago | 195 POL | ||||
| 67591073 | 400 days ago | 8.6 POL |
Cross-Chain Transactions
Loading...
Loading
Contract Name:
dBMarketplace
Compiler Version
v0.8.25+commit.b61c2a91
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/security/ReentrancyGuard.sol";
contract dBMarketplace is ReentrancyGuard {
IERC1155 private immutable nft;
struct Offer {
uint256 price;
uint256 quantity;
}
mapping(address => Offer) public offers; // Mapping from user's wallet address to Offer
event OfferCancelled(address indexed user, uint256 indexed tokenId);
event OfferUpdated(address indexed user, uint256 indexed tokenId, uint256 quantity, uint256 price);
event OfferFulfilled(address indexed seller, uint256 indexed tokenId, address buyer, uint256 quantity);
uint256 tokenId=1;
constructor() {
nft = IERC1155(0x76B6bFFd69D0568756fa4B30ab07B0445d0D888f);
}
function setUserOffer( uint256 quantity, uint256 price) external nonReentrant {
require(quantity>0&&price>0, "Quantity and price must be greater than 0");
require(nft.isApprovedForAll(msg.sender, address(this)), "Contract must be approved");
require(nft.balanceOf(msg.sender, tokenId) >= quantity, "Not enough NFTs");
offers[msg.sender] = Offer(price, quantity);
emit OfferUpdated(msg.sender, tokenId, quantity, price);
}
function buy(address seller, uint256 quantity) external payable nonReentrant {
Offer storage offer = offers[seller];
require(quantity>0, "Quantity must be greater than 0");
require(offer.quantity >= quantity, "Not enough NFTs available");
uint256 totalPrice = offer.price * quantity;
require(msg.value == totalPrice, "Incorrect payment amount");
// 更新卖家的Offer记录
offer.quantity -= quantity;
if (offer.quantity == 0) {
delete offers[seller];
}
// 转移MATIC给卖家
payable(seller).transfer(msg.value);
// 转移dB给买家
nft.safeTransferFrom(seller, msg.sender, tokenId, quantity, "");
emit OfferFulfilled(seller, tokenId, msg.sender, quantity);
}
function cancelUserOffer() external nonReentrant {
delete offers[msg.sender];
emit OfferCancelled(msg.sender, tokenId);
}
}// 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.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) (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);
}{
"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
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"OfferCancelled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"seller","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"buyer","type":"address"},{"indexed":false,"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"OfferFulfilled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"quantity","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"OfferUpdated","type":"event"},{"inputs":[{"internalType":"address","name":"seller","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"buy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"cancelUserOffer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"offers","outputs":[{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setUserOffer","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60a060405260016002553480156013575f80fd5b5060015f819055507376b6bffd69d0568756fa4b30ab07b0445d0d888f73ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1681525050608051610e686100895f395f81816101300152818161020a015261064d0152610e685ff3fe60806040526004361061003e575f3560e01c80633504c49714610042578063413bf38f1461006a578063a8a99815146100a7578063cce7ec13146100bd575b5f80fd5b34801561004d575f80fd5b50610068600480360381019061006391906107c7565b6100d9565b005b348015610075575f80fd5b50610090600480360381019061008b919061085f565b6103aa565b60405161009e929190610899565b60405180910390f35b3480156100b2575f80fd5b506100bb6103ca565b005b6100d760048036038101906100d291906108c0565b61046f565b005b6100e161073a565b5f821180156100ef57505f81115b61012e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101259061097e565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663e985e9c533306040518363ffffffff1660e01b81526004016101899291906109ab565b602060405180830381865afa1580156101a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101c89190610a07565b610207576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101fe90610a7c565b60405180910390fd5b817f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1662fdd58e336002546040518363ffffffff1660e01b8152600401610264929190610a9a565b602060405180830381865afa15801561027f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102a39190610ad5565b10156102e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102db90610b4a565b60405180910390fd5b60405180604001604052808281526020018381525060015f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f820151815f0155602082015181600101559050506002543373ffffffffffffffffffffffffffffffffffffffff167fa6b8f484c6ce421086fb51c03cb90e40c840f6ca777618540ed43603006bcb2c8484604051610396929190610899565b60405180910390a36103a6610787565b5050565b6001602052805f5260405f205f91509050805f0154908060010154905082565b6103d261073a565b60015f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8082015f9055600182015f905550506002543373ffffffffffffffffffffffffffffffffffffffff167f899cab278284ae4a91172caa0943607a0bcb19766254c3ebe1139be00650b10260405160405180910390a361046d610787565b565b61047761073a565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2090505f82116104f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104f090610bb2565b60405180910390fd5b8181600101541015610540576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161053790610c1a565b60405180910390fd5b5f82825f01546105509190610c65565b9050803414610594576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161058b90610cf0565b60405180910390fd5b82826001015f8282546105a79190610d0e565b925050819055505f8260010154036106075760015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8082015f9055600182015f905550505b8373ffffffffffffffffffffffffffffffffffffffff166108fc3490811502906040515f60405180830381858888f1935050505015801561064a573d5f803e3d5ffd5b507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663f242432a8533600254876040518563ffffffff1660e01b81526004016106ac9493929190610d74565b5f604051808303815f87803b1580156106c3575f80fd5b505af11580156106d5573d5f803e3d5ffd5b505050506002548473ffffffffffffffffffffffffffffffffffffffff167f9796719cfde3d0fe387fdb46dd7ecafd08b6952b3f26d120c81b56daa78da3d63386604051610724929190610a9a565b60405180910390a35050610736610787565b5050565b60025f540361077e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077590610e14565b60405180910390fd5b60025f81905550565b60015f81905550565b5f80fd5b5f819050919050565b6107a681610794565b81146107b0575f80fd5b50565b5f813590506107c18161079d565b92915050565b5f80604083850312156107dd576107dc610790565b5b5f6107ea858286016107b3565b92505060206107fb858286016107b3565b9150509250929050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61082e82610805565b9050919050565b61083e81610824565b8114610848575f80fd5b50565b5f8135905061085981610835565b92915050565b5f6020828403121561087457610873610790565b5b5f6108818482850161084b565b91505092915050565b61089381610794565b82525050565b5f6040820190506108ac5f83018561088a565b6108b9602083018461088a565b9392505050565b5f80604083850312156108d6576108d5610790565b5b5f6108e38582860161084b565b92505060206108f4858286016107b3565b9150509250929050565b5f82825260208201905092915050565b7f5175616e7469747920616e64207072696365206d7573742062652067726561745f8201527f6572207468616e20300000000000000000000000000000000000000000000000602082015250565b5f6109686029836108fe565b91506109738261090e565b604082019050919050565b5f6020820190508181035f8301526109958161095c565b9050919050565b6109a581610824565b82525050565b5f6040820190506109be5f83018561099c565b6109cb602083018461099c565b9392505050565b5f8115159050919050565b6109e6816109d2565b81146109f0575f80fd5b50565b5f81519050610a01816109dd565b92915050565b5f60208284031215610a1c57610a1b610790565b5b5f610a29848285016109f3565b91505092915050565b7f436f6e7472616374206d75737420626520617070726f766564000000000000005f82015250565b5f610a666019836108fe565b9150610a7182610a32565b602082019050919050565b5f6020820190508181035f830152610a9381610a5a565b9050919050565b5f604082019050610aad5f83018561099c565b610aba602083018461088a565b9392505050565b5f81519050610acf8161079d565b92915050565b5f60208284031215610aea57610ae9610790565b5b5f610af784828501610ac1565b91505092915050565b7f4e6f7420656e6f756768204e46547300000000000000000000000000000000005f82015250565b5f610b34600f836108fe565b9150610b3f82610b00565b602082019050919050565b5f6020820190508181035f830152610b6181610b28565b9050919050565b7f5175616e74697479206d7573742062652067726561746572207468616e2030005f82015250565b5f610b9c601f836108fe565b9150610ba782610b68565b602082019050919050565b5f6020820190508181035f830152610bc981610b90565b9050919050565b7f4e6f7420656e6f756768204e46547320617661696c61626c65000000000000005f82015250565b5f610c046019836108fe565b9150610c0f82610bd0565b602082019050919050565b5f6020820190508181035f830152610c3181610bf8565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f610c6f82610794565b9150610c7a83610794565b9250828202610c8881610794565b91508282048414831517610c9f57610c9e610c38565b5b5092915050565b7f496e636f7272656374207061796d656e7420616d6f756e7400000000000000005f82015250565b5f610cda6018836108fe565b9150610ce582610ca6565b602082019050919050565b5f6020820190508181035f830152610d0781610cce565b9050919050565b5f610d1882610794565b9150610d2383610794565b9250828203905081811115610d3b57610d3a610c38565b5b92915050565b5f82825260208201905092915050565b50565b5f610d5f5f83610d41565b9150610d6a82610d51565b5f82019050919050565b5f60a082019050610d875f83018761099c565b610d94602083018661099c565b610da1604083018561088a565b610dae606083018461088a565b8181036080830152610dbf81610d54565b905095945050505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c005f82015250565b5f610dfe601f836108fe565b9150610e0982610dca565b602082019050919050565b5f6020820190508181035f830152610e2b81610df2565b905091905056fea2646970667358221220886bf14f17f22ad0e5cfbae1ea30f8296f9a710be1ec48e62baa651f45bd969264736f6c63430008190033
Deployed Bytecode
0x60806040526004361061003e575f3560e01c80633504c49714610042578063413bf38f1461006a578063a8a99815146100a7578063cce7ec13146100bd575b5f80fd5b34801561004d575f80fd5b50610068600480360381019061006391906107c7565b6100d9565b005b348015610075575f80fd5b50610090600480360381019061008b919061085f565b6103aa565b60405161009e929190610899565b60405180910390f35b3480156100b2575f80fd5b506100bb6103ca565b005b6100d760048036038101906100d291906108c0565b61046f565b005b6100e161073a565b5f821180156100ef57505f81115b61012e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101259061097e565b60405180910390fd5b7f00000000000000000000000076b6bffd69d0568756fa4b30ab07b0445d0d888f73ffffffffffffffffffffffffffffffffffffffff1663e985e9c533306040518363ffffffff1660e01b81526004016101899291906109ab565b602060405180830381865afa1580156101a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101c89190610a07565b610207576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101fe90610a7c565b60405180910390fd5b817f00000000000000000000000076b6bffd69d0568756fa4b30ab07b0445d0d888f73ffffffffffffffffffffffffffffffffffffffff1662fdd58e336002546040518363ffffffff1660e01b8152600401610264929190610a9a565b602060405180830381865afa15801561027f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102a39190610ad5565b10156102e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102db90610b4a565b60405180910390fd5b60405180604001604052808281526020018381525060015f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f820151815f0155602082015181600101559050506002543373ffffffffffffffffffffffffffffffffffffffff167fa6b8f484c6ce421086fb51c03cb90e40c840f6ca777618540ed43603006bcb2c8484604051610396929190610899565b60405180910390a36103a6610787565b5050565b6001602052805f5260405f205f91509050805f0154908060010154905082565b6103d261073a565b60015f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8082015f9055600182015f905550506002543373ffffffffffffffffffffffffffffffffffffffff167f899cab278284ae4a91172caa0943607a0bcb19766254c3ebe1139be00650b10260405160405180910390a361046d610787565b565b61047761073a565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2090505f82116104f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104f090610bb2565b60405180910390fd5b8181600101541015610540576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161053790610c1a565b60405180910390fd5b5f82825f01546105509190610c65565b9050803414610594576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161058b90610cf0565b60405180910390fd5b82826001015f8282546105a79190610d0e565b925050819055505f8260010154036106075760015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8082015f9055600182015f905550505b8373ffffffffffffffffffffffffffffffffffffffff166108fc3490811502906040515f60405180830381858888f1935050505015801561064a573d5f803e3d5ffd5b507f00000000000000000000000076b6bffd69d0568756fa4b30ab07b0445d0d888f73ffffffffffffffffffffffffffffffffffffffff1663f242432a8533600254876040518563ffffffff1660e01b81526004016106ac9493929190610d74565b5f604051808303815f87803b1580156106c3575f80fd5b505af11580156106d5573d5f803e3d5ffd5b505050506002548473ffffffffffffffffffffffffffffffffffffffff167f9796719cfde3d0fe387fdb46dd7ecafd08b6952b3f26d120c81b56daa78da3d63386604051610724929190610a9a565b60405180910390a35050610736610787565b5050565b60025f540361077e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077590610e14565b60405180910390fd5b60025f81905550565b60015f81905550565b5f80fd5b5f819050919050565b6107a681610794565b81146107b0575f80fd5b50565b5f813590506107c18161079d565b92915050565b5f80604083850312156107dd576107dc610790565b5b5f6107ea858286016107b3565b92505060206107fb858286016107b3565b9150509250929050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61082e82610805565b9050919050565b61083e81610824565b8114610848575f80fd5b50565b5f8135905061085981610835565b92915050565b5f6020828403121561087457610873610790565b5b5f6108818482850161084b565b91505092915050565b61089381610794565b82525050565b5f6040820190506108ac5f83018561088a565b6108b9602083018461088a565b9392505050565b5f80604083850312156108d6576108d5610790565b5b5f6108e38582860161084b565b92505060206108f4858286016107b3565b9150509250929050565b5f82825260208201905092915050565b7f5175616e7469747920616e64207072696365206d7573742062652067726561745f8201527f6572207468616e20300000000000000000000000000000000000000000000000602082015250565b5f6109686029836108fe565b91506109738261090e565b604082019050919050565b5f6020820190508181035f8301526109958161095c565b9050919050565b6109a581610824565b82525050565b5f6040820190506109be5f83018561099c565b6109cb602083018461099c565b9392505050565b5f8115159050919050565b6109e6816109d2565b81146109f0575f80fd5b50565b5f81519050610a01816109dd565b92915050565b5f60208284031215610a1c57610a1b610790565b5b5f610a29848285016109f3565b91505092915050565b7f436f6e7472616374206d75737420626520617070726f766564000000000000005f82015250565b5f610a666019836108fe565b9150610a7182610a32565b602082019050919050565b5f6020820190508181035f830152610a9381610a5a565b9050919050565b5f604082019050610aad5f83018561099c565b610aba602083018461088a565b9392505050565b5f81519050610acf8161079d565b92915050565b5f60208284031215610aea57610ae9610790565b5b5f610af784828501610ac1565b91505092915050565b7f4e6f7420656e6f756768204e46547300000000000000000000000000000000005f82015250565b5f610b34600f836108fe565b9150610b3f82610b00565b602082019050919050565b5f6020820190508181035f830152610b6181610b28565b9050919050565b7f5175616e74697479206d7573742062652067726561746572207468616e2030005f82015250565b5f610b9c601f836108fe565b9150610ba782610b68565b602082019050919050565b5f6020820190508181035f830152610bc981610b90565b9050919050565b7f4e6f7420656e6f756768204e46547320617661696c61626c65000000000000005f82015250565b5f610c046019836108fe565b9150610c0f82610bd0565b602082019050919050565b5f6020820190508181035f830152610c3181610bf8565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f610c6f82610794565b9150610c7a83610794565b9250828202610c8881610794565b91508282048414831517610c9f57610c9e610c38565b5b5092915050565b7f496e636f7272656374207061796d656e7420616d6f756e7400000000000000005f82015250565b5f610cda6018836108fe565b9150610ce582610ca6565b602082019050919050565b5f6020820190508181035f830152610d0781610cce565b9050919050565b5f610d1882610794565b9150610d2383610794565b9250828203905081811115610d3b57610d3a610c38565b5b92915050565b5f82825260208201905092915050565b50565b5f610d5f5f83610d41565b9150610d6a82610d51565b5f82019050919050565b5f60a082019050610d875f83018761099c565b610d94602083018661099c565b610da1604083018561088a565b610dae606083018461088a565b8181036080830152610dbf81610d54565b905095945050505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c005f82015250565b5f610dfe601f836108fe565b9150610e0982610dca565b602082019050919050565b5f6020820190508181035f830152610e2b81610df2565b905091905056fea2646970667358221220886bf14f17f22ad0e5cfbae1ea30f8296f9a710be1ec48e62baa651f45bd969264736f6c63430008190033
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in POL
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
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.