Feature Tip: Add private address tag to any address under My Name Tag !
Source Code
Latest 25 from a total of 151 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Buy Tokens Wert | 19333899 | 730 days ago | IN | 0.035 ETH | 0.01248115 | ||||
| Buy Tokens Wert | 19331094 | 730 days ago | IN | 0.015 ETH | 0.00630866 | ||||
| Buy Tokens Wert | 19330806 | 730 days ago | IN | 0.059 ETH | 0.00795968 | ||||
| Buy Tokens Wert | 19330438 | 730 days ago | IN | 0.055 ETH | 0.00727647 | ||||
| Buy Tokens Wert | 19330024 | 730 days ago | IN | 0.027 ETH | 0.00589545 | ||||
| Buy Tokens Wert | 19325821 | 731 days ago | IN | 0.06 ETH | 0.00668327 | ||||
| Buy Tokens Wert | 19325037 | 731 days ago | IN | 0.031 ETH | 0.00989679 | ||||
| Buy Tokens Wert | 19322401 | 731 days ago | IN | 0.016 ETH | 0.00567599 | ||||
| Buy Tokens Wert | 19320461 | 731 days ago | IN | 0.032 ETH | 0.00712857 | ||||
| Buy Tokens Wert | 19320407 | 731 days ago | IN | 0.031 ETH | 0.00734224 | ||||
| Buy Tokens Wert | 19317725 | 732 days ago | IN | 0.084 ETH | 0.00453623 | ||||
| Buy Tokens Wert | 19314852 | 732 days ago | IN | 0.016 ETH | 0.00544223 | ||||
| Buy Tokens Wert | 19311763 | 733 days ago | IN | 0.164 ETH | 0.00444434 | ||||
| Buy Tokens Wert | 19308871 | 733 days ago | IN | 0.017 ETH | 0.0028758 | ||||
| Buy Tokens Wert | 19303046 | 734 days ago | IN | 0.025 ETH | 0.00317724 | ||||
| Buy Tokens Wert | 19298736 | 734 days ago | IN | 0.011 ETH | 0.00530664 | ||||
| Buy Tokens Wert | 19298181 | 735 days ago | IN | 0.064 ETH | 0.00301527 | ||||
| Buy Tokens Wert | 19295395 | 735 days ago | IN | 0.102 ETH | 0.00347255 | ||||
| Buy Tokens Wert | 19293956 | 735 days ago | IN | 0.011 ETH | 0.00331077 | ||||
| Buy Tokens Wert | 19289565 | 736 days ago | IN | 0.007 ETH | 0.00420054 | ||||
| Buy Tokens Wert | 19289421 | 736 days ago | IN | 0.035 ETH | 0.00548666 | ||||
| Buy Tokens Wert | 19287922 | 736 days ago | IN | 0.017 ETH | 0.0048485 | ||||
| Buy Tokens Wert | 19283758 | 737 days ago | IN | 0.17 ETH | 0.0079531 | ||||
| Buy Tokens Wert | 19281480 | 737 days ago | IN | 0.068 ETH | 0.00523753 | ||||
| Buy Tokens Wert | 19278603 | 737 days ago | IN | 0.069 ETH | 0.00494904 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 19333899 | 730 days ago | 0.035 ETH | ||||
| Transfer | 19331094 | 730 days ago | 0.015 ETH | ||||
| Transfer | 19330806 | 730 days ago | 0.059 ETH | ||||
| Transfer | 19330438 | 730 days ago | 0.055 ETH | ||||
| Transfer | 19330024 | 730 days ago | 0.027 ETH | ||||
| Transfer | 19325821 | 731 days ago | 0.06 ETH | ||||
| Transfer | 19325037 | 731 days ago | 0.031 ETH | ||||
| Transfer | 19322401 | 731 days ago | 0.016 ETH | ||||
| Transfer | 19320461 | 731 days ago | 0.032 ETH | ||||
| Transfer | 19320407 | 731 days ago | 0.031 ETH | ||||
| Transfer | 19317725 | 732 days ago | 0.084 ETH | ||||
| Transfer | 19314852 | 732 days ago | 0.016 ETH | ||||
| Transfer | 19311763 | 733 days ago | 0.164 ETH | ||||
| Transfer | 19308871 | 733 days ago | 0.017 ETH | ||||
| Transfer | 19303046 | 734 days ago | 0.025 ETH | ||||
| Transfer | 19298736 | 734 days ago | 0.011 ETH | ||||
| Transfer | 19298181 | 735 days ago | 0.064 ETH | ||||
| Transfer | 19295395 | 735 days ago | 0.102 ETH | ||||
| Transfer | 19293956 | 735 days ago | 0.011 ETH | ||||
| Transfer | 19289565 | 736 days ago | 0.007 ETH | ||||
| Transfer | 19289421 | 736 days ago | 0.035 ETH | ||||
| Transfer | 19287922 | 736 days ago | 0.017 ETH | ||||
| Transfer | 19283758 | 737 days ago | 0.17 ETH | ||||
| Transfer | 19281480 | 737 days ago | 0.068 ETH | ||||
| Transfer | 19278603 | 737 days ago | 0.069 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
FifthScapeSale_Ethereum
Compiler Version
v0.8.22+commit.4fc1097e
Optimization Enabled:
Yes with 200 runs
Other Settings:
istanbul EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity 0.8.22;
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {Pausable} from "@openzeppelin/contracts/utils/Pausable.sol";
import {ReentrancyGuard} from "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import {IFifthScapeVesting} from "../interfaces/IFifthScapeVesting.sol";
import {AggregatorV3Interface} from "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol";
contract FifthScapeSale_Ethereum is Ownable, Pausable, ReentrancyGuard {
using SafeERC20 for IERC20;
IERC20 public s_usdt;
IFifthScapeVesting public s_vesting;
address public i_eth_usd_priceFeed;
address public i_usdt_usd_priceFeed;
uint256 public s_usdtPrice = 1870;
uint256 public s_minAmountToInvest = 10;
uint256 public s_maxAmountToInvest = 5000000000;
uint256 public s_tokensForSale = 1250000 ether;
uint256 public s_tokenSold;
mapping(address => uint256) public s_investemetByAddress;
constructor(
address _vesting,
address _usdt,
address _owner
) Ownable(_owner) {
if (block.chainid == 1) {
i_eth_usd_priceFeed = 0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419;
i_usdt_usd_priceFeed = 0x3E7d1eAB13ad0104d2750B8863b489D65364e32D;
s_vesting = IFifthScapeVesting(_vesting);
s_usdt = IERC20(_usdt);
} else {
i_eth_usd_priceFeed = 0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419;
i_usdt_usd_priceFeed = 0x3E7d1eAB13ad0104d2750B8863b489D65364e32D;
s_vesting = IFifthScapeVesting(_vesting);
s_usdt = IERC20(_usdt);
}
}
function multiply(uint256 x, uint256 y) internal pure returns (uint256 z) {
require(y == 0 || (z = x * y) / y == x);
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return a / b;
}
function _getDerivedPrice(
address _base,
address _quote,
uint8 _decimals
) internal view returns (int256) {
require(
_decimals > uint8(0) && _decimals <= uint8(18),
"Invalid _decimals"
);
int256 decimals = int256(10 ** uint256(_decimals));
(, int256 basePrice, , , ) = AggregatorV3Interface(_base)
.latestRoundData();
uint8 baseDecimals = AggregatorV3Interface(_base).decimals();
basePrice = _scalePrice(basePrice, baseDecimals, _decimals);
(, int256 quotePrice, , , ) = AggregatorV3Interface(_quote)
.latestRoundData();
uint8 quoteDecimals = AggregatorV3Interface(_quote).decimals();
quotePrice = _scalePrice(quotePrice, quoteDecimals, _decimals);
return (basePrice * decimals) / quotePrice;
}
function _scalePrice(
int256 _price,
uint8 _priceDecimals,
uint8 _decimals
) internal pure returns (int256) {
if (_priceDecimals < _decimals) {
return _price * int256(10 ** uint256(_decimals - _priceDecimals));
} else if (_priceDecimals > _decimals) {
return _price / int256(10 ** uint256(_priceDecimals - _decimals));
}
return _price;
}
function _getPriceOfGivenTokenInETH(
int256 amount
) public view returns (int256) {
// 1000000 = below pricce
int256 usdtPriceInETH = _getDerivedPrice(
i_usdt_usd_priceFeed,
i_eth_usd_priceFeed,
18
);
int256 priceOfTokensInUsdt = int256(
multiply(uint256(amount), s_usdtPrice)
); // 6 decimal answer
int256 formmatedPriceOfTokensInUsdt = _scalePrice(
priceOfTokensInUsdt,
6,
18
);
return ((formmatedPriceOfTokensInUsdt * usdtPriceInETH) / 1e18);
}
function buyTokensETH(
uint256 amount
) external payable whenNotPaused nonReentrant {
require(
s_tokenSold <= s_tokensForSale,
"FifthScapeSale_Ethereum: All Tokens Solded Out"
);
uint256 payableAmountInETH = uint256(
_getPriceOfGivenTokenInETH(int256(amount))
);
uint256 tokenAmount = amount * (10 ** 18);
require(
msg.value >= payableAmountInETH,
"FifthScapeSale_Ethereum: Not enough funds to buy tokens"
);
uint256 payableAmountUSDT = multiply(amount, s_usdtPrice);
require(
payableAmountUSDT >= s_minAmountToInvest,
"FifthScapeSale_Ethereum: Less than Minimum investment"
);
require(
s_investemetByAddress[msg.sender] + payableAmountUSDT <=
s_maxAmountToInvest,
"FifthScapeSale_Ethereum: Exceeding maximum limit"
);
s_investemetByAddress[msg.sender] =
s_investemetByAddress[msg.sender] +
payableAmountUSDT;
s_vesting.allocateTokensManager(msg.sender, tokenAmount);
s_tokenSold = s_tokenSold + tokenAmount;
}
function buyTokensUSDT(uint256 amount) external whenNotPaused nonReentrant {
require(
s_tokenSold <= s_tokensForSale,
"FifthScapeSale_Ethereum: All Tokens Solded Out"
);
uint256 tokenAmount = amount * (10 ** 18);
uint256 payableAmount = multiply(amount, s_usdtPrice);
require(
payableAmount >= s_minAmountToInvest,
"FifthScapeSale_Ethereum: Less than Minimum investment"
);
require(
s_investemetByAddress[msg.sender] + payableAmount <=
s_maxAmountToInvest,
"FifthScapeSale_Ethereum: Exceeding maximum limit"
);
s_investemetByAddress[msg.sender] =
s_investemetByAddress[msg.sender] +
payableAmount;
s_usdt.safeTransferFrom(msg.sender, owner(), payableAmount);
s_vesting.allocateTokensManager(msg.sender, tokenAmount);
s_tokenSold = s_tokenSold + tokenAmount;
}
function buyTokensWert(
address user
) external payable whenNotPaused nonReentrant {
uint256 usdt_amount = multiply(
msg.value,
uint256(_getDerivedPrice(i_eth_usd_priceFeed, i_usdt_usd_priceFeed, 6))
);
uint256 tokenAmount = div(usdt_amount, s_usdtPrice);
s_investemetByAddress[msg.sender] = s_investemetByAddress[msg.sender] + usdt_amount;
s_vesting.allocateTokensManager(user, tokenAmount);
s_tokenSold = s_tokenSold + tokenAmount;
(bool sent, ) = payable(owner()).call{value: msg.value}("");
require(sent, "Funds transfer unsuccesfull");
}
function updateMaxInvestment(uint256 amount) external onlyOwner {
s_maxAmountToInvest = amount;
}
function updateMinInvestment(uint256 amount) external onlyOwner {
s_minAmountToInvest = amount;
}
function updateUsdt(IERC20 usdt) external onlyOwner {
s_usdt = usdt;
}
function updatePrice(uint256 newPrice) external onlyOwner {
s_usdtPrice = newPrice;
}
function updateVesting(address newVesting) external onlyOwner {
s_vesting = IFifthScapeVesting(newVesting);
}
function updatePriceFeeds(
address _eth_usd,
address _usdt_usd
) external onlyOwner {
i_eth_usd_priceFeed = _eth_usd;
i_usdt_usd_priceFeed = _usdt_usd;
}
function pause() external whenNotPaused onlyOwner {
_pause();
}
function unpause() external whenPaused onlyOwner {
_unpause();
}
function withdrawERC20(
address _tokenAddress,
uint256 _amount
) external onlyOwner {
IERC20 currentToken = IERC20(_tokenAddress);
currentToken.approve(address(this), _amount);
currentToken.safeTransferFrom(address(this), owner(), _amount);
}
function withdrawNative(uint256 _amount) external onlyOwner {
(bool hs, ) = payable(owner()).call{value: _amount}("");
require(hs, "EnergiWanBridge:: Failed to withdraw native coins");
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface AggregatorV3Interface {
function decimals() external view returns (uint8);
function description() external view returns (string memory);
function version() external view returns (uint256);
function getRoundData(
uint80 _roundId
) external view returns (uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound);
function latestRoundData()
external
view
returns (uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)
pragma solidity ^0.8.20;
import {Context} from "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* The initial owner is set to the address provided by the deployer. This can
* later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
/**
* @dev The caller account is not authorized to perform an operation.
*/
error OwnableUnauthorizedAccount(address account);
/**
* @dev The owner is not a valid owner account. (eg. `address(0)`)
*/
error OwnableInvalidOwner(address owner);
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the address provided by the deployer as the initial owner.
*/
constructor(address initialOwner) {
if (initialOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(initialOwner);
}
/**
* @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 {
if (owner() != _msgSender()) {
revert OwnableUnauthorizedAccount(_msgSender());
}
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby disabling 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 {
if (newOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_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);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Permit.sol)
pragma solidity ^0.8.20;
/**
* @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
* https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
*
* Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
* presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
* need to send a transaction, and thus is not required to hold Ether at all.
*
* ==== Security Considerations
*
* There are two important considerations concerning the use of `permit`. The first is that a valid permit signature
* expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be
* considered as an intention to spend the allowance in any specific way. The second is that because permits have
* built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should
* take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be
* generally recommended is:
*
* ```solidity
* function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {
* try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}
* doThing(..., value);
* }
*
* function doThing(..., uint256 value) public {
* token.safeTransferFrom(msg.sender, address(this), value);
* ...
* }
* ```
*
* Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of
* `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also
* {SafeERC20-safeTransferFrom}).
*
* Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so
* contracts should have entry points that don't rely on permit.
*/
interface IERC20Permit {
/**
* @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
* given ``owner``'s signed approval.
*
* IMPORTANT: The same issues {IERC20-approve} has related to transaction
* ordering also apply here.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `deadline` must be a timestamp in the future.
* - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
* over the EIP712-formatted function arguments.
* - the signature must use ``owner``'s current nonce (see {nonces}).
*
* For more information on the signature format, see the
* https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
* section].
*
* CAUTION: See Security Considerations above.
*/
function permit(
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) external;
/**
* @dev Returns the current nonce for `owner`. This value must be
* included whenever a signature is generated for {permit}.
*
* Every successful call to {permit} increases ``owner``'s nonce by one. This
* prevents a signature from being used multiple times.
*/
function nonces(address owner) external view returns (uint256);
/**
* @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
*/
// solhint-disable-next-line func-name-mixedcase
function DOMAIN_SEPARATOR() external view returns (bytes32);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.20;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
/**
* @dev Returns the value of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the value of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from `from` to `to` using the
* allowance mechanism. `value` 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 value) external returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/utils/SafeERC20.sol)
pragma solidity ^0.8.20;
import {IERC20} from "../IERC20.sol";
import {IERC20Permit} from "../extensions/IERC20Permit.sol";
import {Address} from "../../../utils/Address.sol";
/**
* @title SafeERC20
* @dev Wrappers around ERC20 operations that throw on failure (when the token
* contract returns false). Tokens that return no value (and instead revert or
* throw on failure) are also supported, non-reverting calls are assumed to be
* successful.
* To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
* which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
*/
library SafeERC20 {
using Address for address;
/**
* @dev An operation with an ERC20 token failed.
*/
error SafeERC20FailedOperation(address token);
/**
* @dev Indicates a failed `decreaseAllowance` request.
*/
error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);
/**
* @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
* non-reverting calls are assumed to be successful.
*/
function safeTransfer(IERC20 token, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value)));
}
/**
* @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
* calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
*/
function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value)));
}
/**
* @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
* non-reverting calls are assumed to be successful.
*/
function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
uint256 oldAllowance = token.allowance(address(this), spender);
forceApprove(token, spender, oldAllowance + value);
}
/**
* @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no
* value, non-reverting calls are assumed to be successful.
*/
function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {
unchecked {
uint256 currentAllowance = token.allowance(address(this), spender);
if (currentAllowance < requestedDecrease) {
revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);
}
forceApprove(token, spender, currentAllowance - requestedDecrease);
}
}
/**
* @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
* non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
* to be set to zero before setting it to a non-zero value, such as USDT.
*/
function forceApprove(IERC20 token, address spender, uint256 value) internal {
bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value));
if (!_callOptionalReturnBool(token, approvalCall)) {
_callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0)));
_callOptionalReturn(token, approvalCall);
}
}
/**
* @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
* on the return value: the return value is optional (but if data is returned, it must not be false).
* @param token The token targeted by the call.
* @param data The call data (encoded using abi.encode or one of its variants).
*/
function _callOptionalReturn(IERC20 token, bytes memory data) private {
// We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
// we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that
// the target address contains contract code and also asserts for success in the low-level call.
bytes memory returndata = address(token).functionCall(data);
if (returndata.length != 0 && !abi.decode(returndata, (bool))) {
revert SafeERC20FailedOperation(address(token));
}
}
/**
* @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
* on the return value: the return value is optional (but if data is returned, it must not be false).
* @param token The token targeted by the call.
* @param data The call data (encoded using abi.encode or one of its variants).
*
* This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.
*/
function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
// We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
// we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false
// and not revert is the subcall reverts.
(bool success, bytes memory returndata) = address(token).call(data);
return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && address(token).code.length > 0;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol)
pragma solidity ^0.8.20;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev The ETH balance of the account is not enough to perform the operation.
*/
error AddressInsufficientBalance(address account);
/**
* @dev There's no code at `target` (it is not a contract).
*/
error AddressEmptyCode(address target);
/**
* @dev A call to an address target failed. The target may have reverted.
*/
error FailedInnerCall();
/**
* @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://consensys.net/diligence/blog/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.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
if (address(this).balance < amount) {
revert AddressInsufficientBalance(address(this));
}
(bool success, ) = recipient.call{value: amount}("");
if (!success) {
revert FailedInnerCall();
}
}
/**
* @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 or custom error, it is bubbled
* up by this function (like regular Solidity function calls). However, if
* the call reverted with no returned reason, this function reverts with a
* {FailedInnerCall} error.
*
* 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.
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0);
}
/**
* @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`.
*/
function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
if (address(this).balance < value) {
revert AddressInsufficientBalance(address(this));
}
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResultFromTarget(target, success, returndata);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResultFromTarget(target, success, returndata);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResultFromTarget(target, success, returndata);
}
/**
* @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target
* was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an
* unsuccessful call.
*/
function verifyCallResultFromTarget(
address target,
bool success,
bytes memory returndata
) internal view returns (bytes memory) {
if (!success) {
_revert(returndata);
} else {
// only check if target is a contract if the call was successful and the return data is empty
// otherwise we already know that it was a contract
if (returndata.length == 0 && target.code.length == 0) {
revert AddressEmptyCode(target);
}
return returndata;
}
}
/**
* @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the
* revert reason or with a default {FailedInnerCall} error.
*/
function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {
if (!success) {
_revert(returndata);
} else {
return returndata;
}
}
/**
* @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}.
*/
function _revert(bytes memory returndata) 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 FailedInnerCall();
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)
pragma solidity ^0.8.20;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
function _contextSuffixLength() internal view virtual returns (uint256) {
return 0;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Pausable.sol)
pragma solidity ^0.8.20;
import {Context} from "../utils/Context.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 Pausable is Context {
bool private _paused;
/**
* @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);
/**
* @dev The operation failed because the contract is paused.
*/
error EnforcedPause();
/**
* @dev The operation failed because the contract is not paused.
*/
error ExpectedPause();
/**
* @dev Initializes the contract in unpaused state.
*/
constructor() {
_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 {
if (paused()) {
revert EnforcedPause();
}
}
/**
* @dev Throws if the contract is not paused.
*/
function _requirePaused() internal view virtual {
if (!paused()) {
revert ExpectedPause();
}
}
/**
* @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());
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/ReentrancyGuard.sol)
pragma solidity ^0.8.20;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, which can be applied to functions to make sure there are no nested
* (reentrant) calls to them.
*
* Note that because there is a single `nonReentrant` guard, functions marked as
* `nonReentrant` may not call one another. This can be worked around by making
* those functions `private`, and then adding `external` `nonReentrant` entry
* points to them.
*
* TIP: If you would like to learn more about reentrancy and alternative ways
* to protect against it, check out our blog post
* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
*/
abstract contract ReentrancyGuard {
// Booleans are more expensive than uint256 or any type that takes up a full
// word because each write operation emits an extra SLOAD to first read the
// slot's contents, replace the bits taken up by the boolean, and then write
// back. This is the compiler's defense against contract upgrades and
// 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;
/**
* @dev Unauthorized reentrant call.
*/
error ReentrancyGuardReentrantCall();
constructor() {
_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
if (_status == ENTERED) {
revert ReentrancyGuardReentrantCall();
}
// 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 Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
* `nonReentrant` function in the call stack.
*/
function _reentrancyGuardEntered() internal view returns (bool) {
return _status == ENTERED;
}
}// SPDX-License-Identifier: MIT
pragma solidity 0.8.22;
interface IFifthScapeVesting {
function getAllocatedTokens(
address _beneficiary
) external view returns (uint256 amount);
function getClaimedTokens(
address _beneficiary
) external view returns (uint256 amount);
function getClaimableTokens(
address _beneficiary
) external view returns (uint256 amount);
function getReleasedTokensAtTimestamp(
address _beneficiary,
uint256 _timestamp
) external view returns (uint256 amount);
function getBlacklist(
address _account
) external view returns (bool isBlacklist);
function getManager(
address _account
) external view returns (bool isManager);
function claimTokens(address[] memory _beneficiaries) external;
function allocateTokensManager(
address _benificiary,
uint256 _amount
) external;
function allocateTokens(
address[] memory _benificiaries,
uint256[] memory _amounts
) external;
function updateStart(uint256 _start) external;
function updateToken(address _token) external;
function setManager(address _manager, bool _isManager) external;
function blacklist(address _beneficiary) external;
function removeBlacklist(address _beneficiary) external;
function withdrawERC20(address _tokenAddress, uint256 _amount) external;
function withdrawNative(uint256 _amount) external;
function pause() external;
function unpause() external;
}{
"optimizer": {
"enabled": true,
"runs": 200
},
"evmVersion": "istanbul",
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_vesting","type":"address"},{"internalType":"address","name":"_usdt","type":"address"},{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"AddressEmptyCode","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"AddressInsufficientBalance","type":"error"},{"inputs":[],"name":"EnforcedPause","type":"error"},{"inputs":[],"name":"ExpectedPause","type":"error"},{"inputs":[],"name":"FailedInnerCall","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"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":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"int256","name":"amount","type":"int256"}],"name":"_getPriceOfGivenTokenInETH","outputs":[{"internalType":"int256","name":"","type":"int256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"buyTokensETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"buyTokensUSDT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"buyTokensWert","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"i_eth_usd_priceFeed","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"i_usdt_usd_priceFeed","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"s_investemetByAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"s_maxAmountToInvest","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"s_minAmountToInvest","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"s_tokenSold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"s_tokensForSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"s_usdt","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"s_usdtPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"s_vesting","outputs":[{"internalType":"contract IFifthScapeVesting","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":"amount","type":"uint256"}],"name":"updateMaxInvestment","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"updateMinInvestment","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"updatePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_eth_usd","type":"address"},{"internalType":"address","name":"_usdt_usd","type":"address"}],"name":"updatePriceFeeds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"usdt","type":"address"}],"name":"updateUsdt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newVesting","type":"address"}],"name":"updateVesting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawNative","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
608060405261074e600655600a60075564012a05f2006008556a0108b2a2c28029094000006009553480156200003457600080fd5b5060405162001a9238038062001a92833981016040819052620000579162000204565b806001600160a01b0381166200008757604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b620000928162000197565b506000805460ff60a01b191690556001808055469003620001205760048054735f4ec3df9cbd43714fe2740f5e3616155c5b84196001600160a01b03199182161790915560058054733e7d1eab13ad0104d2750b8863b489d65364e32d9083161790556003805482166001600160a01b0386811691909117909155600280549092169084161790556200018e565b60048054735f4ec3df9cbd43714fe2740f5e3616155c5b84196001600160a01b03199182161790915560058054733e7d1eab13ad0104d2750b8863b489d65364e32d9083161790556003805482166001600160a01b0386811691909117909155600280549092169084161790555b5050506200024e565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b0381168114620001ff57600080fd5b919050565b6000806000606084860312156200021a57600080fd5b6200022584620001e7565b92506200023560208501620001e7565b91506200024560408501620001e7565b90509250925092565b611834806200025e6000396000f3fe6080604052600436106101b75760003560e01c80638456cb59116100ec578063bc5721821161008a578063d75af96211610064578063d75af9621461049b578063e190be09146104bb578063e4214471146104d1578063f2fde38b146104f157600080fd5b8063bc57218214610445578063c1c135071461045b578063ca3f9cd01461047b57600080fd5b80639548e227116100c65780639548e227146103d957806399d51ada146103ef5780639f243c1414610405578063a1db97821461042557600080fd5b80638456cb59146103865780638d6cc56d1461039b5780638da5cb5b146103bb57600080fd5b80636c663864116101595780637429c946116101335780637429c946146103065780637932cb9e14610326578063834719171461034657806384276d811461036657600080fd5b80636c663864146102be5780637137979c146102de578063715018a6146102f157600080fd5b8063462ab54f11610195578063462ab54f146102335780634da6f237146102495780635c975abb146102815780636abfdbc6146102ab57600080fd5b806318c6611f146101bc57806323c468aa146101de5780633f4ba83a1461021e575b600080fd5b3480156101c857600080fd5b506101dc6101d73660046113a7565b610511565b005b3480156101ea57600080fd5b5061020b6101f93660046113d5565b600b6020526000908152604090205481565b6040519081526020015b60405180910390f35b34801561022a57600080fd5b506101dc6106ab565b34801561023f57600080fd5b5061020b60095481565b34801561025557600080fd5b50600354610269906001600160a01b031681565b6040516001600160a01b039091168152602001610215565b34801561028d57600080fd5b50600054600160a01b900460ff166040519015158152602001610215565b6101dc6102b93660046113a7565b6106c5565b3480156102ca57600080fd5b50600254610269906001600160a01b031681565b6101dc6102ec3660046113d5565b6108b3565b3480156102fd57600080fd5b506101dc610a57565b34801561031257600080fd5b506101dc6103213660046113d5565b610a69565b34801561033257600080fd5b506101dc6103413660046113a7565b610a93565b34801561035257600080fd5b50600454610269906001600160a01b031681565b34801561037257600080fd5b506101dc6103813660046113a7565b610aa0565b34801561039257600080fd5b506101dc610b69565b3480156103a757600080fd5b506101dc6103b63660046113a7565b610b81565b3480156103c757600080fd5b506000546001600160a01b0316610269565b3480156103e557600080fd5b5061020b60075481565b3480156103fb57600080fd5b5061020b60085481565b34801561041157600080fd5b506101dc6104203660046113a7565b610b8e565b34801561043157600080fd5b506101dc6104403660046113f2565b610b9b565b34801561045157600080fd5b5061020b600a5481565b34801561046757600080fd5b50600554610269906001600160a01b031681565b34801561048757600080fd5b506101dc61049636600461141e565b610c44565b3480156104a757600080fd5b5061020b6104b63660046113a7565b610c7a565b3480156104c757600080fd5b5061020b60065481565b3480156104dd57600080fd5b506101dc6104ec3660046113d5565b610ce6565b3480156104fd57600080fd5b506101dc61050c3660046113d5565b610d10565b610519610d4b565b610521610d76565b600954600a54111561054e5760405162461bcd60e51b815260040161054590611457565b60405180910390fd5b600061056282670de0b6b3a76400006114bb565b9050600061057283600654610da0565b90506007548110156105965760405162461bcd60e51b8152600401610545906114d2565b600854336000908152600b60205260409020546105b4908390611527565b11156105d25760405162461bcd60e51b81526004016105459061153a565b336000908152600b60205260409020546105ed908290611527565b336000818152600b602052604090209190915561062a906106166000546001600160a01b031690565b6002546001600160a01b0316919084610dd3565b600354604051630b632ed360e01b8152336004820152602481018490526001600160a01b0390911690630b632ed390604401600060405180830381600087803b15801561067657600080fd5b505af115801561068a573d6000803e3d6000fd5b5050505081600a5461069c9190611527565b600a5550506001805550565b50565b6106b3610e39565b6106bb610e63565b6106c3610e90565b565b6106cd610d4b565b6106d5610d76565b600954600a5411156106f95760405162461bcd60e51b815260040161054590611457565b600061070482610c7a565b9050600061071a83670de0b6b3a76400006114bb565b9050813410156107925760405162461bcd60e51b815260206004820152603760248201527f4669667468536361706553616c655f457468657265756d3a204e6f7420656e6f60448201527f7567682066756e647320746f2062757920746f6b656e730000000000000000006064820152608401610545565b60006107a084600654610da0565b90506007548110156107c45760405162461bcd60e51b8152600401610545906114d2565b600854336000908152600b60205260409020546107e2908390611527565b11156108005760405162461bcd60e51b81526004016105459061153a565b336000908152600b602052604090205461081b908290611527565b336000818152600b602052604090819020929092556003549151630b632ed360e01b81526004810191909152602481018490526001600160a01b0390911690630b632ed390604401600060405180830381600087803b15801561087d57600080fd5b505af1158015610891573d6000803e3d6000fd5b5050505081600a546108a39190611527565b600a55506106a89150610e339050565b6108bb610d4b565b6108c3610d76565b6004546005546000916108ef9134916108ea916001600160a01b0391821691166006610ee5565b610da0565b905060006108ff8260065461112d565b336000908152600b602052604090205490915061091d908390611527565b336000908152600b602052604090819020919091556003549051630b632ed360e01b81526001600160a01b0385811660048301526024820184905290911690630b632ed390604401600060405180830381600087803b15801561097f57600080fd5b505af1158015610993573d6000803e3d6000fd5b5050505080600a546109a59190611527565b600a55600080546040516001600160a01b039091169034908381818185875af1925050503d80600081146109f5576040519150601f19603f3d011682016040523d82523d6000602084013e6109fa565b606091505b5050905080610a4b5760405162461bcd60e51b815260206004820152601b60248201527f46756e6473207472616e7366657220756e73756363657366756c6c00000000006044820152606401610545565b5050506106a860018055565b610a5f610e63565b6106c36000611139565b610a71610e63565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b610a9b610e63565b600855565b610aa8610e63565b600080546040516001600160a01b039091169083908381818185875af1925050503d8060008114610af5576040519150601f19603f3d011682016040523d82523d6000602084013e610afa565b606091505b5050905080610b655760405162461bcd60e51b815260206004820152603160248201527f456e6572676957616e4272696467653a3a204661696c656420746f207769746860448201527064726177206e617469766520636f696e7360781b6064820152608401610545565b5050565b610b71610d4b565b610b79610e63565b6106c3611189565b610b89610e63565b600655565b610b96610e63565b600755565b610ba3610e63565b60405163095ea7b360e01b81523060048201526024810182905282906001600160a01b0382169063095ea7b3906044016020604051808303816000875af1158015610bf2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c16919061158a565b50610c3f30610c2d6000546001600160a01b031690565b6001600160a01b038416919085610dd3565b505050565b610c4c610e63565b600480546001600160a01b039384166001600160a01b03199182161790915560058054929093169116179055565b6005546004546000918291610c9d916001600160a01b0390811691166012610ee5565b90506000610cad84600654610da0565b90506000610cbe82600660126111cc565b9050670de0b6b3a7640000610cd384836115ac565b610cdd91906115f2565b95945050505050565b610cee610e63565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b610d18610e63565b6001600160a01b038116610d4257604051631e4fbdf760e01b815260006004820152602401610545565b6106a881611139565b600054600160a01b900460ff16156106c35760405163d93c066560e01b815260040160405180910390fd5b600260015403610d9957604051633ee5aeb560e01b815260040160405180910390fd5b6002600155565b6000811580610dc457508282610db681836114bb565b9250610dc29083611620565b145b610dcd57600080fd5b92915050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610e2d90859061123d565b50505050565b60018055565b600054600160a01b900460ff166106c357604051638dfc202b60e01b815260040160405180910390fd5b6000546001600160a01b031633146106c35760405163118cdaa760e01b8152336004820152602401610545565b610e98610e39565b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600060ff821615801590610efd5750601260ff831611155b610f3d5760405162461bcd60e51b8152602060048201526011602482015270496e76616c6964205f646563696d616c7360781b6044820152606401610545565b6000610f4d60ff8416600a611718565b90506000856001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa158015610f8f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb39190611743565b5050509150506000866001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ff9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061101d9190611793565b905061102a8282876111cc565b91506000866001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa15801561106c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110909190611743565b5050509150506000876001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110fa9190611793565b90506111078282896111cc565b91508161111486866115ac565b61111e91906115f2565b955050505050505b9392505050565b60006111268284611620565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b611191610d4b565b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610ec83390565b60008160ff168360ff161015611205576111e683836117b6565b6111f49060ff16600a611718565b6111fe90856115ac565b9050611126565b8160ff168360ff1611156112355761121d82846117b6565b61122b9060ff16600a611718565b6111fe90856115f2565b509192915050565b60006112526001600160a01b038416836112a0565b90508051600014158015611277575080806020019051810190611275919061158a565b155b15610c3f57604051635274afe760e01b81526001600160a01b0384166004820152602401610545565b60606111268383600084600080856001600160a01b031684866040516112c691906117cf565b60006040518083038185875af1925050503d8060008114611303576040519150601f19603f3d011682016040523d82523d6000602084013e611308565b606091505b5091509150611318868383611322565b9695505050505050565b606082611337576113328261137e565b611126565b815115801561134e57506001600160a01b0384163b155b1561137757604051639996b31560e01b81526001600160a01b0385166004820152602401610545565b5080611126565b80511561138e5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6000602082840312156113b957600080fd5b5035919050565b6001600160a01b03811681146106a857600080fd5b6000602082840312156113e757600080fd5b8135611126816113c0565b6000806040838503121561140557600080fd5b8235611410816113c0565b946020939093013593505050565b6000806040838503121561143157600080fd5b823561143c816113c0565b9150602083013561144c816113c0565b809150509250929050565b6020808252602e908201527f4669667468536361706553616c655f457468657265756d3a20416c6c20546f6b60408201526d195b9cc814dbdb1919590813dd5d60921b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610dcd57610dcd6114a5565b60208082526035908201527f4669667468536361706553616c655f457468657265756d3a204c657373207468604082015274185b88135a5b9a5b5d5b481a5b9d995cdd1b595b9d605a1b606082015260800190565b80820180821115610dcd57610dcd6114a5565b60208082526030908201527f4669667468536361706553616c655f457468657265756d3a204578636565646960408201526f1b99c81b585e1a5b5d5b481b1a5b5a5d60821b606082015260800190565b60006020828403121561159c57600080fd5b8151801515811461112657600080fd5b80820260008212600160ff1b841416156115c8576115c86114a5565b8181058314821517610dcd57610dcd6114a5565b634e487b7160e01b600052601260045260246000fd5b600082611601576116016115dc565b600160ff1b82146000198414161561161b5761161b6114a5565b500590565b60008261162f5761162f6115dc565b500490565b600181815b8085111561166f578160001904821115611655576116556114a5565b8085161561166257918102915b93841c9390800290611639565b509250929050565b60008261168657506001610dcd565b8161169357506000610dcd565b81600181146116a957600281146116b3576116cf565b6001915050610dcd565b60ff8411156116c4576116c46114a5565b50506001821b610dcd565b5060208310610133831016604e8410600b84101617156116f2575081810a610dcd565b6116fc8383611634565b8060001904821115611710576117106114a5565b029392505050565b60006111268383611677565b805169ffffffffffffffffffff8116811461173e57600080fd5b919050565b600080600080600060a0868803121561175b57600080fd5b61176486611724565b945060208601519350604086015192506060860151915061178760808701611724565b90509295509295909350565b6000602082840312156117a557600080fd5b815160ff8116811461112657600080fd5b60ff8281168282160390811115610dcd57610dcd6114a5565b6000825160005b818110156117f057602081860181015185830152016117d6565b50600092019182525091905056fea26469706673582212206e35cf0fdb38a431d2d16909ba1e8965123469cb28df6b25747d30ce021d952564736f6c63430008160033000000000000000000000000a5fc254e81457288f86b3c531eaba7915e5df5e3000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec70000000000000000000000002f893f7a0e15a6df9320cf0ae7087de228482c1f
Deployed Bytecode
0x6080604052600436106101b75760003560e01c80638456cb59116100ec578063bc5721821161008a578063d75af96211610064578063d75af9621461049b578063e190be09146104bb578063e4214471146104d1578063f2fde38b146104f157600080fd5b8063bc57218214610445578063c1c135071461045b578063ca3f9cd01461047b57600080fd5b80639548e227116100c65780639548e227146103d957806399d51ada146103ef5780639f243c1414610405578063a1db97821461042557600080fd5b80638456cb59146103865780638d6cc56d1461039b5780638da5cb5b146103bb57600080fd5b80636c663864116101595780637429c946116101335780637429c946146103065780637932cb9e14610326578063834719171461034657806384276d811461036657600080fd5b80636c663864146102be5780637137979c146102de578063715018a6146102f157600080fd5b8063462ab54f11610195578063462ab54f146102335780634da6f237146102495780635c975abb146102815780636abfdbc6146102ab57600080fd5b806318c6611f146101bc57806323c468aa146101de5780633f4ba83a1461021e575b600080fd5b3480156101c857600080fd5b506101dc6101d73660046113a7565b610511565b005b3480156101ea57600080fd5b5061020b6101f93660046113d5565b600b6020526000908152604090205481565b6040519081526020015b60405180910390f35b34801561022a57600080fd5b506101dc6106ab565b34801561023f57600080fd5b5061020b60095481565b34801561025557600080fd5b50600354610269906001600160a01b031681565b6040516001600160a01b039091168152602001610215565b34801561028d57600080fd5b50600054600160a01b900460ff166040519015158152602001610215565b6101dc6102b93660046113a7565b6106c5565b3480156102ca57600080fd5b50600254610269906001600160a01b031681565b6101dc6102ec3660046113d5565b6108b3565b3480156102fd57600080fd5b506101dc610a57565b34801561031257600080fd5b506101dc6103213660046113d5565b610a69565b34801561033257600080fd5b506101dc6103413660046113a7565b610a93565b34801561035257600080fd5b50600454610269906001600160a01b031681565b34801561037257600080fd5b506101dc6103813660046113a7565b610aa0565b34801561039257600080fd5b506101dc610b69565b3480156103a757600080fd5b506101dc6103b63660046113a7565b610b81565b3480156103c757600080fd5b506000546001600160a01b0316610269565b3480156103e557600080fd5b5061020b60075481565b3480156103fb57600080fd5b5061020b60085481565b34801561041157600080fd5b506101dc6104203660046113a7565b610b8e565b34801561043157600080fd5b506101dc6104403660046113f2565b610b9b565b34801561045157600080fd5b5061020b600a5481565b34801561046757600080fd5b50600554610269906001600160a01b031681565b34801561048757600080fd5b506101dc61049636600461141e565b610c44565b3480156104a757600080fd5b5061020b6104b63660046113a7565b610c7a565b3480156104c757600080fd5b5061020b60065481565b3480156104dd57600080fd5b506101dc6104ec3660046113d5565b610ce6565b3480156104fd57600080fd5b506101dc61050c3660046113d5565b610d10565b610519610d4b565b610521610d76565b600954600a54111561054e5760405162461bcd60e51b815260040161054590611457565b60405180910390fd5b600061056282670de0b6b3a76400006114bb565b9050600061057283600654610da0565b90506007548110156105965760405162461bcd60e51b8152600401610545906114d2565b600854336000908152600b60205260409020546105b4908390611527565b11156105d25760405162461bcd60e51b81526004016105459061153a565b336000908152600b60205260409020546105ed908290611527565b336000818152600b602052604090209190915561062a906106166000546001600160a01b031690565b6002546001600160a01b0316919084610dd3565b600354604051630b632ed360e01b8152336004820152602481018490526001600160a01b0390911690630b632ed390604401600060405180830381600087803b15801561067657600080fd5b505af115801561068a573d6000803e3d6000fd5b5050505081600a5461069c9190611527565b600a5550506001805550565b50565b6106b3610e39565b6106bb610e63565b6106c3610e90565b565b6106cd610d4b565b6106d5610d76565b600954600a5411156106f95760405162461bcd60e51b815260040161054590611457565b600061070482610c7a565b9050600061071a83670de0b6b3a76400006114bb565b9050813410156107925760405162461bcd60e51b815260206004820152603760248201527f4669667468536361706553616c655f457468657265756d3a204e6f7420656e6f60448201527f7567682066756e647320746f2062757920746f6b656e730000000000000000006064820152608401610545565b60006107a084600654610da0565b90506007548110156107c45760405162461bcd60e51b8152600401610545906114d2565b600854336000908152600b60205260409020546107e2908390611527565b11156108005760405162461bcd60e51b81526004016105459061153a565b336000908152600b602052604090205461081b908290611527565b336000818152600b602052604090819020929092556003549151630b632ed360e01b81526004810191909152602481018490526001600160a01b0390911690630b632ed390604401600060405180830381600087803b15801561087d57600080fd5b505af1158015610891573d6000803e3d6000fd5b5050505081600a546108a39190611527565b600a55506106a89150610e339050565b6108bb610d4b565b6108c3610d76565b6004546005546000916108ef9134916108ea916001600160a01b0391821691166006610ee5565b610da0565b905060006108ff8260065461112d565b336000908152600b602052604090205490915061091d908390611527565b336000908152600b602052604090819020919091556003549051630b632ed360e01b81526001600160a01b0385811660048301526024820184905290911690630b632ed390604401600060405180830381600087803b15801561097f57600080fd5b505af1158015610993573d6000803e3d6000fd5b5050505080600a546109a59190611527565b600a55600080546040516001600160a01b039091169034908381818185875af1925050503d80600081146109f5576040519150601f19603f3d011682016040523d82523d6000602084013e6109fa565b606091505b5050905080610a4b5760405162461bcd60e51b815260206004820152601b60248201527f46756e6473207472616e7366657220756e73756363657366756c6c00000000006044820152606401610545565b5050506106a860018055565b610a5f610e63565b6106c36000611139565b610a71610e63565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b610a9b610e63565b600855565b610aa8610e63565b600080546040516001600160a01b039091169083908381818185875af1925050503d8060008114610af5576040519150601f19603f3d011682016040523d82523d6000602084013e610afa565b606091505b5050905080610b655760405162461bcd60e51b815260206004820152603160248201527f456e6572676957616e4272696467653a3a204661696c656420746f207769746860448201527064726177206e617469766520636f696e7360781b6064820152608401610545565b5050565b610b71610d4b565b610b79610e63565b6106c3611189565b610b89610e63565b600655565b610b96610e63565b600755565b610ba3610e63565b60405163095ea7b360e01b81523060048201526024810182905282906001600160a01b0382169063095ea7b3906044016020604051808303816000875af1158015610bf2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c16919061158a565b50610c3f30610c2d6000546001600160a01b031690565b6001600160a01b038416919085610dd3565b505050565b610c4c610e63565b600480546001600160a01b039384166001600160a01b03199182161790915560058054929093169116179055565b6005546004546000918291610c9d916001600160a01b0390811691166012610ee5565b90506000610cad84600654610da0565b90506000610cbe82600660126111cc565b9050670de0b6b3a7640000610cd384836115ac565b610cdd91906115f2565b95945050505050565b610cee610e63565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b610d18610e63565b6001600160a01b038116610d4257604051631e4fbdf760e01b815260006004820152602401610545565b6106a881611139565b600054600160a01b900460ff16156106c35760405163d93c066560e01b815260040160405180910390fd5b600260015403610d9957604051633ee5aeb560e01b815260040160405180910390fd5b6002600155565b6000811580610dc457508282610db681836114bb565b9250610dc29083611620565b145b610dcd57600080fd5b92915050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610e2d90859061123d565b50505050565b60018055565b600054600160a01b900460ff166106c357604051638dfc202b60e01b815260040160405180910390fd5b6000546001600160a01b031633146106c35760405163118cdaa760e01b8152336004820152602401610545565b610e98610e39565b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600060ff821615801590610efd5750601260ff831611155b610f3d5760405162461bcd60e51b8152602060048201526011602482015270496e76616c6964205f646563696d616c7360781b6044820152606401610545565b6000610f4d60ff8416600a611718565b90506000856001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa158015610f8f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb39190611743565b5050509150506000866001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ff9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061101d9190611793565b905061102a8282876111cc565b91506000866001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa15801561106c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110909190611743565b5050509150506000876001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110fa9190611793565b90506111078282896111cc565b91508161111486866115ac565b61111e91906115f2565b955050505050505b9392505050565b60006111268284611620565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b611191610d4b565b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610ec83390565b60008160ff168360ff161015611205576111e683836117b6565b6111f49060ff16600a611718565b6111fe90856115ac565b9050611126565b8160ff168360ff1611156112355761121d82846117b6565b61122b9060ff16600a611718565b6111fe90856115f2565b509192915050565b60006112526001600160a01b038416836112a0565b90508051600014158015611277575080806020019051810190611275919061158a565b155b15610c3f57604051635274afe760e01b81526001600160a01b0384166004820152602401610545565b60606111268383600084600080856001600160a01b031684866040516112c691906117cf565b60006040518083038185875af1925050503d8060008114611303576040519150601f19603f3d011682016040523d82523d6000602084013e611308565b606091505b5091509150611318868383611322565b9695505050505050565b606082611337576113328261137e565b611126565b815115801561134e57506001600160a01b0384163b155b1561137757604051639996b31560e01b81526001600160a01b0385166004820152602401610545565b5080611126565b80511561138e5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6000602082840312156113b957600080fd5b5035919050565b6001600160a01b03811681146106a857600080fd5b6000602082840312156113e757600080fd5b8135611126816113c0565b6000806040838503121561140557600080fd5b8235611410816113c0565b946020939093013593505050565b6000806040838503121561143157600080fd5b823561143c816113c0565b9150602083013561144c816113c0565b809150509250929050565b6020808252602e908201527f4669667468536361706553616c655f457468657265756d3a20416c6c20546f6b60408201526d195b9cc814dbdb1919590813dd5d60921b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610dcd57610dcd6114a5565b60208082526035908201527f4669667468536361706553616c655f457468657265756d3a204c657373207468604082015274185b88135a5b9a5b5d5b481a5b9d995cdd1b595b9d605a1b606082015260800190565b80820180821115610dcd57610dcd6114a5565b60208082526030908201527f4669667468536361706553616c655f457468657265756d3a204578636565646960408201526f1b99c81b585e1a5b5d5b481b1a5b5a5d60821b606082015260800190565b60006020828403121561159c57600080fd5b8151801515811461112657600080fd5b80820260008212600160ff1b841416156115c8576115c86114a5565b8181058314821517610dcd57610dcd6114a5565b634e487b7160e01b600052601260045260246000fd5b600082611601576116016115dc565b600160ff1b82146000198414161561161b5761161b6114a5565b500590565b60008261162f5761162f6115dc565b500490565b600181815b8085111561166f578160001904821115611655576116556114a5565b8085161561166257918102915b93841c9390800290611639565b509250929050565b60008261168657506001610dcd565b8161169357506000610dcd565b81600181146116a957600281146116b3576116cf565b6001915050610dcd565b60ff8411156116c4576116c46114a5565b50506001821b610dcd565b5060208310610133831016604e8410600b84101617156116f2575081810a610dcd565b6116fc8383611634565b8060001904821115611710576117106114a5565b029392505050565b60006111268383611677565b805169ffffffffffffffffffff8116811461173e57600080fd5b919050565b600080600080600060a0868803121561175b57600080fd5b61176486611724565b945060208601519350604086015192506060860151915061178760808701611724565b90509295509295909350565b6000602082840312156117a557600080fd5b815160ff8116811461112657600080fd5b60ff8281168282160390811115610dcd57610dcd6114a5565b6000825160005b818110156117f057602081860181015185830152016117d6565b50600092019182525091905056fea26469706673582212206e35cf0fdb38a431d2d16909ba1e8965123469cb28df6b25747d30ce021d952564736f6c63430008160033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a5fc254e81457288f86b3c531eaba7915e5df5e3000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec70000000000000000000000002f893f7a0e15a6df9320cf0ae7087de228482c1f
-----Decoded View---------------
Arg [0] : _vesting (address): 0xa5fC254e81457288f86B3C531eaBA7915E5df5e3
Arg [1] : _usdt (address): 0xdAC17F958D2ee523a2206206994597C13D831ec7
Arg [2] : _owner (address): 0x2F893f7a0E15a6dF9320cf0aE7087De228482C1F
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000a5fc254e81457288f86b3c531eaba7915e5df5e3
Arg [1] : 000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7
Arg [2] : 0000000000000000000000002f893f7a0e15a6df9320cf0ae7087de228482c1f
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.