Overview
APE Balance
APE Value
$0.00More Info
Private Name Tags
ContractCreator
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
Forge
Compiler Version
v0.8.23+commit.f704f362
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); } // File: contracts/Forge.sol pragma solidity ^0.8.20; contract Forge is Ownable { mapping(address => uint256) public forgeCount; address[] public forgers; mapping(address => bool) private hasForged; address public burnaddress = 0xcB062f1ce14Adc379f168E35dAd3696bFD3c94DF; //0x000000000000000000000000000000000000dEaD uint256 public NFTsBurned = 0; event Forged(address nftContract, uint256 tokenId, address burner); function igniteFlameProtocol(address nftContract, uint256 tokenId) external payable { require(msg.value == 0.05 ether, "You must send exactly 0.05 ETH"); IERC721 nft = IERC721(nftContract); require(nft.ownerOf(tokenId) == msg.sender, "You don't own this NFT"); if (!hasForged[msg.sender]) { forgers.push(msg.sender); hasForged[msg.sender] = true; } forgeCount[msg.sender]++; NFTsBurned++; nft.transferFrom(msg.sender, burnaddress, tokenId); emit Forged(nftContract, tokenId, msg.sender); } function igniteFlameProtocolMulti(uint256 amountNFTs, address[] calldata nftContracts, uint256[] calldata tokenIds) external payable { require(msg.value == 0.05 ether * amountNFTs, "You must send exactly 0.05 ETH for each NFT"); if (!hasForged[msg.sender]) { forgers.push(msg.sender); hasForged[msg.sender] = true; } for (uint256 i = 0; i < amountNFTs; i++) { //for loop example IERC721 nft = IERC721(nftContracts[i]); require(nft.ownerOf(tokenIds[i]) == msg.sender, "You don't own this NFT"); nft.transferFrom(msg.sender, burnaddress, tokenIds[i]); emit Forged(nftContracts[i], tokenIds[i], msg.sender); } forgeCount[msg.sender] = forgeCount[msg.sender] + NFTsBurned; NFTsBurned = NFTsBurned + amountNFTs; } function getForgerCount() external view returns (uint256) { return forgers.length; } function getForgerAtIndex(uint256 index) external view returns (address, uint256) { require(index < forgers.length, "Index out of bounds"); address forger = forgers[index]; return (forger, forgeCount[forger]); } function getMyForges() external view returns (uint256){ return forgeCount[msg.sender]; } function numberOfForgesFrom(address forger) external view returns (uint256){ return forgeCount[forger]; } function rescueETH(address payable recipient, uint256 amount) external onlyOwner { require(recipient != address(0), "Invalid recipient address"); require(address(this).balance >= amount, "Insufficient balance"); (bool success,) = recipient.call{value: amount}(""); require(success, "Transfer failed"); } function getContractBalance() external view returns (uint256) { return address(this).balance; } receive() external payable {} }
{ "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "paris", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"nftContract","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"burner","type":"address"}],"name":"Forged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"NFTsBurned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnaddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"forgeCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"forgers","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getContractBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getForgerAtIndex","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getForgerCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMyForges","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"nftContract","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"igniteFlameProtocol","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountNFTs","type":"uint256"},{"internalType":"address[]","name":"nftContracts","type":"address[]"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"igniteFlameProtocolMulti","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"forger","type":"address"}],"name":"numberOfForgesFrom","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"address payable","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescueETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052600480546001600160a01b03191673cb062f1ce14adc379f168e35dad3696bfd3c94df179055600060055534801561003b57600080fd5b506100453361004a565b61009a565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610e17806100a96000396000f3fe6080604052600436106100ec5760003560e01c80638da5cb5b1161008a578063cf3b0d5811610059578063cf3b0d581461026a578063e5c5f1d51461027d578063ee6b64f01461029d578063f2fde38b146102dc57600080fd5b80638da5cb5b146101ee578063ac92a9f41461020c578063b4efc4da1461021f578063b925d9fd1461023457600080fd5b80636f9fb98a116100c65780636f9fb98a14610178578063715018a61461018b5780637950965c146101a05780638907c89a146101b657600080fd5b8063099a04e5146100f85780631d53ccd11461011a5780634b61a3f91461014b57600080fd5b366100f357005b600080fd5b34801561010457600080fd5b50610118610113366004610c20565b6102fc565b005b34801561012657600080fd5b50336000908152600160205260409020545b6040519081526020015b60405180910390f35b34801561015757600080fd5b50610138610166366004610c4c565b60016020526000908152604090205481565b34801561018457600080fd5b5047610138565b34801561019757600080fd5b50610118610440565b3480156101ac57600080fd5b5061013860055481565b3480156101c257600080fd5b506101d66101d1366004610c70565b610454565b6040516001600160a01b039091168152602001610142565b3480156101fa57600080fd5b506000546001600160a01b03166101d6565b61011861021a366004610c20565b61047e565b34801561022b57600080fd5b50600254610138565b34801561024057600080fd5b5061013861024f366004610c4c565b6001600160a01b031660009081526001602052604090205490565b610118610278366004610cd5565b6106f3565b34801561028957600080fd5b506004546101d6906001600160a01b031681565b3480156102a957600080fd5b506102bd6102b8366004610c70565b610a57565b604080516001600160a01b039093168352602083019190915201610142565b3480156102e857600080fd5b506101186102f7366004610c4c565b610ae8565b610304610b61565b6001600160a01b03821661035f5760405162461bcd60e51b815260206004820152601960248201527f496e76616c696420726563697069656e7420616464726573730000000000000060448201526064015b60405180910390fd5b804710156103a65760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b6044820152606401610356565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146103f3576040519150601f19603f3d011682016040523d82523d6000602084013e6103f8565b606091505b505090508061043b5760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b6044820152606401610356565b505050565b610448610b61565b6104526000610bbb565b565b6002818154811061046457600080fd5b6000918252602090912001546001600160a01b0316905081565b3466b1a2bc2ec50000146104d45760405162461bcd60e51b815260206004820152601e60248201527f596f75206d7573742073656e642065786163746c7920302e30352045544800006044820152606401610356565b6040516331a9108f60e11b815260048101829052829033906001600160a01b03831690636352211e90602401602060405180830381865afa15801561051d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105419190610d4f565b6001600160a01b0316146105905760405162461bcd60e51b8152602060048201526016602482015275165bdd48191bdb89dd081bdddb881d1a1a5cc813919560521b6044820152606401610356565b3360009081526003602052604090205460ff16610602576002805460018181019092557f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b031916339081179091556000908152600360205260409020805460ff191690911790555b33600090815260016020526040812080549161061d83610d82565b90915550506005805490600061063283610d82565b9091555050600480546040516323b872dd60e01b815233928101929092526001600160a01b039081166024830152604482018490528216906323b872dd90606401600060405180830381600087803b15801561068d57600080fd5b505af11580156106a1573d6000803e3d6000fd5b5050604080516001600160a01b038716815260208101869052338183015290517f98f13e667ce55611c8fa11a4f21a2a0bbe5c4beac19cae004f72b930a0d1e5fa9350908190036060019150a1505050565b6107048566b1a2bc2ec50000610d9b565b34146107665760405162461bcd60e51b815260206004820152602b60248201527f596f75206d7573742073656e642065786163746c7920302e303520455448206660448201526a1bdc88195858da0813919560aa1b6064820152608401610356565b3360009081526003602052604090205460ff166107d8576002805460018181019092557f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b031916339081179091556000908152600360205260409020805460ff191690911790555b60005b85811015610a115760008585838181106107f7576107f7610db8565b905060200201602081019061080c9190610c4c565b9050336001600160a01b038216636352211e86868681811061083057610830610db8565b905060200201356040518263ffffffff1660e01b815260040161085591815260200190565b602060405180830381865afa158015610872573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108969190610d4f565b6001600160a01b0316146108e55760405162461bcd60e51b8152602060048201526016602482015275165bdd48191bdb89dd081bdddb881d1a1a5cc813919560521b6044820152606401610356565b6004546001600160a01b03808316916323b872dd9133911687878781811061090f5761090f610db8565b6040516001600160e01b031960e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152606401600060405180830381600087803b15801561096657600080fd5b505af115801561097a573d6000803e3d6000fd5b505050507f98f13e667ce55611c8fa11a4f21a2a0bbe5c4beac19cae004f72b930a0d1e5fa8686848181106109b1576109b1610db8565b90506020020160208101906109c69190610c4c565b8585858181106109d8576109d8610db8565b604080516001600160a01b039095168552602091820293909301359084015250339082015260600160405180910390a1506001016107db565b5060055433600090815260016020526040902054610a2f9190610dce565b33600090815260016020526040902055600554610a4d908690610dce565b6005555050505050565b60025460009081908310610aa35760405162461bcd60e51b8152602060048201526013602482015272496e646578206f7574206f6620626f756e647360681b6044820152606401610356565b600060028481548110610ab857610ab8610db8565b60009182526020808320909101546001600160a01b03168083526001909152604090912054909590945092505050565b610af0610b61565b6001600160a01b038116610b555760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610356565b610b5e81610bbb565b50565b6000546001600160a01b031633146104525760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610356565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0381168114610b5e57600080fd5b60008060408385031215610c3357600080fd5b8235610c3e81610c0b565b946020939093013593505050565b600060208284031215610c5e57600080fd5b8135610c6981610c0b565b9392505050565b600060208284031215610c8257600080fd5b5035919050565b60008083601f840112610c9b57600080fd5b50813567ffffffffffffffff811115610cb357600080fd5b6020830191508360208260051b8501011115610cce57600080fd5b9250929050565b600080600080600060608688031215610ced57600080fd5b85359450602086013567ffffffffffffffff80821115610d0c57600080fd5b610d1889838a01610c89565b90965094506040880135915080821115610d3157600080fd5b50610d3e88828901610c89565b969995985093965092949392505050565b600060208284031215610d6157600080fd5b8151610c6981610c0b565b634e487b7160e01b600052601160045260246000fd5b600060018201610d9457610d94610d6c565b5060010190565b8082028115828204841417610db257610db2610d6c565b92915050565b634e487b7160e01b600052603260045260246000fd5b80820180821115610db257610db2610d6c56fea26469706673582212201fb41af3fa85862c4083b24e21342e86463495f8b4fb3471ab8cf7b51c5852c164736f6c63430008170033
Deployed Bytecode
0x6080604052600436106100ec5760003560e01c80638da5cb5b1161008a578063cf3b0d5811610059578063cf3b0d581461026a578063e5c5f1d51461027d578063ee6b64f01461029d578063f2fde38b146102dc57600080fd5b80638da5cb5b146101ee578063ac92a9f41461020c578063b4efc4da1461021f578063b925d9fd1461023457600080fd5b80636f9fb98a116100c65780636f9fb98a14610178578063715018a61461018b5780637950965c146101a05780638907c89a146101b657600080fd5b8063099a04e5146100f85780631d53ccd11461011a5780634b61a3f91461014b57600080fd5b366100f357005b600080fd5b34801561010457600080fd5b50610118610113366004610c20565b6102fc565b005b34801561012657600080fd5b50336000908152600160205260409020545b6040519081526020015b60405180910390f35b34801561015757600080fd5b50610138610166366004610c4c565b60016020526000908152604090205481565b34801561018457600080fd5b5047610138565b34801561019757600080fd5b50610118610440565b3480156101ac57600080fd5b5061013860055481565b3480156101c257600080fd5b506101d66101d1366004610c70565b610454565b6040516001600160a01b039091168152602001610142565b3480156101fa57600080fd5b506000546001600160a01b03166101d6565b61011861021a366004610c20565b61047e565b34801561022b57600080fd5b50600254610138565b34801561024057600080fd5b5061013861024f366004610c4c565b6001600160a01b031660009081526001602052604090205490565b610118610278366004610cd5565b6106f3565b34801561028957600080fd5b506004546101d6906001600160a01b031681565b3480156102a957600080fd5b506102bd6102b8366004610c70565b610a57565b604080516001600160a01b039093168352602083019190915201610142565b3480156102e857600080fd5b506101186102f7366004610c4c565b610ae8565b610304610b61565b6001600160a01b03821661035f5760405162461bcd60e51b815260206004820152601960248201527f496e76616c696420726563697069656e7420616464726573730000000000000060448201526064015b60405180910390fd5b804710156103a65760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b6044820152606401610356565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146103f3576040519150601f19603f3d011682016040523d82523d6000602084013e6103f8565b606091505b505090508061043b5760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b6044820152606401610356565b505050565b610448610b61565b6104526000610bbb565b565b6002818154811061046457600080fd5b6000918252602090912001546001600160a01b0316905081565b3466b1a2bc2ec50000146104d45760405162461bcd60e51b815260206004820152601e60248201527f596f75206d7573742073656e642065786163746c7920302e30352045544800006044820152606401610356565b6040516331a9108f60e11b815260048101829052829033906001600160a01b03831690636352211e90602401602060405180830381865afa15801561051d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105419190610d4f565b6001600160a01b0316146105905760405162461bcd60e51b8152602060048201526016602482015275165bdd48191bdb89dd081bdddb881d1a1a5cc813919560521b6044820152606401610356565b3360009081526003602052604090205460ff16610602576002805460018181019092557f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b031916339081179091556000908152600360205260409020805460ff191690911790555b33600090815260016020526040812080549161061d83610d82565b90915550506005805490600061063283610d82565b9091555050600480546040516323b872dd60e01b815233928101929092526001600160a01b039081166024830152604482018490528216906323b872dd90606401600060405180830381600087803b15801561068d57600080fd5b505af11580156106a1573d6000803e3d6000fd5b5050604080516001600160a01b038716815260208101869052338183015290517f98f13e667ce55611c8fa11a4f21a2a0bbe5c4beac19cae004f72b930a0d1e5fa9350908190036060019150a1505050565b6107048566b1a2bc2ec50000610d9b565b34146107665760405162461bcd60e51b815260206004820152602b60248201527f596f75206d7573742073656e642065786163746c7920302e303520455448206660448201526a1bdc88195858da0813919560aa1b6064820152608401610356565b3360009081526003602052604090205460ff166107d8576002805460018181019092557f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b031916339081179091556000908152600360205260409020805460ff191690911790555b60005b85811015610a115760008585838181106107f7576107f7610db8565b905060200201602081019061080c9190610c4c565b9050336001600160a01b038216636352211e86868681811061083057610830610db8565b905060200201356040518263ffffffff1660e01b815260040161085591815260200190565b602060405180830381865afa158015610872573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108969190610d4f565b6001600160a01b0316146108e55760405162461bcd60e51b8152602060048201526016602482015275165bdd48191bdb89dd081bdddb881d1a1a5cc813919560521b6044820152606401610356565b6004546001600160a01b03808316916323b872dd9133911687878781811061090f5761090f610db8565b6040516001600160e01b031960e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152606401600060405180830381600087803b15801561096657600080fd5b505af115801561097a573d6000803e3d6000fd5b505050507f98f13e667ce55611c8fa11a4f21a2a0bbe5c4beac19cae004f72b930a0d1e5fa8686848181106109b1576109b1610db8565b90506020020160208101906109c69190610c4c565b8585858181106109d8576109d8610db8565b604080516001600160a01b039095168552602091820293909301359084015250339082015260600160405180910390a1506001016107db565b5060055433600090815260016020526040902054610a2f9190610dce565b33600090815260016020526040902055600554610a4d908690610dce565b6005555050505050565b60025460009081908310610aa35760405162461bcd60e51b8152602060048201526013602482015272496e646578206f7574206f6620626f756e647360681b6044820152606401610356565b600060028481548110610ab857610ab8610db8565b60009182526020808320909101546001600160a01b03168083526001909152604090912054909590945092505050565b610af0610b61565b6001600160a01b038116610b555760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610356565b610b5e81610bbb565b50565b6000546001600160a01b031633146104525760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610356565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0381168114610b5e57600080fd5b60008060408385031215610c3357600080fd5b8235610c3e81610c0b565b946020939093013593505050565b600060208284031215610c5e57600080fd5b8135610c6981610c0b565b9392505050565b600060208284031215610c8257600080fd5b5035919050565b60008083601f840112610c9b57600080fd5b50813567ffffffffffffffff811115610cb357600080fd5b6020830191508360208260051b8501011115610cce57600080fd5b9250929050565b600080600080600060608688031215610ced57600080fd5b85359450602086013567ffffffffffffffff80821115610d0c57600080fd5b610d1889838a01610c89565b90965094506040880135915080821115610d3157600080fd5b50610d3e88828901610c89565b969995985093965092949392505050565b600060208284031215610d6157600080fd5b8151610c6981610c0b565b634e487b7160e01b600052601160045260246000fd5b600060018201610d9457610d94610d6c565b5060010190565b8082028115828204841417610db257610db2610d6c565b92915050565b634e487b7160e01b600052603260045260246000fd5b80820180821115610db257610db2610d6c56fea26469706673582212201fb41af3fa85862c4083b24e21342e86463495f8b4fb3471ab8cf7b51c5852c164736f6c63430008170033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.