Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0x60806040 | 18839335 | 248 days ago | IN | 0 ETH | 0.05659884 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
PresaleV1
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol"; interface Aggregator { function latestRoundData() external view returns ( uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound ); } interface IQuoter { function quoteExactInput( bytes memory path, uint256 amountIn ) external returns (uint256 amountOut); function quoteExactInputSingle( address tokenIn, address tokenOut, uint24 fee, uint256 amountIn, uint160 sqrtPriceLimitX96 ) external returns (uint256 amountOut); function quoteExactOutput( bytes memory path, uint256 amountOut ) external returns (uint256 amountIn); function quoteExactOutputSingle( address tokenIn, address tokenOut, uint24 fee, uint256 amountOut, uint160 sqrtPriceLimitX96 ) external view returns (uint256 amountIn); } interface StakingManager { function depositByPresale(address _user, uint256 _amount) external; } contract PresaleV1 is Initializable, ReentrancyGuardUpgradeable, OwnableUpgradeable, PausableUpgradeable { address public saleToken; address public paymentWallet; bool public dynamicSaleState; uint256 public baseDecimals; uint256 public directTotalTokensSold; uint256 public percent; uint256 public maxTokensToSell; IQuoter public quoter; Aggregator public aggregatorInterface; IERC20Upgradeable public USDTInterface; StakingManager public stakingManagerInterface; mapping(address => bool) public wertWhitelisted; uint256[] public percentages; address[] public wallets; event TokensBought( address indexed user, uint256 indexed tokensBought, address indexed purchaseToken, uint256 amountPaid, uint256 usdEq, uint256 timestamp ); event Amount(uint256 value); /// @custom:oz-upgrades-unsafe-allow constructor constructor() initializer {} /** * @dev To pause the presale */ function pause() external onlyOwner { _pause(); } /** * @dev To unpause the presale */ function unpause() external onlyOwner { _unpause(); } /** * @dev To get latest ETH price in 10**18 format */ function getLatestPrice() public view returns (uint256) { (, int256 price, , , ) = aggregatorInterface.latestRoundData(); price = (price * (10 ** 10)); return uint256(price); } function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Low balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "ETH Payment failed"); } /** * @dev to initialize staking manager with new addredd * @param _stakingManagerAddress address of the staking smartcontract */ function setStakingManager( address _stakingManagerAddress ) external onlyOwner { require( _stakingManagerAddress != address(0), "staking manager cannot be inatialized with zero address" ); stakingManagerInterface = StakingManager(_stakingManagerAddress); IERC20Upgradeable(saleToken).approve( _stakingManagerAddress, type(uint256).max ); } function setDynamicSaleState( bool state, address _quoter ) external onlyOwner { dynamicSaleState = state; quoter = IQuoter(_quoter); } function fetchPrice(uint256 amountOut) public returns (uint256) { bytes memory data = abi.encodeWithSelector( quoter.quoteExactOutputSingle.selector, 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, 0x25722Cd432d02895d9BE45f5dEB60fc479c8781E, 3000, amountOut, 0 ); (bool success, bytes memory result) = address(quoter).call(data); require(success, "Call to Quoter failed"); uint256 amountIn = abi.decode(result, (uint256)); emit Amount(amountIn); return amountIn + ((amountIn * percent) / 100); } function setPercent(uint256 _percent) external onlyOwner { percent = _percent; } function setMaxTokensToSell(uint256 _maxTokensToSell) external onlyOwner { maxTokensToSell = _maxTokensToSell; } function buyWithEth( uint256 amount ) external payable whenNotPaused nonReentrant returns (bool) { require(dynamicSaleState, "Dynamic sale not active"); require( amount <= maxTokensToSell - directTotalTokensSold, "Amount exceeds max tokens to be sold" ); directTotalTokensSold += amount; uint256 ethAmount = fetchPrice(amount * baseDecimals); require(msg.value >= ethAmount, "Less payment"); uint256 excess = msg.value - ethAmount; splitETHValue(ethAmount); if (excess > 0) sendValue(payable(_msgSender()), excess); stakingManagerInterface.depositByPresale( _msgSender(), amount * baseDecimals ); emit TokensBought( _msgSender(), amount, address(0), ethAmount, 0, block.timestamp ); return true; } function buyWithEthWert( address _user, uint256 amount ) external payable whenNotPaused nonReentrant returns (bool) { require( wertWhitelisted[_msgSender()], "User not whitelisted for this tx" ); require(dynamicSaleState, "Dynamic sale not active"); require( amount <= maxTokensToSell - directTotalTokensSold, "Amount exceeds max tokens to be sold" ); directTotalTokensSold += amount; uint256 ethAmount = fetchPrice(amount * baseDecimals); require(msg.value >= ethAmount, "Less payment"); uint256 excess = msg.value - ethAmount; splitETHValue(ethAmount); if (excess > 0) sendValue(payable(_user), excess); stakingManagerInterface.depositByPresale(_user, amount * baseDecimals); emit TokensBought( _user, amount, address(0), ethAmount, 0, block.timestamp ); return true; } function setSplits( address[] memory _wallets, uint256[] memory _percentages ) public onlyOwner { require(_wallets.length == _percentages.length, "Mismatched arrays"); delete wallets; delete percentages; uint256 totalPercentage = 0; for (uint256 i = 0; i < _wallets.length; i++) { require(_percentages[i] > 0, "Percentage must be greater than 0"); totalPercentage += _percentages[i]; wallets.push(_wallets[i]); percentages.push(_percentages[i]); } require(totalPercentage == 100, "Total percentage must equal 100"); } function splitETHValue(uint256 _amount) internal { if (wallets.length == 0) { require(paymentWallet != address(0), "Payment wallet not set"); sendValue(payable(paymentWallet), _amount); } else { uint256 tempCalc; for (uint256 i = 0; i < wallets.length; i++) { uint256 amountToTransfer = (_amount * percentages[i]) / 100; sendValue(payable(wallets[i]), amountToTransfer); tempCalc += amountToTransfer; } if ((_amount - tempCalc) > 0) { sendValue( payable(wallets[wallets.length - 1]), _amount - tempCalc ); } } } function buyWithUSDT(uint256 amount) external whenNotPaused returns (bool) { require(dynamicSaleState, "Dynamic sale not active"); require( amount <= maxTokensToSell - directTotalTokensSold, "Amount exceeds max tokens to be sold" ); directTotalTokensSold += amount; uint256 ethAmount = fetchPrice(amount * baseDecimals); uint256 usdPrice = (ethAmount * getLatestPrice()) / baseDecimals; uint256 price = usdPrice / (10 ** 12); splitUSDTValue(price); stakingManagerInterface.depositByPresale( _msgSender(), amount * baseDecimals ); emit TokensBought( _msgSender(), amount, address(USDTInterface), price, usdPrice, block.timestamp ); return true; } function splitUSDTValue(uint256 _amount) internal { if (wallets.length == 0) { require(paymentWallet != address(0), "Payment wallet not set"); (bool success, ) = address(USDTInterface).call( abi.encodeWithSignature( "transferFrom(address,address,uint256)", _msgSender(), paymentWallet, _amount ) ); require(success, "Token payment failed"); } else { uint256 tempCalc; for (uint256 i = 0; i < wallets.length; i++) { uint256 amountToTransfer = (_amount * percentages[i]) / 100; (bool success, ) = address(USDTInterface).call( abi.encodeWithSignature( "transferFrom(address,address,uint256)", _msgSender(), wallets[i], amountToTransfer ) ); require(success, "Token payment failed"); tempCalc += amountToTransfer; } if ((_amount - tempCalc) > 0) { (bool success, ) = address(USDTInterface).call( abi.encodeWithSignature( "transferFrom(address,address,uint256)", _msgSender(), wallets[wallets.length - 1], _amount - tempCalc ) ); require(success, "Token payment failed"); } } } /** * @dev To add wert contract addresses to whitelist * @param _addressesToWhitelist addresses of the contract */ function whitelistUsersForWERT( address[] calldata _addressesToWhitelist ) external onlyOwner { for (uint256 i = 0; i < _addressesToWhitelist.length; i++) { wertWhitelisted[_addressesToWhitelist[i]] = true; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/ContextUpgradeable.sol"; import "../proxy/utils/Initializable.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 OwnableUpgradeable is Initializable, ContextUpgradeable { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ function __Ownable_init() internal onlyInitializing { __Ownable_init_unchained(); } function __Ownable_init_unchained() internal onlyInitializing { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[49] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.1) (proxy/utils/Initializable.sol) pragma solidity ^0.8.2; import "../../utils/AddressUpgradeable.sol"; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in * case an upgrade adds a module that needs to be initialized. * * For example: * * [.hljs-theme-light.nopadding] * ``` * contract MyToken is ERC20Upgradeable { * function initialize() initializer public { * __ERC20_init("MyToken", "MTK"); * } * } * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable { * function initializeV2() reinitializer(2) public { * __ERC20Permit_init("MyToken"); * } * } * ``` * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. * * [CAUTION] * ==== * Avoid leaving a contract uninitialized. * * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed: * * [.hljs-theme-light.nopadding] * ``` * /// @custom:oz-upgrades-unsafe-allow constructor * constructor() { * _disableInitializers(); * } * ``` * ==== */ abstract contract Initializable { /** * @dev Indicates that the contract has been initialized. * @custom:oz-retyped-from bool */ uint8 private _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private _initializing; /** * @dev Triggered when the contract has been initialized or reinitialized. */ event Initialized(uint8 version); /** * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope, * `onlyInitializing` functions can be used to initialize parent contracts. * * Similar to `reinitializer(1)`, except that functions marked with `initializer` can be nested in the context of a * constructor. * * Emits an {Initialized} event. */ modifier initializer() { bool isTopLevelCall = !_initializing; require( (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1), "Initializable: contract is already initialized" ); _initialized = 1; if (isTopLevelCall) { _initializing = true; } _; if (isTopLevelCall) { _initializing = false; emit Initialized(1); } } /** * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be * used to initialize parent contracts. * * A reinitializer may be used after the original initialization step. This is essential to configure modules that * are added through upgrades and that require initialization. * * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer` * cannot be nested. If one is invoked in the context of another, execution will revert. * * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in * a contract, executing them in the right order is up to the developer or operator. * * WARNING: setting the version to 255 will prevent any future reinitialization. * * Emits an {Initialized} event. */ modifier reinitializer(uint8 version) { require(!_initializing && _initialized < version, "Initializable: contract is already initialized"); _initialized = version; _initializing = true; _; _initializing = false; emit Initialized(version); } /** * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the * {initializer} and {reinitializer} modifiers, directly or indirectly. */ modifier onlyInitializing() { require(_initializing, "Initializable: contract is not initializing"); _; } /** * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call. * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized * to any version. It is recommended to use this to lock implementation contracts that are designed to be called * through proxies. * * Emits an {Initialized} event the first time it is successfully executed. */ function _disableInitializers() internal virtual { require(!_initializing, "Initializable: contract is initializing"); if (_initialized < type(uint8).max) { _initialized = type(uint8).max; emit Initialized(type(uint8).max); } } /** * @dev Returns the highest version that has been initialized. See {reinitializer}. */ function _getInitializedVersion() internal view returns (uint8) { return _initialized; } /** * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}. */ function _isInitializing() internal view returns (bool) { return _initializing; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/ContextUpgradeable.sol"; import "../proxy/utils/Initializable.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract PausableUpgradeable is Initializable, ContextUpgradeable { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ function __Pausable_init() internal onlyInitializing { __Pausable_init_unchained(); } function __Pausable_init_unchained() internal onlyInitializing { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[49] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; import "../proxy/utils/Initializable.sol"; /** * @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 ReentrancyGuardUpgradeable is Initializable { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; function __ReentrancyGuard_init() internal onlyInitializing { __ReentrancyGuard_init_unchained(); } function __ReentrancyGuard_init_unchained() internal onlyInitializing { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[49] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20Upgradeable { /** * @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. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library AddressUpgradeable { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; import "../proxy/utils/Initializable.sol"; /** * @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 ContextUpgradeable is Initializable { function __Context_init() internal onlyInitializing { } function __Context_init_unchained() internal onlyInitializing { } function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[50] private __gap; }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Amount","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokensBought","type":"uint256"},{"indexed":true,"internalType":"address","name":"purchaseToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountPaid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"usdEq","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"TokensBought","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"USDTInterface","outputs":[{"internalType":"contract IERC20Upgradeable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"aggregatorInterface","outputs":[{"internalType":"contract Aggregator","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseDecimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"buyWithEth","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"buyWithEthWert","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"buyWithUSDT","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"directTotalTokensSold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dynamicSaleState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"}],"name":"fetchPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getLatestPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokensToSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paymentWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"percent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"percentages","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"quoter","outputs":[{"internalType":"contract IQuoter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"state","type":"bool"},{"internalType":"address","name":"_quoter","type":"address"}],"name":"setDynamicSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTokensToSell","type":"uint256"}],"name":"setMaxTokensToSell","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_percent","type":"uint256"}],"name":"setPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_wallets","type":"address[]"},{"internalType":"uint256[]","name":"_percentages","type":"uint256[]"}],"name":"setSplits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_stakingManagerAddress","type":"address"}],"name":"setStakingManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingManagerInterface","outputs":[{"internalType":"contract StakingManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"wallets","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"wertWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addressesToWhitelist","type":"address[]"}],"name":"whitelistUsersForWERT","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50600054610100900460ff1615808015620000335750600054600160ff909116105b8062000063575062000050306200013d60201b620012b31760201c565b15801562000063575060005460ff166001145b620000cb5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840160405180910390fd5b6000805460ff191660011790558015620000ef576000805461ff0019166101001790555b801562000136576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b506200014c565b6001600160a01b03163b151590565b6120a4806200015c6000396000f3fe6080604052600436106101d85760003560e01c80637649b95711610102578063c6bbd5a711610095578063eb9d4ef711610064578063eb9d4ef714610520578063f2fde38b14610533578063f597573f14610553578063f88583861461057357600080fd5b8063c6bbd5a7146104a0578063d76abb9d146104c0578063e32204dd146104e0578063e985e3671461050057600080fd5b80638e15f473116100d15780638e15f4731461042b578063a7c6016014610440578063b00bba6a14610460578063c49cc6451461048057600080fd5b80637649b957146103c55780637ad71f72146103d85780638456cb59146103f85780638da5cb5b1461040d57600080fd5b80633f4ba83a1161017a5780635df4f353116101495780635df4f3531461034a57806370ba11131461037a578063715018a6146103905780637154b8b5146103a557600080fd5b80633f4ba83a146102e75780635a03d679146102fc5780635c975abb146103125780635ddc56881461032a57600080fd5b806328de1859116101b657806328de18591461024857806333f7617814610268578063386466081461027e5780633dd31df2146102b657600080fd5b806303b9c5ad146101dd5780631199193d146101ff5780631559f78214610228575b600080fd5b3480156101e957600080fd5b506101fd6101f8366004611ae4565b610593565b005b34801561020b57600080fd5b5061021560cc5481565b6040519081526020015b60405180910390f35b34801561023457600080fd5b50610215610243366004611b59565b610612565b34801561025457600080fd5b506101fd610263366004611b97565b6107be565b34801561027457600080fd5b5061021560cb5481565b34801561028a57600080fd5b5060d25461029e906001600160a01b031681565b6040516001600160a01b03909116815260200161021f565b3480156102c257600080fd5b5060ca546102d790600160a01b900460ff1681565b604051901515815260200161021f565b3480156102f357600080fd5b506101fd610805565b34801561030857600080fd5b5061021560ce5481565b34801561031e57600080fd5b5060975460ff166102d7565b34801561033657600080fd5b506101fd610345366004611ca2565b610817565b34801561035657600080fd5b506102d7610365366004611d62565b60d36020526000908152604090205460ff1681565b34801561038657600080fd5b5061021560cd5481565b34801561039c57600080fd5b506101fd610a0b565b3480156103b157600080fd5b506101fd6103c0366004611b59565b610a1d565b6102d76103d3366004611b59565b610a2a565b3480156103e457600080fd5b5061029e6103f3366004611b59565b610c21565b34801561040457600080fd5b506101fd610c4b565b34801561041957600080fd5b506065546001600160a01b031661029e565b34801561043757600080fd5b50610215610c5b565b34801561044c57600080fd5b506102d761045b366004611b59565b610d01565b34801561046c57600080fd5b506101fd61047b366004611d62565b610ea9565b34801561048c57600080fd5b5060d05461029e906001600160a01b031681565b3480156104ac57600080fd5b5060cf5461029e906001600160a01b031681565b3480156104cc57600080fd5b506101fd6104db366004611b59565b610fcf565b3480156104ec57600080fd5b5060ca5461029e906001600160a01b031681565b34801561050c57600080fd5b5060c95461029e906001600160a01b031681565b6102d761052e366004611d84565b610fdc565b34801561053f57600080fd5b506101fd61054e366004611d62565b611219565b34801561055f57600080fd5b5060d15461029e906001600160a01b031681565b34801561057f57600080fd5b5061021561058e366004611b59565b611292565b61059b6112c2565b60005b8181101561060d57600160d360008585858181106105be576105be611dae565b90506020020160208101906105d39190611d62565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061060581611dda565b91505061059e565b505050565b6040805173c02aaa39b223fe8d0a0e5c4f27ead9083c756cc260248201527325722cd432d02895d9be45f5deb60fc479c8781e6044820152610bb8606482015260848101839052600060a48083018290528351808403909101815260c490920183526020820180516001600160e01b03166330d07f2160e01b17905260cf5492519092839182916001600160a01b0316906106ae908590611df5565b6000604051808303816000865af19150503d80600081146106eb576040519150601f19603f3d011682016040523d82523d6000602084013e6106f0565b606091505b50915091508161073f5760405162461bcd60e51b815260206004820152601560248201527410d85b1b081d1bc8145d5bdd195c8819985a5b1959605a1b60448201526064015b60405180910390fd5b6000818060200190518101906107559190611e30565b90507fee0e21a0909c175792d67fa4e7c4f99d844405993e69b1ac9985af378f4cda4b8160405161078891815260200190565b60405180910390a1606460cd54826107a09190611e49565b6107aa9190611e68565b6107b49082611e8a565b9695505050505050565b6107c66112c2565b60ca805460ff60a01b1916600160a01b931515939093029290921790915560cf80546001600160a01b0319166001600160a01b03909216919091179055565b61080d6112c2565b61081561131c565b565b61081f6112c2565b80518251146108645760405162461bcd60e51b81526020600482015260116024820152704d69736d6174636865642061727261797360781b6044820152606401610736565b61087060d56000611ab2565b61087c60d46000611ab2565b6000805b83518110156109ba57600083828151811061089d5761089d611dae565b6020026020010151116108fc5760405162461bcd60e51b815260206004820152602160248201527f50657263656e74616765206d7573742062652067726561746572207468616e206044820152600360fc1b6064820152608401610736565b82818151811061090e5761090e611dae565b6020026020010151826109219190611e8a565b915060d584828151811061093757610937611dae565b60209081029190910181015182546001810184556000938452919092200180546001600160a01b0319166001600160a01b03909216919091179055825160d49084908390811061098957610989611dae565b60209081029190910181015182546001810184556000938452919092200155806109b281611dda565b915050610880565b508060641461060d5760405162461bcd60e51b815260206004820152601f60248201527f546f74616c2070657263656e74616765206d75737420657175616c20313030006044820152606401610736565b610a136112c2565b610815600061136e565b610a256112c2565b60cd55565b6000610a346113c0565b610a3c611406565b60ca54600160a01b900460ff16610a655760405162461bcd60e51b815260040161073690611ea2565b60cc5460ce54610a759190611ed9565b821115610a945760405162461bcd60e51b815260040161073690611ef0565b8160cc6000828254610aa69190611e8a565b909155505060cb54600090610abf906102439085611e49565b905080341015610b005760405162461bcd60e51b815260206004820152600c60248201526b13195cdcc81c185e5b595b9d60a21b6044820152606401610736565b6000610b0c8234611ed9565b9050610b1782611460565b8015610b2757610b2733826115bd565b60d2546001600160a01b03166391c619663360cb54610b469088611e49565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015610b8c57600080fd5b505af1158015610ba0573d6000803e3d6000fd5b5050505060006001600160a01b031684610bb73390565b6001600160a01b03167f4d8aead3491b7eba4b5c7a65fc17e493b9e63f9e433522fc5f6a85a168fc9d3685600042604051610c05939291909283526020830191909152604082015260600190565b60405180910390a4600192505050610c1c60018055565b919050565b60d58181548110610c3157600080fd5b6000918252602090912001546001600160a01b0316905081565b610c536112c2565b610815611693565b60008060d060009054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b158015610cac57600080fd5b505afa158015610cc0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce49190611f4e565b505050915050806402540be400610cfb9190611f9e565b92915050565b6000610d0b6113c0565b60ca54600160a01b900460ff16610d345760405162461bcd60e51b815260040161073690611ea2565b60cc5460ce54610d449190611ed9565b821115610d635760405162461bcd60e51b815260040161073690611ef0565b8160cc6000828254610d759190611e8a565b909155505060cb54600090610d8e906102439085611e49565b9050600060cb54610d9d610c5b565b610da79084611e49565b610db19190611e68565b90506000610dc464e8d4a5100083611e68565b9050610dcf816116d0565b60d2546001600160a01b03166391c619663360cb54610dee9089611e49565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015610e3457600080fd5b505af1158015610e48573d6000803e3d6000fd5b505060d1546040805185815260208101879052428183015290516001600160a01b03909216935088925033917f4d8aead3491b7eba4b5c7a65fc17e493b9e63f9e433522fc5f6a85a168fc9d369181900360600190a4506001949350505050565b610eb16112c2565b6001600160a01b038116610f2d5760405162461bcd60e51b815260206004820152603760248201527f7374616b696e67206d616e616765722063616e6e6f7420626520696e6174696160448201527f6c697a65642077697468207a65726f20616464726573730000000000000000006064820152608401610736565b60d280546001600160a01b0319166001600160a01b0383811691821790925560c95460405163095ea7b360e01b8152600481019290925260001960248301529091169063095ea7b390604401602060405180830381600087803b158015610f9357600080fd5b505af1158015610fa7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fcb9190612023565b5050565b610fd76112c2565b60ce55565b6000610fe66113c0565b610fee611406565b33600090815260d3602052604090205460ff1661104d5760405162461bcd60e51b815260206004820181905260248201527f55736572206e6f742077686974656c697374656420666f7220746869732074786044820152606401610736565b60ca54600160a01b900460ff166110765760405162461bcd60e51b815260040161073690611ea2565b60cc5460ce546110869190611ed9565b8211156110a55760405162461bcd60e51b815260040161073690611ef0565b8160cc60008282546110b79190611e8a565b909155505060cb546000906110d0906102439085611e49565b9050803410156111115760405162461bcd60e51b815260206004820152600c60248201526b13195cdcc81c185e5b595b9d60a21b6044820152606401610736565b600061111d8234611ed9565b905061112882611460565b80156111385761113885826115bd565b60d25460cb546001600160a01b03909116906391c6196690879061115c9088611e49565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b1580156111a257600080fd5b505af11580156111b6573d6000803e3d6000fd5b505060408051858152600060208201819052428284015291519193508792506001600160a01b038916917f4d8aead3491b7eba4b5c7a65fc17e493b9e63f9e433522fc5f6a85a168fc9d369181900360600190a4600192505050610cfb60018055565b6112216112c2565b6001600160a01b0381166112865760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610736565b61128f8161136e565b50565b60d481815481106112a257600080fd5b600091825260209091200154905081565b6001600160a01b03163b151590565b6065546001600160a01b031633146108155760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610736565b611324611a69565b6097805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b606580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60975460ff16156108155760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610736565b600260015414156114595760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610736565b6002600155565b60d5546114ce5760ca546001600160a01b03166114b85760405162461bcd60e51b815260206004820152601660248201527514185e5b595b9d081dd85b1b195d081b9bdd081cd95d60521b6044820152606401610736565b60ca5461128f906001600160a01b0316826115bd565b6000805b60d554811015611566576000606460d483815481106114f3576114f3611dae565b9060005260206000200154856115099190611e49565b6115139190611e68565b905061154660d5838154811061152b5761152b611dae565b6000918252602090912001546001600160a01b0316826115bd565b6115508184611e8a565b925050808061155e90611dda565b9150506114d2565b5060006115738284611ed9565b1115610fcb5760d58054610fcb919061158e90600190611ed9565b8154811061159e5761159e611dae565b6000918252602090912001546001600160a01b03166115bd8385611ed9565b804710156115fb5760405162461bcd60e51b815260206004820152600b60248201526a4c6f772062616c616e636560a81b6044820152606401610736565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611648576040519150601f19603f3d011682016040523d82523d6000602084013e61164d565b606091505b505090508061060d5760405162461bcd60e51b81526020600482015260126024820152711155120814185e5b595b9d0819985a5b195960721b6044820152606401610736565b61169b6113c0565b6097805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586113513390565b60d5546117f75760ca546001600160a01b03166117285760405162461bcd60e51b815260206004820152601660248201527514185e5b595b9d081dd85b1b195d081b9bdd081cd95d60521b6044820152606401610736565b60d1546000906001600160a01b03163360ca546040516001600160a01b039283166024820152911660448201526064810184905260840160408051601f198184030181529181526020820180516001600160e01b03166323b872dd60e01b179052516117949190611df5565b6000604051808303816000865af19150503d80600081146117d1576040519150601f19603f3d011682016040523d82523d6000602084013e6117d6565b606091505b5050905080610fcb5760405162461bcd60e51b815260040161073690612040565b6000805b60d55481101561194b576000606460d4838154811061181c5761181c611dae565b9060005260206000200154856118329190611e49565b61183c9190611e68565b60d1549091506000906001600160a01b03163360d5858154811061186257611862611dae565b6000918252602090912001546040516001600160a01b039283166024820152911660448201526064810184905260840160408051601f198184030181529181526020820180516001600160e01b03166323b872dd60e01b179052516118c79190611df5565b6000604051808303816000865af19150503d8060008114611904576040519150601f19603f3d011682016040523d82523d6000602084013e611909565b606091505b505090508061192a5760405162461bcd60e51b815260040161073690612040565b6119348285611e8a565b93505050808061194390611dda565b9150506117fb565b5060006119588284611ed9565b1115610fcb5760d1546000906001600160a01b03163360d5805461197e90600190611ed9565b8154811061198e5761198e611dae565b6000918252602090912001546001600160a01b03166119ad8587611ed9565b6040516001600160a01b039384166024820152929091166044830152606482015260840160408051601f198184030181529181526020820180516001600160e01b03166323b872dd60e01b17905251611a069190611df5565b6000604051808303816000865af19150503d8060008114611a43576040519150601f19603f3d011682016040523d82523d6000602084013e611a48565b606091505b505090508061060d5760405162461bcd60e51b815260040161073690612040565b60975460ff166108155760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610736565b508054600082559060005260206000209081019061128f91905b80821115611ae05760008155600101611acc565b5090565b60008060208385031215611af757600080fd5b823567ffffffffffffffff80821115611b0f57600080fd5b818501915085601f830112611b2357600080fd5b813581811115611b3257600080fd5b8660208260051b8501011115611b4757600080fd5b60209290920196919550909350505050565b600060208284031215611b6b57600080fd5b5035919050565b801515811461128f57600080fd5b80356001600160a01b0381168114610c1c57600080fd5b60008060408385031215611baa57600080fd5b8235611bb581611b72565b9150611bc360208401611b80565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611c0b57611c0b611bcc565b604052919050565b600067ffffffffffffffff821115611c2d57611c2d611bcc565b5060051b60200190565b600082601f830112611c4857600080fd5b81356020611c5d611c5883611c13565b611be2565b82815260059290921b84018101918181019086841115611c7c57600080fd5b8286015b84811015611c975780358352918301918301611c80565b509695505050505050565b60008060408385031215611cb557600080fd5b823567ffffffffffffffff80821115611ccd57600080fd5b818501915085601f830112611ce157600080fd5b81356020611cf1611c5883611c13565b82815260059290921b84018101918181019089841115611d1057600080fd5b948201945b83861015611d3557611d2686611b80565b82529482019490820190611d15565b96505086013592505080821115611d4b57600080fd5b50611d5885828601611c37565b9150509250929050565b600060208284031215611d7457600080fd5b611d7d82611b80565b9392505050565b60008060408385031215611d9757600080fd5b611da083611b80565b946020939093013593505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415611dee57611dee611dc4565b5060010190565b6000825160005b81811015611e165760208186018101518583015201611dfc565b81811115611e25576000828501525b509190910192915050565b600060208284031215611e4257600080fd5b5051919050565b6000816000190483118215151615611e6357611e63611dc4565b500290565b600082611e8557634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115611e9d57611e9d611dc4565b500190565b60208082526017908201527f44796e616d69632073616c65206e6f7420616374697665000000000000000000604082015260600190565b600082821015611eeb57611eeb611dc4565b500390565b60208082526024908201527f416d6f756e742065786365656473206d617820746f6b656e7320746f206265206040820152631cdbdb1960e21b606082015260800190565b805169ffffffffffffffffffff81168114610c1c57600080fd5b600080600080600060a08688031215611f6657600080fd5b611f6f86611f34565b9450602086015193506040860151925060608601519150611f9260808701611f34565b90509295509295909350565b60006001600160ff1b0381841382841380821686840486111615611fc457611fc4611dc4565b600160ff1b6000871282811687830589121615611fe357611fe3611dc4565b60008712925087820587128484161615611fff57611fff611dc4565b8785058712818416161561201557612015611dc4565b505050929093029392505050565b60006020828403121561203557600080fd5b8151611d7d81611b72565b602080825260149082015273151bdad95b881c185e5b595b9d0819985a5b195960621b60408201526060019056fea26469706673582212206d02955749b4293e03c3288eebac6c573cb9c065dfb7e48021ee2f058430aff564736f6c63430008090033
Deployed Bytecode
0x6080604052600436106101d85760003560e01c80637649b95711610102578063c6bbd5a711610095578063eb9d4ef711610064578063eb9d4ef714610520578063f2fde38b14610533578063f597573f14610553578063f88583861461057357600080fd5b8063c6bbd5a7146104a0578063d76abb9d146104c0578063e32204dd146104e0578063e985e3671461050057600080fd5b80638e15f473116100d15780638e15f4731461042b578063a7c6016014610440578063b00bba6a14610460578063c49cc6451461048057600080fd5b80637649b957146103c55780637ad71f72146103d85780638456cb59146103f85780638da5cb5b1461040d57600080fd5b80633f4ba83a1161017a5780635df4f353116101495780635df4f3531461034a57806370ba11131461037a578063715018a6146103905780637154b8b5146103a557600080fd5b80633f4ba83a146102e75780635a03d679146102fc5780635c975abb146103125780635ddc56881461032a57600080fd5b806328de1859116101b657806328de18591461024857806333f7617814610268578063386466081461027e5780633dd31df2146102b657600080fd5b806303b9c5ad146101dd5780631199193d146101ff5780631559f78214610228575b600080fd5b3480156101e957600080fd5b506101fd6101f8366004611ae4565b610593565b005b34801561020b57600080fd5b5061021560cc5481565b6040519081526020015b60405180910390f35b34801561023457600080fd5b50610215610243366004611b59565b610612565b34801561025457600080fd5b506101fd610263366004611b97565b6107be565b34801561027457600080fd5b5061021560cb5481565b34801561028a57600080fd5b5060d25461029e906001600160a01b031681565b6040516001600160a01b03909116815260200161021f565b3480156102c257600080fd5b5060ca546102d790600160a01b900460ff1681565b604051901515815260200161021f565b3480156102f357600080fd5b506101fd610805565b34801561030857600080fd5b5061021560ce5481565b34801561031e57600080fd5b5060975460ff166102d7565b34801561033657600080fd5b506101fd610345366004611ca2565b610817565b34801561035657600080fd5b506102d7610365366004611d62565b60d36020526000908152604090205460ff1681565b34801561038657600080fd5b5061021560cd5481565b34801561039c57600080fd5b506101fd610a0b565b3480156103b157600080fd5b506101fd6103c0366004611b59565b610a1d565b6102d76103d3366004611b59565b610a2a565b3480156103e457600080fd5b5061029e6103f3366004611b59565b610c21565b34801561040457600080fd5b506101fd610c4b565b34801561041957600080fd5b506065546001600160a01b031661029e565b34801561043757600080fd5b50610215610c5b565b34801561044c57600080fd5b506102d761045b366004611b59565b610d01565b34801561046c57600080fd5b506101fd61047b366004611d62565b610ea9565b34801561048c57600080fd5b5060d05461029e906001600160a01b031681565b3480156104ac57600080fd5b5060cf5461029e906001600160a01b031681565b3480156104cc57600080fd5b506101fd6104db366004611b59565b610fcf565b3480156104ec57600080fd5b5060ca5461029e906001600160a01b031681565b34801561050c57600080fd5b5060c95461029e906001600160a01b031681565b6102d761052e366004611d84565b610fdc565b34801561053f57600080fd5b506101fd61054e366004611d62565b611219565b34801561055f57600080fd5b5060d15461029e906001600160a01b031681565b34801561057f57600080fd5b5061021561058e366004611b59565b611292565b61059b6112c2565b60005b8181101561060d57600160d360008585858181106105be576105be611dae565b90506020020160208101906105d39190611d62565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061060581611dda565b91505061059e565b505050565b6040805173c02aaa39b223fe8d0a0e5c4f27ead9083c756cc260248201527325722cd432d02895d9be45f5deb60fc479c8781e6044820152610bb8606482015260848101839052600060a48083018290528351808403909101815260c490920183526020820180516001600160e01b03166330d07f2160e01b17905260cf5492519092839182916001600160a01b0316906106ae908590611df5565b6000604051808303816000865af19150503d80600081146106eb576040519150601f19603f3d011682016040523d82523d6000602084013e6106f0565b606091505b50915091508161073f5760405162461bcd60e51b815260206004820152601560248201527410d85b1b081d1bc8145d5bdd195c8819985a5b1959605a1b60448201526064015b60405180910390fd5b6000818060200190518101906107559190611e30565b90507fee0e21a0909c175792d67fa4e7c4f99d844405993e69b1ac9985af378f4cda4b8160405161078891815260200190565b60405180910390a1606460cd54826107a09190611e49565b6107aa9190611e68565b6107b49082611e8a565b9695505050505050565b6107c66112c2565b60ca805460ff60a01b1916600160a01b931515939093029290921790915560cf80546001600160a01b0319166001600160a01b03909216919091179055565b61080d6112c2565b61081561131c565b565b61081f6112c2565b80518251146108645760405162461bcd60e51b81526020600482015260116024820152704d69736d6174636865642061727261797360781b6044820152606401610736565b61087060d56000611ab2565b61087c60d46000611ab2565b6000805b83518110156109ba57600083828151811061089d5761089d611dae565b6020026020010151116108fc5760405162461bcd60e51b815260206004820152602160248201527f50657263656e74616765206d7573742062652067726561746572207468616e206044820152600360fc1b6064820152608401610736565b82818151811061090e5761090e611dae565b6020026020010151826109219190611e8a565b915060d584828151811061093757610937611dae565b60209081029190910181015182546001810184556000938452919092200180546001600160a01b0319166001600160a01b03909216919091179055825160d49084908390811061098957610989611dae565b60209081029190910181015182546001810184556000938452919092200155806109b281611dda565b915050610880565b508060641461060d5760405162461bcd60e51b815260206004820152601f60248201527f546f74616c2070657263656e74616765206d75737420657175616c20313030006044820152606401610736565b610a136112c2565b610815600061136e565b610a256112c2565b60cd55565b6000610a346113c0565b610a3c611406565b60ca54600160a01b900460ff16610a655760405162461bcd60e51b815260040161073690611ea2565b60cc5460ce54610a759190611ed9565b821115610a945760405162461bcd60e51b815260040161073690611ef0565b8160cc6000828254610aa69190611e8a565b909155505060cb54600090610abf906102439085611e49565b905080341015610b005760405162461bcd60e51b815260206004820152600c60248201526b13195cdcc81c185e5b595b9d60a21b6044820152606401610736565b6000610b0c8234611ed9565b9050610b1782611460565b8015610b2757610b2733826115bd565b60d2546001600160a01b03166391c619663360cb54610b469088611e49565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015610b8c57600080fd5b505af1158015610ba0573d6000803e3d6000fd5b5050505060006001600160a01b031684610bb73390565b6001600160a01b03167f4d8aead3491b7eba4b5c7a65fc17e493b9e63f9e433522fc5f6a85a168fc9d3685600042604051610c05939291909283526020830191909152604082015260600190565b60405180910390a4600192505050610c1c60018055565b919050565b60d58181548110610c3157600080fd5b6000918252602090912001546001600160a01b0316905081565b610c536112c2565b610815611693565b60008060d060009054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b158015610cac57600080fd5b505afa158015610cc0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce49190611f4e565b505050915050806402540be400610cfb9190611f9e565b92915050565b6000610d0b6113c0565b60ca54600160a01b900460ff16610d345760405162461bcd60e51b815260040161073690611ea2565b60cc5460ce54610d449190611ed9565b821115610d635760405162461bcd60e51b815260040161073690611ef0565b8160cc6000828254610d759190611e8a565b909155505060cb54600090610d8e906102439085611e49565b9050600060cb54610d9d610c5b565b610da79084611e49565b610db19190611e68565b90506000610dc464e8d4a5100083611e68565b9050610dcf816116d0565b60d2546001600160a01b03166391c619663360cb54610dee9089611e49565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015610e3457600080fd5b505af1158015610e48573d6000803e3d6000fd5b505060d1546040805185815260208101879052428183015290516001600160a01b03909216935088925033917f4d8aead3491b7eba4b5c7a65fc17e493b9e63f9e433522fc5f6a85a168fc9d369181900360600190a4506001949350505050565b610eb16112c2565b6001600160a01b038116610f2d5760405162461bcd60e51b815260206004820152603760248201527f7374616b696e67206d616e616765722063616e6e6f7420626520696e6174696160448201527f6c697a65642077697468207a65726f20616464726573730000000000000000006064820152608401610736565b60d280546001600160a01b0319166001600160a01b0383811691821790925560c95460405163095ea7b360e01b8152600481019290925260001960248301529091169063095ea7b390604401602060405180830381600087803b158015610f9357600080fd5b505af1158015610fa7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fcb9190612023565b5050565b610fd76112c2565b60ce55565b6000610fe66113c0565b610fee611406565b33600090815260d3602052604090205460ff1661104d5760405162461bcd60e51b815260206004820181905260248201527f55736572206e6f742077686974656c697374656420666f7220746869732074786044820152606401610736565b60ca54600160a01b900460ff166110765760405162461bcd60e51b815260040161073690611ea2565b60cc5460ce546110869190611ed9565b8211156110a55760405162461bcd60e51b815260040161073690611ef0565b8160cc60008282546110b79190611e8a565b909155505060cb546000906110d0906102439085611e49565b9050803410156111115760405162461bcd60e51b815260206004820152600c60248201526b13195cdcc81c185e5b595b9d60a21b6044820152606401610736565b600061111d8234611ed9565b905061112882611460565b80156111385761113885826115bd565b60d25460cb546001600160a01b03909116906391c6196690879061115c9088611e49565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b1580156111a257600080fd5b505af11580156111b6573d6000803e3d6000fd5b505060408051858152600060208201819052428284015291519193508792506001600160a01b038916917f4d8aead3491b7eba4b5c7a65fc17e493b9e63f9e433522fc5f6a85a168fc9d369181900360600190a4600192505050610cfb60018055565b6112216112c2565b6001600160a01b0381166112865760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610736565b61128f8161136e565b50565b60d481815481106112a257600080fd5b600091825260209091200154905081565b6001600160a01b03163b151590565b6065546001600160a01b031633146108155760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610736565b611324611a69565b6097805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b606580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60975460ff16156108155760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610736565b600260015414156114595760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610736565b6002600155565b60d5546114ce5760ca546001600160a01b03166114b85760405162461bcd60e51b815260206004820152601660248201527514185e5b595b9d081dd85b1b195d081b9bdd081cd95d60521b6044820152606401610736565b60ca5461128f906001600160a01b0316826115bd565b6000805b60d554811015611566576000606460d483815481106114f3576114f3611dae565b9060005260206000200154856115099190611e49565b6115139190611e68565b905061154660d5838154811061152b5761152b611dae565b6000918252602090912001546001600160a01b0316826115bd565b6115508184611e8a565b925050808061155e90611dda565b9150506114d2565b5060006115738284611ed9565b1115610fcb5760d58054610fcb919061158e90600190611ed9565b8154811061159e5761159e611dae565b6000918252602090912001546001600160a01b03166115bd8385611ed9565b804710156115fb5760405162461bcd60e51b815260206004820152600b60248201526a4c6f772062616c616e636560a81b6044820152606401610736565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611648576040519150601f19603f3d011682016040523d82523d6000602084013e61164d565b606091505b505090508061060d5760405162461bcd60e51b81526020600482015260126024820152711155120814185e5b595b9d0819985a5b195960721b6044820152606401610736565b61169b6113c0565b6097805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586113513390565b60d5546117f75760ca546001600160a01b03166117285760405162461bcd60e51b815260206004820152601660248201527514185e5b595b9d081dd85b1b195d081b9bdd081cd95d60521b6044820152606401610736565b60d1546000906001600160a01b03163360ca546040516001600160a01b039283166024820152911660448201526064810184905260840160408051601f198184030181529181526020820180516001600160e01b03166323b872dd60e01b179052516117949190611df5565b6000604051808303816000865af19150503d80600081146117d1576040519150601f19603f3d011682016040523d82523d6000602084013e6117d6565b606091505b5050905080610fcb5760405162461bcd60e51b815260040161073690612040565b6000805b60d55481101561194b576000606460d4838154811061181c5761181c611dae565b9060005260206000200154856118329190611e49565b61183c9190611e68565b60d1549091506000906001600160a01b03163360d5858154811061186257611862611dae565b6000918252602090912001546040516001600160a01b039283166024820152911660448201526064810184905260840160408051601f198184030181529181526020820180516001600160e01b03166323b872dd60e01b179052516118c79190611df5565b6000604051808303816000865af19150503d8060008114611904576040519150601f19603f3d011682016040523d82523d6000602084013e611909565b606091505b505090508061192a5760405162461bcd60e51b815260040161073690612040565b6119348285611e8a565b93505050808061194390611dda565b9150506117fb565b5060006119588284611ed9565b1115610fcb5760d1546000906001600160a01b03163360d5805461197e90600190611ed9565b8154811061198e5761198e611dae565b6000918252602090912001546001600160a01b03166119ad8587611ed9565b6040516001600160a01b039384166024820152929091166044830152606482015260840160408051601f198184030181529181526020820180516001600160e01b03166323b872dd60e01b17905251611a069190611df5565b6000604051808303816000865af19150503d8060008114611a43576040519150601f19603f3d011682016040523d82523d6000602084013e611a48565b606091505b505090508061060d5760405162461bcd60e51b815260040161073690612040565b60975460ff166108155760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610736565b508054600082559060005260206000209081019061128f91905b80821115611ae05760008155600101611acc565b5090565b60008060208385031215611af757600080fd5b823567ffffffffffffffff80821115611b0f57600080fd5b818501915085601f830112611b2357600080fd5b813581811115611b3257600080fd5b8660208260051b8501011115611b4757600080fd5b60209290920196919550909350505050565b600060208284031215611b6b57600080fd5b5035919050565b801515811461128f57600080fd5b80356001600160a01b0381168114610c1c57600080fd5b60008060408385031215611baa57600080fd5b8235611bb581611b72565b9150611bc360208401611b80565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611c0b57611c0b611bcc565b604052919050565b600067ffffffffffffffff821115611c2d57611c2d611bcc565b5060051b60200190565b600082601f830112611c4857600080fd5b81356020611c5d611c5883611c13565b611be2565b82815260059290921b84018101918181019086841115611c7c57600080fd5b8286015b84811015611c975780358352918301918301611c80565b509695505050505050565b60008060408385031215611cb557600080fd5b823567ffffffffffffffff80821115611ccd57600080fd5b818501915085601f830112611ce157600080fd5b81356020611cf1611c5883611c13565b82815260059290921b84018101918181019089841115611d1057600080fd5b948201945b83861015611d3557611d2686611b80565b82529482019490820190611d15565b96505086013592505080821115611d4b57600080fd5b50611d5885828601611c37565b9150509250929050565b600060208284031215611d7457600080fd5b611d7d82611b80565b9392505050565b60008060408385031215611d9757600080fd5b611da083611b80565b946020939093013593505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415611dee57611dee611dc4565b5060010190565b6000825160005b81811015611e165760208186018101518583015201611dfc565b81811115611e25576000828501525b509190910192915050565b600060208284031215611e4257600080fd5b5051919050565b6000816000190483118215151615611e6357611e63611dc4565b500290565b600082611e8557634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115611e9d57611e9d611dc4565b500190565b60208082526017908201527f44796e616d69632073616c65206e6f7420616374697665000000000000000000604082015260600190565b600082821015611eeb57611eeb611dc4565b500390565b60208082526024908201527f416d6f756e742065786365656473206d617820746f6b656e7320746f206265206040820152631cdbdb1960e21b606082015260800190565b805169ffffffffffffffffffff81168114610c1c57600080fd5b600080600080600060a08688031215611f6657600080fd5b611f6f86611f34565b9450602086015193506040860151925060608601519150611f9260808701611f34565b90509295509295909350565b60006001600160ff1b0381841382841380821686840486111615611fc457611fc4611dc4565b600160ff1b6000871282811687830589121615611fe357611fe3611dc4565b60008712925087820587128484161615611fff57611fff611dc4565b8785058712818416161561201557612015611dc4565b505050929093029392505050565b60006020828403121561203557600080fd5b8151611d7d81611b72565b602080825260149082015273151bdad95b881c185e5b595b9d0819985a5b195960621b60408201526060019056fea26469706673582212206d02955749b4293e03c3288eebac6c573cb9c065dfb7e48021ee2f058430aff564736f6c63430008090033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.