Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 25 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Buy With USDT | 16000278 | 717 days ago | IN | 0 ETH | 0.00137291 | ||||
Buy With USDT | 16000264 | 717 days ago | IN | 0 ETH | 0.00109549 | ||||
Buy With USDT | 16000243 | 717 days ago | IN | 0 ETH | 0.00115014 | ||||
Buy With USDT | 16000239 | 717 days ago | IN | 0 ETH | 0.00105872 | ||||
Buy With Eth | 16000218 | 717 days ago | IN | 0.00827222 ETH | 0.00104014 | ||||
Buy With USDT | 16000217 | 717 days ago | IN | 0 ETH | 0.00099621 | ||||
Buy With USDT | 16000174 | 717 days ago | IN | 0 ETH | 0.00100118 | ||||
Buy With USDT | 16000158 | 717 days ago | IN | 0 ETH | 0.00102123 | ||||
Buy With USDT | 16000156 | 717 days ago | IN | 0 ETH | 0.00093269 | ||||
Buy With Eth | 16000145 | 717 days ago | IN | 0.00066177 ETH | 0.00100295 | ||||
Buy With USDT | 16000126 | 717 days ago | IN | 0 ETH | 0.00115419 | ||||
Buy With USDT | 16000125 | 717 days ago | IN | 0 ETH | 0.00100234 | ||||
Buy With USDT | 16000122 | 717 days ago | IN | 0 ETH | 0.00131776 | ||||
Buy With Eth | 16000106 | 717 days ago | IN | 0.00827222 ETH | 0.0010159 | ||||
Buy With USDT | 16000104 | 717 days ago | IN | 0 ETH | 0.00121862 | ||||
Buy With Eth | 16000099 | 717 days ago | IN | 0.00066177 ETH | 0.00125417 | ||||
Buy With Eth | 16000075 | 717 days ago | IN | 0.00066177 ETH | 0.00113247 | ||||
Buy With USDT | 16000074 | 717 days ago | IN | 0 ETH | 0.00128504 | ||||
Buy With USDT | 16000071 | 717 days ago | IN | 0 ETH | 0.00116345 | ||||
Buy With Eth | 16000044 | 717 days ago | IN | 0.00827222 ETH | 0.00109806 | ||||
Buy With Eth | 16000042 | 717 days ago | IN | 0.00066177 ETH | 0.00098777 | ||||
Buy With USDT | 16000042 | 717 days ago | IN | 0 ETH | 0.00123524 | ||||
Buy With USDT | 16000033 | 717 days ago | IN | 0 ETH | 0.00154789 | ||||
Initialize | 15999929 | 717 days ago | IN | 0 ETH | 0.00299057 | ||||
0x60806040 | 15999908 | 717 days ago | IN | 0 ETH | 0.04290988 |
Latest 7 internal transactions
Advanced mode:
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xbAc2f243...9704AC5b0 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
Presale
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT pragma solidity 0.8.17; import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.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 ); } contract Presale is Initializable, ReentrancyGuardUpgradeable, OwnableUpgradeable, PausableUpgradeable { uint256 public totalTokensSold = 0; uint256 public currentStep = 0; uint256 public startTime; uint256 public endTime; uint256 public claimStart; address public constant saleToken = 0xE4A0E30D3Ab1F2D4c0028AeDdAb60AB1Fbe46Df8; uint256 public baseDecimals; IERC20Upgradeable public USDTInterface; Aggregator public aggregatorInterface; // https://docs.chain.link/docs/ethereum-addresses/ => (ETH / USD) uint256 public token_price = 8_000_000_000_000_000; mapping(address => uint256) public userDeposits; mapping(address => bool) public hasClaimed; event SaleTimeSet(uint256 _start, uint256 _end, uint256 timestamp); event SaleTimeUpdated( bytes32 indexed key, uint256 prevValue, uint256 newValue, uint256 timestamp ); event TokensBought( address indexed user, uint256 indexed tokensBought, address indexed purchaseToken, uint256 amountPaid, uint256 timestamp ); event TokensAdded( address indexed token, uint256 noOfTokens, uint256 timestamp ); event TokensClaimed( address indexed user, uint256 amount, uint256 timestamp ); event ClaimStartUpdated( uint256 prevValue, uint256 newValue, uint256 timestamp ); /// @custom:oz-upgrades-unsafe-allow constructor /** * @dev Initializes the contract and sets key parameters * @param _oracle Oracle contract to fetch ETH/USDT price * @param _usdt USDT token contract address * @param _startTime start time of the presale * @param _endTime end time of the presale */ function initialize( address _oracle, address _usdt, uint256 _startTime, uint256 _endTime ) external initializer { require(_oracle != address(0), "Zero aggregator address"); require(_usdt != address(0), "Zero USDT address"); require( _startTime > block.timestamp && _endTime > _startTime, "Invalid time" ); __Pausable_init_unchained(); __Ownable_init_unchained(); __ReentrancyGuard_init_unchained(); baseDecimals = (10**18); aggregatorInterface = Aggregator(_oracle); USDTInterface = IERC20Upgradeable(_usdt); startTime = _startTime; endTime = _endTime; emit SaleTimeSet(startTime, endTime, block.timestamp); } /** * @dev To pause the presale */ function pause() external onlyOwner { _pause(); } /** * @dev To unpause the presale */ function unpause() external onlyOwner { _unpause(); } /** * @dev To calculate the price in USD for given amount of tokens. * @param _amount No of tokens */ function calculatePrice(uint256 _amount) public view returns (uint256) { uint256 USDTAmount; USDTAmount = _amount * token_price; return USDTAmount; } /** * @dev To update the sale times * @param _startTime New start time * @param _endTime New end time */ function changeSaleTimes(uint256 _startTime, uint256 _endTime) external onlyOwner { require(_startTime > 0 || _endTime > 0, "Invalid parameters"); if (_startTime > 0) { require(block.timestamp < startTime, "Sale already started"); require(block.timestamp < _startTime, "Sale time in past"); uint256 prevValue = startTime; startTime = _startTime; emit SaleTimeUpdated( bytes32("START"), prevValue, _startTime, block.timestamp ); } if (_endTime > 0) { require(block.timestamp < endTime, "Sale already ended"); require(_endTime > startTime, "Invalid endTime"); uint256 prevValue = endTime; endTime = _endTime; emit SaleTimeUpdated( bytes32("END"), prevValue, _endTime, block.timestamp ); } } /** * @dev To get latest ethereum price in 10**18 format */ function getLatestPrice() public view returns (uint256) { (, int256 price, , , ) = aggregatorInterface.latestRoundData(); price = (price * (10**10)); return uint256(price); } modifier checkSaleState(uint256 amount) { require( block.timestamp >= startTime && block.timestamp <= endTime, "Invalid time for buying" ); require(amount > 0, "Invalid sale amount"); _; } /** * @dev To buy into a presale using USDT * @param amount No of tokens to buy */ function buyWithUSDT(uint256 amount) external checkSaleState(amount) whenNotPaused returns (bool) { require(amount + totalTokensSold <= 140_000_000, "Exceeds Beta Stage"); uint256 usdPrice = calculatePrice(amount); usdPrice = usdPrice / (10**12); totalTokensSold += amount; userDeposits[_msgSender()] += (amount * baseDecimals); uint256 ourAllowance = USDTInterface.allowance( _msgSender(), address(this) ); require(usdPrice <= ourAllowance, "Make sure to add enough allowance"); (bool success, ) = address(USDTInterface).call( abi.encodeWithSignature( "transferFrom(address,address,uint256)", _msgSender(), owner(), usdPrice ) ); require(success, "Token payment failed"); emit TokensBought( _msgSender(), amount, address(USDTInterface), usdPrice, block.timestamp ); return true; } /** * @dev To buy into a presale using ETH * @param amount No of tokens to buy */ function buyWithEth(uint256 amount) external payable checkSaleState(amount) whenNotPaused nonReentrant returns (bool) { require(amount + totalTokensSold <= 140_000_000, "Exceeds Beta Stage"); uint256 usdPrice = calculatePrice(amount); uint256 ethAmount = (usdPrice * baseDecimals) / getLatestPrice(); require(msg.value >= ethAmount, "Less payment"); uint256 excess = msg.value - ethAmount; totalTokensSold += amount; userDeposits[_msgSender()] += (amount * baseDecimals); sendValue(payable(owner()), ethAmount); if (excess > 0) sendValue(payable(_msgSender()), excess); emit TokensBought( _msgSender(), amount, address(0), ethAmount, block.timestamp ); return true; } /** * @dev Helper function to get ETH price for given amount * @param amount No of tokens to buy */ function ethBuyHelper(uint256 amount) external view returns (uint256 ethAmount) { uint256 usdPrice = calculatePrice(amount); ethAmount = (usdPrice * baseDecimals) / getLatestPrice(); } /** * @dev Helper function to get USDT price for given amount * @param amount No of tokens to buy */ function usdtBuyHelper(uint256 amount) external view returns (uint256 usdPrice) { usdPrice = calculatePrice(amount); usdPrice = usdPrice / (10**12); } 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 set the claim start time and sale token address by the owner * @param _claimStart claim start time * @param noOfTokens no of tokens to add to the contract */ function startClaim( uint256 _claimStart, uint256 noOfTokens ) external onlyOwner returns (bool) { require( _claimStart > endTime && _claimStart > block.timestamp, "Invalid claim start time" ); require( noOfTokens >= (totalTokensSold * baseDecimals), "Tokens less than sold" ); require(claimStart == 0, "Claim already set"); claimStart = _claimStart; IERC20Upgradeable(saleToken).transferFrom( _msgSender(), address(this), noOfTokens ); emit TokensAdded(saleToken, noOfTokens, block.timestamp); return true; } /** * @dev To change the claim start time by the owner * @param _claimStart new claim start time */ function changeClaimStart(uint256 _claimStart) external onlyOwner returns (bool) { require(claimStart > 0, "Initial claim data not set"); require(_claimStart > endTime, "Sale in progress"); require(_claimStart > block.timestamp, "Claim start in past"); uint256 prevValue = claimStart; claimStart = _claimStart; emit ClaimStartUpdated(prevValue, _claimStart, block.timestamp); return true; } /** * @dev To claim tokens after claiming starts */ function claim() external whenNotPaused returns (bool) { require(saleToken != address(0), "Sale token not added"); require(block.timestamp >= claimStart, "Claim has not started yet"); require(!hasClaimed[_msgSender()], "Already claimed"); hasClaimed[_msgSender()] = true; uint256 amount = userDeposits[_msgSender()]; require(amount > 0, "Nothing to claim"); delete userDeposits[_msgSender()]; IERC20Upgradeable(saleToken).transfer(_msgSender(), amount); emit TokensClaimed(_msgSender(), amount, block.timestamp); return true; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0-rc.1) (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.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.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 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; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0-rc.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 Internal function that returns the initialized version. Returns `_initialized` */ function _getInitializedVersion() internal view returns (uint8) { return _initialized; } /** * @dev Internal function that returns the initialized version. Returns `_initializing` */ function _isInitializing() internal view returns (bool) { return _initializing; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0-rc.1) (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 (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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"prevValue","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newValue","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"ClaimStartUpdated","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":false,"internalType":"uint256","name":"_start","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_end","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"SaleTimeSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"key","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"prevValue","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newValue","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"SaleTimeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"noOfTokens","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"TokensAdded","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":"timestamp","type":"uint256"}],"name":"TokensBought","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"TokensClaimed","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":"uint256","name":"amount","type":"uint256"}],"name":"buyWithUSDT","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"calculatePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_claimStart","type":"uint256"}],"name":"changeClaimStart","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startTime","type":"uint256"},{"internalType":"uint256","name":"_endTime","type":"uint256"}],"name":"changeSaleTimes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claim","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentStep","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ethBuyHelper","outputs":[{"internalType":"uint256","name":"ethAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLatestPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"hasClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_oracle","type":"address"},{"internalType":"address","name":"_usdt","type":"address"},{"internalType":"uint256","name":"_startTime","type":"uint256"},{"internalType":"uint256","name":"_endTime","type":"uint256"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_claimStart","type":"uint256"},{"internalType":"uint256","name":"noOfTokens","type":"uint256"}],"name":"startClaim","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTokensSold","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":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"usdtBuyHelper","outputs":[{"internalType":"uint256","name":"usdPrice","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userDeposits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Deployed Bytecode
0x6080604052600436106101c25760003560e01c806375834ab5116100f7578063a7c6016011610095578063eb990c5911610064578063eb990c5914610651578063f04d688f1461067a578063f2fde38b146106a5578063f597573f146106ce576101c2565b8063a7c6016014610581578063ae104265146105be578063c49cc645146105fb578063e985e36714610626576101c2565b80637b4fd96e116100d15780637b4fd96e146104e95780638456cb59146105145780638da5cb5b1461052b5780638e15f47314610556576101c2565b806375834ab5146104515780637649b9571461048e57806378e97925146104be576101c2565b80634e71d92d1161016457806363b201171161013e57806363b201171461039557806363e40879146103c0578063715018a6146103fd57806373b2e80e14610414576101c2565b80634e71d92d146103145780635bc34f711461033f5780635c975abb1461036a576101c2565b806329a5a0b6116101a057806329a5a0b61461026a5780633197cbb6146102a757806333f76178146102d25780633f4ba83a146102fd576101c2565b806307f18082146101c75780630ba36dcd146102045780630dc9c83814610241575b600080fd5b3480156101d357600080fd5b506101ee60048036038101906101e9919061230b565b6106f9565b6040516101fb9190612353565b60405180910390f35b34801561021057600080fd5b5061022b600480360381019061022691906123cc565b610821565b6040516102389190612408565b60405180910390f35b34801561024d57600080fd5b5061026860048036038101906102639190612423565b610839565b005b34801561027657600080fd5b50610291600480360381019061028c919061230b565b610a8b565b60405161029e9190612408565b60405180910390f35b3480156102b357600080fd5b506102bc610ac1565b6040516102c99190612408565b60405180910390f35b3480156102de57600080fd5b506102e7610ac7565b6040516102f49190612408565b60405180910390f35b34801561030957600080fd5b50610312610acd565b005b34801561032057600080fd5b50610329610adf565b6040516103369190612353565b60405180910390f35b34801561034b57600080fd5b50610354610e75565b6040516103619190612408565b60405180910390f35b34801561037657600080fd5b5061037f610e7b565b60405161038c9190612353565b60405180910390f35b3480156103a157600080fd5b506103aa610e92565b6040516103b79190612408565b60405180910390f35b3480156103cc57600080fd5b506103e760048036038101906103e2919061230b565b610e98565b6040516103f49190612408565b60405180910390f35b34801561040957600080fd5b50610412610ebd565b005b34801561042057600080fd5b5061043b600480360381019061043691906123cc565b610ed1565b6040516104489190612353565b60405180910390f35b34801561045d57600080fd5b5061047860048036038101906104739190612423565b610ef1565b6040516104859190612353565b60405180910390f35b6104a860048036038101906104a3919061230b565b6110f2565b6040516104b59190612353565b60405180910390f35b3480156104ca57600080fd5b506104d36113a7565b6040516104e09190612408565b60405180910390f35b3480156104f557600080fd5b506104fe6113ad565b60405161050b9190612408565b60405180910390f35b34801561052057600080fd5b506105296113b3565b005b34801561053757600080fd5b506105406113c5565b60405161054d9190612472565b60405180910390f35b34801561056257600080fd5b5061056b6113ef565b6040516105789190612408565b60405180910390f35b34801561058d57600080fd5b506105a860048036038101906105a3919061230b565b6114a3565b6040516105b59190612353565b60405180910390f35b3480156105ca57600080fd5b506105e560048036038101906105e0919061230b565b611933565b6040516105f29190612408565b60405180910390f35b34801561060757600080fd5b5061061061194f565b60405161061d91906124ec565b60405180910390f35b34801561063257600080fd5b5061063b611975565b6040516106489190612472565b60405180910390f35b34801561065d57600080fd5b5061067860048036038101906106739190612507565b61198d565b005b34801561068657600080fd5b5061068f611ce8565b60405161069c9190612408565b60405180910390f35b3480156106b157600080fd5b506106cc60048036038101906106c791906123cc565b611cee565b005b3480156106da57600080fd5b506106e3611d71565b6040516106f0919061258f565b60405180910390f35b6000610703611d97565b600060cd5411610748576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073f90612607565b60405180910390fd5b60cc54821161078c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078390612673565b60405180910390fd5b4282116107ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c5906126df565b60405180910390fd5b600060cd5490508260cd819055507f5f3a900c85949962b4cc192dd3714dae64071dc2e907049ec720b023270905a481844260405161080f939291906126ff565b60405180910390a16001915050919050565b60d26020528060005260406000206000915090505481565b610841611d97565b60008211806108505750600081115b61088f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088690612782565b60405180910390fd5b600082111561098a5760cb5442106108dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d3906127ee565b60405180910390fd5b81421061091e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109159061285a565b60405180910390fd5b600060cb5490508260cb819055507f53544152540000000000000000000000000000000000000000000000000000007fddd2ed237e6993c9380182683f2c8bec486aaaa429528852cd74dbdb96cea0b2828542604051610980939291906126ff565b60405180910390a2505b6000811115610a875760cc5442106109d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ce906128c6565b60405180910390fd5b60cb548111610a1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1290612932565b60405180910390fd5b600060cc5490508160cc819055507f454e4400000000000000000000000000000000000000000000000000000000007fddd2ed237e6993c9380182683f2c8bec486aaaa429528852cd74dbdb96cea0b2828442604051610a7d939291906126ff565b60405180910390a2505b5050565b600080610a9783611933565b9050610aa16113ef565b60ce5482610aaf9190612981565b610ab991906129f2565b915050919050565b60cc5481565b60ce5481565b610ad5611d97565b610add611e15565b565b6000610ae9611e78565b600073ffffffffffffffffffffffffffffffffffffffff1673e4a0e30d3ab1f2d4c0028aeddab60ab1fbe46df873ffffffffffffffffffffffffffffffffffffffff1603610b6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6390612a6f565b60405180910390fd5b60cd54421015610bb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba890612adb565b60405180910390fd5b60d36000610bbd611ec2565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610c45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3c90612b47565b60405180910390fd5b600160d36000610c53611ec2565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600060d26000610cb2611ec2565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060008111610d32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2990612bb3565b60405180910390fd5b60d26000610d3e611ec2565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000905573e4a0e30d3ab1f2d4c0028aeddab60ab1fbe46df873ffffffffffffffffffffffffffffffffffffffff1663a9059cbb610db4611ec2565b836040518363ffffffff1660e01b8152600401610dd2929190612bd3565b6020604051808303816000875af1158015610df1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e159190612c28565b50610e1e611ec2565b73ffffffffffffffffffffffffffffffffffffffff167f9923b4306c6c030f2bdfbf156517d5983b87e15b96176da122cd4f2effa4ba7b8242604051610e65929190612c55565b60405180910390a2600191505090565b60ca5481565b6000609760009054906101000a900460ff16905090565b60c95481565b6000610ea382611933565b905064e8d4a5100081610eb691906129f2565b9050919050565b610ec5611d97565b610ecf6000611eca565b565b60d36020528060005260406000206000915054906101000a900460ff1681565b6000610efb611d97565b60cc5483118015610f0b57504283115b610f4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4190612cca565b60405180910390fd5b60ce5460c954610f5a9190612981565b821015610f9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9390612d36565b60405180910390fd5b600060cd5414610fe1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd890612da2565b60405180910390fd5b8260cd8190555073e4a0e30d3ab1f2d4c0028aeddab60ab1fbe46df873ffffffffffffffffffffffffffffffffffffffff166323b872dd611020611ec2565b30856040518463ffffffff1660e01b815260040161104093929190612dc2565b6020604051808303816000875af115801561105f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110839190612c28565b5073e4a0e30d3ab1f2d4c0028aeddab60ab1fbe46df873ffffffffffffffffffffffffffffffffffffffff167fdc9670dbabdd488b372eb16ebe49a39b3124a12cdffdcefbc89834a408bf8ff883426040516110e0929190612c55565b60405180910390a26001905092915050565b60008160cb544210158015611109575060cc544211155b611148576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113f90612e45565b60405180910390fd5b6000811161118b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118290612eb1565b60405180910390fd5b611193611e78565b61119b611f90565b6308583b0060c954846111ae9190612ed1565b11156111ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e690612f51565b60405180910390fd5b60006111fa84611933565b905060006112066113ef565b60ce54836112149190612981565b61121e91906129f2565b905080341015611263576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125a90612fbd565b60405180910390fd5b600081346112719190612fdd565b90508560c960008282546112859190612ed1565b9250508190555060ce548661129a9190612981565b60d260006112a6611ec2565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112ef9190612ed1565b925050819055506113076113016113c5565b83611fdf565b60008111156113225761132161131b611ec2565b82611fdf565b5b600073ffffffffffffffffffffffffffffffffffffffff1686611343611ec2565b73ffffffffffffffffffffffffffffffffffffffff167f62e796e00a8e66154d78da76daae129635b4795a6e1b889f2caa6c5cea22ac68854260405161138a929190612c55565b60405180910390a4600194505050506113a16120d3565b50919050565b60cb5481565b60d15481565b6113bb611d97565b6113c36120dc565b565b6000606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060d060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa15801561145f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611483919061309e565b5050509150506402540be4008161149a9190613119565b90508091505090565b60008160cb5442101580156114ba575060cc544211155b6114f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f090612e45565b60405180910390fd5b6000811161153c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153390612eb1565b60405180910390fd5b611544611e78565b6308583b0060c954846115579190612ed1565b1115611598576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158f90612f51565b60405180910390fd5b60006115a384611933565b905064e8d4a51000816115b691906129f2565b90508360c960008282546115ca9190612ed1565b9250508190555060ce54846115df9190612981565b60d260006115eb611ec2565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116349190612ed1565b92505081905550600060cf60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e611683611ec2565b306040518363ffffffff1660e01b81526004016116a1929190613191565b602060405180830381865afa1580156116be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e291906131ba565b905080821115611727576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171e90613259565b60405180910390fd5b600060cf60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661176a611ec2565b6117726113c5565b8560405160240161178593929190612dc2565b6040516020818303038152906040527f23b872dd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505060405161180f91906132ea565b6000604051808303816000865af19150503d806000811461184c576040519150601f19603f3d011682016040523d82523d6000602084013e611851565b606091505b5050905080611895576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188c9061334d565b60405180910390fd5b60cf60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16866118d7611ec2565b73ffffffffffffffffffffffffffffffffffffffff167f62e796e00a8e66154d78da76daae129635b4795a6e1b889f2caa6c5cea22ac68864260405161191e929190612c55565b60405180910390a46001945050505050919050565b60008060d154836119449190612981565b905080915050919050565b60d060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b73e4a0e30d3ab1f2d4c0028aeddab60ab1fbe46df881565b60008060019054906101000a900460ff161590508080156119be5750600160008054906101000a900460ff1660ff16105b806119eb57506119cd3061213f565b1580156119ea5750600160008054906101000a900460ff1660ff16145b5b611a2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a21906133df565b60405180910390fd5b60016000806101000a81548160ff021916908360ff1602179055508015611a67576001600060016101000a81548160ff0219169083151502179055505b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603611ad6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611acd9061344b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611b45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3c906134b7565b60405180910390fd5b4283118015611b5357508282115b611b92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8990613523565b60405180910390fd5b611b9a612162565b611ba26121ce565b611baa61222f565b670de0b6b3a764000060ce819055508460d060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508360cf60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508260cb819055508160cc819055507f23f6ad8232d75562dd1c6b37dfc895af6bfc1ecd0fb3b88722c6a5e6b4dc9a2060cb5460cc5442604051611c80939291906126ff565b60405180910390a18015611ce15760008060016101000a81548160ff0219169083151502179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024986001604051611cd8919061358b565b60405180910390a15b5050505050565b60cd5481565b611cf6611d97565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611d65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5c90613618565b60405180910390fd5b611d6e81611eca565b50565b60cf60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611d9f611ec2565b73ffffffffffffffffffffffffffffffffffffffff16611dbd6113c5565b73ffffffffffffffffffffffffffffffffffffffff1614611e13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0a90613684565b60405180910390fd5b565b611e1d612287565b6000609760006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611e61611ec2565b604051611e6e9190612472565b60405180910390a1565b611e80610e7b565b15611ec0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb7906136f0565b60405180910390fd5b565b600033905090565b6000606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081606560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600260015403611fd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fcc9061375c565b60405180910390fd5b6002600181905550565b80471015612022576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612019906137c8565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516120489061380e565b60006040518083038185875af1925050503d8060008114612085576040519150601f19603f3d011682016040523d82523d6000602084013e61208a565b606091505b50509050806120ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c59061386f565b60405180910390fd5b505050565b60018081905550565b6120e4611e78565b6001609760006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612128611ec2565b6040516121359190612472565b60405180910390a1565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600060019054906101000a900460ff166121b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a890613901565b60405180910390fd5b6000609760006101000a81548160ff021916908315150217905550565b600060019054906101000a900460ff1661221d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221490613901565b60405180910390fd5b61222d612228611ec2565b611eca565b565b600060019054906101000a900460ff1661227e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227590613901565b60405180910390fd5b60018081905550565b61228f610e7b565b6122ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c59061396d565b60405180910390fd5b565b600080fd5b6000819050919050565b6122e8816122d5565b81146122f357600080fd5b50565b600081359050612305816122df565b92915050565b600060208284031215612321576123206122d0565b5b600061232f848285016122f6565b91505092915050565b60008115159050919050565b61234d81612338565b82525050565b60006020820190506123686000830184612344565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006123998261236e565b9050919050565b6123a98161238e565b81146123b457600080fd5b50565b6000813590506123c6816123a0565b92915050565b6000602082840312156123e2576123e16122d0565b5b60006123f0848285016123b7565b91505092915050565b612402816122d5565b82525050565b600060208201905061241d60008301846123f9565b92915050565b6000806040838503121561243a576124396122d0565b5b6000612448858286016122f6565b9250506020612459858286016122f6565b9150509250929050565b61246c8161238e565b82525050565b60006020820190506124876000830184612463565b92915050565b6000819050919050565b60006124b26124ad6124a88461236e565b61248d565b61236e565b9050919050565b60006124c482612497565b9050919050565b60006124d6826124b9565b9050919050565b6124e6816124cb565b82525050565b600060208201905061250160008301846124dd565b92915050565b60008060008060808587031215612521576125206122d0565b5b600061252f878288016123b7565b9450506020612540878288016123b7565b9350506040612551878288016122f6565b9250506060612562878288016122f6565b91505092959194509250565b6000612579826124b9565b9050919050565b6125898161256e565b82525050565b60006020820190506125a46000830184612580565b92915050565b600082825260208201905092915050565b7f496e697469616c20636c61696d2064617461206e6f7420736574000000000000600082015250565b60006125f1601a836125aa565b91506125fc826125bb565b602082019050919050565b60006020820190508181036000830152612620816125e4565b9050919050565b7f53616c6520696e2070726f677265737300000000000000000000000000000000600082015250565b600061265d6010836125aa565b915061266882612627565b602082019050919050565b6000602082019050818103600083015261268c81612650565b9050919050565b7f436c61696d20737461727420696e207061737400000000000000000000000000600082015250565b60006126c96013836125aa565b91506126d482612693565b602082019050919050565b600060208201905081810360008301526126f8816126bc565b9050919050565b600060608201905061271460008301866123f9565b61272160208301856123f9565b61272e60408301846123f9565b949350505050565b7f496e76616c696420706172616d65746572730000000000000000000000000000600082015250565b600061276c6012836125aa565b915061277782612736565b602082019050919050565b6000602082019050818103600083015261279b8161275f565b9050919050565b7f53616c6520616c72656164792073746172746564000000000000000000000000600082015250565b60006127d86014836125aa565b91506127e3826127a2565b602082019050919050565b60006020820190508181036000830152612807816127cb565b9050919050565b7f53616c652074696d6520696e2070617374000000000000000000000000000000600082015250565b60006128446011836125aa565b915061284f8261280e565b602082019050919050565b6000602082019050818103600083015261287381612837565b9050919050565b7f53616c6520616c726561647920656e6465640000000000000000000000000000600082015250565b60006128b06012836125aa565b91506128bb8261287a565b602082019050919050565b600060208201905081810360008301526128df816128a3565b9050919050565b7f496e76616c696420656e6454696d650000000000000000000000000000000000600082015250565b600061291c600f836125aa565b9150612927826128e6565b602082019050919050565b6000602082019050818103600083015261294b8161290f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061298c826122d5565b9150612997836122d5565b92508282026129a5816122d5565b915082820484148315176129bc576129bb612952565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006129fd826122d5565b9150612a08836122d5565b925082612a1857612a176129c3565b5b828204905092915050565b7f53616c6520746f6b656e206e6f74206164646564000000000000000000000000600082015250565b6000612a596014836125aa565b9150612a6482612a23565b602082019050919050565b60006020820190508181036000830152612a8881612a4c565b9050919050565b7f436c61696d20686173206e6f7420737461727465642079657400000000000000600082015250565b6000612ac56019836125aa565b9150612ad082612a8f565b602082019050919050565b60006020820190508181036000830152612af481612ab8565b9050919050565b7f416c726561647920636c61696d65640000000000000000000000000000000000600082015250565b6000612b31600f836125aa565b9150612b3c82612afb565b602082019050919050565b60006020820190508181036000830152612b6081612b24565b9050919050565b7f4e6f7468696e6720746f20636c61696d00000000000000000000000000000000600082015250565b6000612b9d6010836125aa565b9150612ba882612b67565b602082019050919050565b60006020820190508181036000830152612bcc81612b90565b9050919050565b6000604082019050612be86000830185612463565b612bf560208301846123f9565b9392505050565b612c0581612338565b8114612c1057600080fd5b50565b600081519050612c2281612bfc565b92915050565b600060208284031215612c3e57612c3d6122d0565b5b6000612c4c84828501612c13565b91505092915050565b6000604082019050612c6a60008301856123f9565b612c7760208301846123f9565b9392505050565b7f496e76616c696420636c61696d2073746172742074696d650000000000000000600082015250565b6000612cb46018836125aa565b9150612cbf82612c7e565b602082019050919050565b60006020820190508181036000830152612ce381612ca7565b9050919050565b7f546f6b656e73206c657373207468616e20736f6c640000000000000000000000600082015250565b6000612d206015836125aa565b9150612d2b82612cea565b602082019050919050565b60006020820190508181036000830152612d4f81612d13565b9050919050565b7f436c61696d20616c726561647920736574000000000000000000000000000000600082015250565b6000612d8c6011836125aa565b9150612d9782612d56565b602082019050919050565b60006020820190508181036000830152612dbb81612d7f565b9050919050565b6000606082019050612dd76000830186612463565b612de46020830185612463565b612df160408301846123f9565b949350505050565b7f496e76616c69642074696d6520666f7220627579696e67000000000000000000600082015250565b6000612e2f6017836125aa565b9150612e3a82612df9565b602082019050919050565b60006020820190508181036000830152612e5e81612e22565b9050919050565b7f496e76616c69642073616c6520616d6f756e7400000000000000000000000000600082015250565b6000612e9b6013836125aa565b9150612ea682612e65565b602082019050919050565b60006020820190508181036000830152612eca81612e8e565b9050919050565b6000612edc826122d5565b9150612ee7836122d5565b9250828201905080821115612eff57612efe612952565b5b92915050565b7f4578636565647320426574612053746167650000000000000000000000000000600082015250565b6000612f3b6012836125aa565b9150612f4682612f05565b602082019050919050565b60006020820190508181036000830152612f6a81612f2e565b9050919050565b7f4c657373207061796d656e740000000000000000000000000000000000000000600082015250565b6000612fa7600c836125aa565b9150612fb282612f71565b602082019050919050565b60006020820190508181036000830152612fd681612f9a565b9050919050565b6000612fe8826122d5565b9150612ff3836122d5565b925082820390508181111561300b5761300a612952565b5b92915050565b600069ffffffffffffffffffff82169050919050565b61303081613011565b811461303b57600080fd5b50565b60008151905061304d81613027565b92915050565b6000819050919050565b61306681613053565b811461307157600080fd5b50565b6000815190506130838161305d565b92915050565b600081519050613098816122df565b92915050565b600080600080600060a086880312156130ba576130b96122d0565b5b60006130c88882890161303e565b95505060206130d988828901613074565b94505060406130ea88828901613089565b93505060606130fb88828901613089565b925050608061310c8882890161303e565b9150509295509295909350565b600061312482613053565b915061312f83613053565b925082820261313d81613053565b91507f8000000000000000000000000000000000000000000000000000000000000000841460008412161561317557613174612952565b5b828205841483151761318a57613189612952565b5b5092915050565b60006040820190506131a66000830185612463565b6131b36020830184612463565b9392505050565b6000602082840312156131d0576131cf6122d0565b5b60006131de84828501613089565b91505092915050565b7f4d616b65207375726520746f2061646420656e6f75676820616c6c6f77616e6360008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b60006132436021836125aa565b915061324e826131e7565b604082019050919050565b6000602082019050818103600083015261327281613236565b9050919050565b600081519050919050565b600081905092915050565b60005b838110156132ad578082015181840152602081019050613292565b60008484015250505050565b60006132c482613279565b6132ce8185613284565b93506132de81856020860161328f565b80840191505092915050565b60006132f682846132b9565b915081905092915050565b7f546f6b656e207061796d656e74206661696c6564000000000000000000000000600082015250565b60006133376014836125aa565b915061334282613301565b602082019050919050565b600060208201905081810360008301526133668161332a565b9050919050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b60006133c9602e836125aa565b91506133d48261336d565b604082019050919050565b600060208201905081810360008301526133f8816133bc565b9050919050565b7f5a65726f2061676772656761746f722061646472657373000000000000000000600082015250565b60006134356017836125aa565b9150613440826133ff565b602082019050919050565b6000602082019050818103600083015261346481613428565b9050919050565b7f5a65726f20555344542061646472657373000000000000000000000000000000600082015250565b60006134a16011836125aa565b91506134ac8261346b565b602082019050919050565b600060208201905081810360008301526134d081613494565b9050919050565b7f496e76616c69642074696d650000000000000000000000000000000000000000600082015250565b600061350d600c836125aa565b9150613518826134d7565b602082019050919050565b6000602082019050818103600083015261353c81613500565b9050919050565b6000819050919050565b600060ff82169050919050565b600061357561357061356b84613543565b61248d565b61354d565b9050919050565b6135858161355a565b82525050565b60006020820190506135a0600083018461357c565b92915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006136026026836125aa565b915061360d826135a6565b604082019050919050565b60006020820190508181036000830152613631816135f5565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061366e6020836125aa565b915061367982613638565b602082019050919050565b6000602082019050818103600083015261369d81613661565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006136da6010836125aa565b91506136e5826136a4565b602082019050919050565b60006020820190508181036000830152613709816136cd565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613746601f836125aa565b915061375182613710565b602082019050919050565b6000602082019050818103600083015261377581613739565b9050919050565b7f4c6f772062616c616e6365000000000000000000000000000000000000000000600082015250565b60006137b2600b836125aa565b91506137bd8261377c565b602082019050919050565b600060208201905081810360008301526137e1816137a5565b9050919050565b50565b60006137f8600083613284565b9150613803826137e8565b600082019050919050565b6000613819826137eb565b9150819050919050565b7f455448205061796d656e74206661696c65640000000000000000000000000000600082015250565b60006138596012836125aa565b915061386482613823565b602082019050919050565b600060208201905081810360008301526138888161384c565b9050919050565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960008201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b60006138eb602b836125aa565b91506138f68261388f565b604082019050919050565b6000602082019050818103600083015261391a816138de565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006139576014836125aa565b915061396282613921565b602082019050919050565b600060208201905081810360008301526139868161394a565b905091905056fea2646970667358221220c5e749c3dd223784d815955160d82b9c759004ff50d5a5980c4a73c7b8152fc464736f6c63430008110033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.