Source Code
Latest 25 from a total of 3,692 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Claim Vested | 24410500 | 2 hrs ago | IN | 0 ETH | 0.00000144 | ||||
| Claim Vested | 24394493 | 2 days ago | IN | 0 ETH | 0.00056079 | ||||
| Claim Vested | 24387757 | 3 days ago | IN | 0 ETH | 0.00013319 | ||||
| Claim Vested | 24364103 | 6 days ago | IN | 0 ETH | 0.00025383 | ||||
| Claim Vested | 24362489 | 6 days ago | IN | 0 ETH | 0.00028948 | ||||
| Claim | 24358079 | 7 days ago | IN | 0 ETH | 0.00023707 | ||||
| Claim Vested | 24357579 | 7 days ago | IN | 0 ETH | 0.00020619 | ||||
| Claim With Vesti... | 24357567 | 7 days ago | IN | 0 ETH | 0.00026275 | ||||
| Claim | 24357493 | 7 days ago | IN | 0 ETH | 0.00036635 | ||||
| Claim | 24357356 | 7 days ago | IN | 0 ETH | 0.00017178 | ||||
| Claim Vested | 24357270 | 7 days ago | IN | 0 ETH | 0.00041332 | ||||
| Claim With Vesti... | 24357259 | 7 days ago | IN | 0 ETH | 0.00050179 | ||||
| Claim | 24357214 | 7 days ago | IN | 0 ETH | 0.00045494 | ||||
| Claim | 24357045 | 7 days ago | IN | 0 ETH | 0.00043736 | ||||
| Claim | 24357022 | 7 days ago | IN | 0 ETH | 0.00041773 | ||||
| Claim | 24356868 | 7 days ago | IN | 0 ETH | 0.00114895 | ||||
| Claim | 24356674 | 7 days ago | IN | 0 ETH | 0.00061708 | ||||
| Claim | 24356623 | 7 days ago | IN | 0 ETH | 0.00059524 | ||||
| Claim | 24356565 | 7 days ago | IN | 0 ETH | 0.00074818 | ||||
| Claim | 24356530 | 7 days ago | IN | 0 ETH | 0.00094731 | ||||
| Claim | 24356088 | 7 days ago | IN | 0 ETH | 0.00022102 | ||||
| Claim | 24355899 | 7 days ago | IN | 0 ETH | 0.00011948 | ||||
| Claim | 24355896 | 7 days ago | IN | 0 ETH | 0.00011113 | ||||
| Claim | 24355814 | 7 days ago | IN | 0 ETH | 0.00012146 | ||||
| Claim | 24355736 | 7 days ago | IN | 0 ETH | 0.00056674 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
LCAIAirdrop
Compiler Version
v0.8.28+commit.7893614a
Optimization Enabled:
Yes with 2000 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
/*
_ _ _ _ _ _ _ ___
| | (_) __ _| |__ | |_ ___| |__ __ _(_)_ __ / \ |_ _|
| | | |/ _` | '_ \| __/ __| '_ \ / _` | | '_ \ / _ \ | |
| |___| | (_| | | | | || (__| | | | (_| | | | | | / ___ \ | |
|_____|_|\__, |_| |_|\__\___|_| |_|\__,_|_|_| |_| /_/ \_\___|
|___/
*/
pragma solidity ^0.8.20;
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {Pausable} from "@openzeppelin/contracts/utils/Pausable.sol";
import {ReentrancyGuard} from "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
interface ILCAIPresale {
function buyersAmount(address buyer) external view returns (uint256);
function saleToken() external view returns (address);
function saleTokenDec() external view returns (uint8);
}
contract LCAIAirdrop is Ownable, Pausable, ReentrancyGuard {
using SafeERC20 for IERC20;
uint256 public constant REWARD_PERCENTAGE = 50; // 50% of the total tokens
uint256 public constant SECONDS_PER_MONTH = 30 days;
ILCAIPresale public lcaiPresale;
address public token;
uint256 public totalClaimedAmount;
mapping(address => uint256) public claimedAmount;
mapping(address => bool) public claimed;
struct ClaimConfig {
uint256 startTime;
uint256 endTime;
}
ClaimConfig public claimConfig;
bool public claimEnabled; // Can only be enabled once
// Vesting configuration
struct VestingConfig {
uint256 durationMonths; // Total vesting period in months
uint256 rewardPercentage; // Reward percentage from total purchases
uint256 startTime; // When vesting option becomes available
uint256 endTime; // When vesting option expires
}
VestingConfig public vestingConfig;
bool public vestingEnabled; // Can only be enabled once
// User vesting state
struct UserVesting {
bool optedForVesting; // Whether user chose vesting option
uint256 totalVestingAmount; // Total amount to be vested
uint256 claimedVestingAmount; // Amount already claimed from vesting
uint256 vestingStartTime; // When vesting started
}
mapping(address => UserVesting) public userVesting;
event ClaimOpened(uint256 startTime, uint256 endTime);
event Claimed(address indexed user, uint256 amount);
event VestingClaimed(address indexed user, uint256 amount);
event VestingConfigured(
uint256 durationMonths,
uint256 rewardPercentage,
uint256 startTime,
uint256 endTime
);
event VestedTokensClaimed(
address indexed user,
uint256 amount,
uint256 totalClaimed
);
event TokensDeposited(address indexed from, uint256 amount);
event TokensWithdrawn(address indexed to, uint256 amount);
event TokensRecovered(
address indexed user,
address indexed token,
uint256 amount
);
modifier notClaimed() {
require(!claimed[msg.sender], "LCAIAirdrop: Already claimed");
_;
}
constructor(address _lcaiPresale) Ownable(msg.sender) {
require(
_lcaiPresale != address(0),
"LCAIAirdrop: Invalid presale address"
);
lcaiPresale = ILCAIPresale(_lcaiPresale);
token = lcaiPresale.saleToken();
require(token != address(0), "LCAIAirdrop: Invalid token address");
}
function openVesting(
uint256 _startTime,
uint256 _endTime,
uint256 _durationMonths,
uint256 _rewardPercentage
) external onlyOwner {
require(!vestingEnabled, "LCAIAirdrop: Vesting already configured");
require(_durationMonths > 0, "LCAIAirdrop: Invalid vesting duration");
require(
_rewardPercentage <= 100,
"LCAIAirdrop: Reward percentage cannot exceed 100%"
);
require(
_endTime > _startTime,
"LCAIAirdrop: End time must be after start time"
);
vestingConfig = VestingConfig({
durationMonths: _durationMonths,
rewardPercentage: _rewardPercentage,
startTime: _startTime,
endTime: _endTime
});
vestingEnabled = true;
emit VestingConfigured(
_durationMonths,
_rewardPercentage,
_startTime,
_endTime
);
}
function openClaim(
uint256 _startTime,
uint256 _endTime
) external onlyOwner {
require(!claimEnabled, "LCAIAirdrop: Claim already configured");
claimConfig = ClaimConfig({startTime: _startTime, endTime: _endTime});
claimEnabled = true;
emit ClaimOpened(_startTime, _endTime);
}
function claim() external nonReentrant whenNotPaused notClaimed {
require(claimEnabled, "LCAIAirdrop: Claim not configured");
require(
block.timestamp >= claimConfig.startTime,
"LCAIAirdrop: Claim period has not started"
);
require(
block.timestamp <= claimConfig.endTime,
"LCAIAirdrop: Claim period has ended"
);
uint256 purchaseAmount = lcaiPresale.buyersAmount(msg.sender);
require(purchaseAmount > 0, "LCAIAirdrop: No amount to claim");
// Direct claim (50% immediate)
uint256 rewardAmount = (purchaseAmount * REWARD_PERCENTAGE) / 100;
require(
IERC20(token).balanceOf(address(this)) >= rewardAmount,
"LCAIAirdrop: Insufficient contract balance"
);
claimed[msg.sender] = true;
claimedAmount[msg.sender] = rewardAmount;
totalClaimedAmount += rewardAmount;
IERC20(token).safeTransfer(msg.sender, rewardAmount);
emit Claimed(msg.sender, rewardAmount);
}
function claimWithVesting() external nonReentrant whenNotPaused notClaimed {
require(vestingEnabled, "LCAIAirdrop: Vesting not configured");
require(
block.timestamp >= vestingConfig.startTime,
"LCAIAirdrop: Vesting period has not started"
);
require(
block.timestamp <= vestingConfig.endTime,
"LCAIAirdrop: Vesting period has ended"
);
uint256 purchaseAmount = lcaiPresale.buyersAmount(msg.sender);
require(purchaseAmount > 0, "LCAIAirdrop: No amount to claim");
// Calculate vesting reward
uint256 rewardAmount = (purchaseAmount *
vestingConfig.rewardPercentage) / 100;
// Initialize user vesting state
userVesting[msg.sender] = UserVesting({
optedForVesting: true,
totalVestingAmount: rewardAmount,
claimedVestingAmount: 0,
vestingStartTime: block.timestamp
});
claimed[msg.sender] = true;
claimedAmount[msg.sender] = 0; // Nothing claimed yet, will claim via claimVested
emit VestingClaimed(msg.sender, rewardAmount);
}
function claimVested() external nonReentrant whenNotPaused {
UserVesting storage vesting = userVesting[msg.sender];
require(
vesting.optedForVesting,
"LCAIAirdrop: User did not opt for vesting"
);
uint256 vestedAmount = getVestedAmount(msg.sender);
require(vestedAmount > 0, "LCAIAirdrop: No vested amount available");
require(
IERC20(token).balanceOf(address(this)) >= vestedAmount,
"LCAIAirdrop: Insufficient contract balance"
);
vesting.claimedVestingAmount += vestedAmount;
claimedAmount[msg.sender] += vestedAmount;
totalClaimedAmount += vestedAmount;
IERC20(token).safeTransfer(msg.sender, vestedAmount);
emit VestedTokensClaimed(
msg.sender,
vestedAmount,
vesting.claimedVestingAmount
);
}
/// @notice Calculates vested tokens using CLIFF-BASED MONTHLY unlocks with immediate first month
/// @dev First month unlocks immediately, then tokens unlock at the end of each 30-day period
/// @dev Example: 12-month vesting unlocks 8.33% immediately, then 8.33% every 30 days
/// @param user The address to check
/// @return The amount of tokens available to claim
function getVestedAmount(address user) public view returns (uint256) {
UserVesting memory vesting = userVesting[user];
if (!vesting.optedForVesting) return 0;
VestingConfig memory config = vestingConfig;
uint256 elapsedTime = block.timestamp - vesting.vestingStartTime;
// Calculate number of complete months passed (cliff-based monthly vesting)
// Each month unlocks after SECONDS_PER_MONTH has passed
uint256 completedMonths = elapsedTime / SECONDS_PER_MONTH;
// Add 1 for the immediate first month reward
uint256 totalMonthsUnlocked = completedMonths + 1;
// Cap at total duration
if (totalMonthsUnlocked > config.durationMonths) {
totalMonthsUnlocked = config.durationMonths;
}
// Calculate vested amount based on total unlocked months
// Each month releases an equal portion of the total
uint256 totalVested = (vesting.totalVestingAmount *
totalMonthsUnlocked) / config.durationMonths;
return totalVested - vesting.claimedVestingAmount;
}
function getVestingInfo(
address user
)
external
view
returns (
bool optedForVesting,
uint256 totalVestingAmount,
uint256 claimedVestingAmount,
uint256 availableAmount,
uint256 vestingStartTime,
uint256 vestingEndTime
)
{
UserVesting memory vesting = userVesting[user];
optedForVesting = vesting.optedForVesting;
totalVestingAmount = vesting.totalVestingAmount;
claimedVestingAmount = vesting.claimedVestingAmount;
availableAmount = getVestedAmount(user);
vestingStartTime = vesting.vestingStartTime;
vestingEndTime = vesting.optedForVesting
? vesting.vestingStartTime +
(vestingConfig.durationMonths * SECONDS_PER_MONTH)
: 0;
}
function getClaimableAmount(address user) external view returns (uint256) {
if (claimed[user]) {
return 0;
}
uint256 purchaseAmount = lcaiPresale.buyersAmount(user);
return (purchaseAmount * REWARD_PERCENTAGE) / 100;
}
function getVestingAmount(address user) external view returns (uint256) {
if (claimed[user]) {
return 0;
}
if (!vestingEnabled) {
return 0;
}
uint256 purchaseAmount = lcaiPresale.buyersAmount(user);
return (purchaseAmount * vestingConfig.rewardPercentage) / 100;
}
function deposit(uint256 amount) external onlyOwner {
require(amount > 0, "LCAIAirdrop: Amount must be greater than 0");
IERC20(token).safeTransferFrom(msg.sender, address(this), amount);
emit TokensDeposited(msg.sender, amount);
}
function withdraw(uint256 amount) external onlyOwner nonReentrant {
require(amount > 0, "LCAIAirdrop: Amount must be greater than 0");
require(
IERC20(token).balanceOf(address(this)) >= amount,
"LCAIAirdrop: Insufficient contract balance"
);
IERC20(token).safeTransfer(msg.sender, amount);
emit TokensWithdrawn(msg.sender, amount);
}
function emergencyTokenRecovery(
address _token,
uint256 _amount
) external onlyOwner {
require(_token != token, "LCAIAirdrop: Cannot recover airdrop token");
IERC20(_token).safeTransfer(msg.sender, _amount);
emit TokensRecovered(msg.sender, _token, _amount);
}
function pause() external onlyOwner {
_pause();
}
function unpause() external onlyOwner {
_unpause();
}
}// 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.4.0) (interfaces/IERC1363.sol)
pragma solidity >=0.6.2;
import {IERC20} from "./IERC20.sol";
import {IERC165} from "./IERC165.sol";
/**
* @title IERC1363
* @dev Interface of the ERC-1363 standard as defined in the https://eips.ethereum.org/EIPS/eip-1363[ERC-1363].
*
* Defines an extension interface for ERC-20 tokens that supports executing code on a recipient contract
* after `transfer` or `transferFrom`, or code on a spender contract after `approve`, in a single transaction.
*/
interface IERC1363 is IERC20, IERC165 {
/*
* Note: the ERC-165 identifier for this interface is 0xb0202a11.
* 0xb0202a11 ===
* bytes4(keccak256('transferAndCall(address,uint256)')) ^
* bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^
* bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^
* bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) ^
* bytes4(keccak256('approveAndCall(address,uint256)')) ^
* bytes4(keccak256('approveAndCall(address,uint256,bytes)'))
*/
/**
* @dev Moves a `value` amount of tokens from the caller's account to `to`
* and then calls {IERC1363Receiver-onTransferReceived} on `to`.
* @param to The address which you want to transfer to.
* @param value The amount of tokens to be transferred.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function transferAndCall(address to, uint256 value) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from the caller's account to `to`
* and then calls {IERC1363Receiver-onTransferReceived} on `to`.
* @param to The address which you want to transfer to.
* @param value The amount of tokens to be transferred.
* @param data Additional data with no specified format, sent in call to `to`.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function transferAndCall(address to, uint256 value, bytes calldata data) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism
* and then calls {IERC1363Receiver-onTransferReceived} on `to`.
* @param from The address which you want to send tokens from.
* @param to The address which you want to transfer to.
* @param value The amount of tokens to be transferred.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function transferFromAndCall(address from, address to, uint256 value) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism
* and then calls {IERC1363Receiver-onTransferReceived} on `to`.
* @param from The address which you want to send tokens from.
* @param to The address which you want to transfer to.
* @param value The amount of tokens to be transferred.
* @param data Additional data with no specified format, sent in call to `to`.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function transferFromAndCall(address from, address to, uint256 value, bytes calldata data) external returns (bool);
/**
* @dev Sets a `value` amount of tokens as the allowance of `spender` over the
* caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.
* @param spender The address which will spend the funds.
* @param value The amount of tokens to be spent.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function approveAndCall(address spender, uint256 value) external returns (bool);
/**
* @dev Sets a `value` amount of tokens as the allowance of `spender` over the
* caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.
* @param spender The address which will spend the funds.
* @param value The amount of tokens to be spent.
* @param data Additional data with no specified format, sent in call to `spender`.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function approveAndCall(address spender, uint256 value, bytes calldata data) external returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC165.sol)
pragma solidity >=0.4.16;
import {IERC165} from "../utils/introspection/IERC165.sol";// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC20.sol)
pragma solidity >=0.4.16;
import {IERC20} from "../token/ERC20/IERC20.sol";// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/IERC20.sol)
pragma solidity >=0.4.16;
/**
* @dev Interface of the ERC-20 standard as defined in the ERC.
*/
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.3.0) (token/ERC20/utils/SafeERC20.sol)
pragma solidity ^0.8.20;
import {IERC20} from "../IERC20.sol";
import {IERC1363} from "../../../interfaces/IERC1363.sol";
/**
* @title SafeERC20
* @dev Wrappers around ERC-20 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 {
/**
* @dev An operation with an ERC-20 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 Variant of {safeTransfer} that returns a bool instead of reverting if the operation is not successful.
*/
function trySafeTransfer(IERC20 token, address to, uint256 value) internal returns (bool) {
return _callOptionalReturnBool(token, abi.encodeCall(token.transfer, (to, value)));
}
/**
* @dev Variant of {safeTransferFrom} that returns a bool instead of reverting if the operation is not successful.
*/
function trySafeTransferFrom(IERC20 token, address from, address to, uint256 value) internal returns (bool) {
return _callOptionalReturnBool(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.
*
* IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the "client"
* smart contract uses ERC-7674 to set temporary allowances, then the "client" smart contract should avoid using
* this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract
* that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.
*/
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.
*
* IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the "client"
* smart contract uses ERC-7674 to set temporary allowances, then the "client" smart contract should avoid using
* this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract
* that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.
*/
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.
*
* NOTE: If the token implements ERC-7674, this function will not modify any temporary allowance. This function
* only sets the "standard" allowance. Any temporary allowance will remain active, in addition to the value being
* set here.
*/
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 Performs an {ERC1363} transferAndCall, with a fallback to the simple {ERC20} transfer if the target has no
* code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
* targeting contracts.
*
* Reverts if the returned value is other than `true`.
*/
function transferAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {
if (to.code.length == 0) {
safeTransfer(token, to, value);
} else if (!token.transferAndCall(to, value, data)) {
revert SafeERC20FailedOperation(address(token));
}
}
/**
* @dev Performs an {ERC1363} transferFromAndCall, with a fallback to the simple {ERC20} transferFrom if the target
* has no code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
* targeting contracts.
*
* Reverts if the returned value is other than `true`.
*/
function transferFromAndCallRelaxed(
IERC1363 token,
address from,
address to,
uint256 value,
bytes memory data
) internal {
if (to.code.length == 0) {
safeTransferFrom(token, from, to, value);
} else if (!token.transferFromAndCall(from, to, value, data)) {
revert SafeERC20FailedOperation(address(token));
}
}
/**
* @dev Performs an {ERC1363} approveAndCall, with a fallback to the simple {ERC20} approve if the target has no
* code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
* targeting contracts.
*
* NOTE: When the recipient address (`to`) has no code (i.e. is an EOA), this function behaves as {forceApprove}.
* Opposedly, when the recipient address (`to`) has code, this function only attempts to call {ERC1363-approveAndCall}
* once without retrying, and relies on the returned value to be true.
*
* Reverts if the returned value is other than `true`.
*/
function approveAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {
if (to.code.length == 0) {
forceApprove(token, to, value);
} else if (!token.approveAndCall(to, value, data)) {
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 {_callOptionalReturnBool} that reverts if call fails to meet the requirements.
*/
function _callOptionalReturn(IERC20 token, bytes memory data) private {
uint256 returnSize;
uint256 returnValue;
assembly ("memory-safe") {
let success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)
// bubble errors
if iszero(success) {
let ptr := mload(0x40)
returndatacopy(ptr, 0, returndatasize())
revert(ptr, returndatasize())
}
returnSize := returndatasize()
returnValue := mload(0)
}
if (returnSize == 0 ? address(token).code.length == 0 : returnValue != 1) {
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 silently catches all reverts and returns a bool instead.
*/
function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
bool success;
uint256 returnSize;
uint256 returnValue;
assembly ("memory-safe") {
success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)
returnSize := returndatasize()
returnValue := mload(0)
}
return success && (returnSize == 0 ? address(token).code.length > 0 : returnValue == 1);
}
}// 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.4.0) (utils/introspection/IERC165.sol)
pragma solidity >=0.4.16;
/**
* @dev Interface of the ERC-165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[ERC].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.3.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 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.1.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 EIP-1153 (transient storage) is available on the chain you're deploying at,
* consider using {ReentrancyGuardTransient} instead.
*
* 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;
}
}{
"evmVersion": "paris",
"optimizer": {
"enabled": true,
"runs": 2000
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"remappings": [
"project/:@openzeppelin/contracts/=npm/@openzeppelin/[email protected]/",
"project/:@openzeppelin/contracts/=npm/@openzeppelin/[email protected]/",
"project/:@openzeppelin/contracts/=npm/@openzeppelin/[email protected]/",
"project/:@openzeppelin/contracts/=npm/@openzeppelin/[email protected]/",
"project/:@openzeppelin/contracts/=npm/@openzeppelin/[email protected]/"
],
"viaIR": true
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_lcaiPresale","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"EnforcedPause","type":"error"},{"inputs":[],"name":"ExpectedPause","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":false,"internalType":"uint256","name":"startTime","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"endTime","type":"uint256"}],"name":"ClaimOpened","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Claimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokensDeposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokensRecovered","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokensWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","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":"totalClaimed","type":"uint256"}],"name":"VestedTokensClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"VestingClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"durationMonths","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"rewardPercentage","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"startTime","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"endTime","type":"uint256"}],"name":"VestingConfigured","type":"event"},{"inputs":[],"name":"REWARD_PERCENTAGE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SECONDS_PER_MONTH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimConfig","outputs":[{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"endTime","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimVested","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimWithVesting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"emergencyTokenRecovery","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getClaimableAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getVestedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getVestingAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getVestingInfo","outputs":[{"internalType":"bool","name":"optedForVesting","type":"bool"},{"internalType":"uint256","name":"totalVestingAmount","type":"uint256"},{"internalType":"uint256","name":"claimedVestingAmount","type":"uint256"},{"internalType":"uint256","name":"availableAmount","type":"uint256"},{"internalType":"uint256","name":"vestingStartTime","type":"uint256"},{"internalType":"uint256","name":"vestingEndTime","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lcaiPresale","outputs":[{"internalType":"contract ILCAIPresale","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startTime","type":"uint256"},{"internalType":"uint256","name":"_endTime","type":"uint256"}],"name":"openClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startTime","type":"uint256"},{"internalType":"uint256","name":"_endTime","type":"uint256"},{"internalType":"uint256","name":"_durationMonths","type":"uint256"},{"internalType":"uint256","name":"_rewardPercentage","type":"uint256"}],"name":"openVesting","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":"token","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalClaimedAmount","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":"address","name":"","type":"address"}],"name":"userVesting","outputs":[{"internalType":"bool","name":"optedForVesting","type":"bool"},{"internalType":"uint256","name":"totalVestingAmount","type":"uint256"},{"internalType":"uint256","name":"claimedVestingAmount","type":"uint256"},{"internalType":"uint256","name":"vestingStartTime","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vestingConfig","outputs":[{"internalType":"uint256","name":"durationMonths","type":"uint256"},{"internalType":"uint256","name":"rewardPercentage","type":"uint256"},{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"endTime","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vestingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
608080604052346101e75761002a90611e05803803809161002082856101ec565b8339810190610225565b33156101d15760008054336001600160a01b0319821681178355604051939290916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a3600180556001600160a01b031690811561018357600280546001600160a01b0319168317905560405163e985e36760e01b8152602081600481865afa90811561017757600091610148575b50600380546001600160a01b0319166001600160a01b03929092169182179055156100f857604051611bc090816102458239f35b60405162461bcd60e51b815260206004820152602260248201527f4c43414941697264726f703a20496e76616c696420746f6b656e206164647265604482015261737360f01b6064820152608490fd5b61016a915060203d602011610170575b61016281836101ec565b810190610225565b816100c4565b503d610158565b6040513d6000823e3d90fd5b62461bcd60e51b8152602060048201526024808201527f4c43414941697264726f703a20496e76616c69642070726573616c65206164646044820152637265737360e01b6064820152608490fd5b631e4fbdf760e01b600052600060045260246000fd5b600080fd5b601f909101601f19168101906001600160401b0382119082101761020f57604052565b634e487b7160e01b600052604160045260246000fd5b908160209103126101e757516001600160a01b03811681036101e7579056fe608080604052600436101561001357600080fd5b60003560e01c90816304e86903146115815750806310786deb14611563578063253a370d1461144d5780632866ed211461142a5780632e09eb67146111595780632e1a7d4d146110715780633f4ba83a14610fce5780634b128cd514610f6d5780634e71d92d14610c4d5780635c975abb14610c275780635d139ecb14610c00578063715018a614610b8f578063770616f5146109185780637f87bbd6146108f55780638456cb59146108695780638da5cb5b146108425780639661cb0d14610824578063a3fe795014610801578063b49b0cb314610724578063b6b55f2514610670578063c884ef8314610631578063d01c44cd14610401578063d5a73fdd146103de578063e12f3a61146103b3578063f20d32451461038e578063f2fde38b146102d4578063fb897ce4146101eb578063fbf3aa21146101b1578063fc0c546a1461018a5763fc72b1ed1461016957600080fd5b3461018557600060031936011261018557602060405160328152f35b600080fd5b346101855760006003193601126101855760206001600160a01b0360035416604051908152f35b3461018557600060031936011261018557600a54600b54600c54600d54604080519485526020850193909352918301526060820152608090f35b34610185576020600319360112610185576102046115b7565b6001600160a01b038116600052600f60205260406000209060405190610229826115cd565b60ff83541615159182815260018401549182602083015261026060036002870154968760408601520154916060840192835261187f565b90519151156102c957600a549462278d0086029580870462278d0014901517156102b35761029060c096846117b5565b935b604051958652602086015260408501526060840152608083015260a0820152f35b634e487b7160e01b600052601160045260246000fd5b60c094600093610292565b34610185576020600319360112610185576001600160a01b036102f56115b7565b6102fd611a11565b16801561035f576001600160a01b03600054827fffffffffffffffffffffffff0000000000000000000000000000000000000000821617600055167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3005b7f1e4fbdf700000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b3461018557600060031936011261018557604060075460085482519182526020820152f35b346101855760206003193601126101855760206103d66103d16115b7565b61196d565b604051908152f35b346101855760206003193601126101855760206103d66103fc6115b7565b61187f565b346101855760006003193601126101855761041a611a53565b610422611a8e565b33600052600f602052604060002060ff815416156105c7576104433361187f565b90811561055d5760249060206001600160a01b0360035416604051938480926370a0823160e01b82523060048301525afa8015610551578392600091610519575b50600292610493911015611744565b0161049f8282546117b5565b815533600052600560205260406000206104ba8382546117b5565b90556104c8826004546117b5565b6004556104e182336001600160a01b0360035416611ac7565b5460405191825260208201527f6c4474f5353aa538dd7698fa19be2149fc1d9fee5ab8a6af3de07ca84b7f28c760403392a260018055005b9250506020823d602011610549575b81610535602093836115e9565b810103126101855790518291906002610484565b3d9150610528565b6040513d6000823e3d90fd5b608460405162461bcd60e51b815260206004820152602760248201527f4c43414941697264726f703a204e6f2076657374656420616d6f756e7420617660448201527f61696c61626c65000000000000000000000000000000000000000000000000006064820152fd5b608460405162461bcd60e51b815260206004820152602960248201527f4c43414941697264726f703a205573657220646964206e6f74206f707420666f60448201527f722076657374696e6700000000000000000000000000000000000000000000006064820152fd5b34610185576020600319360112610185576001600160a01b036106526115b7565b166000526006602052602060ff604060002054166040519015158152f35b346101855760206003193601126101855760043561068c611a11565b6106978115156116d3565b6106f66001600160a01b0360035416604051907f23b872dd000000000000000000000000000000000000000000000000000000006020830152336024830152306044830152836064830152606482526106f16084836115e9565b611b19565b6040519081527f59062170a285eb80e8c6b8ced60428442a51910635005233fc4ce084a475845e60203392a2005b346101855760406003193601126101855761073d6115b7565b602435610748611a11565b6001600160a01b038060035416921691821461079757610769813384611ac7565b6040519081527f401f439d865a766757ec78675925bd67198d5e78805aa41691b34b5d6a6cbbe660203392a3005b608460405162461bcd60e51b815260206004820152602960248201527f4c43414941697264726f703a2043616e6e6f74207265636f766572206169726460448201527f726f7020746f6b656e00000000000000000000000000000000000000000000006064820152fd5b346101855760206003193601126101855760206103d661081f6115b7565b6117c2565b34610185576000600319360112610185576020600454604051908152f35b346101855760006003193601126101855760206001600160a01b0360005416604051908152f35b3461018557600060031936011261018557610882611a11565b61088a611a8e565b740100000000000000000000000000000000000000007fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff60005416176000557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586020604051338152a1005b3461018557600060031936011261018557602060ff600e54166040519015158152f35b346101855760806003193601126101855760043560643560443560243561093d611a11565b600e549060ff8216610b25578215610abb5760648411610a5157848111156109e7577f7e2a3374677a327cc55645e34396200e1c47056393c1e5dfa3e1f7a40384a33a94600160ff196109e294846060604051610999816115cd565b8981528a6020820152866040820152015286600a5587600b5583600c5584600d551617600e55604051948594859094939260609260808301968352602083015260408201520152565b0390a1005b608460405162461bcd60e51b815260206004820152602e60248201527f4c43414941697264726f703a20456e642074696d65206d75737420626520616660448201527f7465722073746172742074696d650000000000000000000000000000000000006064820152fd5b608460405162461bcd60e51b815260206004820152603160248201527f4c43414941697264726f703a205265776172642070657263656e74616765206360448201527f616e6e6f742065786365656420313030250000000000000000000000000000006064820152fd5b608460405162461bcd60e51b815260206004820152602560248201527f4c43414941697264726f703a20496e76616c69642076657374696e672064757260448201527f6174696f6e0000000000000000000000000000000000000000000000000000006064820152fd5b608460405162461bcd60e51b815260206004820152602760248201527f4c43414941697264726f703a2056657374696e6720616c726561647920636f6e60448201527f66696775726564000000000000000000000000000000000000000000000000006064820152fd5b3461018557600060031936011261018557610ba8611a11565b60006001600160a01b0381547fffffffffffffffffffffffff000000000000000000000000000000000000000081168355167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b346101855760006003193601126101855760206001600160a01b0360025416604051908152f35b3461018557600060031936011261018557602060ff60005460a01c166040519015158152f35b3461018557600060031936011261018557610c66611a53565b610c6e611a8e565b336000526006602052610c8960ff604060002054161561162a565b60ff6009541615610f03576007544210610e99576008544211610e2f57602460206001600160a01b036002541660405192838092632a54f88160e11b82523360048301525afa90811561055157600091610dfa575b508015610ceb8115611675565b6032820291820460321417156102b35760649004602460206001600160a01b0360035416604051928380926370a0823160e01b82523060048301525afa8015610551578290600090610dc4575b610d4492501015611744565b3360005260066020526040600020600160ff1982541617905533600052600560205280604060002055610d79816004546117b5565b600455610d9281336001600160a01b0360035416611ac7565b6040519081527fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a60203392a260018055005b50506020813d602011610df2575b81610ddf602093836115e9565b810103126101855781610d449151610d38565b3d9150610dd2565b906020823d602011610e27575b81610e14602093836115e9565b81010312610e2457505181610cde565b80fd5b3d9150610e07565b608460405162461bcd60e51b815260206004820152602360248201527f4c43414941697264726f703a20436c61696d20706572696f642068617320656e60448201527f64656400000000000000000000000000000000000000000000000000000000006064820152fd5b608460405162461bcd60e51b815260206004820152602960248201527f4c43414941697264726f703a20436c61696d20706572696f6420686173206e6f60448201527f74207374617274656400000000000000000000000000000000000000000000006064820152fd5b608460405162461bcd60e51b815260206004820152602160248201527f4c43414941697264726f703a20436c61696d206e6f7420636f6e66696775726560448201527f64000000000000000000000000000000000000000000000000000000000000006064820152fd5b34610185576020600319360112610185576001600160a01b03610f8e6115b7565b16600052600f6020526080604060002060ff8154169060018101549060036002820154910154916040519315158452602084015260408301526060820152f35b3461018557600060031936011261018557610fe7611a11565b60005460ff8160a01c1615611047577fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff166000557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6020604051338152a1005b7f8dfc202b0000000000000000000000000000000000000000000000000000000060005260046000fd5b346101855760206003193601126101855760043561108d611a11565b611095611a53565b6110a08115156116d3565b6001600160a01b03600354166040516370a0823160e01b8152306004820152602081602481855afa8015610551578391600091611122575b50916110e9826110f0941015611744565b3390611ac7565b6040519081527f6352c5382c4a4578e712449ca65e83cdb392d045dfcf1cad9615189db2da244b60203392a260018055005b9150506020813d602011611151575b8161113e602093836115e9565b81010312610185575182906110e96110d8565b3d9150611131565b3461018557600060031936011261018557611172611a53565b61117a611a8e565b33600052600660205261119560ff604060002054161561162a565b60ff600e5416156113c057600c54421061135657600d5442116112ec57602460206001600160a01b036002541660405192838092632a54f88160e11b82523360048301525afa908115610551576000916112b8575b6064611204836111fb811515611675565b600b54906116c0565b04604051611211816115cd565b600181526003602082018381526040830160008152606084019142835233600052600f60205260406000209451151560ff60ff198754169116178555516001850155516002840155519101553360005260066020526040600020600160ff19825416179055336000526005602052600060408120556040519081527f9fe9b7be9d151c7a8b6de49a1312ff27a15096d0d1d12999af85fe4310e0b12560203392a260018055005b906020823d6020116112e4575b816112d2602093836115e9565b81010312610e245750516112046111ea565b3d91506112c5565b608460405162461bcd60e51b815260206004820152602560248201527f4c43414941697264726f703a2056657374696e6720706572696f64206861732060448201527f656e6465640000000000000000000000000000000000000000000000000000006064820152fd5b608460405162461bcd60e51b815260206004820152602b60248201527f4c43414941697264726f703a2056657374696e6720706572696f64206861732060448201527f6e6f7420737461727465640000000000000000000000000000000000000000006064820152fd5b608460405162461bcd60e51b815260206004820152602360248201527f4c43414941697264726f703a2056657374696e67206e6f7420636f6e6669677560448201527f72656400000000000000000000000000000000000000000000000000000000006064820152fd5b3461018557600060031936011261018557602060ff600954166040519015158152f35b346101855760406003193601126101855760243560043561146c611a11565b6009549060ff82166114f95760405192604084019380851067ffffffffffffffff8611176114e35760ff196040948360206001947f60716ddc9ff9b134c2f55be1356c9982196c60aa00fbd2b39683a318bc3bf07899895287815201528460075583600855161760095582519182526020820152a1005b634e487b7160e01b600052604160045260246000fd5b608460405162461bcd60e51b815260206004820152602560248201527f4c43414941697264726f703a20436c61696d20616c726561647920636f6e666960448201527f67757265640000000000000000000000000000000000000000000000000000006064820152fd5b3461018557600060031936011261018557602060405162278d008152f35b34610185576020600319360112610185576020906001600160a01b036115a56115b7565b16600052600582526040600020548152f35b600435906001600160a01b038216820361018557565b6080810190811067ffffffffffffffff8211176114e357604052565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff8211176114e357604052565b1561163157565b606460405162461bcd60e51b815260206004820152601c60248201527f4c43414941697264726f703a20416c726561647920636c61696d6564000000006044820152fd5b1561167c57565b606460405162461bcd60e51b815260206004820152601f60248201527f4c43414941697264726f703a204e6f20616d6f756e7420746f20636c61696d006044820152fd5b818102929181159184041417156102b357565b156116da57565b608460405162461bcd60e51b815260206004820152602a60248201527f4c43414941697264726f703a20416d6f756e74206d757374206265206772656160448201527f746572207468616e2030000000000000000000000000000000000000000000006064820152fd5b1561174b57565b608460405162461bcd60e51b815260206004820152602a60248201527f4c43414941697264726f703a20496e73756666696369656e7420636f6e74726160448201527f63742062616c616e6365000000000000000000000000000000000000000000006064820152fd5b919082018092116102b357565b6001600160a01b031680600052600660205260ff6040600020541661186c5760ff600e54161561186c5760206001600160a01b036002541691602460405180948193632a54f88160e11b835260048301525afa90811561055157600091611838575b50611834606491600b54906116c0565b0490565b90506020813d602011611864575b81611853602093836115e9565b810103126101855751611834611824565b3d9150611846565b50600090565b919082039182116102b357565b6001600160a01b0316600052600f6020526040600020604051906118a2826115cd565b60ff8154161580158352600182015490602084019182526060600360028501549460408701958652015494019384526119655762278d0061190d604051946118e9866115cd565b600a548652600b546020870152600c546040870152600d5460608701525142611872565b04600181018091116102b35761192f9181855180911161195d575b50516116c0565b91518015611947576119449204905190611872565b90565b634e487b7160e01b600052601260045260246000fd5b915038611928565b505050600090565b6001600160a01b031680600052600660205260ff6040600020541661186c5760206001600160a01b036002541691602460405180948193632a54f88160e11b835260048301525afa908115610551576000916119df575b506032810290808204603214901517156102b3576064900490565b906020823d602011611a09575b816119f9602093836115e9565b81010312610e24575051386119c4565b3d91506119ec565b6001600160a01b03600054163303611a2557565b7f118cdaa7000000000000000000000000000000000000000000000000000000006000523360045260246000fd5b600260015414611a64576002600155565b7f3ee5aeb50000000000000000000000000000000000000000000000000000000060005260046000fd5b60ff60005460a01c16611a9d57565b7fd93c06650000000000000000000000000000000000000000000000000000000060005260046000fd5b611b17926001600160a01b03604051937fa9059cbb0000000000000000000000000000000000000000000000000000000060208601521660248401526044830152604482526106f16064836115e9565b565b906000602091828151910182855af115610551576000513d611b8157506001600160a01b0381163b155b611b4a5750565b6001600160a01b03907f5274afe7000000000000000000000000000000000000000000000000000000006000521660045260246000fd5b60011415611b4356fea26469706673582212206d82478c986e2b353e4e1f4ac328b3fa2eadc0faa66e31ad6bf2a005a219c3d064736f6c634300081c00330000000000000000000000007f5620c13b1644b4244114b465fa71bd95f1d8dc
Deployed Bytecode
0x608080604052600436101561001357600080fd5b60003560e01c90816304e86903146115815750806310786deb14611563578063253a370d1461144d5780632866ed211461142a5780632e09eb67146111595780632e1a7d4d146110715780633f4ba83a14610fce5780634b128cd514610f6d5780634e71d92d14610c4d5780635c975abb14610c275780635d139ecb14610c00578063715018a614610b8f578063770616f5146109185780637f87bbd6146108f55780638456cb59146108695780638da5cb5b146108425780639661cb0d14610824578063a3fe795014610801578063b49b0cb314610724578063b6b55f2514610670578063c884ef8314610631578063d01c44cd14610401578063d5a73fdd146103de578063e12f3a61146103b3578063f20d32451461038e578063f2fde38b146102d4578063fb897ce4146101eb578063fbf3aa21146101b1578063fc0c546a1461018a5763fc72b1ed1461016957600080fd5b3461018557600060031936011261018557602060405160328152f35b600080fd5b346101855760006003193601126101855760206001600160a01b0360035416604051908152f35b3461018557600060031936011261018557600a54600b54600c54600d54604080519485526020850193909352918301526060820152608090f35b34610185576020600319360112610185576102046115b7565b6001600160a01b038116600052600f60205260406000209060405190610229826115cd565b60ff83541615159182815260018401549182602083015261026060036002870154968760408601520154916060840192835261187f565b90519151156102c957600a549462278d0086029580870462278d0014901517156102b35761029060c096846117b5565b935b604051958652602086015260408501526060840152608083015260a0820152f35b634e487b7160e01b600052601160045260246000fd5b60c094600093610292565b34610185576020600319360112610185576001600160a01b036102f56115b7565b6102fd611a11565b16801561035f576001600160a01b03600054827fffffffffffffffffffffffff0000000000000000000000000000000000000000821617600055167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3005b7f1e4fbdf700000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b3461018557600060031936011261018557604060075460085482519182526020820152f35b346101855760206003193601126101855760206103d66103d16115b7565b61196d565b604051908152f35b346101855760206003193601126101855760206103d66103fc6115b7565b61187f565b346101855760006003193601126101855761041a611a53565b610422611a8e565b33600052600f602052604060002060ff815416156105c7576104433361187f565b90811561055d5760249060206001600160a01b0360035416604051938480926370a0823160e01b82523060048301525afa8015610551578392600091610519575b50600292610493911015611744565b0161049f8282546117b5565b815533600052600560205260406000206104ba8382546117b5565b90556104c8826004546117b5565b6004556104e182336001600160a01b0360035416611ac7565b5460405191825260208201527f6c4474f5353aa538dd7698fa19be2149fc1d9fee5ab8a6af3de07ca84b7f28c760403392a260018055005b9250506020823d602011610549575b81610535602093836115e9565b810103126101855790518291906002610484565b3d9150610528565b6040513d6000823e3d90fd5b608460405162461bcd60e51b815260206004820152602760248201527f4c43414941697264726f703a204e6f2076657374656420616d6f756e7420617660448201527f61696c61626c65000000000000000000000000000000000000000000000000006064820152fd5b608460405162461bcd60e51b815260206004820152602960248201527f4c43414941697264726f703a205573657220646964206e6f74206f707420666f60448201527f722076657374696e6700000000000000000000000000000000000000000000006064820152fd5b34610185576020600319360112610185576001600160a01b036106526115b7565b166000526006602052602060ff604060002054166040519015158152f35b346101855760206003193601126101855760043561068c611a11565b6106978115156116d3565b6106f66001600160a01b0360035416604051907f23b872dd000000000000000000000000000000000000000000000000000000006020830152336024830152306044830152836064830152606482526106f16084836115e9565b611b19565b6040519081527f59062170a285eb80e8c6b8ced60428442a51910635005233fc4ce084a475845e60203392a2005b346101855760406003193601126101855761073d6115b7565b602435610748611a11565b6001600160a01b038060035416921691821461079757610769813384611ac7565b6040519081527f401f439d865a766757ec78675925bd67198d5e78805aa41691b34b5d6a6cbbe660203392a3005b608460405162461bcd60e51b815260206004820152602960248201527f4c43414941697264726f703a2043616e6e6f74207265636f766572206169726460448201527f726f7020746f6b656e00000000000000000000000000000000000000000000006064820152fd5b346101855760206003193601126101855760206103d661081f6115b7565b6117c2565b34610185576000600319360112610185576020600454604051908152f35b346101855760006003193601126101855760206001600160a01b0360005416604051908152f35b3461018557600060031936011261018557610882611a11565b61088a611a8e565b740100000000000000000000000000000000000000007fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff60005416176000557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586020604051338152a1005b3461018557600060031936011261018557602060ff600e54166040519015158152f35b346101855760806003193601126101855760043560643560443560243561093d611a11565b600e549060ff8216610b25578215610abb5760648411610a5157848111156109e7577f7e2a3374677a327cc55645e34396200e1c47056393c1e5dfa3e1f7a40384a33a94600160ff196109e294846060604051610999816115cd565b8981528a6020820152866040820152015286600a5587600b5583600c5584600d551617600e55604051948594859094939260609260808301968352602083015260408201520152565b0390a1005b608460405162461bcd60e51b815260206004820152602e60248201527f4c43414941697264726f703a20456e642074696d65206d75737420626520616660448201527f7465722073746172742074696d650000000000000000000000000000000000006064820152fd5b608460405162461bcd60e51b815260206004820152603160248201527f4c43414941697264726f703a205265776172642070657263656e74616765206360448201527f616e6e6f742065786365656420313030250000000000000000000000000000006064820152fd5b608460405162461bcd60e51b815260206004820152602560248201527f4c43414941697264726f703a20496e76616c69642076657374696e672064757260448201527f6174696f6e0000000000000000000000000000000000000000000000000000006064820152fd5b608460405162461bcd60e51b815260206004820152602760248201527f4c43414941697264726f703a2056657374696e6720616c726561647920636f6e60448201527f66696775726564000000000000000000000000000000000000000000000000006064820152fd5b3461018557600060031936011261018557610ba8611a11565b60006001600160a01b0381547fffffffffffffffffffffffff000000000000000000000000000000000000000081168355167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b346101855760006003193601126101855760206001600160a01b0360025416604051908152f35b3461018557600060031936011261018557602060ff60005460a01c166040519015158152f35b3461018557600060031936011261018557610c66611a53565b610c6e611a8e565b336000526006602052610c8960ff604060002054161561162a565b60ff6009541615610f03576007544210610e99576008544211610e2f57602460206001600160a01b036002541660405192838092632a54f88160e11b82523360048301525afa90811561055157600091610dfa575b508015610ceb8115611675565b6032820291820460321417156102b35760649004602460206001600160a01b0360035416604051928380926370a0823160e01b82523060048301525afa8015610551578290600090610dc4575b610d4492501015611744565b3360005260066020526040600020600160ff1982541617905533600052600560205280604060002055610d79816004546117b5565b600455610d9281336001600160a01b0360035416611ac7565b6040519081527fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a60203392a260018055005b50506020813d602011610df2575b81610ddf602093836115e9565b810103126101855781610d449151610d38565b3d9150610dd2565b906020823d602011610e27575b81610e14602093836115e9565b81010312610e2457505181610cde565b80fd5b3d9150610e07565b608460405162461bcd60e51b815260206004820152602360248201527f4c43414941697264726f703a20436c61696d20706572696f642068617320656e60448201527f64656400000000000000000000000000000000000000000000000000000000006064820152fd5b608460405162461bcd60e51b815260206004820152602960248201527f4c43414941697264726f703a20436c61696d20706572696f6420686173206e6f60448201527f74207374617274656400000000000000000000000000000000000000000000006064820152fd5b608460405162461bcd60e51b815260206004820152602160248201527f4c43414941697264726f703a20436c61696d206e6f7420636f6e66696775726560448201527f64000000000000000000000000000000000000000000000000000000000000006064820152fd5b34610185576020600319360112610185576001600160a01b03610f8e6115b7565b16600052600f6020526080604060002060ff8154169060018101549060036002820154910154916040519315158452602084015260408301526060820152f35b3461018557600060031936011261018557610fe7611a11565b60005460ff8160a01c1615611047577fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff166000557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6020604051338152a1005b7f8dfc202b0000000000000000000000000000000000000000000000000000000060005260046000fd5b346101855760206003193601126101855760043561108d611a11565b611095611a53565b6110a08115156116d3565b6001600160a01b03600354166040516370a0823160e01b8152306004820152602081602481855afa8015610551578391600091611122575b50916110e9826110f0941015611744565b3390611ac7565b6040519081527f6352c5382c4a4578e712449ca65e83cdb392d045dfcf1cad9615189db2da244b60203392a260018055005b9150506020813d602011611151575b8161113e602093836115e9565b81010312610185575182906110e96110d8565b3d9150611131565b3461018557600060031936011261018557611172611a53565b61117a611a8e565b33600052600660205261119560ff604060002054161561162a565b60ff600e5416156113c057600c54421061135657600d5442116112ec57602460206001600160a01b036002541660405192838092632a54f88160e11b82523360048301525afa908115610551576000916112b8575b6064611204836111fb811515611675565b600b54906116c0565b04604051611211816115cd565b600181526003602082018381526040830160008152606084019142835233600052600f60205260406000209451151560ff60ff198754169116178555516001850155516002840155519101553360005260066020526040600020600160ff19825416179055336000526005602052600060408120556040519081527f9fe9b7be9d151c7a8b6de49a1312ff27a15096d0d1d12999af85fe4310e0b12560203392a260018055005b906020823d6020116112e4575b816112d2602093836115e9565b81010312610e245750516112046111ea565b3d91506112c5565b608460405162461bcd60e51b815260206004820152602560248201527f4c43414941697264726f703a2056657374696e6720706572696f64206861732060448201527f656e6465640000000000000000000000000000000000000000000000000000006064820152fd5b608460405162461bcd60e51b815260206004820152602b60248201527f4c43414941697264726f703a2056657374696e6720706572696f64206861732060448201527f6e6f7420737461727465640000000000000000000000000000000000000000006064820152fd5b608460405162461bcd60e51b815260206004820152602360248201527f4c43414941697264726f703a2056657374696e67206e6f7420636f6e6669677560448201527f72656400000000000000000000000000000000000000000000000000000000006064820152fd5b3461018557600060031936011261018557602060ff600954166040519015158152f35b346101855760406003193601126101855760243560043561146c611a11565b6009549060ff82166114f95760405192604084019380851067ffffffffffffffff8611176114e35760ff196040948360206001947f60716ddc9ff9b134c2f55be1356c9982196c60aa00fbd2b39683a318bc3bf07899895287815201528460075583600855161760095582519182526020820152a1005b634e487b7160e01b600052604160045260246000fd5b608460405162461bcd60e51b815260206004820152602560248201527f4c43414941697264726f703a20436c61696d20616c726561647920636f6e666960448201527f67757265640000000000000000000000000000000000000000000000000000006064820152fd5b3461018557600060031936011261018557602060405162278d008152f35b34610185576020600319360112610185576020906001600160a01b036115a56115b7565b16600052600582526040600020548152f35b600435906001600160a01b038216820361018557565b6080810190811067ffffffffffffffff8211176114e357604052565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff8211176114e357604052565b1561163157565b606460405162461bcd60e51b815260206004820152601c60248201527f4c43414941697264726f703a20416c726561647920636c61696d6564000000006044820152fd5b1561167c57565b606460405162461bcd60e51b815260206004820152601f60248201527f4c43414941697264726f703a204e6f20616d6f756e7420746f20636c61696d006044820152fd5b818102929181159184041417156102b357565b156116da57565b608460405162461bcd60e51b815260206004820152602a60248201527f4c43414941697264726f703a20416d6f756e74206d757374206265206772656160448201527f746572207468616e2030000000000000000000000000000000000000000000006064820152fd5b1561174b57565b608460405162461bcd60e51b815260206004820152602a60248201527f4c43414941697264726f703a20496e73756666696369656e7420636f6e74726160448201527f63742062616c616e6365000000000000000000000000000000000000000000006064820152fd5b919082018092116102b357565b6001600160a01b031680600052600660205260ff6040600020541661186c5760ff600e54161561186c5760206001600160a01b036002541691602460405180948193632a54f88160e11b835260048301525afa90811561055157600091611838575b50611834606491600b54906116c0565b0490565b90506020813d602011611864575b81611853602093836115e9565b810103126101855751611834611824565b3d9150611846565b50600090565b919082039182116102b357565b6001600160a01b0316600052600f6020526040600020604051906118a2826115cd565b60ff8154161580158352600182015490602084019182526060600360028501549460408701958652015494019384526119655762278d0061190d604051946118e9866115cd565b600a548652600b546020870152600c546040870152600d5460608701525142611872565b04600181018091116102b35761192f9181855180911161195d575b50516116c0565b91518015611947576119449204905190611872565b90565b634e487b7160e01b600052601260045260246000fd5b915038611928565b505050600090565b6001600160a01b031680600052600660205260ff6040600020541661186c5760206001600160a01b036002541691602460405180948193632a54f88160e11b835260048301525afa908115610551576000916119df575b506032810290808204603214901517156102b3576064900490565b906020823d602011611a09575b816119f9602093836115e9565b81010312610e24575051386119c4565b3d91506119ec565b6001600160a01b03600054163303611a2557565b7f118cdaa7000000000000000000000000000000000000000000000000000000006000523360045260246000fd5b600260015414611a64576002600155565b7f3ee5aeb50000000000000000000000000000000000000000000000000000000060005260046000fd5b60ff60005460a01c16611a9d57565b7fd93c06650000000000000000000000000000000000000000000000000000000060005260046000fd5b611b17926001600160a01b03604051937fa9059cbb0000000000000000000000000000000000000000000000000000000060208601521660248401526044830152604482526106f16064836115e9565b565b906000602091828151910182855af115610551576000513d611b8157506001600160a01b0381163b155b611b4a5750565b6001600160a01b03907f5274afe7000000000000000000000000000000000000000000000000000000006000521660045260246000fd5b60011415611b4356fea26469706673582212206d82478c986e2b353e4e1f4ac328b3fa2eadc0faa66e31ad6bf2a005a219c3d064736f6c634300081c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007f5620c13b1644b4244114b465fa71bd95f1d8dc
-----Decoded View---------------
Arg [0] : _lcaiPresale (address): 0x7f5620c13b1644b4244114B465fA71Bd95F1d8Dc
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000007f5620c13b1644b4244114b465fa71bd95f1d8dc
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.