Feature Tip: Add private address tag to any address under My Name Tag !
Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 7,610 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Mint | 19230949 | 759 days ago | IN | 0 ETH | 0.00041721 | ||||
| Mint | 15657876 | 1260 days ago | IN | 0 ETH | 0.00027657 | ||||
| Mint | 15657876 | 1260 days ago | IN | 0 ETH | 0.00027657 | ||||
| Mint | 15657876 | 1260 days ago | IN | 0 ETH | 0.00039843 | ||||
| Mint | 15657876 | 1260 days ago | IN | 0 ETH | 0.00039843 | ||||
| Mint | 15657876 | 1260 days ago | IN | 0 ETH | 0.00039843 | ||||
| Mint | 15657876 | 1260 days ago | IN | 0 ETH | 0.00039843 | ||||
| Mint | 15657876 | 1260 days ago | IN | 0 ETH | 0.000409 | ||||
| Mint | 15657876 | 1260 days ago | IN | 0 ETH | 0.00039843 | ||||
| Mint | 15657876 | 1260 days ago | IN | 0 ETH | 0.00039843 | ||||
| Mint | 15657876 | 1260 days ago | IN | 0 ETH | 0.00039843 | ||||
| Mint | 15657876 | 1260 days ago | IN | 0 ETH | 0.00039843 | ||||
| Mint | 15657876 | 1260 days ago | IN | 0 ETH | 0.00039843 | ||||
| Mint | 15657876 | 1260 days ago | IN | 0 ETH | 0.00039843 | ||||
| Mint | 15657876 | 1260 days ago | IN | 0 ETH | 0.00041958 | ||||
| Mint | 15657876 | 1260 days ago | IN | 0 ETH | 0.00039843 | ||||
| Mint | 15657876 | 1260 days ago | IN | 0 ETH | 0.00039843 | ||||
| Mint | 15657876 | 1260 days ago | IN | 0 ETH | 0.00039843 | ||||
| Mint | 15657876 | 1260 days ago | IN | 0 ETH | 0.00039843 | ||||
| Mint | 15657876 | 1260 days ago | IN | 0 ETH | 0.00039843 | ||||
| Mint | 15657876 | 1260 days ago | IN | 0 ETH | 0.000409 | ||||
| Mint | 15657876 | 1260 days ago | IN | 0 ETH | 0.00046546 | ||||
| Mint | 15657875 | 1260 days ago | IN | 0 ETH | 0.00048776 | ||||
| Mint | 15657873 | 1260 days ago | IN | 0 ETH | 0.00052331 | ||||
| Mint | 15657872 | 1260 days ago | IN | 0 ETH | 0.00056838 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Mint To | 15651724 | 1261 days ago | 0.0001 ETH | ||||
| Mint To | 15647923 | 1262 days ago | 0.0001 ETH | ||||
| Mint To | 15469117 | 1288 days ago | 0.019 ETH | ||||
| Mint To | 15469108 | 1288 days ago | 0.019 ETH | ||||
| Mint To | 15469094 | 1288 days ago | 0.019 ETH | ||||
| Mint To | 15469093 | 1288 days ago | 0.0001 ETH | ||||
| Mint To | 15469093 | 1288 days ago | 0.019 ETH | ||||
| Mint To | 15469092 | 1288 days ago | 0.019 ETH | ||||
| Mint To | 15469074 | 1288 days ago | 0.0001 ETH | ||||
| Mint To | 15469062 | 1288 days ago | 0.019 ETH | ||||
| Mint To | 15469057 | 1288 days ago | 0.019 ETH | ||||
| Mint To | 15469043 | 1288 days ago | 0.019 ETH | ||||
| Mint To | 15468791 | 1289 days ago | 0.019 ETH | ||||
| Mint To | 15468790 | 1289 days ago | 0.019 ETH | ||||
| Mint To | 15468701 | 1289 days ago | 0.019 ETH | ||||
| Mint To | 15468539 | 1289 days ago | 0.019 ETH | ||||
| Mint To | 15468095 | 1289 days ago | 0.019 ETH | ||||
| Mint To | 15467866 | 1289 days ago | 0.076 ETH | ||||
| Mint To | 15467712 | 1289 days ago | 0.057 ETH | ||||
| Mint To | 15467690 | 1289 days ago | 0.038 ETH | ||||
| Mint To | 15467684 | 1289 days ago | 0.019 ETH | ||||
| Mint To | 15467639 | 1289 days ago | 0.019 ETH | ||||
| Mint To | 15467622 | 1289 days ago | 0.019 ETH | ||||
| Mint To | 15467609 | 1289 days ago | 0.019 ETH | ||||
| Mint To | 15467573 | 1289 days ago | 0.019 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
MasterCatsMint
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/utils/Address.sol";
import './Delegated.sol';
interface IERC20Withdraw{
function balanceOf(address account) external view returns (uint256);
function transfer(address to, uint256 amount) external returns (bool);
}
interface IERC721Withdraw{
function transferFrom(address from, address to, uint256 tokenId) external;
}
interface IMasterCats{
function mintTo(uint16[] calldata quantity, address[] calldata recipient) external payable;
}
interface IClaimed{
function claimed( address ) external returns( uint );
}
contract MasterCatsMint is Delegated{
struct MintConfig{
uint64 ethPrice;
uint16 freeMints;
uint16 maxOrder;
bool isMintActive;
bool isFreeMintActive;
}
MintConfig public CONFIG = MintConfig(
0.019 ether, //ethPrice
1,
10,
false,
false
);
IClaimed public CLAIMS = IClaimed(0x784b2Bf7e10FFdbE5647BAC4FF71144D0Be044c1);
IMasterCats public PRINCIPAL = IMasterCats(0xF03c4e6b6187AcA96B18162CBb4468FC6E339120);
string public name = "Master Cats Mint";
string public symbol = "MCM";
mapping(address => uint16) public claimed;
constructor()
Delegated(){
}
function mint( uint16 quantity ) external payable{
MintConfig memory cfg = CONFIG;
require( cfg.isMintActive, "sale is not active" );
require( cfg.maxOrder >= quantity, "order too big" );
( uint16 paid, uint16 free, uint16 claims ) = calculateQuantities(msg.sender, quantity);
require(msg.value >= paid * cfg.ethPrice, "insufficient funds" );
if( free > 0 || claims > 0 ){
claimed[ msg.sender ] = claims + free;
}
PRINCIPAL.mintTo{ value: msg.value }( _asArray( quantity ), _asArray( msg.sender ));
}
function setConfig( MintConfig calldata newConfig ) external onlyDelegates{
CONFIG = newConfig;
}
function setPrincipal( IMasterCats newAddress ) external onlyDelegates{
PRINCIPAL = newAddress;
}
//withdraw
function withdraw() external onlyOwner {
uint256 totalBalance = address(this).balance;
require(totalBalance > 0, "no funds available");
Address.sendValue(payable(owner()), totalBalance);
}
function withdraw(address token) external onlyDelegates{
IERC20Withdraw erc20 = IERC20Withdraw(token);
erc20.transfer(owner(), erc20.balanceOf(address(this)) );
}
function withdraw(address token, uint256[] calldata tokenId) external onlyDelegates{
for( uint256 i = 0; i < tokenId.length; ++i ){
IERC721Withdraw(token).transferFrom(address(this), owner(), tokenId[i] );
}
}
function calculateQuantities( address account, uint16 quantity ) public returns( uint16, uint16, uint16 ){
MintConfig memory cfg = CONFIG;
//free mint is not active
if( !cfg.isFreeMintActive )
return (quantity, 0, 0);
uint16 claims = claimed[ msg.sender ];
if( claims == 0 && address(CLAIMS) != address(0)){
claims = uint16(CLAIMS.claimed( account ));
}
//no free mints remaining
if( claims >= cfg.freeMints )
return (quantity, 0, claims);
uint16 free = cfg.freeMints - claims;
if( quantity > free ){
//use remaining free
uint16 paid = quantity - free;
return (paid, free, claims);
}
else{
//total quantity is free
return (0, quantity, claims);
}
}
function calculateTotal( address account, uint16 quantity ) external returns( uint256 ){
( uint16 paid, uint16 free, uint16 claims ) = calculateQuantities(account, quantity);
return paid * CONFIG.ethPrice;
}
function _asArray(address element) private pure returns (address[] memory array) {
array = new address[](1);
array[0] = element;
}
function _asArray(uint16 element) private pure returns (uint16[] memory array) {
array = new uint16[](1);
array[0] = element;
}
}// SPDX-License-Identifier: MIT
pragma solidity 0.8.9;
import "@openzeppelin/contracts/access/Ownable.sol";
contract Delegated is Ownable{
mapping(address => bool) internal _delegates;
modifier onlyDelegates {
require(_delegates[msg.sender], "Invalid delegate" );
_;
}
constructor()
Ownable(){
setDelegate( owner(), true );
}
//onlyOwner
function isDelegate( address addr ) external view onlyOwner returns( bool ){
return _delegates[addr];
}
function setDelegate( address addr, bool isDelegate_ ) public onlyOwner{
_delegates[addr] = isDelegate_;
}
function transferOwnership(address newOwner) public virtual override onlyOwner {
_delegates[newOwner] = true;
super.transferOwnership( newOwner );
}
}// 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;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value
) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
require(isContract(target), "Address: call to non-contract");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 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 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);
}
}{
"remappings": [],
"optimizer": {
"enabled": true,
"runs": 200
},
"evmVersion": "london",
"libraries": {},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"CLAIMS","outputs":[{"internalType":"contract IClaimed","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CONFIG","outputs":[{"internalType":"uint64","name":"ethPrice","type":"uint64"},{"internalType":"uint16","name":"freeMints","type":"uint16"},{"internalType":"uint16","name":"maxOrder","type":"uint16"},{"internalType":"bool","name":"isMintActive","type":"bool"},{"internalType":"bool","name":"isFreeMintActive","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRINCIPAL","outputs":[{"internalType":"contract IMasterCats","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint16","name":"quantity","type":"uint16"}],"name":"calculateQuantities","outputs":[{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint16","name":"quantity","type":"uint16"}],"name":"calculateTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimed","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"isDelegate","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"quantity","type":"uint16"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"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":[{"components":[{"internalType":"uint64","name":"ethPrice","type":"uint64"},{"internalType":"uint16","name":"freeMints","type":"uint16"},{"internalType":"uint16","name":"maxOrder","type":"uint16"},{"internalType":"bool","name":"isMintActive","type":"bool"},{"internalType":"bool","name":"isFreeMintActive","type":"bool"}],"internalType":"struct MasterCatsMint.MintConfig","name":"newConfig","type":"tuple"}],"name":"setConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"isDelegate_","type":"bool"}],"name":"setDelegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IMasterCats","name":"newAddress","type":"address"}],"name":"setPrincipal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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":[{"internalType":"address","name":"token","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256[]","name":"tokenId","type":"uint256[]"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
664380663abb8000608052600160a052600a60c052600060e081905261010052600280546001600160701b0319166a0a0001004380663abb8000179055600380546001600160a01b031990811673784b2bf7e10ffdbe5647bac4ff71144d0be044c1179091556004805490911673f03c4e6b6187aca96b18162cbb4468fc6e33912017905561016060405260106101208190526f13585cdd195c8810d85d1cc8135a5b9d60821b610140908152620000bb916005919062000201565b50604080518082019091526003808252624d434d60e81b6020909201918252620000e89160069162000201565b50348015620000f657600080fd5b50620001023362000127565b62000121620001196000546001600160a01b031690565b600162000177565b620002e4565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000546001600160a01b03163314620001d65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b8280546200020f90620002a7565b90600052602060002090601f0160209004810192826200023357600085556200027e565b82601f106200024e57805160ff19168380011785556200027e565b828001600101855582156200027e579182015b828111156200027e57825182559160200191906001019062000261565b506200028c92915062000290565b5090565b5b808211156200028c576000815560010162000291565b600181811c90821680620002bc57607f821691505b60208210811415620002de57634e487b7160e01b600052602260045260246000fd5b50919050565b61154b80620002f46000396000f3fe6080604052600436106101145760003560e01c80638293744b116100a0578063b83c673b11610064578063b83c673b14610303578063c884ef8314610331578063d274958d14610375578063d92e82e414610395578063f2fde38b1461042357600080fd5b80638293744b14610270578063847fd5bf146102905780638da5cb5b146102b057806395d89b41146102ce5780639d9d4461146102e357600080fd5b80633e439bd7116100e75780633e439bd71461019e5780634a994eef146101e357806351cff8d914610203578063715018a6146102235780637d5641c81461023857600080fd5b806306fdde0314610119578063077796271461014457806323cf0a22146101745780633ccfd60b14610189575b600080fd5b34801561012557600080fd5b5061012e610443565b60405161013b919061102f565b60405180910390f35b34801561015057600080fd5b5061016461015f366004611099565b6104d1565b604051901515815260200161013b565b6101876101823660046110cd565b610524565b005b34801561019557600080fd5b50610187610749565b3480156101aa57600080fd5b506101be6101b93660046110ea565b6107d4565b6040805161ffff9485168152928416602084015292169181019190915260600161013b565b3480156101ef57600080fd5b506101876101fe366004611131565b61097e565b34801561020f57600080fd5b5061018761021e366004611099565b6109d3565b34801561022f57600080fd5b50610187610b1e565b34801561024457600080fd5b50600354610258906001600160a01b031681565b6040516001600160a01b03909116815260200161013b565b34801561027c57600080fd5b5061018761028b36600461115f565b610b54565b34801561029c57600080fd5b506101876102ab366004611099565b610c48565b3480156102bc57600080fd5b506000546001600160a01b0316610258565b3480156102da57600080fd5b5061012e610c99565b3480156102ef57600080fd5b506101876102fe3660046111e7565b610ca6565b34801561030f57600080fd5b5061032361031e3660046110ea565b610ce2565b60405190815260200161013b565b34801561033d57600080fd5b5061036261034c366004611099565b60076020526000908152604090205461ffff1681565b60405161ffff909116815260200161013b565b34801561038157600080fd5b50600454610258906001600160a01b031681565b3480156103a157600080fd5b506002546103e49067ffffffffffffffff81169061ffff600160401b8204811691600160501b81049091169060ff600160601b8204811691600160681b90041685565b6040805167ffffffffffffffff909616865261ffff9485166020870152939092169284019290925290151560608301521515608082015260a00161013b565b34801561042f57600080fd5b5061018761043e366004611099565b610d29565b60058054610450906111ff565b80601f016020809104026020016040519081016040528092919081815260200182805461047c906111ff565b80156104c95780601f1061049e576101008083540402835291602001916104c9565b820191906000526020600020905b8154815290600101906020018083116104ac57829003601f168201915b505050505081565b600080546001600160a01b031633146105055760405162461bcd60e51b81526004016104fc90611234565b60405180910390fd5b506001600160a01b031660009081526001602052604090205460ff1690565b6040805160a08101825260025467ffffffffffffffff8116825261ffff600160401b820481166020840152600160501b8204169282019290925260ff600160601b83048116151560608301819052600160681b9093041615156080820152906105c45760405162461bcd60e51b815260206004820152601260248201527173616c65206973206e6f742061637469766560701b60448201526064016104fc565b8161ffff16816040015161ffff1610156106105760405162461bcd60e51b815260206004820152600d60248201526c6f7264657220746f6f2062696760981b60448201526064016104fc565b600080600061061f33866107d4565b865192955090935091506106379061ffff851661127f565b67ffffffffffffffff163410156106855760405162461bcd60e51b8152602060048201526012602482015271696e73756666696369656e742066756e647360701b60448201526064016104fc565b60008261ffff16118061069c575060008161ffff16115b156106cf576106ab82826112af565b336000908152600760205260409020805461ffff191661ffff929092169190911790555b6004546001600160a01b031663ae7bf4c8346106ea88610d82565b6106f333610dd3565b6040518463ffffffff1660e01b81526004016107109291906112d5565b6000604051808303818588803b15801561072957600080fd5b505af115801561073d573d6000803e3d6000fd5b50505050505050505050565b6000546001600160a01b031633146107735760405162461bcd60e51b81526004016104fc90611234565b47806107b65760405162461bcd60e51b81526020600482015260126024820152716e6f2066756e647320617661696c61626c6560701b60448201526064016104fc565b6107d16107cb6000546001600160a01b031690565b82610e2e565b50565b6040805160a08101825260025467ffffffffffffffff8116825261ffff600160401b820481166020840152600160501b8204169282019290925260ff600160601b8304811615156060830152600160681b9092049091161515608082018190526000918291829190610850578460008093509350935050610977565b3360009081526007602052604090205461ffff168015801561087c57506003546001600160a01b031615155b156109035760035460405163c884ef8360e01b81526001600160a01b0389811660048301529091169063c884ef8390602401602060405180830381600087803b1580156108c857600080fd5b505af11580156108dc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610900919061135d565b90505b816020015161ffff168161ffff1610610926578594506000935091506109779050565b60008183602001516109389190611376565b90508061ffff168761ffff1611156109665760006109568289611376565b9650909450909250610977915050565b506000945085935091506109779050565b9250925092565b6000546001600160a01b031633146109a85760405162461bcd60e51b81526004016104fc90611234565b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b3360009081526001602052604090205460ff16610a025760405162461bcd60e51b81526004016104fc90611399565b806001600160a01b03811663a9059cbb610a246000546001600160a01b031690565b6040516370a0823160e01b81523060048201526001600160a01b038516906370a082319060240160206040518083038186803b158015610a6357600080fd5b505afa158015610a77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a9b919061135d565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b158015610ae157600080fd5b505af1158015610af5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b1991906113c3565b505050565b6000546001600160a01b03163314610b485760405162461bcd60e51b81526004016104fc90611234565b610b526000610f47565b565b3360009081526001602052604090205460ff16610b835760405162461bcd60e51b81526004016104fc90611399565b60005b81811015610c4257836001600160a01b03166323b872dd30610bb06000546001600160a01b031690565b868686818110610bc257610bc26113e0565b6040516001600160e01b031960e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152606401600060405180830381600087803b158015610c1957600080fd5b505af1158015610c2d573d6000803e3d6000fd5b5050505080610c3b906113f6565b9050610b86565b50505050565b3360009081526001602052604090205460ff16610c775760405162461bcd60e51b81526004016104fc90611399565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b60068054610450906111ff565b3360009081526001602052604090205460ff16610cd55760405162461bcd60e51b81526004016104fc90611399565b806002610b198282611424565b600080600080610cf286866107d4565b6002549295509093509150610d159067ffffffffffffffff1661ffff851661127f565b67ffffffffffffffff169695505050505050565b6000546001600160a01b03163314610d535760405162461bcd60e51b81526004016104fc90611234565b6001600160a01b0381166000908152600160208190526040909120805460ff191690911790556107d181610f97565b604080516001808252818301909252606091602080830190803683370190505090508181600081518110610db857610db86113e0565b602002602001019061ffff16908161ffff1681525050919050565b604080516001808252818301909252606091602080830190803683370190505090508181600081518110610e0957610e096113e0565b60200260200101906001600160a01b031690816001600160a01b031681525050919050565b80471015610e7e5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016104fc565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610ecb576040519150601f19603f3d011682016040523d82523d6000602084013e610ed0565b606091505b5050905080610b195760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016104fc565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000546001600160a01b03163314610fc15760405162461bcd60e51b81526004016104fc90611234565b6001600160a01b0381166110265760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104fc565b6107d181610f47565b600060208083528351808285015260005b8181101561105c57858101830151858201604001528201611040565b8181111561106e576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b03811681146107d157600080fd5b6000602082840312156110ab57600080fd5b81356110b681611084565b9392505050565b61ffff811681146107d157600080fd5b6000602082840312156110df57600080fd5b81356110b6816110bd565b600080604083850312156110fd57600080fd5b823561110881611084565b91506020830135611118816110bd565b809150509250929050565b80151581146107d157600080fd5b6000806040838503121561114457600080fd5b823561114f81611084565b9150602083013561111881611123565b60008060006040848603121561117457600080fd5b833561117f81611084565b9250602084013567ffffffffffffffff8082111561119c57600080fd5b818601915086601f8301126111b057600080fd5b8135818111156111bf57600080fd5b8760208260051b85010111156111d457600080fd5b6020830194508093505050509250925092565b600060a082840312156111f957600080fd5b50919050565b600181811c9082168061121357607f821691505b602082108114156111f957634e487b7160e01b600052602260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600067ffffffffffffffff808316818516818304811182151516156112a6576112a6611269565b02949350505050565b600061ffff8083168185168083038211156112cc576112cc611269565b01949350505050565b604080825283519082018190526000906020906060840190828701845b8281101561131257815161ffff16845292840192908401906001016112f2565b5050508381038285015284518082528583019183019060005b818110156113505783516001600160a01b03168352928401929184019160010161132b565b5090979650505050505050565b60006020828403121561136f57600080fd5b5051919050565b600061ffff8381169083168181101561139157611391611269565b039392505050565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b6000602082840312156113d557600080fd5b81516110b681611123565b634e487b7160e01b600052603260045260246000fd5b600060001982141561140a5761140a611269565b5060010190565b6000813561141e81611123565b92915050565b813567ffffffffffffffff811680821461143d57600080fd5b825467ffffffffffffffff198116821784559150602084013561145f816110bd565b69ffff0000000000000000604091821b1669ffffffffffffffffffff19841683178117855590850135611491816110bd565b6bffffffffffffffffffffffff19939093169091171760509190911b61ffff60501b161781556114e46114c660608401611411565b82805460ff60601b191691151560601b60ff60601b16919091179055565b6115116114f360808401611411565b82805460ff60681b191691151560681b60ff60681b16919091179055565b505056fea264697066735822122088e10d37966b3888626343d1d00ac3ef3f6e540e84a0668a6ea090102d9c224764736f6c63430008090033
Deployed Bytecode
0x6080604052600436106101145760003560e01c80638293744b116100a0578063b83c673b11610064578063b83c673b14610303578063c884ef8314610331578063d274958d14610375578063d92e82e414610395578063f2fde38b1461042357600080fd5b80638293744b14610270578063847fd5bf146102905780638da5cb5b146102b057806395d89b41146102ce5780639d9d4461146102e357600080fd5b80633e439bd7116100e75780633e439bd71461019e5780634a994eef146101e357806351cff8d914610203578063715018a6146102235780637d5641c81461023857600080fd5b806306fdde0314610119578063077796271461014457806323cf0a22146101745780633ccfd60b14610189575b600080fd5b34801561012557600080fd5b5061012e610443565b60405161013b919061102f565b60405180910390f35b34801561015057600080fd5b5061016461015f366004611099565b6104d1565b604051901515815260200161013b565b6101876101823660046110cd565b610524565b005b34801561019557600080fd5b50610187610749565b3480156101aa57600080fd5b506101be6101b93660046110ea565b6107d4565b6040805161ffff9485168152928416602084015292169181019190915260600161013b565b3480156101ef57600080fd5b506101876101fe366004611131565b61097e565b34801561020f57600080fd5b5061018761021e366004611099565b6109d3565b34801561022f57600080fd5b50610187610b1e565b34801561024457600080fd5b50600354610258906001600160a01b031681565b6040516001600160a01b03909116815260200161013b565b34801561027c57600080fd5b5061018761028b36600461115f565b610b54565b34801561029c57600080fd5b506101876102ab366004611099565b610c48565b3480156102bc57600080fd5b506000546001600160a01b0316610258565b3480156102da57600080fd5b5061012e610c99565b3480156102ef57600080fd5b506101876102fe3660046111e7565b610ca6565b34801561030f57600080fd5b5061032361031e3660046110ea565b610ce2565b60405190815260200161013b565b34801561033d57600080fd5b5061036261034c366004611099565b60076020526000908152604090205461ffff1681565b60405161ffff909116815260200161013b565b34801561038157600080fd5b50600454610258906001600160a01b031681565b3480156103a157600080fd5b506002546103e49067ffffffffffffffff81169061ffff600160401b8204811691600160501b81049091169060ff600160601b8204811691600160681b90041685565b6040805167ffffffffffffffff909616865261ffff9485166020870152939092169284019290925290151560608301521515608082015260a00161013b565b34801561042f57600080fd5b5061018761043e366004611099565b610d29565b60058054610450906111ff565b80601f016020809104026020016040519081016040528092919081815260200182805461047c906111ff565b80156104c95780601f1061049e576101008083540402835291602001916104c9565b820191906000526020600020905b8154815290600101906020018083116104ac57829003601f168201915b505050505081565b600080546001600160a01b031633146105055760405162461bcd60e51b81526004016104fc90611234565b60405180910390fd5b506001600160a01b031660009081526001602052604090205460ff1690565b6040805160a08101825260025467ffffffffffffffff8116825261ffff600160401b820481166020840152600160501b8204169282019290925260ff600160601b83048116151560608301819052600160681b9093041615156080820152906105c45760405162461bcd60e51b815260206004820152601260248201527173616c65206973206e6f742061637469766560701b60448201526064016104fc565b8161ffff16816040015161ffff1610156106105760405162461bcd60e51b815260206004820152600d60248201526c6f7264657220746f6f2062696760981b60448201526064016104fc565b600080600061061f33866107d4565b865192955090935091506106379061ffff851661127f565b67ffffffffffffffff163410156106855760405162461bcd60e51b8152602060048201526012602482015271696e73756666696369656e742066756e647360701b60448201526064016104fc565b60008261ffff16118061069c575060008161ffff16115b156106cf576106ab82826112af565b336000908152600760205260409020805461ffff191661ffff929092169190911790555b6004546001600160a01b031663ae7bf4c8346106ea88610d82565b6106f333610dd3565b6040518463ffffffff1660e01b81526004016107109291906112d5565b6000604051808303818588803b15801561072957600080fd5b505af115801561073d573d6000803e3d6000fd5b50505050505050505050565b6000546001600160a01b031633146107735760405162461bcd60e51b81526004016104fc90611234565b47806107b65760405162461bcd60e51b81526020600482015260126024820152716e6f2066756e647320617661696c61626c6560701b60448201526064016104fc565b6107d16107cb6000546001600160a01b031690565b82610e2e565b50565b6040805160a08101825260025467ffffffffffffffff8116825261ffff600160401b820481166020840152600160501b8204169282019290925260ff600160601b8304811615156060830152600160681b9092049091161515608082018190526000918291829190610850578460008093509350935050610977565b3360009081526007602052604090205461ffff168015801561087c57506003546001600160a01b031615155b156109035760035460405163c884ef8360e01b81526001600160a01b0389811660048301529091169063c884ef8390602401602060405180830381600087803b1580156108c857600080fd5b505af11580156108dc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610900919061135d565b90505b816020015161ffff168161ffff1610610926578594506000935091506109779050565b60008183602001516109389190611376565b90508061ffff168761ffff1611156109665760006109568289611376565b9650909450909250610977915050565b506000945085935091506109779050565b9250925092565b6000546001600160a01b031633146109a85760405162461bcd60e51b81526004016104fc90611234565b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b3360009081526001602052604090205460ff16610a025760405162461bcd60e51b81526004016104fc90611399565b806001600160a01b03811663a9059cbb610a246000546001600160a01b031690565b6040516370a0823160e01b81523060048201526001600160a01b038516906370a082319060240160206040518083038186803b158015610a6357600080fd5b505afa158015610a77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a9b919061135d565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b158015610ae157600080fd5b505af1158015610af5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b1991906113c3565b505050565b6000546001600160a01b03163314610b485760405162461bcd60e51b81526004016104fc90611234565b610b526000610f47565b565b3360009081526001602052604090205460ff16610b835760405162461bcd60e51b81526004016104fc90611399565b60005b81811015610c4257836001600160a01b03166323b872dd30610bb06000546001600160a01b031690565b868686818110610bc257610bc26113e0565b6040516001600160e01b031960e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152606401600060405180830381600087803b158015610c1957600080fd5b505af1158015610c2d573d6000803e3d6000fd5b5050505080610c3b906113f6565b9050610b86565b50505050565b3360009081526001602052604090205460ff16610c775760405162461bcd60e51b81526004016104fc90611399565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b60068054610450906111ff565b3360009081526001602052604090205460ff16610cd55760405162461bcd60e51b81526004016104fc90611399565b806002610b198282611424565b600080600080610cf286866107d4565b6002549295509093509150610d159067ffffffffffffffff1661ffff851661127f565b67ffffffffffffffff169695505050505050565b6000546001600160a01b03163314610d535760405162461bcd60e51b81526004016104fc90611234565b6001600160a01b0381166000908152600160208190526040909120805460ff191690911790556107d181610f97565b604080516001808252818301909252606091602080830190803683370190505090508181600081518110610db857610db86113e0565b602002602001019061ffff16908161ffff1681525050919050565b604080516001808252818301909252606091602080830190803683370190505090508181600081518110610e0957610e096113e0565b60200260200101906001600160a01b031690816001600160a01b031681525050919050565b80471015610e7e5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016104fc565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610ecb576040519150601f19603f3d011682016040523d82523d6000602084013e610ed0565b606091505b5050905080610b195760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016104fc565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000546001600160a01b03163314610fc15760405162461bcd60e51b81526004016104fc90611234565b6001600160a01b0381166110265760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104fc565b6107d181610f47565b600060208083528351808285015260005b8181101561105c57858101830151858201604001528201611040565b8181111561106e576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b03811681146107d157600080fd5b6000602082840312156110ab57600080fd5b81356110b681611084565b9392505050565b61ffff811681146107d157600080fd5b6000602082840312156110df57600080fd5b81356110b6816110bd565b600080604083850312156110fd57600080fd5b823561110881611084565b91506020830135611118816110bd565b809150509250929050565b80151581146107d157600080fd5b6000806040838503121561114457600080fd5b823561114f81611084565b9150602083013561111881611123565b60008060006040848603121561117457600080fd5b833561117f81611084565b9250602084013567ffffffffffffffff8082111561119c57600080fd5b818601915086601f8301126111b057600080fd5b8135818111156111bf57600080fd5b8760208260051b85010111156111d457600080fd5b6020830194508093505050509250925092565b600060a082840312156111f957600080fd5b50919050565b600181811c9082168061121357607f821691505b602082108114156111f957634e487b7160e01b600052602260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600067ffffffffffffffff808316818516818304811182151516156112a6576112a6611269565b02949350505050565b600061ffff8083168185168083038211156112cc576112cc611269565b01949350505050565b604080825283519082018190526000906020906060840190828701845b8281101561131257815161ffff16845292840192908401906001016112f2565b5050508381038285015284518082528583019183019060005b818110156113505783516001600160a01b03168352928401929184019160010161132b565b5090979650505050505050565b60006020828403121561136f57600080fd5b5051919050565b600061ffff8381169083168181101561139157611391611269565b039392505050565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b6000602082840312156113d557600080fd5b81516110b681611123565b634e487b7160e01b600052603260045260246000fd5b600060001982141561140a5761140a611269565b5060010190565b6000813561141e81611123565b92915050565b813567ffffffffffffffff811680821461143d57600080fd5b825467ffffffffffffffff198116821784559150602084013561145f816110bd565b69ffff0000000000000000604091821b1669ffffffffffffffffffff19841683178117855590850135611491816110bd565b6bffffffffffffffffffffffff19939093169091171760509190911b61ffff60501b161781556114e46114c660608401611411565b82805460ff60601b191691151560601b60ff60601b16919091179055565b6115116114f360808401611411565b82805460ff60681b191691151560681b60ff60681b16919091179055565b505056fea264697066735822122088e10d37966b3888626343d1d00ac3ef3f6e540e84a0668a6ea090102d9c224764736f6c63430008090033
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.