Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 313 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Free Mint | 15471795 | 856 days ago | IN | 0 ETH | 0.00042471 | ||||
Free Mint | 15471411 | 856 days ago | IN | 0 ETH | 0.00012952 | ||||
Free Mint | 15460630 | 858 days ago | IN | 0 ETH | 0.00025511 | ||||
Free Mint | 15460630 | 858 days ago | IN | 0 ETH | 0.00025511 | ||||
Free Mint | 15460519 | 858 days ago | IN | 0 ETH | 0.00032638 | ||||
Free Mint | 15460474 | 858 days ago | IN | 0 ETH | 0.00053573 | ||||
Free Mint | 15460377 | 858 days ago | IN | 0 ETH | 0.00060423 | ||||
Set Config | 15460373 | 858 days ago | IN | 0 ETH | 0.00098146 | ||||
Free Mint | 15460372 | 858 days ago | IN | 0 ETH | 0.00238855 | ||||
Free Mint | 15460372 | 858 days ago | IN | 0 ETH | 0.00238819 | ||||
Free Mint | 15460372 | 858 days ago | IN | 0 ETH | 0.00238855 | ||||
Free Mint | 15460367 | 858 days ago | IN | 0 ETH | 0.00278478 | ||||
Free Mint | 15460366 | 858 days ago | IN | 0 ETH | 0.00251131 | ||||
Free Mint | 15460366 | 858 days ago | IN | 0 ETH | 0.0027642 | ||||
Free Mint | 15460364 | 858 days ago | IN | 0 ETH | 0.00256836 | ||||
Free Mint | 15460363 | 858 days ago | IN | 0 ETH | 0.00229627 | ||||
Free Mint | 15460363 | 858 days ago | IN | 0 ETH | 0.00229568 | ||||
Free Mint | 15460363 | 858 days ago | IN | 0 ETH | 0.00229568 | ||||
Free Mint | 15460363 | 858 days ago | IN | 0 ETH | 0.00229568 | ||||
Free Mint | 15460363 | 858 days ago | IN | 0 ETH | 0.00229603 | ||||
Free Mint | 15460360 | 858 days ago | IN | 0 ETH | 0.00179464 | ||||
Free Mint | 15460357 | 858 days ago | IN | 0 ETH | 0.00219009 | ||||
Free Mint | 15460354 | 858 days ago | IN | 0 ETH | 0.00195934 | ||||
Free Mint | 15460349 | 858 days ago | IN | 0 ETH | 0.00212039 | ||||
Free Mint | 15460349 | 858 days ago | IN | 0 ETH | 0.00212008 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
MasterCatsProxy
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'; import './Signed.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; } contract MasterCatsProxy is Delegated, Signed{ using Address for address; struct MintConfig{ uint16 maxClaims; bool isActive; } IMasterCats public PRINCIPAL = IMasterCats(0xF03c4e6b6187AcA96B18162CBb4468FC6E339120); string public name = "Master Cats Proxy"; string public symbol = "MCP"; mapping(address => uint) public claimed; MintConfig public CONFIG = MintConfig( 1, false ); constructor() Delegated() Signed( 0x41C9E80FAa5E12Ac1d61549267fB497041f0EFb8 ){ } //payable function freeMint( uint16 quantity, bytes calldata signature ) external payable{ MintConfig memory cfg = CONFIG; require( cfg.isActive, "sale is not active" ); require( claimed[ msg.sender ] + quantity <= cfg.maxClaims, "don't be greedy" ); require( _isAuthorizedSigner( "1", signature ), "not authorized for badge mints" ); 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; } function setSigner( address newSigner ) external onlyDelegates { _setSigner( newSigner ); } 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; } //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] ); } } }
// SPDX-License-Identifier: BSD-3 pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; contract Signed{ using ECDSA for bytes32; address internal _signer; constructor( address signer ){ _setSigner( signer ); } function _createHash( string memory data ) internal virtual view returns ( bytes32 ){ return keccak256( abi.encodePacked( address(this), msg.sender, data ) ); } function _isAuthorizedSigner( string memory data, bytes calldata signature ) internal view virtual returns( bool ){ return _signer == _recoverSigner( _createHash( data ), signature ); } function _recoverSigner( bytes32 hashed, bytes memory signature ) internal pure returns( address ){ return hashed.toEthSignedMessageHash().recover( signature ); } function _setSigner( address signer ) internal{ _signer = signer; } }
// 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 (last updated v4.5.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// 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
[{"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":"CONFIG","outputs":[{"internalType":"uint16","name":"maxClaims","type":"uint16"},{"internalType":"bool","name":"isActive","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRINCIPAL","outputs":[{"internalType":"contract IMasterCats","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"quantity","type":"uint16"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"freeMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"isDelegate","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"uint16","name":"maxClaims","type":"uint16"},{"internalType":"bool","name":"isActive","type":"bool"}],"internalType":"struct MasterCatsProxy.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":[{"internalType":"address","name":"newSigner","type":"address"}],"name":"setSigner","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
600380546001600160a01b03191673f03c4e6b6187aca96b18162cbb4468fc6e33912017905560c060405260116080819052704d617374657220436174732050726f787960781b60a09081526200005a9160049190620001fa565b506040805180820190915260038082526204d43560ec1b60209092019182526200008791600591620001fa565b5060408051808201909152600180825260006020909201919091526007805462ffffff19169091179055348015620000be57600080fd5b507341c9e80faa5e12ac1d61549267fb497041f0efb8620000df3362000120565b620000fe620000f66000546001600160a01b031690565b600162000170565b600280546001600160a01b0319166001600160a01b03831617905550620002dd565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000546001600160a01b03163314620001cf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b8280546200020890620002a0565b90600052602060002090601f0160209004810192826200022c576000855562000277565b82601f106200024757805160ff191683800117855562000277565b8280016001018555821562000277579182015b82811115620002775782518255916020019190600101906200025a565b506200028592915062000289565b5090565b5b808211156200028557600081556001016200028a565b600181811c90821680620002b557607f821691505b60208210811415620002d757634e487b7160e01b600052602260045260246000fd5b50919050565b61162180620002ed6000396000f3fe6080604052600436106100fe5760003560e01c80638293744b11610095578063c627e86d11610064578063c627e86d14610284578063c884ef83146102a4578063d274958d146102df578063d92e82e4146102ff578063f2fde38b1461033f57600080fd5b80638293744b146101fd578063847fd5bf1461021d5780638da5cb5b1461023d57806395d89b411461026f57600080fd5b80634a994eef116100d15780634a994eef1461018857806351cff8d9146101a85780636c19e783146101c8578063715018a6146101e857600080fd5b806306fdde0314610103578063077796271461012e5780633ccfd60b1461015e5780633e10036d14610175575b600080fd5b34801561010f57600080fd5b5061011861035f565b60405161012591906111c7565b60405180910390f35b34801561013a57600080fd5b5061014e61014936600461120f565b6103ed565b6040519015158152602001610125565b34801561016a57600080fd5b50610173610440565b005b61017361018336600461123c565b6104cb565b34801561019457600080fd5b506101736101a33660046112cf565b610681565b3480156101b457600080fd5b506101736101c336600461120f565b6106d6565b3480156101d457600080fd5b506101736101e336600461120f565b610821565b3480156101f457600080fd5b5061017361086e565b34801561020957600080fd5b50610173610218366004611308565b6108a4565b34801561022957600080fd5b5061017361023836600461120f565b610998565b34801561024957600080fd5b506000546001600160a01b03165b6040516001600160a01b039091168152602001610125565b34801561027b57600080fd5b506101186109e9565b34801561029057600080fd5b5061017361029f36600461137d565b6109f6565b3480156102b057600080fd5b506102d16102bf36600461120f565b60066020526000908152604090205481565b604051908152602001610125565b3480156102eb57600080fd5b50600354610257906001600160a01b031681565b34801561030b57600080fd5b506007546103259061ffff81169062010000900460ff1682565b6040805161ffff9093168352901515602083015201610125565b34801561034b57600080fd5b5061017361035a36600461120f565b610a32565b6004805461036c90611395565b80601f016020809104026020016040519081016040528092919081815260200182805461039890611395565b80156103e55780601f106103ba576101008083540402835291602001916103e5565b820191906000526020600020905b8154815290600101906020018083116103c857829003601f168201915b505050505081565b600080546001600160a01b031633146104215760405162461bcd60e51b8152600401610418906113ca565b60405180910390fd5b506001600160a01b031660009081526001602052604090205460ff1690565b6000546001600160a01b0316331461046a5760405162461bcd60e51b8152600401610418906113ca565b47806104ad5760405162461bcd60e51b81526020600482015260126024820152716e6f2066756e647320617661696c61626c6560701b6044820152606401610418565b6104c86104c26000546001600160a01b031690565b82610a8b565b50565b6040805180820190915260075461ffff8116825262010000900460ff161515602082018190526105325760405162461bcd60e51b815260206004820152601260248201527173616c65206973206e6f742061637469766560701b6044820152606401610418565b80513360009081526006602052604090205461ffff918216916105589190871690611415565b11156105985760405162461bcd60e51b815260206004820152600f60248201526e646f6e27742062652067726565647960881b6044820152606401610418565b6105bc604051806040016040528060018152602001603160f81b8152508484610ba4565b6106085760405162461bcd60e51b815260206004820152601e60248201527f6e6f7420617574686f72697a656420666f72206261646765206d696e747300006044820152606401610418565b6003546001600160a01b031663ae7bf4c83461062387610c07565b61062c33610c58565b6040518463ffffffff1660e01b815260040161064992919061142d565b6000604051808303818588803b15801561066257600080fd5b505af1158015610676573d6000803e3d6000fd5b505050505050505050565b6000546001600160a01b031633146106ab5760405162461bcd60e51b8152600401610418906113ca565b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b3360009081526001602052604090205460ff166107055760405162461bcd60e51b8152600401610418906114b5565b806001600160a01b03811663a9059cbb6107276000546001600160a01b031690565b6040516370a0823160e01b81523060048201526001600160a01b038516906370a082319060240160206040518083038186803b15801561076657600080fd5b505afa15801561077a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061079e91906114df565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b1580156107e457600080fd5b505af11580156107f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081c91906114f8565b505050565b3360009081526001602052604090205460ff166108505760405162461bcd60e51b8152600401610418906114b5565b600280546001600160a01b0319166001600160a01b03831617905550565b6000546001600160a01b031633146108985760405162461bcd60e51b8152600401610418906113ca565b6108a26000610cb3565b565b3360009081526001602052604090205460ff166108d35760405162461bcd60e51b8152600401610418906114b5565b60005b8181101561099257836001600160a01b03166323b872dd306109006000546001600160a01b031690565b86868681811061091257610912611515565b6040516001600160e01b031960e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152606401600060405180830381600087803b15801561096957600080fd5b505af115801561097d573d6000803e3d6000fd5b505050508061098b9061152b565b90506108d6565b50505050565b3360009081526001602052604090205460ff166109c75760405162461bcd60e51b8152600401610418906114b5565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6005805461036c90611395565b3360009081526001602052604090205460ff16610a255760405162461bcd60e51b8152600401610418906114b5565b80600761081c8282611546565b6000546001600160a01b03163314610a5c5760405162461bcd60e51b8152600401610418906113ca565b6001600160a01b0381166000908152600160208190526040909120805460ff191690911790556104c881610d03565b80471015610adb5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610418565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610b28576040519150601f19603f3d011682016040523d82523d6000602084013e610b2d565b606091505b505090508061081c5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610418565b6000610bee610bb285610d9b565b84848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610dcf92505050565b6002546001600160a01b03918216911614949350505050565b604080516001808252818301909252606091602080830190803683370190505090508181600081518110610c3d57610c3d611515565b602002602001019061ffff16908161ffff1681525050919050565b604080516001808252818301909252606091602080830190803683370190505090508181600081518110610c8e57610c8e611515565b60200260200101906001600160a01b031690816001600160a01b031681525050919050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000546001600160a01b03163314610d2d5760405162461bcd60e51b8152600401610418906113ca565b6001600160a01b038116610d925760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610418565b6104c881610cb3565b6000303383604051602001610db29392919061158f565b604051602081830303815290604052805190602001209050919050565b6000610de482610dde85610deb565b90610e26565b9392505050565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01610db2565b6000806000610e358585610e4a565b91509150610e4281610eba565b509392505050565b600080825160411415610e815760208301516040840151606085015160001a610e7587828585611075565b94509450505050610eb3565b825160401415610eab5760208301516040840151610ea0868383611162565b935093505050610eb3565b506000905060025b9250929050565b6000816004811115610ece57610ece6115d5565b1415610ed75750565b6001816004811115610eeb57610eeb6115d5565b1415610f395760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610418565b6002816004811115610f4d57610f4d6115d5565b1415610f9b5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610418565b6003816004811115610faf57610faf6115d5565b14156110085760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610418565b600481600481111561101c5761101c6115d5565b14156104c85760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610418565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156110ac5750600090506003611159565b8460ff16601b141580156110c457508460ff16601c14155b156110d55750600090506004611159565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611129573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661115257600060019250925050611159565b9150600090505b94509492505050565b6000806001600160ff1b0383168161117f60ff86901c601b611415565b905061118d87828885611075565b935093505050935093915050565b60005b838110156111b657818101518382015260200161119e565b838111156109925750506000910152565b60208152600082518060208401526111e681604085016020870161119b565b601f01601f19169190910160400192915050565b6001600160a01b03811681146104c857600080fd5b60006020828403121561122157600080fd5b8135610de4816111fa565b61ffff811681146104c857600080fd5b60008060006040848603121561125157600080fd5b833561125c8161122c565b9250602084013567ffffffffffffffff8082111561127957600080fd5b818601915086601f83011261128d57600080fd5b81358181111561129c57600080fd5b8760208285010111156112ae57600080fd5b6020830194508093505050509250925092565b80151581146104c857600080fd5b600080604083850312156112e257600080fd5b82356112ed816111fa565b915060208301356112fd816112c1565b809150509250929050565b60008060006040848603121561131d57600080fd5b8335611328816111fa565b9250602084013567ffffffffffffffff8082111561134557600080fd5b818601915086601f83011261135957600080fd5b81358181111561136857600080fd5b8760208260051b85010111156112ae57600080fd5b60006040828403121561138f57600080fd5b50919050565b600181811c908216806113a957607f821691505b6020821081141561138f57634e487b7160e01b600052602260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115611428576114286113ff565b500190565b604080825283519082018190526000906020906060840190828701845b8281101561146a57815161ffff168452928401929084019060010161144a565b5050508381038285015284518082528583019183019060005b818110156114a85783516001600160a01b031683529284019291840191600101611483565b5090979650505050505050565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b6000602082840312156114f157600080fd5b5051919050565b60006020828403121561150a57600080fd5b8151610de4816112c1565b634e487b7160e01b600052603260045260246000fd5b600060001982141561153f5761153f6113ff565b5060010190565b81356115518161122c565b61ffff8116905081548161ffff1982161783556020840135611572816112c1565b62ffffff199190911690911790151560101b62ff00001617905550565b60006bffffffffffffffffffffffff19808660601b168352808560601b1660148401525082516115c681602885016020870161119b565b91909101602801949350505050565b634e487b7160e01b600052602160045260246000fdfea2646970667358221220eb2c894693fbd6a55fbb62e9638d7d7147b24d3f167394dd9b7b5261f19da8c664736f6c63430008090033
Deployed Bytecode
0x6080604052600436106100fe5760003560e01c80638293744b11610095578063c627e86d11610064578063c627e86d14610284578063c884ef83146102a4578063d274958d146102df578063d92e82e4146102ff578063f2fde38b1461033f57600080fd5b80638293744b146101fd578063847fd5bf1461021d5780638da5cb5b1461023d57806395d89b411461026f57600080fd5b80634a994eef116100d15780634a994eef1461018857806351cff8d9146101a85780636c19e783146101c8578063715018a6146101e857600080fd5b806306fdde0314610103578063077796271461012e5780633ccfd60b1461015e5780633e10036d14610175575b600080fd5b34801561010f57600080fd5b5061011861035f565b60405161012591906111c7565b60405180910390f35b34801561013a57600080fd5b5061014e61014936600461120f565b6103ed565b6040519015158152602001610125565b34801561016a57600080fd5b50610173610440565b005b61017361018336600461123c565b6104cb565b34801561019457600080fd5b506101736101a33660046112cf565b610681565b3480156101b457600080fd5b506101736101c336600461120f565b6106d6565b3480156101d457600080fd5b506101736101e336600461120f565b610821565b3480156101f457600080fd5b5061017361086e565b34801561020957600080fd5b50610173610218366004611308565b6108a4565b34801561022957600080fd5b5061017361023836600461120f565b610998565b34801561024957600080fd5b506000546001600160a01b03165b6040516001600160a01b039091168152602001610125565b34801561027b57600080fd5b506101186109e9565b34801561029057600080fd5b5061017361029f36600461137d565b6109f6565b3480156102b057600080fd5b506102d16102bf36600461120f565b60066020526000908152604090205481565b604051908152602001610125565b3480156102eb57600080fd5b50600354610257906001600160a01b031681565b34801561030b57600080fd5b506007546103259061ffff81169062010000900460ff1682565b6040805161ffff9093168352901515602083015201610125565b34801561034b57600080fd5b5061017361035a36600461120f565b610a32565b6004805461036c90611395565b80601f016020809104026020016040519081016040528092919081815260200182805461039890611395565b80156103e55780601f106103ba576101008083540402835291602001916103e5565b820191906000526020600020905b8154815290600101906020018083116103c857829003601f168201915b505050505081565b600080546001600160a01b031633146104215760405162461bcd60e51b8152600401610418906113ca565b60405180910390fd5b506001600160a01b031660009081526001602052604090205460ff1690565b6000546001600160a01b0316331461046a5760405162461bcd60e51b8152600401610418906113ca565b47806104ad5760405162461bcd60e51b81526020600482015260126024820152716e6f2066756e647320617661696c61626c6560701b6044820152606401610418565b6104c86104c26000546001600160a01b031690565b82610a8b565b50565b6040805180820190915260075461ffff8116825262010000900460ff161515602082018190526105325760405162461bcd60e51b815260206004820152601260248201527173616c65206973206e6f742061637469766560701b6044820152606401610418565b80513360009081526006602052604090205461ffff918216916105589190871690611415565b11156105985760405162461bcd60e51b815260206004820152600f60248201526e646f6e27742062652067726565647960881b6044820152606401610418565b6105bc604051806040016040528060018152602001603160f81b8152508484610ba4565b6106085760405162461bcd60e51b815260206004820152601e60248201527f6e6f7420617574686f72697a656420666f72206261646765206d696e747300006044820152606401610418565b6003546001600160a01b031663ae7bf4c83461062387610c07565b61062c33610c58565b6040518463ffffffff1660e01b815260040161064992919061142d565b6000604051808303818588803b15801561066257600080fd5b505af1158015610676573d6000803e3d6000fd5b505050505050505050565b6000546001600160a01b031633146106ab5760405162461bcd60e51b8152600401610418906113ca565b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b3360009081526001602052604090205460ff166107055760405162461bcd60e51b8152600401610418906114b5565b806001600160a01b03811663a9059cbb6107276000546001600160a01b031690565b6040516370a0823160e01b81523060048201526001600160a01b038516906370a082319060240160206040518083038186803b15801561076657600080fd5b505afa15801561077a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061079e91906114df565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b1580156107e457600080fd5b505af11580156107f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081c91906114f8565b505050565b3360009081526001602052604090205460ff166108505760405162461bcd60e51b8152600401610418906114b5565b600280546001600160a01b0319166001600160a01b03831617905550565b6000546001600160a01b031633146108985760405162461bcd60e51b8152600401610418906113ca565b6108a26000610cb3565b565b3360009081526001602052604090205460ff166108d35760405162461bcd60e51b8152600401610418906114b5565b60005b8181101561099257836001600160a01b03166323b872dd306109006000546001600160a01b031690565b86868681811061091257610912611515565b6040516001600160e01b031960e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152606401600060405180830381600087803b15801561096957600080fd5b505af115801561097d573d6000803e3d6000fd5b505050508061098b9061152b565b90506108d6565b50505050565b3360009081526001602052604090205460ff166109c75760405162461bcd60e51b8152600401610418906114b5565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6005805461036c90611395565b3360009081526001602052604090205460ff16610a255760405162461bcd60e51b8152600401610418906114b5565b80600761081c8282611546565b6000546001600160a01b03163314610a5c5760405162461bcd60e51b8152600401610418906113ca565b6001600160a01b0381166000908152600160208190526040909120805460ff191690911790556104c881610d03565b80471015610adb5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610418565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610b28576040519150601f19603f3d011682016040523d82523d6000602084013e610b2d565b606091505b505090508061081c5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610418565b6000610bee610bb285610d9b565b84848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610dcf92505050565b6002546001600160a01b03918216911614949350505050565b604080516001808252818301909252606091602080830190803683370190505090508181600081518110610c3d57610c3d611515565b602002602001019061ffff16908161ffff1681525050919050565b604080516001808252818301909252606091602080830190803683370190505090508181600081518110610c8e57610c8e611515565b60200260200101906001600160a01b031690816001600160a01b031681525050919050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000546001600160a01b03163314610d2d5760405162461bcd60e51b8152600401610418906113ca565b6001600160a01b038116610d925760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610418565b6104c881610cb3565b6000303383604051602001610db29392919061158f565b604051602081830303815290604052805190602001209050919050565b6000610de482610dde85610deb565b90610e26565b9392505050565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01610db2565b6000806000610e358585610e4a565b91509150610e4281610eba565b509392505050565b600080825160411415610e815760208301516040840151606085015160001a610e7587828585611075565b94509450505050610eb3565b825160401415610eab5760208301516040840151610ea0868383611162565b935093505050610eb3565b506000905060025b9250929050565b6000816004811115610ece57610ece6115d5565b1415610ed75750565b6001816004811115610eeb57610eeb6115d5565b1415610f395760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610418565b6002816004811115610f4d57610f4d6115d5565b1415610f9b5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610418565b6003816004811115610faf57610faf6115d5565b14156110085760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610418565b600481600481111561101c5761101c6115d5565b14156104c85760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610418565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156110ac5750600090506003611159565b8460ff16601b141580156110c457508460ff16601c14155b156110d55750600090506004611159565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611129573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661115257600060019250925050611159565b9150600090505b94509492505050565b6000806001600160ff1b0383168161117f60ff86901c601b611415565b905061118d87828885611075565b935093505050935093915050565b60005b838110156111b657818101518382015260200161119e565b838111156109925750506000910152565b60208152600082518060208401526111e681604085016020870161119b565b601f01601f19169190910160400192915050565b6001600160a01b03811681146104c857600080fd5b60006020828403121561122157600080fd5b8135610de4816111fa565b61ffff811681146104c857600080fd5b60008060006040848603121561125157600080fd5b833561125c8161122c565b9250602084013567ffffffffffffffff8082111561127957600080fd5b818601915086601f83011261128d57600080fd5b81358181111561129c57600080fd5b8760208285010111156112ae57600080fd5b6020830194508093505050509250925092565b80151581146104c857600080fd5b600080604083850312156112e257600080fd5b82356112ed816111fa565b915060208301356112fd816112c1565b809150509250929050565b60008060006040848603121561131d57600080fd5b8335611328816111fa565b9250602084013567ffffffffffffffff8082111561134557600080fd5b818601915086601f83011261135957600080fd5b81358181111561136857600080fd5b8760208260051b85010111156112ae57600080fd5b60006040828403121561138f57600080fd5b50919050565b600181811c908216806113a957607f821691505b6020821081141561138f57634e487b7160e01b600052602260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115611428576114286113ff565b500190565b604080825283519082018190526000906020906060840190828701845b8281101561146a57815161ffff168452928401929084019060010161144a565b5050508381038285015284518082528583019183019060005b818110156114a85783516001600160a01b031683529284019291840191600101611483565b5090979650505050505050565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b6000602082840312156114f157600080fd5b5051919050565b60006020828403121561150a57600080fd5b8151610de4816112c1565b634e487b7160e01b600052603260045260246000fd5b600060001982141561153f5761153f6113ff565b5060010190565b81356115518161122c565b61ffff8116905081548161ffff1982161783556020840135611572816112c1565b62ffffff199190911690911790151560101b62ff00001617905550565b60006bffffffffffffffffffffffff19808660601b168352808560601b1660148401525082516115c681602885016020870161119b565b91909101602801949350505050565b634e487b7160e01b600052602160045260246000fdfea2646970667358221220eb2c894693fbd6a55fbb62e9638d7d7147b24d3f167394dd9b7b5261f19da8c664736f6c63430008090033
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.