Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 49 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Redeem Mint Pack | 15346900 | 906 days ago | IN | 0 ETH | 0.01123426 | ||||
Redeem Mint Pack | 15277314 | 917 days ago | IN | 0 ETH | 0.01632867 | ||||
Redeem Mint Pack | 15238597 | 923 days ago | IN | 0 ETH | 0.0218007 | ||||
Redeem Mint Pack | 15235478 | 924 days ago | IN | 0 ETH | 0.0118226 | ||||
Redeem Mint Pack | 15232691 | 924 days ago | IN | 0 ETH | 0.01865696 | ||||
Redeem Mint Pack | 15219486 | 926 days ago | IN | 0 ETH | 0.01484214 | ||||
Redeem Mint Pack | 15193613 | 930 days ago | IN | 0 ETH | 0.01281326 | ||||
Redeem Mint Pack | 15104769 | 944 days ago | IN | 0 ETH | 0.00983763 | ||||
Redeem Mint Pack | 15095826 | 945 days ago | IN | 0 ETH | 0.02840225 | ||||
Redeem Mint Pack | 15051703 | 952 days ago | IN | 0 ETH | 0.03086388 | ||||
Redeem Mint Pack | 14992605 | 963 days ago | IN | 0 ETH | 0.01984645 | ||||
Redeem Mint Pack | 14820872 | 992 days ago | IN | 0 ETH | 0.01046226 | ||||
Redeem Mint Pack | 14600193 | 1027 days ago | IN | 0 ETH | 0.01992485 | ||||
Redeem Mint Pack | 14557113 | 1033 days ago | IN | 0 ETH | 0.0165959 | ||||
Redeem Mint Pack | 14522042 | 1039 days ago | IN | 0 ETH | 0.06156076 | ||||
Redeem Mint Pack | 14483878 | 1045 days ago | IN | 0 ETH | 0.03044923 | ||||
Redeem Mint Pack | 14472572 | 1047 days ago | IN | 0 ETH | 0.02592598 | ||||
Redeem Mint Pack | 14371736 | 1062 days ago | IN | 0 ETH | 0.01373122 | ||||
Redeem Mint Pack | 14247030 | 1082 days ago | IN | 0 ETH | 0.05495796 | ||||
Redeem Mint Pack | 14247004 | 1082 days ago | IN | 0 ETH | 0.04762677 | ||||
Redeem Mint Pack | 14202325 | 1089 days ago | IN | 0 ETH | 0.02188376 | ||||
Redeem Mint Pack | 14195438 | 1090 days ago | IN | 0 ETH | 0.03772565 | ||||
Redeem Mint Pack | 14079517 | 1108 days ago | IN | 0 ETH | 0.07815972 | ||||
Redeem Mint Pack | 14077630 | 1108 days ago | IN | 0 ETH | 0.12396937 | ||||
Redeem Mint Pack | 14060369 | 1111 days ago | IN | 0 ETH | 0.06510911 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
CryptoCitizenMintPackRedeemer
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
Yes with 50 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // Developer: @Brougkr pragma solidity 0.8.10; import '@openzeppelin/contracts/interfaces/IERC721Receiver.sol'; import '@openzeppelin/contracts/interfaces/IERC721.sol'; import '@openzeppelin/contracts/interfaces/IERC20.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/security/Pausable.sol'; import '@openzeppelin/contracts/security/ReentrancyGuard.sol'; import './IArtBlocks.sol'; contract CryptoCitizenMintPackRedeemer is Ownable, Pausable, ReentrancyGuard { address private immutable _ERC20_BRT_TokenAddress = 0xe5FDf72aC93796500e3A96163597DAFCC1C41C52; // BRT Ropsten Contract Address address private immutable _BRTMULTISIG = 0xB96E81f80b3AEEf65CB6d0E280b15FD5DBE71937; // Bright Moments Multisig Address address private immutable _ArtBlocksMintingContractAddress = 0xDd06d8483868Cd0C5E69C24eEaA2A5F2bEaFd42b; // ArtBlocks Ropsten Minting Contract address private immutable _ArtBlocksCoreContractAddress = 0xbDdE08BD57e5C9fD563eE7aC61618CB2ECdc0ce0; // Artblocks Ropsten NFT Collection Contract address private immutable _GoldenTicketCity5 = 0xC2A3c3543701009d36C0357177a62E0F6459e8A9; // Golden Ticket City 5 address private immutable _GoldenTicketCity6 = 0xE0D1Fa3fBd72db2eD179F80C0459B7dA93Fe4FE8; // Golden Ticket City 6 address private immutable _GoldenTicketCity7 = 0x762F5C8137C445164c53e138da33032C21F44D65; // Golden Ticket City 7 address private immutable _GoldenTicketCity8 = 0x0205f9cEb478FC77E2cDB77efD27B414dD31bAE5; // Golden Ticket City 8 address private immutable _GoldenTicketCity9 = 0x1b02C7f98e62dDF1aC434C372A282E862b03acC6; // Golden Ticket City 9 address private immutable _GoldenTicketCity10 = 0xB8d1611bE514202b60AdfcC8910F5A963E4Eb38D; // Golden Ticket City 10 address private immutable _MintPack = 0x96952728f070927201c67672B5ca1A79CABC6E67; // Mint Pack uint256 private immutable _ArtBlocksProjectID = 0; // Galactican Project ID uint256 private _index = 0; // Approves 500,000 for purchasing constructor() { __approveBRT(500000); _transferOwnership(_BRTMULTISIG); } // Redeems CryptoCitizen Mint Pass function redeemMintPack(uint256 passportTokenID) public nonReentrant whenNotPaused { // === Ensures Message Sender Is Owner of Mint Pass & Redeems Mint Pass === require(IERC721(_MintPack).ownerOf(passportTokenID) == msg.sender, "Sender Does Not Own Mint Pass With The Input Token ID"); IERC721(_MintPack).transferFrom(msg.sender, _BRTMULTISIG, passportTokenID); // === Mints Galactican === uint256 _ArtBlocksTokenID = _mintGalactican(); IERC721(_ArtBlocksCoreContractAddress).transferFrom(address(this), msg.sender, _ArtBlocksTokenID); // === Redeems Cities 5-10 === IERC721(_GoldenTicketCity5).transferFrom(_BRTMULTISIG, msg.sender, _index); IERC721(_GoldenTicketCity6).transferFrom(_BRTMULTISIG, msg.sender, _index); IERC721(_GoldenTicketCity7).transferFrom(_BRTMULTISIG, msg.sender, _index); IERC721(_GoldenTicketCity8).transferFrom(_BRTMULTISIG, msg.sender, _index); IERC721(_GoldenTicketCity9).transferFrom(_BRTMULTISIG, msg.sender, _index); IERC721(_GoldenTicketCity10).transferFrom(_BRTMULTISIG, msg.sender, _index); // === Increments Index === _index += 1; } // Returns Amount Of Mint Passes Redeemed function readIndex() public view returns(uint256) { return _index; } // Mints Galactican From ArtBlocks Minting Contract function _mintGalactican() private returns (uint tokenID) { return IArtBlocks(_ArtBlocksMintingContractAddress).purchase(_ArtBlocksProjectID); } // Withdraws ERC20 Tokens to Multisig function __withdrawERC20(address tokenAddress) public onlyOwner { IERC20 erc20Token = IERC20(tokenAddress); require(erc20Token.balanceOf(address(this)) > 0, "Zero Token Balance"); erc20Token.transfer(_BRTMULTISIG, erc20Token.balanceOf(address(this))); } // Approves BRT for Galactican Purchasing function __approveBRT(uint256 amount) public onlyOwner { IERC20(_ERC20_BRT_TokenAddress).approve(_ArtBlocksMintingContractAddress, amount); } // Withdraws Ether to Multisig function __withdrawEther() public onlyOwner { payable(_BRTMULTISIG).transfer(address(this).balance); } // Withdraws NFT to Multisig function __withdrawNFT(address contractAddress, uint256 tokenID) public onlyOwner { IERC721(contractAddress).safeTransferFrom(address(this), _BRTMULTISIG, tokenID); } // Pauses Functionality function __pause() public onlyOwner { _pause(); } // Unpauses Functionality function __unpause() public onlyOwner { _unpause(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../token/ERC721/IERC721Receiver.sol";
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../token/ERC721/IERC721.sol";
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../token/ERC20/IERC20.sol";
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev 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 pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; //Contract Address for ArtBlocks: { 0x47e312d99C09Ce61A866c83cBbbbED5A4b9d33E7 } interface IArtBlocks { function purchase(uint256 _projectId) payable external returns (uint256 tokenID); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @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`, 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 be 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: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * 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 Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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 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); /** * @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; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "optimizer": { "enabled": true, "runs": 50 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"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":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"__approveBRT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"__pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"__unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"__withdrawERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"__withdrawEther","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address"},{"internalType":"uint256","name":"tokenID","type":"uint256"}],"name":"__withdrawNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"readIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"passportTokenID","type":"uint256"}],"name":"redeemMintPack","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
61020060405273e5fdf72ac93796500e3a96163597dafcc1c41c5260805273b96e81f80b3aeef65cb6d0e280b15fd5dbe7193760a05273dd06d8483868cd0c5e69c24eeaa2a5f2beafd42b60c05273bdde08bd57e5c9fd563ee7ac61618cb2ecdc0ce060e05273c2a3c3543701009d36c0357177a62e0f6459e8a96101005273e0d1fa3fbd72db2ed179f80c0459b7da93fe4fe86101205273762f5c8137c445164c53e138da33032c21f44d6561014052730205f9ceb478fc77e2cdb77efd27b414dd31bae561016052731b02c7f98e62ddf1ac434c372a282e862b03acc66101805273b8d1611be514202b60adfcc8910f5a963e4eb38d6101a0527396952728f070927201c67672b5ca1a79cabc6e676101c05260006101e081905260025534801561012b57600080fd5b5061013533610163565b6000805460ff60a01b19169055600180556101526207a1206101b3565b60a05161015e90610163565b6102b7565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000546001600160a01b031633146102115760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b60805160c05160405163095ea7b360e01b81526001600160a01b0391821660048201526024810184905291169063095ea7b3906044016020604051808303816000875af1158015610266573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061028a919061028e565b5050565b6000602082840312156102a057600080fd5b815180151581146102b057600080fd5b9392505050565b60805160a05160c05160e05161010051610120516101405161016051610180516101a0516101c0516101e051610ffa620003966000396000610c830152600081816101de01526102d40152600061073a01526000610696015260006105f20152600061054e015260006104aa0152600061040601526000610383015260008181610c030152610cac01526000818161030301528181610435015281816104d90152818161057d01528181610621015281816106c501528181610769015281816108f901528181610a2a0152610b4501526000610bd60152610ffa6000f3fe608060405234801561001057600080fd5b506004361061008e5760003560e01c8063041e076c146100935780635c975abb146100a857806362873fba146100c55780636f876ef9146100d85780637905fb8d146100eb578063824c6c4a146100fc5780638c6d6d7e146101045780638da5cb5b1461010c578063c0e6f25414610121578063e0c513fc14610129575b600080fd5b6100a66100a1366004610e18565b61013c565b005b6100b06107e6565b60405190151581526020015b60405180910390f35b6100a66100d3366004610e46565b6107f6565b6100a66100e6366004610e6a565b6109d5565b6002546040519081526020016100bc565b6100a6610a8a565b6100a6610ac3565b610114610afa565b6040516100bc9190610e96565b6100a6610b09565b6100a6610137366004610e18565b610b90565b600260015414156101945760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b60026001556101a16107e6565b156101be5760405162461bcd60e51b815260040161018b90610eaa565b6040516331a9108f60e11b81526004810182905233906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690636352211e90602401602060405180830381865afa158015610225573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102499190610ed4565b6001600160a01b0316146102bd5760405162461bcd60e51b815260206004820152603560248201527f53656e64657220446f6573204e6f74204f776e204d696e7420506173732057696044820152741d1a08151a1948125b9c1d5d08151bdad95b881251605a1b606482015260840161018b565b6040516323b872dd60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906323b872dd9061032d9033907f0000000000000000000000000000000000000000000000000000000000000000908690600401610ef1565b600060405180830381600087803b15801561034757600080fd5b505af115801561035b573d6000803e3d6000fd5b505050506000610369610c74565b6040516323b872dd60e01b81529091506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906323b872dd906103bc90309033908690600401610ef1565b600060405180830381600087803b1580156103d657600080fd5b505af11580156103ea573d6000803e3d6000fd5b50506002546040516323b872dd60e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001693506323b872dd9250610460917f000000000000000000000000000000000000000000000000000000000000000091339190600401610ef1565b600060405180830381600087803b15801561047a57600080fd5b505af115801561048e573d6000803e3d6000fd5b50506002546040516323b872dd60e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001693506323b872dd9250610504917f000000000000000000000000000000000000000000000000000000000000000091339190600401610ef1565b600060405180830381600087803b15801561051e57600080fd5b505af1158015610532573d6000803e3d6000fd5b50506002546040516323b872dd60e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001693506323b872dd92506105a8917f000000000000000000000000000000000000000000000000000000000000000091339190600401610ef1565b600060405180830381600087803b1580156105c257600080fd5b505af11580156105d6573d6000803e3d6000fd5b50506002546040516323b872dd60e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001693506323b872dd925061064c917f000000000000000000000000000000000000000000000000000000000000000091339190600401610ef1565b600060405180830381600087803b15801561066657600080fd5b505af115801561067a573d6000803e3d6000fd5b50506002546040516323b872dd60e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001693506323b872dd92506106f0917f000000000000000000000000000000000000000000000000000000000000000091339190600401610ef1565b600060405180830381600087803b15801561070a57600080fd5b505af115801561071e573d6000803e3d6000fd5b50506002546040516323b872dd60e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001693506323b872dd9250610794917f000000000000000000000000000000000000000000000000000000000000000091339190600401610ef1565b600060405180830381600087803b1580156107ae57600080fd5b505af11580156107c2573d6000803e3d6000fd5b505050506001600260008282546107d99190610f15565b9091555050600180555050565b600054600160a01b900460ff1690565b336107ff610afa565b6001600160a01b0316146108255760405162461bcd60e51b815260040161018b90610f3b565b6040516370a0823160e01b815281906000906001600160a01b038316906370a0823190610856903090600401610e96565b602060405180830381865afa158015610873573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108979190610f70565b116108d95760405162461bcd60e51b81526020600482015260126024820152715a65726f20546f6b656e2042616c616e636560701b604482015260640161018b565b6040516370a0823160e01b81526001600160a01b0382169063a9059cbb907f00000000000000000000000000000000000000000000000000000000000000009083906370a082319061092f903090600401610e96565b602060405180830381865afa15801561094c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109709190610f70565b6040518363ffffffff1660e01b815260040161098d929190610f89565b6020604051808303816000875af11580156109ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109d09190610fa2565b505050565b336109de610afa565b6001600160a01b031614610a045760405162461bcd60e51b815260040161018b90610f3b565b604051632142170760e11b81526001600160a01b038316906342842e0e90610a549030907f0000000000000000000000000000000000000000000000000000000000000000908690600401610ef1565b600060405180830381600087803b158015610a6e57600080fd5b505af1158015610a82573d6000803e3d6000fd5b505050505050565b33610a93610afa565b6001600160a01b031614610ab95760405162461bcd60e51b815260040161018b90610f3b565b610ac1610d26565b565b33610acc610afa565b6001600160a01b031614610af25760405162461bcd60e51b815260040161018b90610f3b565b610ac1610db8565b6000546001600160a01b031690565b33610b12610afa565b6001600160a01b031614610b385760405162461bcd60e51b815260040161018b90610f3b565b6040516001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016904780156108fc02916000818181858888f19350505050158015610b8d573d6000803e3d6000fd5b50565b33610b99610afa565b6001600160a01b031614610bbf5760405162461bcd60e51b815260040161018b90610f3b565b60405163095ea7b360e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063095ea7b390610c2d907f0000000000000000000000000000000000000000000000000000000000000000908590600401610f89565b6020604051808303816000875af1158015610c4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c709190610fa2565b5050565b60405163efef39a160e01b81527f000000000000000000000000000000000000000000000000000000000000000060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063efef39a1906024016020604051808303816000875af1158015610cfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d219190610f70565b905090565b610d2e6107e6565b610d715760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015260640161018b565b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b604051610dae9190610e96565b60405180910390a1565b610dc06107e6565b15610ddd5760405162461bcd60e51b815260040161018b90610eaa565b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610da13390565b600060208284031215610e2a57600080fd5b5035919050565b6001600160a01b0381168114610b8d57600080fd5b600060208284031215610e5857600080fd5b8135610e6381610e31565b9392505050565b60008060408385031215610e7d57600080fd5b8235610e8881610e31565b946020939093013593505050565b6001600160a01b0391909116815260200190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b600060208284031215610ee657600080fd5b8151610e6381610e31565b6001600160a01b039384168152919092166020820152604081019190915260600190565b60008219821115610f3657634e487b7160e01b600052601160045260246000fd5b500190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215610f8257600080fd5b5051919050565b6001600160a01b03929092168252602082015260400190565b600060208284031215610fb457600080fd5b81518015158114610e6357600080fdfea26469706673582212202f2080d246961b580e5f27e41775f3ca06d784990153bed3eaf362ffdf47766464736f6c634300080a0033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061008e5760003560e01c8063041e076c146100935780635c975abb146100a857806362873fba146100c55780636f876ef9146100d85780637905fb8d146100eb578063824c6c4a146100fc5780638c6d6d7e146101045780638da5cb5b1461010c578063c0e6f25414610121578063e0c513fc14610129575b600080fd5b6100a66100a1366004610e18565b61013c565b005b6100b06107e6565b60405190151581526020015b60405180910390f35b6100a66100d3366004610e46565b6107f6565b6100a66100e6366004610e6a565b6109d5565b6002546040519081526020016100bc565b6100a6610a8a565b6100a6610ac3565b610114610afa565b6040516100bc9190610e96565b6100a6610b09565b6100a6610137366004610e18565b610b90565b600260015414156101945760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b60026001556101a16107e6565b156101be5760405162461bcd60e51b815260040161018b90610eaa565b6040516331a9108f60e11b81526004810182905233906001600160a01b037f00000000000000000000000096952728f070927201c67672b5ca1a79cabc6e671690636352211e90602401602060405180830381865afa158015610225573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102499190610ed4565b6001600160a01b0316146102bd5760405162461bcd60e51b815260206004820152603560248201527f53656e64657220446f6573204e6f74204f776e204d696e7420506173732057696044820152741d1a08151a1948125b9c1d5d08151bdad95b881251605a1b606482015260840161018b565b6040516323b872dd60e01b81526001600160a01b037f00000000000000000000000096952728f070927201c67672b5ca1a79cabc6e6716906323b872dd9061032d9033907f000000000000000000000000b96e81f80b3aeef65cb6d0e280b15fd5dbe71937908690600401610ef1565b600060405180830381600087803b15801561034757600080fd5b505af115801561035b573d6000803e3d6000fd5b505050506000610369610c74565b6040516323b872dd60e01b81529091506001600160a01b037f000000000000000000000000bdde08bd57e5c9fd563ee7ac61618cb2ecdc0ce016906323b872dd906103bc90309033908690600401610ef1565b600060405180830381600087803b1580156103d657600080fd5b505af11580156103ea573d6000803e3d6000fd5b50506002546040516323b872dd60e01b81526001600160a01b037f000000000000000000000000c2a3c3543701009d36c0357177a62e0f6459e8a91693506323b872dd9250610460917f000000000000000000000000b96e81f80b3aeef65cb6d0e280b15fd5dbe7193791339190600401610ef1565b600060405180830381600087803b15801561047a57600080fd5b505af115801561048e573d6000803e3d6000fd5b50506002546040516323b872dd60e01b81526001600160a01b037f000000000000000000000000e0d1fa3fbd72db2ed179f80c0459b7da93fe4fe81693506323b872dd9250610504917f000000000000000000000000b96e81f80b3aeef65cb6d0e280b15fd5dbe7193791339190600401610ef1565b600060405180830381600087803b15801561051e57600080fd5b505af1158015610532573d6000803e3d6000fd5b50506002546040516323b872dd60e01b81526001600160a01b037f000000000000000000000000762f5c8137c445164c53e138da33032c21f44d651693506323b872dd92506105a8917f000000000000000000000000b96e81f80b3aeef65cb6d0e280b15fd5dbe7193791339190600401610ef1565b600060405180830381600087803b1580156105c257600080fd5b505af11580156105d6573d6000803e3d6000fd5b50506002546040516323b872dd60e01b81526001600160a01b037f0000000000000000000000000205f9ceb478fc77e2cdb77efd27b414dd31bae51693506323b872dd925061064c917f000000000000000000000000b96e81f80b3aeef65cb6d0e280b15fd5dbe7193791339190600401610ef1565b600060405180830381600087803b15801561066657600080fd5b505af115801561067a573d6000803e3d6000fd5b50506002546040516323b872dd60e01b81526001600160a01b037f0000000000000000000000001b02c7f98e62ddf1ac434c372a282e862b03acc61693506323b872dd92506106f0917f000000000000000000000000b96e81f80b3aeef65cb6d0e280b15fd5dbe7193791339190600401610ef1565b600060405180830381600087803b15801561070a57600080fd5b505af115801561071e573d6000803e3d6000fd5b50506002546040516323b872dd60e01b81526001600160a01b037f000000000000000000000000b8d1611be514202b60adfcc8910f5a963e4eb38d1693506323b872dd9250610794917f000000000000000000000000b96e81f80b3aeef65cb6d0e280b15fd5dbe7193791339190600401610ef1565b600060405180830381600087803b1580156107ae57600080fd5b505af11580156107c2573d6000803e3d6000fd5b505050506001600260008282546107d99190610f15565b9091555050600180555050565b600054600160a01b900460ff1690565b336107ff610afa565b6001600160a01b0316146108255760405162461bcd60e51b815260040161018b90610f3b565b6040516370a0823160e01b815281906000906001600160a01b038316906370a0823190610856903090600401610e96565b602060405180830381865afa158015610873573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108979190610f70565b116108d95760405162461bcd60e51b81526020600482015260126024820152715a65726f20546f6b656e2042616c616e636560701b604482015260640161018b565b6040516370a0823160e01b81526001600160a01b0382169063a9059cbb907f000000000000000000000000b96e81f80b3aeef65cb6d0e280b15fd5dbe719379083906370a082319061092f903090600401610e96565b602060405180830381865afa15801561094c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109709190610f70565b6040518363ffffffff1660e01b815260040161098d929190610f89565b6020604051808303816000875af11580156109ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109d09190610fa2565b505050565b336109de610afa565b6001600160a01b031614610a045760405162461bcd60e51b815260040161018b90610f3b565b604051632142170760e11b81526001600160a01b038316906342842e0e90610a549030907f000000000000000000000000b96e81f80b3aeef65cb6d0e280b15fd5dbe71937908690600401610ef1565b600060405180830381600087803b158015610a6e57600080fd5b505af1158015610a82573d6000803e3d6000fd5b505050505050565b33610a93610afa565b6001600160a01b031614610ab95760405162461bcd60e51b815260040161018b90610f3b565b610ac1610d26565b565b33610acc610afa565b6001600160a01b031614610af25760405162461bcd60e51b815260040161018b90610f3b565b610ac1610db8565b6000546001600160a01b031690565b33610b12610afa565b6001600160a01b031614610b385760405162461bcd60e51b815260040161018b90610f3b565b6040516001600160a01b037f000000000000000000000000b96e81f80b3aeef65cb6d0e280b15fd5dbe7193716904780156108fc02916000818181858888f19350505050158015610b8d573d6000803e3d6000fd5b50565b33610b99610afa565b6001600160a01b031614610bbf5760405162461bcd60e51b815260040161018b90610f3b565b60405163095ea7b360e01b81526001600160a01b037f000000000000000000000000e5fdf72ac93796500e3a96163597dafcc1c41c52169063095ea7b390610c2d907f000000000000000000000000dd06d8483868cd0c5e69c24eeaa2a5f2beafd42b908590600401610f89565b6020604051808303816000875af1158015610c4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c709190610fa2565b5050565b60405163efef39a160e01b81527f000000000000000000000000000000000000000000000000000000000000000060048201526000907f000000000000000000000000dd06d8483868cd0c5e69c24eeaa2a5f2beafd42b6001600160a01b03169063efef39a1906024016020604051808303816000875af1158015610cfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d219190610f70565b905090565b610d2e6107e6565b610d715760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015260640161018b565b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b604051610dae9190610e96565b60405180910390a1565b610dc06107e6565b15610ddd5760405162461bcd60e51b815260040161018b90610eaa565b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610da13390565b600060208284031215610e2a57600080fd5b5035919050565b6001600160a01b0381168114610b8d57600080fd5b600060208284031215610e5857600080fd5b8135610e6381610e31565b9392505050565b60008060408385031215610e7d57600080fd5b8235610e8881610e31565b946020939093013593505050565b6001600160a01b0391909116815260200190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b600060208284031215610ee657600080fd5b8151610e6381610e31565b6001600160a01b039384168152919092166020820152604081019190915260600190565b60008219821115610f3657634e487b7160e01b600052601160045260246000fd5b500190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215610f8257600080fd5b5051919050565b6001600160a01b03929092168252602082015260400190565b600060208284031215610fb457600080fd5b81518015158114610e6357600080fdfea26469706673582212202f2080d246961b580e5f27e41775f3ca06d784990153bed3eaf362ffdf47766464736f6c634300080a0033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.