Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 62 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw | 16990520 | 597 days ago | IN | 0 ETH | 0.00115376 | ||||
Refund | 16990396 | 597 days ago | IN | 0 ETH | 0.02861553 | ||||
Toggle Pause | 16990335 | 597 days ago | IN | 0 ETH | 0.00096836 | ||||
Purchase Auction | 16990334 | 597 days ago | IN | 1.35 ETH | 0.00093279 | ||||
Purchase Auction | 16990333 | 597 days ago | IN | 1.35 ETH | 0.00091442 | ||||
Purchase Auction | 16990333 | 597 days ago | IN | 1.35 ETH | 0.00092167 | ||||
Purchase Auction | 16990333 | 597 days ago | IN | 1.35 ETH | 0.00092167 | ||||
Purchase Auction | 16990333 | 597 days ago | IN | 1.35 ETH | 0.00246085 | ||||
Purchase Auction | 16990333 | 597 days ago | IN | 1.35 ETH | 0.00652695 | ||||
Purchase Auction | 16990333 | 597 days ago | IN | 1.35 ETH | 0.00783071 | ||||
Purchase Auction | 16990332 | 597 days ago | IN | 1.35 ETH | 0.00252292 | ||||
Purchase Auction | 16990332 | 597 days ago | IN | 1.35 ETH | 0.00252292 | ||||
Purchase Auction | 16990332 | 597 days ago | IN | 1.35 ETH | 0.00252292 | ||||
Purchase Auction | 16990332 | 597 days ago | IN | 1.35 ETH | 0.00366682 | ||||
Purchase Auction | 16990331 | 597 days ago | IN | 1.35 ETH | 0.00247864 | ||||
Purchase Auction | 16990330 | 597 days ago | IN | 1.46 ETH | 0.00256205 | ||||
Purchase Auction | 16990328 | 597 days ago | IN | 1.46 ETH | 0.00243726 | ||||
Purchase Auction | 16990326 | 597 days ago | IN | 1.46 ETH | 0.00244995 | ||||
Purchase Auction | 16990319 | 597 days ago | IN | 1.46 ETH | 0.00260375 | ||||
Purchase Auction | 16990318 | 597 days ago | IN | 1.46 ETH | 0.00244426 | ||||
Purchase Auction | 16990315 | 597 days ago | IN | 1.46 ETH | 0.00249073 | ||||
Purchase Auction | 16990313 | 597 days ago | IN | 1.46 ETH | 0.00246923 | ||||
Purchase Auction | 16990299 | 597 days ago | IN | 1.57 ETH | 0.00226592 | ||||
Purchase Auction | 16990297 | 597 days ago | IN | 1.57 ETH | 0.00230062 | ||||
Purchase Auction | 16990262 | 597 days ago | IN | 1.79 ETH | 0.00247136 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
16990520 | 597 days ago | 67.5 ETH | ||||
16990396 | 597 days ago | 0.11 ETH | ||||
16990396 | 597 days ago | 0.11 ETH | ||||
16990396 | 597 days ago | 0.11 ETH | ||||
16990396 | 597 days ago | 0.11 ETH | ||||
16990396 | 597 days ago | 0.11 ETH | ||||
16990396 | 597 days ago | 0.11 ETH | ||||
16990396 | 597 days ago | 0.11 ETH | ||||
16990396 | 597 days ago | 0.22 ETH | ||||
16990396 | 597 days ago | 0.22 ETH | ||||
16990396 | 597 days ago | 0.44 ETH | ||||
16990396 | 597 days ago | 0.44 ETH | ||||
16990396 | 597 days ago | 0.55 ETH | ||||
16990396 | 597 days ago | 0.66 ETH | ||||
16990396 | 597 days ago | 0.77 ETH | ||||
16990396 | 597 days ago | 0.77 ETH | ||||
16990396 | 597 days ago | 0.88 ETH | ||||
16990396 | 597 days ago | 0.88 ETH | ||||
16990396 | 597 days ago | 0.99 ETH | ||||
16990396 | 597 days ago | 1.43 ETH | ||||
16990396 | 597 days ago | 1.43 ETH | ||||
16990396 | 597 days ago | 1.87 ETH | ||||
16990396 | 597 days ago | 1.98 ETH | ||||
16990396 | 597 days ago | 1.98 ETH | ||||
16990396 | 597 days ago | 1.98 ETH |
Loading...
Loading
Contract Name:
DeadjiraAuction
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 20000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.17; import {Ownable} from "open-zeppelin/contracts/access/Ownable.sol"; import {Pausable} from "open-zeppelin/contracts/security/Pausable.sol"; /// @title DeadjiraAuction /// @author WhiteOakKong /// @notice A contract for conducting an auction of limited edition Deadjira ordinals. /// @dev Inherits from the OpenZeppelin Ownable and Pausable contracts. contract DeadjiraAuction is Ownable, Pausable { uint256 public constant AUCTION_SUPPLY = 50; uint256 public constant STARTING_PRICE = 3.33 ether; uint256 public constant ENDING_PRICE = 1.11 ether; uint256 private constant INCREMENT_VALUE = 0.11 ether; uint256 private constant INCREMENT_TIME = 213 seconds; uint256 public startTime; address public withdrawAddress; address[] public buyers; mapping(address => uint256) public purchased; /// @notice Event emitted when a new auction purchase is made. /// @param minter The address of the buyer. /// @param btcAddress The buyer's BTC address. /// @param discordID The buyer's Discord ID. /// @param purchaseID The unique ID of the purchase. event AuctionPurchase(address minter, string btcAddress, string discordID, uint256 purchaseID); /// @dev Constructor to initialize the contract and set it to a paused state. constructor() { _pause(); } // USER FUNCTIONS // /// @notice Allows users to purchase a token during the auction. /// @dev Function can only be called when the contract is not paused. /// @param btcAddress The buyer's BTC address. /// @param discordID The buyer's Discord ID. function purchaseAuction(string calldata btcAddress, string calldata discordID) external payable whenNotPaused { require(msg.value >= calculatePrice(), "Incorrect value."); require(buyers.length < AUCTION_SUPPLY, "Auction supply reached."); require(purchased[msg.sender] == 0, "Already purchased."); buyers.push(msg.sender); purchased[msg.sender] = msg.value; emit AuctionPurchase(msg.sender, btcAddress, discordID, buyers.length); } // ACCESS CONTROLLED FUNCTIONS // /// @notice Starts the auction by setting the start time and unpausing the contract. /// @dev Can only be called by the contract owner. function startAuction() external onlyOwner { require(startTime == 0, "Auction already started."); _unpause(); startTime = block.timestamp; } /// @notice Toggles the pause state of the contract. /// @dev Can only be called by the contract owner. function togglePause() external onlyOwner { require(startTime > 0, "Auction not started."); if (paused()) _unpause(); else _pause(); } /// @notice Allows the contract owner to withdraw the contract balance. /// @dev Can only be called when the contract is paused and by the contract owner. function withdraw() external whenPaused onlyOwner { require(withdrawAddress != address(0), "Withdraw address not set."); (bool success, ) = payable(withdrawAddress).call{value: address(this).balance}(""); require(success, "Transfer failed."); } ///@notice Change the address to which funds can be withdrawn. ///@dev Can only be called by the contract owner and cannot be the zero address. ///@param _address The new address to set as the withdrawal address. function setWithdrawAddress(address _address) external onlyOwner { require(_address != address(0), "Invalid address."); withdrawAddress = _address; } /// @notice Allows the contract owner to issue refunds to buyers after the auction has ended. /// @dev Can only be called when the contract is paused and by the contract owner. /// @param finalPrice The final price of the tokens at the end of the auction. function refund(uint256 finalPrice) external whenPaused onlyOwner { require(finalPrice >= ENDING_PRICE, "Invalid final price."); address[] memory _buyers = buyers; for (uint256 i = 0; i < _buyers.length; i++) { uint256 refundValue = purchased[_buyers[i]] - finalPrice; if (refundValue > 0) { (bool success, ) = payable(_buyers[i]).call{value: refundValue}(""); require(success, "Transfer failed."); } } } // VIEW FUNCTIONS // /// @notice Calculates the current price of the tokens based on the elapsed time since the auction started. /// @return The current price of the tokens. function calculatePrice() public view returns (uint256) { uint256 timeSinceStart = block.timestamp - startTime; uint256 increments = timeSinceStart / INCREMENT_TIME; if (increments * INCREMENT_VALUE > STARTING_PRICE - ENDING_PRICE) return ENDING_PRICE; uint256 price = STARTING_PRICE - (increments * INCREMENT_VALUE); return price; } /// @notice Retrieves the purchase data for a specific user. /// @param buyer The address of the buyer. /// @return The purchase value of the specified buyer. function getUserPurchaseData(address buyer) external view returns (uint256) { return purchased[buyer]; } /// @notice Retrieves the total number of purchases made during the auction. /// @return The total number of purchases. function getTotalPurchased() external view returns (uint256) { return buyers.length; } receive() external payable {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) 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 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); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol) 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 Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { 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 // 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; } }
{ "remappings": [ "ERC721A/=lib/ERC721A/contracts/", "ds-test/=lib/forge-std/lib/ds-test/src/", "forge-std/=lib/forge-std/src/", "open-zeppelin/=lib/openzeppelin-contracts/", "openzeppelin-contracts/=lib/openzeppelin-contracts/" ], "optimizer": { "enabled": true, "runs": 20000 }, "metadata": { "bytecodeHash": "ipfs" }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "london", "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"string","name":"btcAddress","type":"string"},{"indexed":false,"internalType":"string","name":"discordID","type":"string"},{"indexed":false,"internalType":"uint256","name":"purchaseID","type":"uint256"}],"name":"AuctionPurchase","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"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":[],"name":"AUCTION_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ENDING_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STARTING_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"buyers","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"calculatePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalPurchased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"buyer","type":"address"}],"name":"getUserPurchaseData","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":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"btcAddress","type":"string"},{"internalType":"string","name":"discordID","type":"string"}],"name":"purchaseAuction","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"purchased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"finalPrice","type":"uint256"}],"name":"refund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setWithdrawAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startAuction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"togglePause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405234801561001057600080fd5b5061001a33610034565b6000805460ff60a01b1916905561002f610084565b61013d565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b61008c6100e4565b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586100c73390565b6040516001600160a01b03909116815260200160405180910390a1565b6100f7600054600160a01b900460ff1690565b1561013b5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640160405180910390fd5b565b61133f8061014c6000396000f3fe6080604052600436106101635760003560e01c806385983ed8116100c0578063d12f702911610074578063eb95071111610059578063eb95071114610399578063f2aa8218146103dc578063f2fde38b146103fc57600080fd5b8063d12f702914610368578063d348b4091461038457600080fd5b8063a66d4549116100a5578063a66d45491461032b578063bddb279c1461033e578063c4ae31681461035357600080fd5b806385983ed8146102e45780638da5cb5b1461030057600080fd5b8063522fe98e116101175780636b64c769116100fc5780636b64c769146102a4578063715018a6146102b957806378e97925146102ce57600080fd5b8063522fe98e1461023c5780635c975abb1461026957600080fd5b8063379387201161014857806337938720146101e85780633ab1a494146102075780633ccfd60b1461022757600080fd5b80631581b6001461016f578063278ecde1146101c657600080fd5b3661016a57005b600080fd5b34801561017b57600080fd5b5060025461019c9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156101d257600080fd5b506101e66101e136600461105d565b61041c565b005b3480156101f457600080fd5b506003545b6040519081526020016101bd565b34801561021357600080fd5b506101e6610222366004611076565b610686565b34801561023357600080fd5b506101e6610752565b34801561024857600080fd5b506101f9610257366004611076565b60046020526000908152604090205481565b34801561027557600080fd5b5060005474010000000000000000000000000000000000000000900460ff1660405190151581526020016101bd565b3480156102b057600080fd5b506101e66108ae565b3480156102c557600080fd5b506101e661092e565b3480156102da57600080fd5b506101f960015481565b3480156102f057600080fd5b506101f9670f67831e74af000081565b34801561030c57600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff1661019c565b6101e66103393660046110fc565b610942565b34801561034a57600080fd5b506101f9603281565b34801561035f57600080fd5b506101e6610b4e565b34801561037457600080fd5b506101f9672e36895b5e0d000081565b34801561039057600080fd5b506101f9610bf5565b3480156103a557600080fd5b506101f96103b4366004611076565b73ffffffffffffffffffffffffffffffffffffffff1660009081526004602052604090205490565b3480156103e857600080fd5b5061019c6103f736600461105d565b610c87565b34801561040857600080fd5b506101e6610417366004611076565b610cbe565b610424610d72565b61042c610df6565b670f67831e74af00008110156104a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f496e76616c69642066696e616c2070726963652e00000000000000000000000060448201526064015b60405180910390fd5b6000600380548060200260200160405190810160405280929190818152602001828054801561050857602002820191906000526020600020905b815473ffffffffffffffffffffffffffffffffffffffff1681526001909101906020018083116104dd575b5050505050905060005b8151811015610681576000836004600085858151811061053457610534611168565b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461058191906111c6565b9050801561066e57600083838151811061059d5761059d611168565b602002602001015173ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d80600081146105fc576040519150601f19603f3d011682016040523d82523d6000602084013e610601565b606091505b505090508061066c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5472616e73666572206661696c65642e00000000000000000000000000000000604482015260640161049a565b505b5080610679816111df565b915050610512565b505050565b61068e610df6565b73ffffffffffffffffffffffffffffffffffffffff811661070b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f496e76616c696420616464726573732e00000000000000000000000000000000604482015260640161049a565b600280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b61075a610d72565b610762610df6565b60025473ffffffffffffffffffffffffffffffffffffffff166107e1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f57697468647261772061646472657373206e6f74207365742e00000000000000604482015260640161049a565b60025460405160009173ffffffffffffffffffffffffffffffffffffffff169047908381818185875af1925050503d806000811461083b576040519150601f19603f3d011682016040523d82523d6000602084013e610840565b606091505b50509050806108ab576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5472616e73666572206661696c65642e00000000000000000000000000000000604482015260640161049a565b50565b6108b6610df6565b60015415610920576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f41756374696f6e20616c726561647920737461727465642e0000000000000000604482015260640161049a565b610928610e77565b42600155565b610936610df6565b6109406000610ef4565b565b61094a610f69565b610952610bf5565b3410156109bb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f496e636f72726563742076616c75652e00000000000000000000000000000000604482015260640161049a565b600354603211610a27576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f41756374696f6e20737570706c7920726561636865642e000000000000000000604482015260640161049a565b3360009081526004602052604090205415610a9e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f416c7265616479207075726368617365642e0000000000000000000000000000604482015260640161049a565b600380546001810182557fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0180547fffffffffffffffffffffffff0000000000000000000000000000000000000000163390811790915560008181526004602052604090819020349055915491517f0f30501307d4a13af9e2b88293a019f9dda20fe3197ab77ae00d93fe19291a6d92610b4092918891889188918891611260565b60405180910390a150505050565b610b56610df6565b600060015411610bc2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f41756374696f6e206e6f7420737461727465642e000000000000000000000000604482015260640161049a565b60005474010000000000000000000000000000000000000000900460ff1615610bed57610940610e77565b610940610fee565b60008060015442610c0691906111c6565b90506000610c1560d5836112b7565b9050610c31670f67831e74af0000672e36895b5e0d00006111c6565b610c43670186cc6acd4b0000836112f2565b1115610c5957670f67831e74af00009250505090565b6000610c6d670186cc6acd4b0000836112f2565b610c7f90672e36895b5e0d00006111c6565b949350505050565b60038181548110610c9757600080fd5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b610cc6610df6565b73ffffffffffffffffffffffffffffffffffffffff8116610d69576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161049a565b6108ab81610ef4565b60005474010000000000000000000000000000000000000000900460ff16610940576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604482015260640161049a565b60005473ffffffffffffffffffffffffffffffffffffffff163314610940576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161049a565b610e7f610d72565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390a1565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60005474010000000000000000000000000000000000000000900460ff1615610940576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015260640161049a565b610ff6610f69565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000001790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610eca3390565b60006020828403121561106f57600080fd5b5035919050565b60006020828403121561108857600080fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146110ac57600080fd5b9392505050565b60008083601f8401126110c557600080fd5b50813567ffffffffffffffff8111156110dd57600080fd5b6020830191508360208285010111156110f557600080fd5b9250929050565b6000806000806040858703121561111257600080fd5b843567ffffffffffffffff8082111561112a57600080fd5b611136888389016110b3565b9096509450602087013591508082111561114f57600080fd5b5061115c878288016110b3565b95989497509550505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b818103818111156111d9576111d9611197565b92915050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361121057611210611197565b5060010190565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b73ffffffffffffffffffffffffffffffffffffffff87168152608060208201526000611290608083018789611217565b82810360408401526112a3818688611217565b915050826060830152979650505050505050565b6000826112ed577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b80820281158282048414176111d9576111d961119756fea26469706673582212200ce5778e2077e5a0e4fb84a41be0acfbbc567d32df8d11e22fa89b4261251e1364736f6c63430008110033
Deployed Bytecode
0x6080604052600436106101635760003560e01c806385983ed8116100c0578063d12f702911610074578063eb95071111610059578063eb95071114610399578063f2aa8218146103dc578063f2fde38b146103fc57600080fd5b8063d12f702914610368578063d348b4091461038457600080fd5b8063a66d4549116100a5578063a66d45491461032b578063bddb279c1461033e578063c4ae31681461035357600080fd5b806385983ed8146102e45780638da5cb5b1461030057600080fd5b8063522fe98e116101175780636b64c769116100fc5780636b64c769146102a4578063715018a6146102b957806378e97925146102ce57600080fd5b8063522fe98e1461023c5780635c975abb1461026957600080fd5b8063379387201161014857806337938720146101e85780633ab1a494146102075780633ccfd60b1461022757600080fd5b80631581b6001461016f578063278ecde1146101c657600080fd5b3661016a57005b600080fd5b34801561017b57600080fd5b5060025461019c9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156101d257600080fd5b506101e66101e136600461105d565b61041c565b005b3480156101f457600080fd5b506003545b6040519081526020016101bd565b34801561021357600080fd5b506101e6610222366004611076565b610686565b34801561023357600080fd5b506101e6610752565b34801561024857600080fd5b506101f9610257366004611076565b60046020526000908152604090205481565b34801561027557600080fd5b5060005474010000000000000000000000000000000000000000900460ff1660405190151581526020016101bd565b3480156102b057600080fd5b506101e66108ae565b3480156102c557600080fd5b506101e661092e565b3480156102da57600080fd5b506101f960015481565b3480156102f057600080fd5b506101f9670f67831e74af000081565b34801561030c57600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff1661019c565b6101e66103393660046110fc565b610942565b34801561034a57600080fd5b506101f9603281565b34801561035f57600080fd5b506101e6610b4e565b34801561037457600080fd5b506101f9672e36895b5e0d000081565b34801561039057600080fd5b506101f9610bf5565b3480156103a557600080fd5b506101f96103b4366004611076565b73ffffffffffffffffffffffffffffffffffffffff1660009081526004602052604090205490565b3480156103e857600080fd5b5061019c6103f736600461105d565b610c87565b34801561040857600080fd5b506101e6610417366004611076565b610cbe565b610424610d72565b61042c610df6565b670f67831e74af00008110156104a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f496e76616c69642066696e616c2070726963652e00000000000000000000000060448201526064015b60405180910390fd5b6000600380548060200260200160405190810160405280929190818152602001828054801561050857602002820191906000526020600020905b815473ffffffffffffffffffffffffffffffffffffffff1681526001909101906020018083116104dd575b5050505050905060005b8151811015610681576000836004600085858151811061053457610534611168565b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461058191906111c6565b9050801561066e57600083838151811061059d5761059d611168565b602002602001015173ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d80600081146105fc576040519150601f19603f3d011682016040523d82523d6000602084013e610601565b606091505b505090508061066c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5472616e73666572206661696c65642e00000000000000000000000000000000604482015260640161049a565b505b5080610679816111df565b915050610512565b505050565b61068e610df6565b73ffffffffffffffffffffffffffffffffffffffff811661070b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f496e76616c696420616464726573732e00000000000000000000000000000000604482015260640161049a565b600280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b61075a610d72565b610762610df6565b60025473ffffffffffffffffffffffffffffffffffffffff166107e1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f57697468647261772061646472657373206e6f74207365742e00000000000000604482015260640161049a565b60025460405160009173ffffffffffffffffffffffffffffffffffffffff169047908381818185875af1925050503d806000811461083b576040519150601f19603f3d011682016040523d82523d6000602084013e610840565b606091505b50509050806108ab576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5472616e73666572206661696c65642e00000000000000000000000000000000604482015260640161049a565b50565b6108b6610df6565b60015415610920576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f41756374696f6e20616c726561647920737461727465642e0000000000000000604482015260640161049a565b610928610e77565b42600155565b610936610df6565b6109406000610ef4565b565b61094a610f69565b610952610bf5565b3410156109bb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f496e636f72726563742076616c75652e00000000000000000000000000000000604482015260640161049a565b600354603211610a27576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f41756374696f6e20737570706c7920726561636865642e000000000000000000604482015260640161049a565b3360009081526004602052604090205415610a9e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f416c7265616479207075726368617365642e0000000000000000000000000000604482015260640161049a565b600380546001810182557fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0180547fffffffffffffffffffffffff0000000000000000000000000000000000000000163390811790915560008181526004602052604090819020349055915491517f0f30501307d4a13af9e2b88293a019f9dda20fe3197ab77ae00d93fe19291a6d92610b4092918891889188918891611260565b60405180910390a150505050565b610b56610df6565b600060015411610bc2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f41756374696f6e206e6f7420737461727465642e000000000000000000000000604482015260640161049a565b60005474010000000000000000000000000000000000000000900460ff1615610bed57610940610e77565b610940610fee565b60008060015442610c0691906111c6565b90506000610c1560d5836112b7565b9050610c31670f67831e74af0000672e36895b5e0d00006111c6565b610c43670186cc6acd4b0000836112f2565b1115610c5957670f67831e74af00009250505090565b6000610c6d670186cc6acd4b0000836112f2565b610c7f90672e36895b5e0d00006111c6565b949350505050565b60038181548110610c9757600080fd5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b610cc6610df6565b73ffffffffffffffffffffffffffffffffffffffff8116610d69576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161049a565b6108ab81610ef4565b60005474010000000000000000000000000000000000000000900460ff16610940576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604482015260640161049a565b60005473ffffffffffffffffffffffffffffffffffffffff163314610940576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161049a565b610e7f610d72565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390a1565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60005474010000000000000000000000000000000000000000900460ff1615610940576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015260640161049a565b610ff6610f69565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000001790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610eca3390565b60006020828403121561106f57600080fd5b5035919050565b60006020828403121561108857600080fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146110ac57600080fd5b9392505050565b60008083601f8401126110c557600080fd5b50813567ffffffffffffffff8111156110dd57600080fd5b6020830191508360208285010111156110f557600080fd5b9250929050565b6000806000806040858703121561111257600080fd5b843567ffffffffffffffff8082111561112a57600080fd5b611136888389016110b3565b9096509450602087013591508082111561114f57600080fd5b5061115c878288016110b3565b95989497509550505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b818103818111156111d9576111d9611197565b92915050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361121057611210611197565b5060010190565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b73ffffffffffffffffffffffffffffffffffffffff87168152608060208201526000611290608083018789611217565b82810360408401526112a3818688611217565b915050826060830152979650505050505050565b6000826112ed577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b80820281158282048414176111d9576111d961119756fea26469706673582212200ce5778e2077e5a0e4fb84a41be0acfbbc567d32df8d11e22fa89b4261251e1364736f6c63430008110033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.