Overview
S Balance
S Value
$0.00More Info
Private Name Tags
ContractCreator
Loading...
Loading
Contract Name:
MasterChef
Compiler Version
v0.8.15+commit.e14f2714
Optimization Enabled:
Yes with 500 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
1234567891011121314151617181920212223242526// SPDX-License-Identifier: UNLICENSEDpragma solidity ^0.8.15;import "@openzeppelin/contracts/utils/math/SafeMath.sol";import "@openzeppelin/contracts/access/Ownable.sol";import "@openzeppelin/contracts/utils/Address.sol";import "@openzeppelin/contracts/security/ReentrancyGuard.sol";import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";import "@openzeppelin/contracts/token/ERC20/ERC20.sol";import "@openzeppelin/contracts/token/ERC721/ERC721.sol";import "./SNOWToken.sol";interface ISNOWNFT {function walletOfOwner(address _owner) external view returns (uint256[] memory);}interface IZap {function universalZapForCompound(address _inputToken,uint256 _amount,address _targetToken,address _recipient) external returns (uint256 amountOut);}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)pragma solidity ^0.8.0;import "../utils/Context.sol";/*** @dev Contract module which provides a basic access control mechanism, where* there is an account (an owner) that can be granted exclusive access to* specific functions.** By default, the owner account will be the one that deploys the contract. This* can later be changed with {transferOwnership}.** This module is used through inheritance. It will make available the modifier* `onlyOwner`, which can be applied to your functions to restrict their use to* the owner.*/abstract contract Ownable is Context {address private _owner;event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);/*** @dev Initializes the contract setting the deployer as the initial owner.
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (governance/utils/IVotes.sol)pragma solidity ^0.8.0;/*** @dev Common interface for {ERC20Votes}, {ERC721Votes}, and other {Votes}-enabled contracts.** _Available since v4.5._*/interface IVotes {/*** @dev Emitted when an account changes their delegate.*/event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);/*** @dev Emitted when a token transfer or delegate change results in changes to a delegate's number of votes.*/event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance);/*** @dev Returns the current amount of votes that `account` has.*/function getVotes(address account) external view returns (uint256);/**
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC5267.sol)pragma solidity ^0.8.0;interface IERC5267 {/*** @dev MAY be emitted to signal that the domain could have changed.*/event EIP712DomainChanged();/*** @dev returns the fields and values that describe the domain separator used by this contract for EIP-712* signature.*/function eip712Domain()externalviewreturns (bytes1 fields,string memory name,string memory version,uint256 chainId,address verifyingContract,bytes32 salt,uint256[] memory extensions
123456789// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC5805.sol)pragma solidity ^0.8.0;import "../governance/utils/IVotes.sol";import "./IERC6372.sol";interface IERC5805 is IERC6372, IVotes {}
1234567891011121314151617// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC6372.sol)pragma solidity ^0.8.0;interface IERC6372 {/*** @dev Clock used for flagging checkpoints. Can be overridden to implement timestamp based checkpoints (and voting).*/function clock() external view returns (uint48);/*** @dev Description of the clock*/// solhint-disable-next-line func-name-mixedcasefunction CLOCK_MODE() external view returns (string memory);}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)pragma solidity ^0.8.0;/*** @dev Contract module that helps prevent reentrant calls to a function.** Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier* available, which can be applied to functions to make sure there are no nested* (reentrant) calls to them.** Note that because there is a single `nonReentrant` guard, functions marked as* `nonReentrant` may not call one another. This can be worked around by making* those functions `private`, and then adding `external` `nonReentrant` entry* points to them.** TIP: If you would like to learn more about reentrancy and alternative ways* to protect against it, check out our blog post* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].*/abstract contract ReentrancyGuard {// Booleans are more expensive than uint256 or any type that takes up a full// word because each write operation emits an extra SLOAD to first read the// slot's contents, replace the bits taken up by the boolean, and then write// back. This is the compiler's defense against contract upgrades and
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)pragma solidity ^0.8.0;import "./IERC20.sol";import "./extensions/IERC20Metadata.sol";import "../../utils/Context.sol";/*** @dev Implementation of the {IERC20} interface.** This implementation is agnostic to the way tokens are created. This means* that a supply mechanism has to be added in a derived contract using {_mint}.* For a generic mechanism see {ERC20PresetMinterPauser}.** TIP: For a detailed writeup see our guide* https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How* to implement supply mechanisms].** The default value of {decimals} is 18. To change this, you should override* this function so it returns a different value.** We have followed general OpenZeppelin Contracts guidelines: functions revert* instead returning `false` on failure. This behavior is nonetheless* conventional and does not conflict with the expectations of ERC20
12345678// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/draft-ERC20Permit.sol)pragma solidity ^0.8.0;// EIP-2612 is Final as of 2022-11-01. This file is deprecated.import "./ERC20Permit.sol";
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.4) (token/ERC20/extensions/ERC20Permit.sol)pragma solidity ^0.8.0;import "./IERC20Permit.sol";import "../ERC20.sol";import "../../../utils/cryptography/ECDSA.sol";import "../../../utils/cryptography/EIP712.sol";import "../../../utils/Counters.sol";/*** @dev Implementation of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in* https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].** Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by* presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't* need to send a transaction, and thus is not required to hold Ether at all.** _Available since v3.4._*/abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712 {using Counters for Counters.Counter;mapping(address => Counters.Counter) private _nonces;
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/ERC20Votes.sol)pragma solidity ^0.8.0;import "./ERC20Permit.sol";import "../../../interfaces/IERC5805.sol";import "../../../utils/math/Math.sol";import "../../../utils/math/SafeCast.sol";import "../../../utils/cryptography/ECDSA.sol";/*** @dev Extension of ERC20 to support Compound-like voting and delegation. This version is more generic than Compound's,* and supports token supply up to 2^224^ - 1, while COMP is limited to 2^96^ - 1.** NOTE: If exact COMP compatibility is required, use the {ERC20VotesComp} variant of this module.** This extension keeps a history (checkpoints) of each account's vote power. Vote power can be delegated either* by calling the {delegate} function directly, or by providing a signature to be used with {delegateBySig}. Voting* power can be queried through the public accessors {getVotes} and {getPastVotes}.** By default, token balance does not account for voting power. This makes transfers cheaper. The downside is that it* requires users to delegate to themselves in order to activate checkpoints and have their voting power tracked.** _Available since v4.2._*/
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)pragma solidity ^0.8.0;import "../IERC20.sol";/*** @dev Interface for the optional metadata functions from the ERC20 standard.** _Available since v4.1._*/interface IERC20Metadata is IERC20 {/*** @dev Returns the name of the token.*/function name() external view returns (string memory);/*** @dev Returns the symbol of the token.*/function symbol() external view returns (string memory);/*** @dev Returns the decimals places of the token.*/
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.4) (token/ERC20/extensions/IERC20Permit.sol)pragma solidity ^0.8.0;/*** @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in* https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].** Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by* presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't* need to send a transaction, and thus is not required to hold Ether at all.** ==== Security Considerations** There are two important considerations concerning the use of `permit`. The first is that a valid permit signature* expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be* considered as an intention to spend the allowance in any specific way. The second is that because permits have* built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should* take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be* generally recommended is:** ```solidity* function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {* try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}* doThing(..., value);
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)pragma solidity ^0.8.0;/*** @dev Interface of the ERC20 standard as defined in the EIP.*/interface IERC20 {/*** @dev Emitted when `value` tokens are moved from one account (`from`) to* another (`to`).** Note that `value` may be zero.*/event Transfer(address indexed from, address indexed to, uint256 value);/*** @dev Emitted when the allowance of a `spender` for an `owner` is set by* a call to {approve}. `value` is the new allowance.*/event Approval(address indexed owner, address indexed spender, uint256 value);/*** @dev Returns the amount of tokens in existence.*/
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.3) (token/ERC20/utils/SafeERC20.sol)pragma solidity ^0.8.0;import "../IERC20.sol";import "../extensions/IERC20Permit.sol";import "../../../utils/Address.sol";/*** @title SafeERC20* @dev Wrappers around ERC20 operations that throw on failure (when the token* contract returns false). Tokens that return no value (and instead revert or* throw on failure) are also supported, non-reverting calls are assumed to be* successful.* To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,* which allows you to call the safe operations as `token.safeTransfer(...)`, etc.*/library SafeERC20 {using Address for address;/*** @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,* non-reverting calls are assumed to be successful.*/function safeTransfer(IERC20 token, address to, uint256 value) internal {
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/ERC721.sol)pragma solidity ^0.8.0;import "./IERC721.sol";import "./IERC721Receiver.sol";import "./extensions/IERC721Metadata.sol";import "../../utils/Address.sol";import "../../utils/Context.sol";import "../../utils/Strings.sol";import "../../utils/introspection/ERC165.sol";/*** @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including* the Metadata extension, but not including the Enumerable extension, which is available separately as* {ERC721Enumerable}.*/contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {using Address for address;using Strings for uint256;// Token namestring private _name;// Token symbol
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)pragma solidity ^0.8.0;import "../IERC721.sol";/*** @title ERC-721 Non-Fungible Token Standard, optional metadata extension* @dev See https://eips.ethereum.org/EIPS/eip-721*/interface IERC721Metadata is IERC721 {/*** @dev Returns the token collection name.*/function name() external view returns (string memory);/*** @dev Returns the token collection symbol.*/function symbol() external view returns (string memory);/*** @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.*/function tokenURI(uint256 tokenId) external view returns (string memory);
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/IERC721.sol)pragma solidity ^0.8.0;import "../../utils/introspection/IERC165.sol";/*** @dev Required interface of an ERC721 compliant contract.*/interface IERC721 is IERC165 {/*** @dev Emitted when `tokenId` token is transferred from `from` to `to`.*/event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);/*** @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.*/event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);/*** @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.*/event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)pragma solidity ^0.8.0;/*** @title ERC721 token receiver interface* @dev Interface for any contract that wants to support safeTransfers* from ERC721 asset contracts.*/interface IERC721Receiver {/*** @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}* by `operator` from `from`, this function is called.** It must return its Solidity selector to confirm the token transfer.* If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.** The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.*/function onERC721Received(address operator,address from,uint256 tokenId,bytes calldata data) external returns (bytes4);
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.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** Furthermore, `isContract` will also return true if the target contract within
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.4) (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;}function _contextSuffixLength() internal view virtual returns (uint256) {return 0;
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)pragma solidity ^0.8.0;/*** @title Counters* @author Matt Condon (@shrugs)* @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number* of elements in a mapping, issuing ERC721 ids, or counting request ids.** Include with `using Counters for Counters.Counter;`*/library Counters {struct Counter {// This variable should never be directly accessed by users of the library: interactions must be restricted to// the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add// this feature: see https://github.com/ethereum/solidity/issues/4637uint256 _value; // default: 0}function current(Counter storage counter) internal view returns (uint256) {return counter._value;}function increment(Counter storage counter) internal {
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.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 // Deprecated in v4.8}function _throwError(RecoverError error) private pure {if (error == RecoverError.NoError) {return; // no error: do nothing} else if (error == RecoverError.InvalidSignature) {
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (utils/cryptography/EIP712.sol)pragma solidity ^0.8.8;import "./ECDSA.sol";import "../ShortStrings.sol";import "../../interfaces/IERC5267.sol";/*** @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.** The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,* thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding* they need in their contracts using a combination of `abi.encode` and `keccak256`.** This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding* scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA* ({_hashTypedDataV4}).** The implementation of the domain separator was designed to be as efficient as possible while still properly updating* the chain id to protect against replay attacks on an eventual fork of the chain.** NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method* https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].*
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)pragma solidity ^0.8.0;import "./IERC165.sol";/*** @dev Implementation of the {IERC165} interface.** Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check* for the additional interface id that will be supported. For example:** ```solidity* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);* }* ```** Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.*/abstract contract ERC165 is IERC165 {/*** @dev See {IERC165-supportsInterface}.*/function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
12345678910111213141516171819202122232425// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)pragma solidity ^0.8.0;/*** @dev Interface of the ERC165 standard, as defined in the* https://eips.ethereum.org/EIPS/eip-165[EIP].** Implementers can declare support of contract interfaces, which can then be* queried by others ({ERC165Checker}).** For an implementation, see {ERC165}.*/interface IERC165 {/*** @dev Returns true if this contract implements the interface defined by* `interfaceId`. See the corresponding* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]* to learn more about how these ids are created.** This function call must use less than 30 000 gas.*/function supportsInterface(bytes4 interfaceId) external view returns (bool);}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol)pragma solidity ^0.8.0;/*** @dev Standard math utilities missing in the Solidity language.*/library Math {enum Rounding {Down, // Toward negative infinityUp, // Toward infinityZero // Toward zero}/*** @dev Returns the largest of two numbers.*/function max(uint256 a, uint256 b) internal pure returns (uint256) {return a > b ? a : b;}/*** @dev Returns the smallest of two numbers.*/function min(uint256 a, uint256 b) internal pure returns (uint256) {
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SafeCast.sol)// This file was procedurally generated from scripts/generate/templates/SafeCast.js.pragma solidity ^0.8.0;/*** @dev Wrappers over Solidity's uintXX/intXX casting operators with added overflow* checks.** Downcasting from uint256/int256 in Solidity does not revert on overflow. This can* easily result in undesired exploitation or bugs, since developers usually* assume that overflows raise errors. `SafeCast` restores this intuition by* reverting the transaction when such an operation overflows.** Using this library instead of the unchecked operations eliminates an entire* class of bugs, so it's recommended to use it always.** Can be combined with {SafeMath} and {SignedSafeMath} to extend it to smaller types, by performing* all math on `uint256` and `int256` and then downcasting.*/library SafeCast {/*** @dev Returns the downcasted uint248 from uint256, reverting on* overflow (when the input is greater than largest uint248).*
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/SafeMath.sol)pragma solidity ^0.8.0;// CAUTION// This version of SafeMath should only be used with Solidity 0.8 or later,// because it relies on the compiler's built in overflow checks./*** @dev Wrappers over Solidity's arithmetic operations.** NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler* now has built in overflow checking.*/library SafeMath {/*** @dev Returns the addition of two unsigned integers, with an overflow flag.** _Available since v3.4._*/function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {unchecked {uint256 c = a + b;if (c < a) return (false, 0);return (true, c);
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)pragma solidity ^0.8.0;/*** @dev Standard signed math utilities missing in the Solidity language.*/library SignedMath {/*** @dev Returns the largest of two signed numbers.*/function max(int256 a, int256 b) internal pure returns (int256) {return a > b ? a : b;}/*** @dev Returns the smallest of two signed numbers.*/function min(int256 a, int256 b) internal pure returns (int256) {return a < b ? a : b;}/*** @dev Returns the average of two signed numbers without overflow.* The result is rounded towards zero.
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (utils/ShortStrings.sol)pragma solidity ^0.8.8;import "./StorageSlot.sol";// | string | 0xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA |// | length | 0x BB |type ShortString is bytes32;/*** @dev This library provides functions to convert short memory strings* into a `ShortString` type that can be used as an immutable variable.** Strings of arbitrary length can be optimized using this library if* they are short enough (up to 31 bytes) by packing them with their* length (1 byte) in a single EVM word (32 bytes). Additionally, a* fallback mechanism can be used for every other case.** Usage example:** ```solidity* contract Named {* using ShortStrings for *;*
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (utils/StorageSlot.sol)// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.pragma solidity ^0.8.0;/*** @dev Library for reading and writing primitive types to specific storage slots.** Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.* This library helps with reading and writing to such slots without the need for inline assembly.** The functions in this library return Slot structs that contain a `value` member that can be used to read or write.** Example usage to set ERC1967 implementation slot:* ```solidity* contract ERC1967 {* bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;** function _getImplementation() internal view returns (address) {* return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;* }** function _setImplementation(address newImplementation) internal {* require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");* StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol)pragma solidity ^0.8.0;import "./math/Math.sol";import "./math/SignedMath.sol";/*** @dev String operations.*/library Strings {bytes16 private constant _SYMBOLS = "0123456789abcdef";uint8 private constant _ADDRESS_LENGTH = 20;/*** @dev Converts a `uint256` to its ASCII `string` decimal representation.*/function toString(uint256 value) internal pure returns (string memory) {unchecked {uint256 length = Math.log10(value) + 1;string memory buffer = new string(length);uint256 ptr;/// @solidity memory-safe-assemblyassembly {ptr := add(buffer, add(32, length))
1234567891011121314151617181920212223242526// SPDX-License-Identifier: UNLICENSEDpragma solidity ^0.8.0;interface IPancakeFactory {event PairCreated(address indexed token0, address indexed token1, address pair, uint256);function feeTo() external view returns (address);function feeToSetter() external view returns (address);function getPair(address tokenA, address tokenB) external view returns (address pair);function allPairs(uint256) external view returns (address pair);function allPairsLength() external view returns (uint256);function createPair(address tokenA, address tokenB) external returns (address pair);
1234567891011121314151617181920212223242526// SPDX-License-Identifier: UNLICENSEDpragma solidity ^0.8.0;interface IPancakeRouter01 {function factory() external view returns (address);function WETH() external view returns (address);function addLiquidity(address tokenA,address tokenB,uint256 amountADesired,uint256 amountBDesired,uint256 amountAMin,uint256 amountBMin,address to,uint256 deadline)externalreturns (uint256 amountA,uint256 amountB,uint256 liquidity);
1234567891011121314151617181920212223242526// SPDX-License-Identifier: UNLICENSEDpragma solidity ^0.8.0;import "./IPancakeRouter01.sol";interface IPancakeRouter02 is IPancakeRouter01 {function removeLiquidityETHSupportingFeeOnTransferTokens(address token,uint256 liquidity,uint256 amountTokenMin,uint256 amountETHMin,address to,uint256 deadline) external returns (uint256 amountETH);function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(address token,uint256 liquidity,
1234567891011121314151617181920212223242526// SPDX-License-Identifier: UNLICENSEDpragma solidity ^0.8.15;import "@openzeppelin/contracts/token/ERC20/ERC20.sol";import "@openzeppelin/contracts/access/Ownable.sol";import "@openzeppelin/contracts/token/ERC20/extensions/draft-ERC20Permit.sol";import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Votes.sol";import "@openzeppelin/contracts/utils/math/SafeMath.sol";import "./pancakeSwap/interfaces/IPancakeFactory.sol";import "./pancakeSwap/interfaces/IPancakeRouter02.sol";contract SNOWToken is ERC20, Ownable, ERC20Permit, ERC20Votes {using SafeMath for uint256;address public admin;address public constant deadAddress = 0x000000000000000000000000000000000000dEaD;uint256 public totalBurned;uint256 public staticTaxRate = 600;uint256 public constant duration = 1 days;mapping(address => bool) public isPair;mapping(address => bool) public proxylist;constructor(
12345678910111213141516171819202122{"optimizer": {"enabled": true,"runs": 500},"outputSelection": {"*": {"*": ["evm.bytecode","evm.deployedBytecode","devdoc","userdoc","metadata","abi"]}},"metadata": {"useLiteralContent": true},"libraries": {}}
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_SNOW","type":"address"},{"internalType":"address","name":"_devaddr","type":"address"},{"internalType":"address","name":"_marketAddress","type":"address"},{"internalType":"address","name":"_treasuryAddress","type":"address"},{"internalType":"address","name":"_zapAddr","type":"address"},{"internalType":"uint256","name":"_startBlock","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"BONUS_MULTIPLIER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SNOW","outputs":[{"internalType":"contract SNOWToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SNOWAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SNOWPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"address","name":"_lpToken","type":"address"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"},{"internalType":"bool","name":"_withUpdate","type":"bool"},{"internalType":"bool","name":"_isNFTPool","type":"bool"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"compound","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bool","name":"isNFTAll","type":"bool"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_recipient","type":"address"}],"name":"depositFor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devaddr","type":"address"}],"name":"dev","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devaddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fromBlock","type":"uint256"},{"internalType":"uint256","name":"_toBlock","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"getUserStakedNFTs","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_pids","type":"uint256[]"}],"name":"harvestMany","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"marketAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingSNOW","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"address","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accSNOWPerShare","type":"uint256"},{"internalType":"uint16","name":"depositFeeBP","type":"uint16"},{"internalType":"bool","name":"isNFTPool","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"},{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_SNOW","type":"address"}],"name":"setMainTokenAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_marketAddress1","type":"address"}],"name":"setMarketAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasuryAddress","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasuryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_SNOWPerBlock","type":"uint256"}],"name":"updateEmissionRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"},{"internalType":"uint256","name":"lastWithdrawBlock","type":"uint256"},{"internalType":"uint256","name":"lastHarvestBlock","type":"uint256"},{"internalType":"uint256","name":"harvestBlocks","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bool","name":"isNFTAll","type":"bool"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"zapAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405260006008556103e8600b55600019600d553480156200002257600080fd5b506040516200334538038062003345833981016040819052620000459162000157565b6200005033620000ea565b60018055600280546001600160a01b038089166001600160a01b03199283161790925560058054888416908316179055600680548684169083161790556007805492871692909116919091179055438110620000ad5780620000af565b435b600c5550600380546001600160a01b039687166001600160a01b031991821617909155600480549290961691161790935550620001cf915050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146200015257600080fd5b919050565b60008060008060008060c087890312156200017157600080fd5b6200017c876200013a565b95506200018c602088016200013a565b94506200019c604088016200013a565b9350620001ac606088016200013a565b9250620001bc608088016200013a565b915060a087015190509295509295509295565b61316680620001df6000396000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c80638aa2855011610125578063c5f956af116100ad578063dd62ab301161007c578063dd62ab30146104f9578063f0f442601461050c578063f2fde38b1461051f578063fae9261214610532578063fca902a11461054557600080fd5b8063c5f956af146104ad578063d49e77cd146104c0578063dc640ac9146104d3578063dc9464b9146104e657600080fd5b806390210d7e116100f457806390210d7e146103fb57806393f1a40b1461040e578063956236411461047e578063a3b7f12e14610491578063aa5f7e261461049a57600080fd5b80638aa28550146103bc5780638d88a90e146103c45780638da5cb5b146103d75780638dbb1e3a146103e857600080fd5b806343a0d066116101a857806354fd0ba71161017757806354fd0ba71461035b57806355d6521d14610386578063630b5ba1146103995780636809fedd146103a1578063715018a6146103b457600080fd5b806343a0d0661461031957806348cd4cb11461032c57806351eb05a6146103355780635312ea8e1461034857600080fd5b806317caf6f1116101e457806317caf6f1146102ca5780632143e545146102d357806333cfcd3b146102e6578063425b0809146102f957600080fd5b8063081e3eda146102165780630ba84cd21461022d578063150b7a02146102425780631526fe271461027a575b600080fd5b6009545b6040519081526020015b60405180910390f35b61024061023b366004612bb8565b610558565b005b610261610250366004612be6565b630a85bd0160e11b95945050505050565b6040516001600160e01b03199091168152602001610224565b61028d610288366004612bb8565b61056d565b604080516001600160a01b039097168752602087019590955293850192909252606084015261ffff166080830152151560a082015260c001610224565b61021a600b5481565b6102406102e1366004612caa565b6105c7565b6102406102f4366004612cfe565b61073d565b61030c610307366004612d37565b610c1d565b6040516102249190612d67565b610240610327366004612cfe565b610c95565b61021a600c5481565b610240610343366004612bb8565b610cb1565b610240610356366004612bb8565b610e9c565b60045461036e906001600160a01b031681565b6040516001600160a01b039091168152602001610224565b60035461036e906001600160a01b031681565b610240611095565b6102406103af366004612dab565b6110c0565b610240611140565b61021a600181565b6102406103d2366004612dab565b611154565b6000546001600160a01b031661036e565b61021a6103f6366004612dc8565b6111bc565b610240610409366004612dea565b611227565b61045661041c366004612d37565b600a602090815260009283526040808420909152908252902080546001820154600283015460038401546004909401549293919290919085565b604080519586526020860194909452928401919091526060830152608082015260a001610224565b60075461036e906001600160a01b031681565b61021a60085481565b6102406104a8366004612bb8565b61155b565b60065461036e906001600160a01b031681565b60055461036e906001600160a01b031681565b6102406104e1366004612e18565b611862565b6102406104f4366004612e8d565b6118b5565b61021a610507366004612d37565b611aa5565b61024061051a366004612dab565b611cb1565b61024061052d366004612dab565b611d2d565b610240610540366004612dab565b611da3565b60025461036e906001600160a01b031681565b610560611e1f565b610568611095565b600855565b6009818154811061057d57600080fd5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b0390931694509092909161ffff81169062010000900460ff1686565b6105cf611e1f565b6103e88361ffff1611156106385760405162461bcd60e51b815260206004820152602560248201527f7365743a20696e76616c6964206465706f7369742066656520626173697320706044820152646f696e747360d81b60648201526084015b60405180910390fd5b61271084106106975760405162461bcd60e51b815260206004820152602560248201527f7365743a20696e76616c696420616c6c6f6320706f696e7420626173697320706044820152646f696e747360d81b606482015260840161062f565b80156106a5576106a5611095565b83600986815481106106b9576106b9612ee5565b90600052602060002090600502016001018190555082600986815481106106e2576106e2612ee5565b906000526020600020906005020160040160006101000a81548161ffff021916908361ffff160217905550816009868154811061072157610721612ee5565b9060005260206000209060050201600201819055505050505050565b610745611e79565b60006009848154811061075a5761075a612ee5565b60009182526020808320878452600a8252604080852033865290925292206005909102909101915061078b85610cb1565b60018101546003830154825433926000926107c3926107bd91670de0b6b3a7640000916107b791611ed2565b90611ede565b90611eea565b905080156107d5576107d53382611ef6565b8515610bb157600484015462010000900460ff1615610b365760008360050180548060200260200160405190810160405280929190818152602001828054801561083e57602002820191906000526020600020905b81548152602001906001019080831161082a575b5050505050905085156109435780511561093e5760608051610867906005870190608090612b58565b5060005b825181101561093b57855461088890670de0b6b3a7640000611eea565b8655865483516001600160a01b03909116906342842e0e90309088908790869081106108b6576108b6612ee5565b60209081029190910101516040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401600060405180830381600087803b15801561091057600080fd5b505af1158015610924573d6000803e3d6000fd5b50505050808061093390612f11565b91505061086b565b50505b610b30565b868151101561098b5760405162461bcd60e51b8152602060048201526014602482015273125b9d985b1a59081d1bdad95b88185b5bdd5b9d60621b604482015260640161062f565b805115610b305760008782516109a19190612f2a565b67ffffffffffffffff8111156109b9576109b9612f41565b6040519080825280602002602001820160405280156109e2578160200160208202803683370190505b509050875b8251811015610a4457828181518110610a0257610a02612ee5565b6020026020010151828a83610a179190612f2a565b81518110610a2757610a27612ee5565b602090810291909101015280610a3c81612f11565b9150506109e7565b508051610a5a9060058701906020840190612b58565b5060005b88811015610b2d578554610a7a90670de0b6b3a7640000611eea565b8655865483516001600160a01b03909116906342842e0e9030908890879086908110610aa857610aa8612ee5565b60209081029190910101516040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401600060405180830381600087803b158015610b0257600080fd5b505af1158015610b16573d6000803e3d6000fd5b505050508080610b2590612f11565b915050610a5e565b50505b50610bb1565b8254861115610b875760405162461bcd60e51b815260206004820152601260248201527f77697468647261773a206e6f7420676f6f640000000000000000000000000000604482015260640161062f565b8515610bb1578254610b999087611eea565b83558354610bb1906001600160a01b03168388612024565b60038401548354610bcf91670de0b6b3a7640000916107b791611ed2565b6001840155604051868152879033907ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689060200160405180910390a350505050610c1860018055565b505050565b6000828152600a602090815260408083206001600160a01b0385168452825291829020600501805483518184028101840190945280845260609392830182828015610c8757602002820191906000526020600020905b815481526020019060010190808311610c73575b505050505090505b92915050565b610c9d611e79565b610ca883838361209c565b610c1860018055565b600060098281548110610cc657610cc6612ee5565b9060005260206000209060050201905080600201544311610ce5575050565b600481015460009062010000900460ff16610d6a5781546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015610d41573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d659190612f57565b610dd5565b81546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015610db1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dd59190612f57565b9050801580610de657506001820154155b15610df657504360029091015550565b6000610e068360020154436111bc565b90506000610e27600b546107b7866001015485611ed290919063ffffffff16565b9050610e3381836125a3565b600484015460009062010000900460ff16610e4e5783610e60565b610e6084670de0b6b3a7640000611ed2565b9050610e86610e7b826107b785670de0b6b3a7640000611ed2565b600387015490612798565b6003860155505043600290930192909255505050565b610ea4611e79565b600060098281548110610eb957610eb9612ee5565b60009182526020808320858452600a8252604080852033808752935284208054858255600182019590955560059390930201600481015490945091929162010000900460ff161561103857600083600501805480602002602001604051908101604052809291908181526020018280548015610f5457602002820191906000526020600020905b815481526020019060010190808311610f40575b50506060805194955093610f72935060058901925060809150612b58565b5060005b825181101561103057865483516001600160a01b03909116906342842e0e9030908790879086908110610fab57610fab612ee5565b60209081029190910101516040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401600060405180830381600087803b15801561100557600080fd5b505af1158015611019573d6000803e3d6000fd5b50505050808061102890612f11565b915050610f76565b50505061104e565b835461104e906001600160a01b03168284612024565b604051828152859033907fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959060200160405180910390a35050505061109260018055565b50565b60095460005b818110156110bc576110ac81610cb1565b6110b581612f11565b905061109b565b5050565b6110c8611e1f565b6001600160a01b03811661111e5760405162461bcd60e51b815260206004820152600f60248201527f496e76616c696420416464726573730000000000000000000000000000000000604482015260640161062f565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b611148611e1f565b61115260006127a4565b565b6005546001600160a01b0316331461119a5760405162461bcd60e51b81526020600482015260096024820152686465763a207775743f60b81b604482015260640161062f565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b60008183106111cd57506000610c8f565b600c5482116111de57506000610c8f565b600c54831161120f57611208600854611202600c5485611eea90919063ffffffff16565b90611ed2565b9050610c8f565b600854611220906112028486611eea565b9392505050565b61122f611e79565b600033905060006009858154811061124957611249612ee5565b60009182526020808320888452600a825260408085206001600160a01b038916865290925292206005909102909101915061128386610cb1565b8054156112cf5760006112bb82600101546107bd670de0b6b3a76400006107b787600301548760000154611ed290919063ffffffff16565b905080156112cd576112cd8582611ef6565b505b84156114f557600482015462010000900460ff161561143d5781546040516331a9108f60e11b8152600481018790526001600160a01b03858116921690636352211e90602401602060405180830381865afa158015611332573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113569190612f70565b6001600160a01b03161461139c5760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b21037bbb732b960991b604482015260640161062f565b8154604051632142170760e11b81526001600160a01b03858116600483015230602483015260448201889052909116906342842e0e90606401600060405180830381600087803b1580156113ef57600080fd5b505af1158015611403573d6000803e3d6000fd5b5050825461141c92509050670de0b6b3a7640000612798565b815560058101805460018101825560009182526020909120018590556114f5565b8154611454906001600160a01b03168430886127f4565b600482015461ffff16156114e657600482015460009061148190612710906107b790899061ffff16611ed2565b6007549091506114b1906001600160a01b031661149f836002611ede565b85546001600160a01b03169190612024565b6005546114cc906001600160a01b031661149f836002611ede565b81546114de9082906107bd9089612798565b8255506114f5565b80546114f29086612798565b81555b6003820154815461151391670de0b6b3a7640000916107b791611ed2565b6001820155604051858152869033907f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159060200160405180910390a3505050610c1860018055565b611563611e79565b60006009828154811061157857611578612ee5565b60009182526020808320858452600a825260408085203386529092529083206005909202019250906115a984610cb1565b8154156118565760006115e183600101546107bd670de0b6b3a76400006107b788600301548860000154611ed290919063ffffffff16565b6002546040516370a0823160e01b81523060048201529192506000916001600160a01b03909116906370a0823190602401602060405180830381865afa15801561162f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116539190612f57565b84549091501561178957811561178957808211156116fc5760048054600354875460405163727b598960e11b81526001600160a01b03928316948101949094526024840185905281166044840152306064840152169063e4f6b312906084016020604051808303816000875af11580156116d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116f59190612f57565b9250611789565b60048054600354875460405163727b598960e11b81526001600160a01b03928316948101949094526024840186905281166044840152306064840152169063e4f6b312906084016020604051808303816000875af1158015611762573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117869190612f57565b92505b821561183057600485015461ffff16156118215760048501546000906117bc90612710906107b790879061ffff16611ed2565b6007549091506117ec906001600160a01b03166117da836002611ede565b88546001600160a01b03169190612024565b600554611807906001600160a01b03166117da836002611ede565b84546118199082906107bd9087612798565b855550611830565b835461182d9084612798565b84555b6003850154845461184e91670de0b6b3a7640000916107b791611ed2565b600185015550505b50505061109260018055565b61186a611e79565b60005b818110156118ab5761189983838381811061188a5761188a612ee5565b9050602002013560008061209c565b806118a381612f11565b91505061186d565b506110bc60018055565b6118bd611e1f565b6103e88361ffff1611156119215760405162461bcd60e51b815260206004820152602560248201527f6164643a20696e76616c6964206465706f7369742066656520626173697320706044820152646f696e747360d81b606482015260840161062f565b811561192f5761192f611095565b6000600c54431161194257600c54611944565b435b9050816119575761195785600d5461282c565b6040805160c0810182526001600160a01b0396871681526020810197885290810191825260006060820181815261ffff9687166080840190815294151560a08401908152600980546001810182559352925160059092027f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af81018054939099166001600160a01b03199093169290921790975596517f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7b088015590517f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7b187015593517f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7b2860155517f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7b3909401805493511515620100000262ffffff19909416949092169390931791909117905550565b60008060098481548110611abb57611abb612ee5565b60009182526020808320878452600a825260408085206001600160a01b0389168652909252908320600592909202016003810154600482015491945091929062010000900460ff16611b775783546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015611b4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b729190612f57565b611be2565b83546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015611bbe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611be29190612f57565b9050836002015443118015611bf657508015155b15611c84576000611c0b8560020154436111bc565b90506000611c2c600b546107b7886001015485611ed290919063ffffffff16565b600487015490915060009062010000900460ff16611c4a5783611c5c565b611c5c84670de0b6b3a7640000611ed2565b9050611c7e611c77826107b785670de0b6b3a7640000611ed2565b8690612798565b94505050505b82546001840154611ca5906107bd670de0b6b3a76400006107b78588611ed2565b98975050505050505050565b6005546001600160a01b03163314611d0b5760405162461bcd60e51b815260206004820152600e60248201527f74726561737572793a207775743f000000000000000000000000000000000000604482015260640161062f565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b611d35611e1f565b6001600160a01b038116611d9a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161062f565b611092816127a4565b6007546001600160a01b03163314611dfd5760405162461bcd60e51b815260206004820152601860248201527f6d61726b6574416464726573733a20464f5242494444454e0000000000000000604482015260640161062f565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146111525760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161062f565b600260015403611ecb5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161062f565b6002600155565b60006112208284612f8d565b60006112208284612fac565b60006112208284612f2a565b6002546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015611f3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f639190612f57565b905080821115611feb5760025460405163a9059cbb60e01b81526001600160a01b038581166004830152602482018490529091169063a9059cbb906044015b6020604051808303816000875af1158015611fc1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fe59190612fce565b50505050565b60025460405163a9059cbb60e01b81526001600160a01b038581166004830152602482018590529091169063a9059cbb90604401611fa2565b6040516001600160a01b038316602482015260448101829052610c1890849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff166001600160e01b031990931692909217909152612846565b600954839081106120ef5760405162461bcd60e51b815260206004820152601360248201527f506f6f6c20646f6573206e6f7420657869737400000000000000000000000000604482015260640161062f565b60006009858154811061210457612104612ee5565b60009182526020808320888452600a8252604080852033865290925292206005909102909101915061213586610cb1565b805433901561218357600061216f83600101546107bd670de0b6b3a76400006107b788600301548860000154611ed290919063ffffffff16565b90508015612181576121813382611ef6565b505b851561254057600483015462010000900460ff161561248857825460405162438b6360e81b81526001600160a01b038381166004830152600092169063438b630090602401600060405180830381865afa1580156121e5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261220d9190810190612feb565b9050851561232e578051156123295760005b815181101561232757845482516001600160a01b03909116906342842e0e908590309086908690811061225457612254612ee5565b60209081029190910101516040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401600060405180830381600087803b1580156122ae57600080fd5b505af11580156122c2573d6000803e3d6000fd5b505085546122db92509050670de0b6b3a7640000612798565b8455815160058501908390839081106122f6576122f6612ee5565b602090810291909101810151825460018101845560009384529190922001558061231f81612f11565b91505061221f565b505b612482565b86815110156123765760405162461bcd60e51b8152602060048201526014602482015273125b9d985b1a59081d1bdad95b88185b5bdd5b9d60621b604482015260640161062f565b8051156124825760005b8781101561248057845482516001600160a01b03909116906342842e0e90859030908690869081106123b4576123b4612ee5565b60209081029190910101516040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401600060405180830381600087803b15801561240e57600080fd5b505af1158015612422573d6000803e3d6000fd5b50508554612434925090506001612798565b84558151600585019083908390811061244f5761244f612ee5565b602090810291909101810151825460018101845560009384529190922001558061247881612f11565b915050612380565b505b50612540565b825461249f906001600160a01b03168230896127f4565b600483015461ffff16156125315760048301546000906124cc90612710906107b7908a9061ffff16611ed2565b6007549091506124fc906001600160a01b03166124ea836002611ede565b86546001600160a01b03169190612024565b600554612517906001600160a01b03166124ea836002611ede565b82546125299082906107bd908a612798565b835550612540565b815461253d9087612798565b82555b6003830154825461255e91670de0b6b3a7640000916107b791611ed2565b6001830155604051868152879033907f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159060200160405180910390a350505050505050565b6002546005546001600160a01b03918216916340c10f1991166125c7846064611ede565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561260d57600080fd5b505af1158015612621573d6000803e3d6000fd5b50506002546007546001600160a01b0391821693506340c10f19925016612649846064611ede565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561268f57600080fd5b505af11580156126a3573d6000803e3d6000fd5b50506002546006546001600160a01b0391821693506340c10f199250166126d26127106107b78661012c611ed2565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561271857600080fd5b505af115801561272c573d6000803e3d6000fd5b50506002546040516340c10f1960e01b8152306004820152602481018690526001600160a01b0390911692506340c10f199150604401600060405180830381600087803b15801561277c57600080fd5b505af1158015612790573d6000803e3d6000fd5b505050505050565b6000611220828461309d565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040516001600160a01b0380851660248301528316604482015260648101829052611fe59085906323b872dd60e01b90608401612050565b6004546110bc906001600160a01b0384811691168361291b565b600061289b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166129c89092919063ffffffff16565b90508051600014806128bc5750808060200190518101906128bc9190612fce565b610c185760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161062f565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526000919085169063dd62ed3e90604401602060405180830381865afa15801561296b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061298f9190612f57565b9050611fe58463095ea7b360e01b856129a8868661309d565b6040516001600160a01b0390921660248301526044820152606401612050565b60606129d784846000856129df565b949350505050565b606082471015612a405760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161062f565b600080866001600160a01b03168587604051612a5c91906130e1565b60006040518083038185875af1925050503d8060008114612a99576040519150601f19603f3d011682016040523d82523d6000602084013e612a9e565b606091505b5091509150612aaf87838387612aba565b979650505050505050565b60608315612b29578251600003612b22576001600160a01b0385163b612b225760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161062f565b50816129d7565b6129d78383815115612b3e5781518083602001fd5b8060405162461bcd60e51b815260040161062f91906130fd565b828054828255906000526020600020908101928215612b93579160200282015b82811115612b93578251825591602001919060010190612b78565b50612b9f929150612ba3565b5090565b5b80821115612b9f5760008155600101612ba4565b600060208284031215612bca57600080fd5b5035919050565b6001600160a01b038116811461109257600080fd5b600080600080600060808688031215612bfe57600080fd5b8535612c0981612bd1565b94506020860135612c1981612bd1565b935060408601359250606086013567ffffffffffffffff80821115612c3d57600080fd5b818801915088601f830112612c5157600080fd5b813581811115612c6057600080fd5b896020828501011115612c7257600080fd5b9699959850939650602001949392505050565b803561ffff81168114612c9757600080fd5b919050565b801515811461109257600080fd5b600080600080600060a08688031215612cc257600080fd5b8535945060208601359350612cd960408701612c85565b9250606086013591506080860135612cf081612c9c565b809150509295509295909350565b600080600060608486031215612d1357600080fd5b83359250602084013591506040840135612d2c81612c9c565b809150509250925092565b60008060408385031215612d4a57600080fd5b823591506020830135612d5c81612bd1565b809150509250929050565b6020808252825182820181905260009190848201906040850190845b81811015612d9f57835183529284019291840191600101612d83565b50909695505050505050565b600060208284031215612dbd57600080fd5b813561122081612bd1565b60008060408385031215612ddb57600080fd5b50508035926020909101359150565b600080600060608486031215612dff57600080fd5b83359250602084013591506040840135612d2c81612bd1565b60008060208385031215612e2b57600080fd5b823567ffffffffffffffff80821115612e4357600080fd5b818501915085601f830112612e5757600080fd5b813581811115612e6657600080fd5b8660208260051b8501011115612e7b57600080fd5b60209290920196919550909350505050565b600080600080600060a08688031215612ea557600080fd5b853594506020860135612eb781612bd1565b9350612ec560408701612c85565b92506060860135612ed581612c9c565b91506080860135612cf081612c9c565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201612f2357612f23612efb565b5060010190565b600082821015612f3c57612f3c612efb565b500390565b634e487b7160e01b600052604160045260246000fd5b600060208284031215612f6957600080fd5b5051919050565b600060208284031215612f8257600080fd5b815161122081612bd1565b6000816000190483118215151615612fa757612fa7612efb565b500290565b600082612fc957634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215612fe057600080fd5b815161122081612c9c565b60006020808385031215612ffe57600080fd5b825167ffffffffffffffff8082111561301657600080fd5b818501915085601f83011261302a57600080fd5b81518181111561303c5761303c612f41565b8060051b604051601f19603f8301168101818110858211171561306157613061612f41565b60405291825284820192508381018501918883111561307f57600080fd5b938501935b82851015611ca557845184529385019392850192613084565b600082198211156130b0576130b0612efb565b500190565b60005b838110156130d05781810151838201526020016130b8565b83811115611fe55750506000910152565b600082516130f38184602087016130b5565b9190910192915050565b602081526000825180602084015261311c8160408501602087016130b5565b601f01601f1916919091016040019291505056fea2646970667358221220b0670d57b8e90cca0347b9ee32981cdb3cbdaccc71f6c2425649fe190e2ec47e64736f6c634300080f00330000000000000000000000001f5565f004d064381e19c4e0bc2aa9bd487ef2ed0000000000000000000000009c432f150cd94ff73f988064c7e7abdbd338838d0000000000000000000000009c43b089b2cc3a378497eaed4e09a42889bf98a7000000000000000000000000f5f3b513b77182d83010dbe49c90ebdff60e996400000000000000000000000050322221125de671c4b27d0b8df63d80957d0fcd0000000000000000000000000000000000000000000000000000000001514a1b
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102115760003560e01c80638aa2855011610125578063c5f956af116100ad578063dd62ab301161007c578063dd62ab30146104f9578063f0f442601461050c578063f2fde38b1461051f578063fae9261214610532578063fca902a11461054557600080fd5b8063c5f956af146104ad578063d49e77cd146104c0578063dc640ac9146104d3578063dc9464b9146104e657600080fd5b806390210d7e116100f457806390210d7e146103fb57806393f1a40b1461040e578063956236411461047e578063a3b7f12e14610491578063aa5f7e261461049a57600080fd5b80638aa28550146103bc5780638d88a90e146103c45780638da5cb5b146103d75780638dbb1e3a146103e857600080fd5b806343a0d066116101a857806354fd0ba71161017757806354fd0ba71461035b57806355d6521d14610386578063630b5ba1146103995780636809fedd146103a1578063715018a6146103b457600080fd5b806343a0d0661461031957806348cd4cb11461032c57806351eb05a6146103355780635312ea8e1461034857600080fd5b806317caf6f1116101e457806317caf6f1146102ca5780632143e545146102d357806333cfcd3b146102e6578063425b0809146102f957600080fd5b8063081e3eda146102165780630ba84cd21461022d578063150b7a02146102425780631526fe271461027a575b600080fd5b6009545b6040519081526020015b60405180910390f35b61024061023b366004612bb8565b610558565b005b610261610250366004612be6565b630a85bd0160e11b95945050505050565b6040516001600160e01b03199091168152602001610224565b61028d610288366004612bb8565b61056d565b604080516001600160a01b039097168752602087019590955293850192909252606084015261ffff166080830152151560a082015260c001610224565b61021a600b5481565b6102406102e1366004612caa565b6105c7565b6102406102f4366004612cfe565b61073d565b61030c610307366004612d37565b610c1d565b6040516102249190612d67565b610240610327366004612cfe565b610c95565b61021a600c5481565b610240610343366004612bb8565b610cb1565b610240610356366004612bb8565b610e9c565b60045461036e906001600160a01b031681565b6040516001600160a01b039091168152602001610224565b60035461036e906001600160a01b031681565b610240611095565b6102406103af366004612dab565b6110c0565b610240611140565b61021a600181565b6102406103d2366004612dab565b611154565b6000546001600160a01b031661036e565b61021a6103f6366004612dc8565b6111bc565b610240610409366004612dea565b611227565b61045661041c366004612d37565b600a602090815260009283526040808420909152908252902080546001820154600283015460038401546004909401549293919290919085565b604080519586526020860194909452928401919091526060830152608082015260a001610224565b60075461036e906001600160a01b031681565b61021a60085481565b6102406104a8366004612bb8565b61155b565b60065461036e906001600160a01b031681565b60055461036e906001600160a01b031681565b6102406104e1366004612e18565b611862565b6102406104f4366004612e8d565b6118b5565b61021a610507366004612d37565b611aa5565b61024061051a366004612dab565b611cb1565b61024061052d366004612dab565b611d2d565b610240610540366004612dab565b611da3565b60025461036e906001600160a01b031681565b610560611e1f565b610568611095565b600855565b6009818154811061057d57600080fd5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b0390931694509092909161ffff81169062010000900460ff1686565b6105cf611e1f565b6103e88361ffff1611156106385760405162461bcd60e51b815260206004820152602560248201527f7365743a20696e76616c6964206465706f7369742066656520626173697320706044820152646f696e747360d81b60648201526084015b60405180910390fd5b61271084106106975760405162461bcd60e51b815260206004820152602560248201527f7365743a20696e76616c696420616c6c6f6320706f696e7420626173697320706044820152646f696e747360d81b606482015260840161062f565b80156106a5576106a5611095565b83600986815481106106b9576106b9612ee5565b90600052602060002090600502016001018190555082600986815481106106e2576106e2612ee5565b906000526020600020906005020160040160006101000a81548161ffff021916908361ffff160217905550816009868154811061072157610721612ee5565b9060005260206000209060050201600201819055505050505050565b610745611e79565b60006009848154811061075a5761075a612ee5565b60009182526020808320878452600a8252604080852033865290925292206005909102909101915061078b85610cb1565b60018101546003830154825433926000926107c3926107bd91670de0b6b3a7640000916107b791611ed2565b90611ede565b90611eea565b905080156107d5576107d53382611ef6565b8515610bb157600484015462010000900460ff1615610b365760008360050180548060200260200160405190810160405280929190818152602001828054801561083e57602002820191906000526020600020905b81548152602001906001019080831161082a575b5050505050905085156109435780511561093e5760608051610867906005870190608090612b58565b5060005b825181101561093b57855461088890670de0b6b3a7640000611eea565b8655865483516001600160a01b03909116906342842e0e90309088908790869081106108b6576108b6612ee5565b60209081029190910101516040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401600060405180830381600087803b15801561091057600080fd5b505af1158015610924573d6000803e3d6000fd5b50505050808061093390612f11565b91505061086b565b50505b610b30565b868151101561098b5760405162461bcd60e51b8152602060048201526014602482015273125b9d985b1a59081d1bdad95b88185b5bdd5b9d60621b604482015260640161062f565b805115610b305760008782516109a19190612f2a565b67ffffffffffffffff8111156109b9576109b9612f41565b6040519080825280602002602001820160405280156109e2578160200160208202803683370190505b509050875b8251811015610a4457828181518110610a0257610a02612ee5565b6020026020010151828a83610a179190612f2a565b81518110610a2757610a27612ee5565b602090810291909101015280610a3c81612f11565b9150506109e7565b508051610a5a9060058701906020840190612b58565b5060005b88811015610b2d578554610a7a90670de0b6b3a7640000611eea565b8655865483516001600160a01b03909116906342842e0e9030908890879086908110610aa857610aa8612ee5565b60209081029190910101516040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401600060405180830381600087803b158015610b0257600080fd5b505af1158015610b16573d6000803e3d6000fd5b505050508080610b2590612f11565b915050610a5e565b50505b50610bb1565b8254861115610b875760405162461bcd60e51b815260206004820152601260248201527f77697468647261773a206e6f7420676f6f640000000000000000000000000000604482015260640161062f565b8515610bb1578254610b999087611eea565b83558354610bb1906001600160a01b03168388612024565b60038401548354610bcf91670de0b6b3a7640000916107b791611ed2565b6001840155604051868152879033907ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689060200160405180910390a350505050610c1860018055565b505050565b6000828152600a602090815260408083206001600160a01b0385168452825291829020600501805483518184028101840190945280845260609392830182828015610c8757602002820191906000526020600020905b815481526020019060010190808311610c73575b505050505090505b92915050565b610c9d611e79565b610ca883838361209c565b610c1860018055565b600060098281548110610cc657610cc6612ee5565b9060005260206000209060050201905080600201544311610ce5575050565b600481015460009062010000900460ff16610d6a5781546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015610d41573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d659190612f57565b610dd5565b81546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015610db1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dd59190612f57565b9050801580610de657506001820154155b15610df657504360029091015550565b6000610e068360020154436111bc565b90506000610e27600b546107b7866001015485611ed290919063ffffffff16565b9050610e3381836125a3565b600484015460009062010000900460ff16610e4e5783610e60565b610e6084670de0b6b3a7640000611ed2565b9050610e86610e7b826107b785670de0b6b3a7640000611ed2565b600387015490612798565b6003860155505043600290930192909255505050565b610ea4611e79565b600060098281548110610eb957610eb9612ee5565b60009182526020808320858452600a8252604080852033808752935284208054858255600182019590955560059390930201600481015490945091929162010000900460ff161561103857600083600501805480602002602001604051908101604052809291908181526020018280548015610f5457602002820191906000526020600020905b815481526020019060010190808311610f40575b50506060805194955093610f72935060058901925060809150612b58565b5060005b825181101561103057865483516001600160a01b03909116906342842e0e9030908790879086908110610fab57610fab612ee5565b60209081029190910101516040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401600060405180830381600087803b15801561100557600080fd5b505af1158015611019573d6000803e3d6000fd5b50505050808061102890612f11565b915050610f76565b50505061104e565b835461104e906001600160a01b03168284612024565b604051828152859033907fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959060200160405180910390a35050505061109260018055565b50565b60095460005b818110156110bc576110ac81610cb1565b6110b581612f11565b905061109b565b5050565b6110c8611e1f565b6001600160a01b03811661111e5760405162461bcd60e51b815260206004820152600f60248201527f496e76616c696420416464726573730000000000000000000000000000000000604482015260640161062f565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b611148611e1f565b61115260006127a4565b565b6005546001600160a01b0316331461119a5760405162461bcd60e51b81526020600482015260096024820152686465763a207775743f60b81b604482015260640161062f565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b60008183106111cd57506000610c8f565b600c5482116111de57506000610c8f565b600c54831161120f57611208600854611202600c5485611eea90919063ffffffff16565b90611ed2565b9050610c8f565b600854611220906112028486611eea565b9392505050565b61122f611e79565b600033905060006009858154811061124957611249612ee5565b60009182526020808320888452600a825260408085206001600160a01b038916865290925292206005909102909101915061128386610cb1565b8054156112cf5760006112bb82600101546107bd670de0b6b3a76400006107b787600301548760000154611ed290919063ffffffff16565b905080156112cd576112cd8582611ef6565b505b84156114f557600482015462010000900460ff161561143d5781546040516331a9108f60e11b8152600481018790526001600160a01b03858116921690636352211e90602401602060405180830381865afa158015611332573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113569190612f70565b6001600160a01b03161461139c5760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b21037bbb732b960991b604482015260640161062f565b8154604051632142170760e11b81526001600160a01b03858116600483015230602483015260448201889052909116906342842e0e90606401600060405180830381600087803b1580156113ef57600080fd5b505af1158015611403573d6000803e3d6000fd5b5050825461141c92509050670de0b6b3a7640000612798565b815560058101805460018101825560009182526020909120018590556114f5565b8154611454906001600160a01b03168430886127f4565b600482015461ffff16156114e657600482015460009061148190612710906107b790899061ffff16611ed2565b6007549091506114b1906001600160a01b031661149f836002611ede565b85546001600160a01b03169190612024565b6005546114cc906001600160a01b031661149f836002611ede565b81546114de9082906107bd9089612798565b8255506114f5565b80546114f29086612798565b81555b6003820154815461151391670de0b6b3a7640000916107b791611ed2565b6001820155604051858152869033907f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159060200160405180910390a3505050610c1860018055565b611563611e79565b60006009828154811061157857611578612ee5565b60009182526020808320858452600a825260408085203386529092529083206005909202019250906115a984610cb1565b8154156118565760006115e183600101546107bd670de0b6b3a76400006107b788600301548860000154611ed290919063ffffffff16565b6002546040516370a0823160e01b81523060048201529192506000916001600160a01b03909116906370a0823190602401602060405180830381865afa15801561162f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116539190612f57565b84549091501561178957811561178957808211156116fc5760048054600354875460405163727b598960e11b81526001600160a01b03928316948101949094526024840185905281166044840152306064840152169063e4f6b312906084016020604051808303816000875af11580156116d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116f59190612f57565b9250611789565b60048054600354875460405163727b598960e11b81526001600160a01b03928316948101949094526024840186905281166044840152306064840152169063e4f6b312906084016020604051808303816000875af1158015611762573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117869190612f57565b92505b821561183057600485015461ffff16156118215760048501546000906117bc90612710906107b790879061ffff16611ed2565b6007549091506117ec906001600160a01b03166117da836002611ede565b88546001600160a01b03169190612024565b600554611807906001600160a01b03166117da836002611ede565b84546118199082906107bd9087612798565b855550611830565b835461182d9084612798565b84555b6003850154845461184e91670de0b6b3a7640000916107b791611ed2565b600185015550505b50505061109260018055565b61186a611e79565b60005b818110156118ab5761189983838381811061188a5761188a612ee5565b9050602002013560008061209c565b806118a381612f11565b91505061186d565b506110bc60018055565b6118bd611e1f565b6103e88361ffff1611156119215760405162461bcd60e51b815260206004820152602560248201527f6164643a20696e76616c6964206465706f7369742066656520626173697320706044820152646f696e747360d81b606482015260840161062f565b811561192f5761192f611095565b6000600c54431161194257600c54611944565b435b9050816119575761195785600d5461282c565b6040805160c0810182526001600160a01b0396871681526020810197885290810191825260006060820181815261ffff9687166080840190815294151560a08401908152600980546001810182559352925160059092027f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af81018054939099166001600160a01b03199093169290921790975596517f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7b088015590517f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7b187015593517f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7b2860155517f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7b3909401805493511515620100000262ffffff19909416949092169390931791909117905550565b60008060098481548110611abb57611abb612ee5565b60009182526020808320878452600a825260408085206001600160a01b0389168652909252908320600592909202016003810154600482015491945091929062010000900460ff16611b775783546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015611b4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b729190612f57565b611be2565b83546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015611bbe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611be29190612f57565b9050836002015443118015611bf657508015155b15611c84576000611c0b8560020154436111bc565b90506000611c2c600b546107b7886001015485611ed290919063ffffffff16565b600487015490915060009062010000900460ff16611c4a5783611c5c565b611c5c84670de0b6b3a7640000611ed2565b9050611c7e611c77826107b785670de0b6b3a7640000611ed2565b8690612798565b94505050505b82546001840154611ca5906107bd670de0b6b3a76400006107b78588611ed2565b98975050505050505050565b6005546001600160a01b03163314611d0b5760405162461bcd60e51b815260206004820152600e60248201527f74726561737572793a207775743f000000000000000000000000000000000000604482015260640161062f565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b611d35611e1f565b6001600160a01b038116611d9a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161062f565b611092816127a4565b6007546001600160a01b03163314611dfd5760405162461bcd60e51b815260206004820152601860248201527f6d61726b6574416464726573733a20464f5242494444454e0000000000000000604482015260640161062f565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146111525760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161062f565b600260015403611ecb5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161062f565b6002600155565b60006112208284612f8d565b60006112208284612fac565b60006112208284612f2a565b6002546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015611f3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f639190612f57565b905080821115611feb5760025460405163a9059cbb60e01b81526001600160a01b038581166004830152602482018490529091169063a9059cbb906044015b6020604051808303816000875af1158015611fc1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fe59190612fce565b50505050565b60025460405163a9059cbb60e01b81526001600160a01b038581166004830152602482018590529091169063a9059cbb90604401611fa2565b6040516001600160a01b038316602482015260448101829052610c1890849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff166001600160e01b031990931692909217909152612846565b600954839081106120ef5760405162461bcd60e51b815260206004820152601360248201527f506f6f6c20646f6573206e6f7420657869737400000000000000000000000000604482015260640161062f565b60006009858154811061210457612104612ee5565b60009182526020808320888452600a8252604080852033865290925292206005909102909101915061213586610cb1565b805433901561218357600061216f83600101546107bd670de0b6b3a76400006107b788600301548860000154611ed290919063ffffffff16565b90508015612181576121813382611ef6565b505b851561254057600483015462010000900460ff161561248857825460405162438b6360e81b81526001600160a01b038381166004830152600092169063438b630090602401600060405180830381865afa1580156121e5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261220d9190810190612feb565b9050851561232e578051156123295760005b815181101561232757845482516001600160a01b03909116906342842e0e908590309086908690811061225457612254612ee5565b60209081029190910101516040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401600060405180830381600087803b1580156122ae57600080fd5b505af11580156122c2573d6000803e3d6000fd5b505085546122db92509050670de0b6b3a7640000612798565b8455815160058501908390839081106122f6576122f6612ee5565b602090810291909101810151825460018101845560009384529190922001558061231f81612f11565b91505061221f565b505b612482565b86815110156123765760405162461bcd60e51b8152602060048201526014602482015273125b9d985b1a59081d1bdad95b88185b5bdd5b9d60621b604482015260640161062f565b8051156124825760005b8781101561248057845482516001600160a01b03909116906342842e0e90859030908690869081106123b4576123b4612ee5565b60209081029190910101516040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401600060405180830381600087803b15801561240e57600080fd5b505af1158015612422573d6000803e3d6000fd5b50508554612434925090506001612798565b84558151600585019083908390811061244f5761244f612ee5565b602090810291909101810151825460018101845560009384529190922001558061247881612f11565b915050612380565b505b50612540565b825461249f906001600160a01b03168230896127f4565b600483015461ffff16156125315760048301546000906124cc90612710906107b7908a9061ffff16611ed2565b6007549091506124fc906001600160a01b03166124ea836002611ede565b86546001600160a01b03169190612024565b600554612517906001600160a01b03166124ea836002611ede565b82546125299082906107bd908a612798565b835550612540565b815461253d9087612798565b82555b6003830154825461255e91670de0b6b3a7640000916107b791611ed2565b6001830155604051868152879033907f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159060200160405180910390a350505050505050565b6002546005546001600160a01b03918216916340c10f1991166125c7846064611ede565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561260d57600080fd5b505af1158015612621573d6000803e3d6000fd5b50506002546007546001600160a01b0391821693506340c10f19925016612649846064611ede565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561268f57600080fd5b505af11580156126a3573d6000803e3d6000fd5b50506002546006546001600160a01b0391821693506340c10f199250166126d26127106107b78661012c611ed2565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561271857600080fd5b505af115801561272c573d6000803e3d6000fd5b50506002546040516340c10f1960e01b8152306004820152602481018690526001600160a01b0390911692506340c10f199150604401600060405180830381600087803b15801561277c57600080fd5b505af1158015612790573d6000803e3d6000fd5b505050505050565b6000611220828461309d565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040516001600160a01b0380851660248301528316604482015260648101829052611fe59085906323b872dd60e01b90608401612050565b6004546110bc906001600160a01b0384811691168361291b565b600061289b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166129c89092919063ffffffff16565b90508051600014806128bc5750808060200190518101906128bc9190612fce565b610c185760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161062f565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526000919085169063dd62ed3e90604401602060405180830381865afa15801561296b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061298f9190612f57565b9050611fe58463095ea7b360e01b856129a8868661309d565b6040516001600160a01b0390921660248301526044820152606401612050565b60606129d784846000856129df565b949350505050565b606082471015612a405760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161062f565b600080866001600160a01b03168587604051612a5c91906130e1565b60006040518083038185875af1925050503d8060008114612a99576040519150601f19603f3d011682016040523d82523d6000602084013e612a9e565b606091505b5091509150612aaf87838387612aba565b979650505050505050565b60608315612b29578251600003612b22576001600160a01b0385163b612b225760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161062f565b50816129d7565b6129d78383815115612b3e5781518083602001fd5b8060405162461bcd60e51b815260040161062f91906130fd565b828054828255906000526020600020908101928215612b93579160200282015b82811115612b93578251825591602001919060010190612b78565b50612b9f929150612ba3565b5090565b5b80821115612b9f5760008155600101612ba4565b600060208284031215612bca57600080fd5b5035919050565b6001600160a01b038116811461109257600080fd5b600080600080600060808688031215612bfe57600080fd5b8535612c0981612bd1565b94506020860135612c1981612bd1565b935060408601359250606086013567ffffffffffffffff80821115612c3d57600080fd5b818801915088601f830112612c5157600080fd5b813581811115612c6057600080fd5b896020828501011115612c7257600080fd5b9699959850939650602001949392505050565b803561ffff81168114612c9757600080fd5b919050565b801515811461109257600080fd5b600080600080600060a08688031215612cc257600080fd5b8535945060208601359350612cd960408701612c85565b9250606086013591506080860135612cf081612c9c565b809150509295509295909350565b600080600060608486031215612d1357600080fd5b83359250602084013591506040840135612d2c81612c9c565b809150509250925092565b60008060408385031215612d4a57600080fd5b823591506020830135612d5c81612bd1565b809150509250929050565b6020808252825182820181905260009190848201906040850190845b81811015612d9f57835183529284019291840191600101612d83565b50909695505050505050565b600060208284031215612dbd57600080fd5b813561122081612bd1565b60008060408385031215612ddb57600080fd5b50508035926020909101359150565b600080600060608486031215612dff57600080fd5b83359250602084013591506040840135612d2c81612bd1565b60008060208385031215612e2b57600080fd5b823567ffffffffffffffff80821115612e4357600080fd5b818501915085601f830112612e5757600080fd5b813581811115612e6657600080fd5b8660208260051b8501011115612e7b57600080fd5b60209290920196919550909350505050565b600080600080600060a08688031215612ea557600080fd5b853594506020860135612eb781612bd1565b9350612ec560408701612c85565b92506060860135612ed581612c9c565b91506080860135612cf081612c9c565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201612f2357612f23612efb565b5060010190565b600082821015612f3c57612f3c612efb565b500390565b634e487b7160e01b600052604160045260246000fd5b600060208284031215612f6957600080fd5b5051919050565b600060208284031215612f8257600080fd5b815161122081612bd1565b6000816000190483118215151615612fa757612fa7612efb565b500290565b600082612fc957634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215612fe057600080fd5b815161122081612c9c565b60006020808385031215612ffe57600080fd5b825167ffffffffffffffff8082111561301657600080fd5b818501915085601f83011261302a57600080fd5b81518181111561303c5761303c612f41565b8060051b604051601f19603f8301168101818110858211171561306157613061612f41565b60405291825284820192508381018501918883111561307f57600080fd5b938501935b82851015611ca557845184529385019392850192613084565b600082198211156130b0576130b0612efb565b500190565b60005b838110156130d05781810151838201526020016130b8565b83811115611fe55750506000910152565b600082516130f38184602087016130b5565b9190910192915050565b602081526000825180602084015261311c8160408501602087016130b5565b601f01601f1916919091016040019291505056fea2646970667358221220b0670d57b8e90cca0347b9ee32981cdb3cbdaccc71f6c2425649fe190e2ec47e64736f6c634300080f0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000001f5565f004d064381e19c4e0bc2aa9bd487ef2ed0000000000000000000000009c432f150cd94ff73f988064c7e7abdbd338838d0000000000000000000000009c43b089b2cc3a378497eaed4e09a42889bf98a7000000000000000000000000f5f3b513b77182d83010dbe49c90ebdff60e996400000000000000000000000050322221125de671c4b27d0b8df63d80957d0fcd0000000000000000000000000000000000000000000000000000000001514a1b
-----Decoded View---------------
Arg [0] : _SNOW (address): 0x1F5565F004D064381e19C4e0BC2aa9bD487ef2eD
Arg [1] : _devaddr (address): 0x9c432f150cd94ff73F988064C7E7abdBd338838d
Arg [2] : _marketAddress (address): 0x9c43B089B2cc3a378497EAEd4E09A42889Bf98a7
Arg [3] : _treasuryAddress (address): 0xF5F3b513b77182D83010dbe49C90EBDfF60e9964
Arg [4] : _zapAddr (address): 0x50322221125dE671C4B27d0B8Df63d80957d0FCD
Arg [5] : _startBlock (uint256): 22104603
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000001f5565f004d064381e19c4e0bc2aa9bd487ef2ed
Arg [1] : 0000000000000000000000009c432f150cd94ff73f988064c7e7abdbd338838d
Arg [2] : 0000000000000000000000009c43b089b2cc3a378497eaed4e09a42889bf98a7
Arg [3] : 000000000000000000000000f5f3b513b77182d83010dbe49c90ebdff60e9964
Arg [4] : 00000000000000000000000050322221125de671c4b27d0b8df63d80957d0fcd
Arg [5] : 0000000000000000000000000000000000000000000000000000000001514a1b
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 35 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
Loading...
Loading
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.