Feature Tip: Add private address tag to any address under My Name Tag !
Source Code
Latest 25 from a total of 94 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Claim | 24563922 | 8 hrs ago | IN | 0 ETH | 0.00000981 | ||||
| Claim | 24554865 | 38 hrs ago | IN | 0 ETH | 0.00000788 | ||||
| Claim | 24553047 | 44 hrs ago | IN | 0 ETH | 0.00000437 | ||||
| Claim | 24551071 | 2 days ago | IN | 0 ETH | 0.00000849 | ||||
| Claim | 24535756 | 4 days ago | IN | 0 ETH | 0.00003191 | ||||
| Claim | 24534945 | 4 days ago | IN | 0 ETH | 0.00004549 | ||||
| Claim | 24534072 | 4 days ago | IN | 0 ETH | 0.00003073 | ||||
| Claim | 24533526 | 4 days ago | IN | 0 ETH | 0.00000414 | ||||
| Claim | 24529867 | 5 days ago | IN | 0 ETH | 0.00000424 | ||||
| Claim | 24529191 | 5 days ago | IN | 0 ETH | 0.00000535 | ||||
| Claim | 24528641 | 5 days ago | IN | 0 ETH | 0.00000803 | ||||
| Claim | 24527079 | 5 days ago | IN | 0 ETH | 0.00001654 | ||||
| Claim | 24526767 | 5 days ago | IN | 0 ETH | 0.00000889 | ||||
| Claim | 24522207 | 6 days ago | IN | 0 ETH | 0.00024242 | ||||
| Claim | 24521077 | 6 days ago | IN | 0 ETH | 0.00001586 | ||||
| Claim | 24511919 | 7 days ago | IN | 0 ETH | 0.00000505 | ||||
| Claim | 24502778 | 8 days ago | IN | 0 ETH | 0.00000343 | ||||
| Claim | 24502357 | 8 days ago | IN | 0 ETH | 0.0000052 | ||||
| Claim | 24502331 | 8 days ago | IN | 0 ETH | 0.0000052 | ||||
| Claim | 24496224 | 9 days ago | IN | 0 ETH | 0.00000484 | ||||
| Claim | 24495388 | 9 days ago | IN | 0 ETH | 0.0000039 | ||||
| Claim | 24493629 | 10 days ago | IN | 0 ETH | 0.00000495 | ||||
| Claim | 24492026 | 10 days ago | IN | 0 ETH | 0.00001585 | ||||
| Claim | 24492026 | 10 days ago | IN | 0 ETH | 0.00002022 | ||||
| Claim | 24491656 | 10 days ago | IN | 0 ETH | 0.00004136 |
Latest 1 internal transaction
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| 0x60806040 | 24333990 | 32 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
LatticeAirdropsDistributor
Compiler Version
v0.8.28+commit.7893614a
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.28;
import '@openzeppelin/contracts/utils/ReentrancyGuard.sol';
import '@openzeppelin/contracts/token/ERC20/ERC20.sol';
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import '@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/Pausable.sol';
/**
* @title LatticeAirdropsDistributor
* @notice Token airdrop distribution with merkle proofs and linear vesting
*/
contract LatticeAirdropsDistributor is Ownable, ReentrancyGuard, Pausable {
using SafeERC20 for IERC20;
constructor() Ownable(msg.sender) {}
struct Airdrop {
IERC20 token;
uint256 amountTotal;
uint256 amountClaimed;
uint64 airdropStartsAt;
uint64 vestingPeriod;
bytes32 merkleRoot;
}
// AirdropId -> Token Interface
mapping(uint256 => Airdrop) private _airdrops;
// AirdropId -> ClaimingUser -> Total Claimed;
mapping(uint256 => mapping(address => uint256)) private _claimedAmounts;
event AirdropCreated(
uint256 indexed airdropId,
address indexed token,
uint256 amount,
address debitAccount
);
event AirdropConfigured(
uint256 indexed airdropId,
bytes32 indexed merkleRoot,
uint64 airdropStartsAt,
uint64 vestingPeriod
);
event AirdropClaimed(
uint256 indexed airdropId,
address indexed user,
uint256 totalAmount,
uint256 amountClaimed
);
/// @notice Creates airdrop and transfers tokens from debitAccount
function createAirdrop(
uint256 airdropId,
IERC20 token,
uint256 amount,
address debitAccount
) public onlyOwner {
require(
address(_airdrops[airdropId].token) == address(0),
'Airdrop at specified id exists'
);
require(
token.balanceOf(debitAccount) >= amount,
'Holding pool does not have enough tokens'
);
require(
token.allowance(debitAccount, address(this)) >= amount,
'Spender does not have enough allowance'
);
_airdrops[airdropId].token = token;
_airdrops[airdropId].amountTotal = amount;
token.safeTransferFrom(debitAccount, address(this), amount);
emit AirdropCreated(airdropId, address(token), amount, debitAccount);
}
/// @notice Configures airdrop with merkle root, start time, and vesting period
function configureAirdrop(
uint256 airdropId,
uint64 airdropStartsAt,
uint64 vestingPeriod,
bytes32 merkleRoot,
bool _force
) public onlyOwner {
require(
address(_airdrops[airdropId].token) != address(0),
'Airdrop at specified id does not exist'
);
require(
_airdrops[airdropId].airdropStartsAt == 0 || _force,
'Airdrop is already live'
);
_airdrops[airdropId].airdropStartsAt = airdropStartsAt;
_airdrops[airdropId].vestingPeriod = vestingPeriod;
_airdrops[airdropId].merkleRoot = merkleRoot;
emit AirdropConfigured(
airdropId,
merkleRoot,
airdropStartsAt,
vestingPeriod
);
}
/// @notice Returns airdrop configuration and state
function getAirdropById(uint256 airdropId)
public
view
returns (Airdrop memory)
{
require(
address(_airdrops[airdropId].token) != address(0),
'Airdrop at specified id does not exist'
);
return _airdrops[airdropId];
}
/// @notice Verifies merkle proof for claim (sha256 leaf, keccak256 internal nodes)
function verifyClaim(
uint256 airdropId,
address claimingUser,
uint256 totalAmount,
bytes32 merkleRoot,
bytes32[] memory merkleProof
) public pure returns (bool) {
bytes32 computedHash = sha256(
abi.encodePacked(airdropId, claimingUser, totalAmount)
);
for (uint256 i = 0; i < merkleProof.length; i++) {
bytes32 proofElement = merkleProof[i];
if (computedHash <= proofElement) {
// Hash(current computed hash + current element of the proof)
computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
} else {
// Hash(current element of the proof + current computed hash)
computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
}
}
// Check if the computed hash (root) is equal to the provided root
return computedHash == merkleRoot;
}
/// @notice Calculates currently available tokens accounting for linear vesting
function amountAvailableToClaim(
uint256 airdropId,
address claimingUser,
uint256 totalAmount,
bool discountClaimedAmount
) public view returns (uint256) {
require(
address(_airdrops[airdropId].token) != address(0),
'Airdrop at specified id does not exist'
);
require(
_airdrops[airdropId].airdropStartsAt != 0,
'Airdrop is not live / configured'
);
require(
block.timestamp >= _airdrops[airdropId].airdropStartsAt,
'Airdrop has not started yet'
);
uint256 _timePassedSinceStart = block.timestamp -
_airdrops[airdropId].airdropStartsAt;
uint64 vestingPeriod = _airdrops[airdropId].vestingPeriod;
uint256 _amountAvailable = 0;
if (vestingPeriod > 0) {
_amountAvailable = (totalAmount * _timePassedSinceStart) / vestingPeriod;
_amountAvailable = _amountAvailable > totalAmount
? totalAmount
: _amountAvailable;
} else {
_amountAvailable = totalAmount;
}
if (discountClaimedAmount) {
uint256 _amountClaimed = _claimedAmounts[airdropId][claimingUser];
return _amountAvailable - _amountClaimed;
} else {
return _amountAvailable;
}
}
/// @notice Returns total amount claimed by user from airdrop
function amountClaimedByUser(uint256 airdropId, address claimingUser)
public
view
returns (uint256)
{
require(
address(_airdrops[airdropId].token) != address(0),
'Airdrop at specified id does not exist'
);
require(
_airdrops[airdropId].airdropStartsAt != 0,
'Airdrop is not live / configured'
);
require(
block.timestamp >= _airdrops[airdropId].airdropStartsAt,
'Airdrop has not started yet'
);
return _claimedAmounts[airdropId][claimingUser];
}
/// @notice Claims available tokens from airdrop with merkle proof verification
function claim(
uint256 airdropId,
uint256 totalAmount,
bytes32[] memory merkleProof
) public whenNotPaused nonReentrant {
require(
address(_airdrops[airdropId].token) != address(0),
'Airdrop at specified id does not exist'
);
require(
_airdrops[airdropId].airdropStartsAt != 0,
'Airdrop is not live / configured'
);
require(
block.timestamp >= _airdrops[airdropId].airdropStartsAt,
'Airdrop has not started yet'
);
require(
verifyClaim(
airdropId,
msg.sender,
totalAmount,
_airdrops[airdropId].merkleRoot,
merkleProof
),
'Merkle proof is invalid'
);
uint256 _amountToClaim = amountAvailableToClaim(
airdropId,
msg.sender,
totalAmount,
true
);
require(_amountToClaim > 0, 'There is no amount available to claim');
require(
_airdrops[airdropId].amountClaimed + _amountToClaim <= _airdrops[airdropId].amountTotal,
'Exceeds total airdrop allocation'
);
IERC20 token = _airdrops[airdropId].token;
token.safeTransfer(msg.sender, _amountToClaim);
_airdrops[airdropId].amountClaimed += _amountToClaim;
_claimedAmounts[airdropId][msg.sender] += _amountToClaim;
emit AirdropClaimed(airdropId, msg.sender, totalAmount, _amountToClaim);
}
}// 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/draft-IERC6093.sol)
pragma solidity >=0.8.4;
/**
* @dev Standard ERC-20 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens.
*/
interface IERC20Errors {
/**
* @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param balance Current balance for the interacting account.
* @param needed Minimum amount required to perform a transfer.
*/
error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC20InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC20InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
* @param spender Address that may be allowed to operate on tokens without being their owner.
* @param allowance Amount of tokens a `spender` is allowed to operate with.
* @param needed Minimum amount required to perform a transfer.
*/
error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC20InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `spender` to be approved. Used in approvals.
* @param spender Address that may be allowed to operate on tokens without being their owner.
*/
error ERC20InvalidSpender(address spender);
}
/**
* @dev Standard ERC-721 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens.
*/
interface IERC721Errors {
/**
* @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20.
* Used in balance queries.
* @param owner Address of the current owner of a token.
*/
error ERC721InvalidOwner(address owner);
/**
* @dev Indicates a `tokenId` whose `owner` is the zero address.
* @param tokenId Identifier number of a token.
*/
error ERC721NonexistentToken(uint256 tokenId);
/**
* @dev Indicates an error related to the ownership over a particular token. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param tokenId Identifier number of a token.
* @param owner Address of the current owner of a token.
*/
error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC721InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC721InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `operator`’s approval. Used in transfers.
* @param operator Address that may be allowed to operate on tokens without being their owner.
* @param tokenId Identifier number of a token.
*/
error ERC721InsufficientApproval(address operator, uint256 tokenId);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC721InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `operator` to be approved. Used in approvals.
* @param operator Address that may be allowed to operate on tokens without being their owner.
*/
error ERC721InvalidOperator(address operator);
}
/**
* @dev Standard ERC-1155 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens.
*/
interface IERC1155Errors {
/**
* @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param balance Current balance for the interacting account.
* @param needed Minimum amount required to perform a transfer.
* @param tokenId Identifier number of a token.
*/
error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC1155InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC1155InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `operator`’s approval. Used in transfers.
* @param operator Address that may be allowed to operate on tokens without being their owner.
* @param owner Address of the current owner of a token.
*/
error ERC1155MissingApprovalForAll(address operator, address owner);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC1155InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `operator` to be approved. Used in approvals.
* @param operator Address that may be allowed to operate on tokens without being their owner.
*/
error ERC1155InvalidOperator(address operator);
/**
* @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
* Used in batch transfers.
* @param idsLength Length of the array of token identifiers
* @param valuesLength Length of the array of token amounts
*/
error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}// 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/ERC20.sol)
pragma solidity ^0.8.20;
import {IERC20} from "./IERC20.sol";
import {IERC20Metadata} from "./extensions/IERC20Metadata.sol";
import {Context} from "../../utils/Context.sol";
import {IERC20Errors} from "../../interfaces/draft-IERC6093.sol";
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
*
* TIP: For a detailed writeup see our guide
* https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* The default value of {decimals} is 18. To change this, you should override
* this function so it returns a different value.
*
* We have followed general OpenZeppelin Contracts guidelines: functions revert
* instead returning `false` on failure. This behavior is nonetheless
* conventional and does not conflict with the expectations of ERC-20
* applications.
*/
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
mapping(address account => uint256) private _balances;
mapping(address account => mapping(address spender => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
/**
* @dev Sets the values for {name} and {symbol}.
*
* Both values are immutable: they can only be set once during construction.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if `decimals` equals `2`, a balance of `505` tokens should
* be displayed to a user as `5.05` (`505 / 10 ** 2`).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the default value returned by this function, unless
* it's overridden.
*
* NOTE: This information is only used for _display_ purposes: it in
* no way affects any of the arithmetic of the contract, including
* {IERC20-balanceOf} and {IERC20-transfer}.
*/
function decimals() public view virtual returns (uint8) {
return 18;
}
/// @inheritdoc IERC20
function totalSupply() public view virtual returns (uint256) {
return _totalSupply;
}
/// @inheritdoc IERC20
function balanceOf(address account) public view virtual returns (uint256) {
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - the caller must have a balance of at least `value`.
*/
function transfer(address to, uint256 value) public virtual returns (bool) {
address owner = _msgSender();
_transfer(owner, to, value);
return true;
}
/// @inheritdoc IERC20
function allowance(address owner, address spender) public view virtual returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* NOTE: If `value` is the maximum `uint256`, the allowance is not updated on
* `transferFrom`. This is semantically equivalent to an infinite approval.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 value) public virtual returns (bool) {
address owner = _msgSender();
_approve(owner, spender, value);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Skips emitting an {Approval} event indicating an allowance update. This is not
* required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve].
*
* NOTE: Does not update the allowance if the current allowance
* is the maximum `uint256`.
*
* Requirements:
*
* - `from` and `to` cannot be the zero address.
* - `from` must have a balance of at least `value`.
* - the caller must have allowance for ``from``'s tokens of at least
* `value`.
*/
function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
address spender = _msgSender();
_spendAllowance(from, spender, value);
_transfer(from, to, value);
return true;
}
/**
* @dev Moves a `value` amount of tokens from `from` to `to`.
*
* This internal function is equivalent to {transfer}, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* NOTE: This function is not virtual, {_update} should be overridden instead.
*/
function _transfer(address from, address to, uint256 value) internal {
if (from == address(0)) {
revert ERC20InvalidSender(address(0));
}
if (to == address(0)) {
revert ERC20InvalidReceiver(address(0));
}
_update(from, to, value);
}
/**
* @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
* (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
* this function.
*
* Emits a {Transfer} event.
*/
function _update(address from, address to, uint256 value) internal virtual {
if (from == address(0)) {
// Overflow check required: The rest of the code assumes that totalSupply never overflows
_totalSupply += value;
} else {
uint256 fromBalance = _balances[from];
if (fromBalance < value) {
revert ERC20InsufficientBalance(from, fromBalance, value);
}
unchecked {
// Overflow not possible: value <= fromBalance <= totalSupply.
_balances[from] = fromBalance - value;
}
}
if (to == address(0)) {
unchecked {
// Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
_totalSupply -= value;
}
} else {
unchecked {
// Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
_balances[to] += value;
}
}
emit Transfer(from, to, value);
}
/**
* @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
* Relies on the `_update` mechanism
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* NOTE: This function is not virtual, {_update} should be overridden instead.
*/
function _mint(address account, uint256 value) internal {
if (account == address(0)) {
revert ERC20InvalidReceiver(address(0));
}
_update(address(0), account, value);
}
/**
* @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
* Relies on the `_update` mechanism.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* NOTE: This function is not virtual, {_update} should be overridden instead
*/
function _burn(address account, uint256 value) internal {
if (account == address(0)) {
revert ERC20InvalidSender(address(0));
}
_update(account, address(0), value);
}
/**
* @dev Sets `value` as the allowance of `spender` over the `owner`'s tokens.
*
* This internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*
* Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
*/
function _approve(address owner, address spender, uint256 value) internal {
_approve(owner, spender, value, true);
}
/**
* @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
*
* By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
* `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
* `Approval` event during `transferFrom` operations.
*
* Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
* true using the following override:
*
* ```solidity
* function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
* super._approve(owner, spender, value, true);
* }
* ```
*
* Requirements are the same as {_approve}.
*/
function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
if (owner == address(0)) {
revert ERC20InvalidApprover(address(0));
}
if (spender == address(0)) {
revert ERC20InvalidSpender(address(0));
}
_allowances[owner][spender] = value;
if (emitEvent) {
emit Approval(owner, spender, value);
}
}
/**
* @dev Updates `owner`'s allowance for `spender` based on spent `value`.
*
* Does not update the allowance value in case of infinite allowance.
* Revert if not enough allowance is available.
*
* Does not emit an {Approval} event.
*/
function _spendAllowance(address owner, address spender, uint256 value) internal virtual {
uint256 currentAllowance = allowance(owner, spender);
if (currentAllowance < type(uint256).max) {
if (currentAllowance < value) {
revert ERC20InsufficientAllowance(spender, currentAllowance, value);
}
unchecked {
_approve(owner, spender, currentAllowance - value, false);
}
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/extensions/IERC20Metadata.sol)
pragma solidity >=0.6.2;
import {IERC20} from "../IERC20.sol";
/**
* @dev Interface for the optional metadata functions from the ERC-20 standard.
*/
interface IERC20Metadata is IERC20 {
/**
* @dev Returns the name of the token.
*/
function name() external view returns (string memory);
/**
* @dev Returns the symbol of the token.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the decimals places of the token.
*/
function decimals() external view returns (uint8);
}// 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;
}
}//SPDX-License-Identifier: MIT
pragma solidity ^0.8.28;
import './LatticeAirdropsDistributor.sol';
/**
* @title LatticeAirdropsDistributorDeployer
* @dev Deploys LatticeAirdropsDistributor using CREATE2 for deterministic addresses
*/
contract LatticeAirdropsDistributorDeployer {
event ContractDeployed(
address indexed deployedAddress,
address indexed owner,
bytes32 salt
);
/**
* @notice Computes deployment address for a given salt
* @param salt Value to be used for deployment
* @return predicted address
*/
function computeAddress(bytes32 salt) public view returns (address) {
bytes32 hash = keccak256(
abi.encodePacked(
bytes1(0xff),
address(this),
salt,
keccak256(type(LatticeAirdropsDistributor).creationCode)
)
);
return address(uint160(uint256(hash)));
}
/**
* @notice Checks if a contract has been deployed at the computed address
* @param salt The salt used for deployment
* @return True if contract is deployed at the address
*/
function isDeployed(bytes32 salt) public view returns (bool) {
address predicted = computeAddress(salt);
uint256 size;
assembly {
size := extcodesize(predicted)
}
return size > 0;
}
/**
* @notice Deploys a new contract with deterministic address using CREATE2
* @param salt Value used to compute deployment address
* @return deployed contract (ownership transferred to caller)
*/
function deployDeterministic(
bytes32 salt
) public returns (LatticeAirdropsDistributor deployed) {
deployed = new LatticeAirdropsDistributor{salt: salt}();
// Transfer ownership to msg.sender
deployed.transferOwnership(msg.sender);
emit ContractDeployed(address(deployed), msg.sender, salt);
}
}{
"evmVersion": "cancun",
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"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]/",
"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]/",
"project/:@openzeppelin/contracts/=npm/@openzeppelin/[email protected]/",
"project/:@openzeppelin/contracts/=npm/@openzeppelin/[email protected]/"
]
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"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":true,"internalType":"uint256","name":"airdropId","type":"uint256"},{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"totalAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountClaimed","type":"uint256"}],"name":"AirdropClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"airdropId","type":"uint256"},{"indexed":true,"internalType":"bytes32","name":"merkleRoot","type":"bytes32"},{"indexed":false,"internalType":"uint64","name":"airdropStartsAt","type":"uint64"},{"indexed":false,"internalType":"uint64","name":"vestingPeriod","type":"uint64"}],"name":"AirdropConfigured","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"airdropId","type":"uint256"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"address","name":"debitAccount","type":"address"}],"name":"AirdropCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"uint256","name":"airdropId","type":"uint256"},{"internalType":"address","name":"claimingUser","type":"address"},{"internalType":"uint256","name":"totalAmount","type":"uint256"},{"internalType":"bool","name":"discountClaimedAmount","type":"bool"}],"name":"amountAvailableToClaim","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"airdropId","type":"uint256"},{"internalType":"address","name":"claimingUser","type":"address"}],"name":"amountClaimedByUser","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"airdropId","type":"uint256"},{"internalType":"uint256","name":"totalAmount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"airdropId","type":"uint256"},{"internalType":"uint64","name":"airdropStartsAt","type":"uint64"},{"internalType":"uint64","name":"vestingPeriod","type":"uint64"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"},{"internalType":"bool","name":"_force","type":"bool"}],"name":"configureAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"airdropId","type":"uint256"},{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"debitAccount","type":"address"}],"name":"createAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"airdropId","type":"uint256"}],"name":"getAirdropById","outputs":[{"components":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"amountTotal","type":"uint256"},{"internalType":"uint256","name":"amountClaimed","type":"uint256"},{"internalType":"uint64","name":"airdropStartsAt","type":"uint64"},{"internalType":"uint64","name":"vestingPeriod","type":"uint64"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"internalType":"struct LatticeAirdropsDistributor.Airdrop","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"airdropId","type":"uint256"},{"internalType":"address","name":"claimingUser","type":"address"},{"internalType":"uint256","name":"totalAmount","type":"uint256"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"verifyClaim","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"}]Contract Creation Code
608060405234801561000f575f5ffd5b50335f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610081575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610078919061019d565b60405180910390fd5b6100908161009d60201b60201c565b50600180819055506101b6565b5f5f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6101878261015e565b9050919050565b6101978161017d565b82525050565b5f6020820190506101b05f83018461018e565b92915050565b61278d806101c35f395ff3fe608060405234801561000f575f5ffd5b50600436106100a7575f3560e01c8063715018a61161006f578063715018a6146101755780638da5cb5b1461017f578063ae0b51df1461019d578063d713d884146101b9578063ea394fdc146101e9578063f2fde38b14610205576100a7565b806334a73003146100ab57806342cfc300146100db57806343356f40146100f75780635c975abb14610127578063634b3b3f14610145575b5f5ffd5b6100c560048036038101906100c0919061177a565b610221565b6040516100d291906118e1565b60405180910390f35b6100f560048036038101906100f09190611983565b6103c1565b005b610111600480360381019061010c9190611b85565b6105b4565b60405161011e9190611c27565b60405180910390f35b61012f6106d6565b60405161013c9190611c27565b60405180910390f35b61015f600480360381019061015a9190611c40565b6106eb565b60405161016c9190611c8d565b60405180910390f35b61017d6108c8565b005b6101876108db565b6040516101949190611cb5565b60405180910390f35b6101b760048036038101906101b29190611cce565b610902565b005b6101d360048036038101906101ce9190611d3a565b610d0e565b6040516101e09190611c8d565b60405180910390f35b61020360048036038101906101fe9190611dd9565b610fd1565b005b61021f600480360381019061021a9190611e3d565b6112dd565b005b6102296116dc565b5f73ffffffffffffffffffffffffffffffffffffffff1660035f8481526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036102c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102c090611ee8565b60405180910390fd5b60035f8381526020019081526020015f206040518060c00160405290815f82015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820154815260200160028201548152602001600382015f9054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff1681526020016003820160089054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff1681526020016004820154815250509050919050565b6103c9611361565b5f73ffffffffffffffffffffffffffffffffffffffff1660035f8781526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610469576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161046090611ee8565b60405180910390fd5b5f60035f8781526020019081526020015f206003015f9054906101000a900467ffffffffffffffff1667ffffffffffffffff1614806104a55750805b6104e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104db90611f50565b60405180910390fd5b8360035f8781526020019081526020015f206003015f6101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055508260035f8781526020019081526020015f2060030160086101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055508160035f8781526020019081526020015f206004018190555081857fe3156532e68bd75402d6b5488de1a53659b02787b8e5a892662fbb65a1cc9cb886866040516105a5929190611f7d565b60405180910390a35050505050565b5f5f60028787876040516020016105cd93929190612009565b6040516020818303038152906040526040516105e99190612097565b602060405180830381855afa158015610604573d5f5f3e3d5ffd5b5050506040513d601f19601f8201168201806040525081019061062791906120c1565b90505f5f90505b83518110156106c6575f84828151811061064b5761064a6120ec565b5b6020026020010151905080831161068c57828160405160200161066f929190612139565b6040516020818303038152906040528051906020012092506106b8565b808360405160200161069f929190612139565b6040516020818303038152906040528051906020012092505b50808060010191505061062e565b5083811491505095945050505050565b5f60025f9054906101000a900460ff16905090565b5f5f73ffffffffffffffffffffffffffffffffffffffff1660035f8581526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160361078c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078390611ee8565b60405180910390fd5b5f60035f8581526020019081526020015f206003015f9054906101000a900467ffffffffffffffff1667ffffffffffffffff16036107ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107f6906121ae565b60405180910390fd5b60035f8481526020019081526020015f206003015f9054906101000a900467ffffffffffffffff1667ffffffffffffffff16421015610873576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086a90612216565b60405180910390fd5b60045f8481526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b6108d0611361565b6108d95f6113e8565b565b5f5f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61090a6114a9565b6109126114ea565b5f73ffffffffffffffffffffffffffffffffffffffff1660035f8581526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036109b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a990611ee8565b60405180910390fd5b5f60035f8581526020019081526020015f206003015f9054906101000a900467ffffffffffffffff1667ffffffffffffffff1603610a25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1c906121ae565b60405180910390fd5b60035f8481526020019081526020015f206003015f9054906101000a900467ffffffffffffffff1667ffffffffffffffff16421015610a99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9090612216565b60405180910390fd5b610aba83338460035f8881526020019081526020015f2060040154856105b4565b610af9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af09061227e565b60405180910390fd5b5f610b078433856001610d0e565b90505f8111610b4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b429061230c565b60405180910390fd5b60035f8581526020019081526020015f20600101548160035f8781526020019081526020015f2060020154610b809190612357565b1115610bc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb8906123d4565b60405180910390fd5b5f60035f8681526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050610c2233838373ffffffffffffffffffffffffffffffffffffffff166115309092919063ffffffff16565b8160035f8781526020019081526020015f206002015f828254610c459190612357565b925050819055508160045f8781526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254610ca79190612357565b925050819055503373ffffffffffffffffffffffffffffffffffffffff16857f2db7b200aa423ebe7828d265f5dfeab33f3d1d049f4097ac814b05571ac97eac8685604051610cf79291906123f2565b60405180910390a35050610d096115af565b505050565b5f5f73ffffffffffffffffffffffffffffffffffffffff1660035f8781526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610daf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da690611ee8565b60405180910390fd5b5f60035f8781526020019081526020015f206003015f9054906101000a900467ffffffffffffffff1667ffffffffffffffff1603610e22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e19906121ae565b60405180910390fd5b60035f8681526020019081526020015f206003015f9054906101000a900467ffffffffffffffff1667ffffffffffffffff16421015610e96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8d90612216565b60405180910390fd5b5f60035f8781526020019081526020015f206003015f9054906101000a900467ffffffffffffffff1667ffffffffffffffff1642610ed49190612419565b90505f60035f8881526020019081526020015f2060030160089054906101000a900467ffffffffffffffff1690505f5f90505f8267ffffffffffffffff161115610f51578167ffffffffffffffff168387610f2f919061244c565b610f3991906124ba565b9050858111610f485780610f4a565b855b9050610f55565b8590505b8415610fc2575f60045f8a81526020019081526020015f205f8973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490508082610fb79190612419565b945050505050610fc9565b8093505050505b949350505050565b610fd9611361565b5f73ffffffffffffffffffffffffffffffffffffffff1660035f8681526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611079576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107090612534565b60405180910390fd5b818373ffffffffffffffffffffffffffffffffffffffff166370a08231836040518263ffffffff1660e01b81526004016110b39190611cb5565b602060405180830381865afa1580156110ce573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110f29190612566565b1015611133576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112a90612601565b60405180910390fd5b818373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e83306040518363ffffffff1660e01b815260040161116f92919061261f565b602060405180830381865afa15801561118a573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111ae9190612566565b10156111ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e6906126b6565b60405180910390fd5b8260035f8681526020019081526020015f205f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160035f8681526020019081526020015f20600101819055506112868130848673ffffffffffffffffffffffffffffffffffffffff166115b8909392919063ffffffff16565b8273ffffffffffffffffffffffffffffffffffffffff16847ff7389a063b87e8d896b3811f771a8cde75d45aa44bd419587a4faa0a3a2a655384846040516112cf9291906126d4565b60405180910390a350505050565b6112e5611361565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611355575f6040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161134c9190611cb5565b60405180910390fd5b61135e816113e8565b50565b61136961163a565b73ffffffffffffffffffffffffffffffffffffffff166113876108db565b73ffffffffffffffffffffffffffffffffffffffff16146113e6576113aa61163a565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016113dd9190611cb5565b60405180910390fd5b565b5f5f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6114b16106d6565b156114e8576040517fd93c066500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b600260015403611526576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600181905550565b6115aa838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85856040516024016115639291906126fb565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611641565b505050565b60018081905550565b611634848573ffffffffffffffffffffffffffffffffffffffff166323b872dd8686866040516024016115ed93929190612722565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611641565b50505050565b5f33905090565b5f5f60205f8451602086015f885af180611660576040513d5f823e3d81fd5b3d92505f519150505f8214611679576001811415611694565b5f8473ffffffffffffffffffffffffffffffffffffffff163b145b156116d657836040517f5274afe70000000000000000000000000000000000000000000000000000000081526004016116cd9190611cb5565b60405180910390fd5b50505050565b6040518060c001604052805f73ffffffffffffffffffffffffffffffffffffffff1681526020015f81526020015f81526020015f67ffffffffffffffff1681526020015f67ffffffffffffffff1681526020015f81525090565b5f604051905090565b5f5ffd5b5f5ffd5b5f819050919050565b61175981611747565b8114611763575f5ffd5b50565b5f8135905061177481611750565b92915050565b5f6020828403121561178f5761178e61173f565b5b5f61179c84828501611766565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f819050919050565b5f6117e76117e26117dd846117a5565b6117c4565b6117a5565b9050919050565b5f6117f8826117cd565b9050919050565b5f611809826117ee565b9050919050565b611819816117ff565b82525050565b61182881611747565b82525050565b5f67ffffffffffffffff82169050919050565b61184a8161182e565b82525050565b5f819050919050565b61186281611850565b82525050565b60c082015f82015161187c5f850182611810565b50602082015161188f602085018261181f565b5060408201516118a2604085018261181f565b5060608201516118b56060850182611841565b5060808201516118c86080850182611841565b5060a08201516118db60a0850182611859565b50505050565b5f60c0820190506118f45f830184611868565b92915050565b6119038161182e565b811461190d575f5ffd5b50565b5f8135905061191e816118fa565b92915050565b61192d81611850565b8114611937575f5ffd5b50565b5f8135905061194881611924565b92915050565b5f8115159050919050565b6119628161194e565b811461196c575f5ffd5b50565b5f8135905061197d81611959565b92915050565b5f5f5f5f5f60a0868803121561199c5761199b61173f565b5b5f6119a988828901611766565b95505060206119ba88828901611910565b94505060406119cb88828901611910565b93505060606119dc8882890161193a565b92505060806119ed8882890161196f565b9150509295509295909350565b5f611a04826117a5565b9050919050565b611a14816119fa565b8114611a1e575f5ffd5b50565b5f81359050611a2f81611a0b565b92915050565b5f5ffd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b611a7f82611a39565b810181811067ffffffffffffffff82111715611a9e57611a9d611a49565b5b80604052505050565b5f611ab0611736565b9050611abc8282611a76565b919050565b5f67ffffffffffffffff821115611adb57611ada611a49565b5b602082029050602081019050919050565b5f5ffd5b5f611b02611afd84611ac1565b611aa7565b90508083825260208201905060208402830185811115611b2557611b24611aec565b5b835b81811015611b4e5780611b3a888261193a565b845260208401935050602081019050611b27565b5050509392505050565b5f82601f830112611b6c57611b6b611a35565b5b8135611b7c848260208601611af0565b91505092915050565b5f5f5f5f5f60a08688031215611b9e57611b9d61173f565b5b5f611bab88828901611766565b9550506020611bbc88828901611a21565b9450506040611bcd88828901611766565b9350506060611bde8882890161193a565b925050608086013567ffffffffffffffff811115611bff57611bfe611743565b5b611c0b88828901611b58565b9150509295509295909350565b611c218161194e565b82525050565b5f602082019050611c3a5f830184611c18565b92915050565b5f5f60408385031215611c5657611c5561173f565b5b5f611c6385828601611766565b9250506020611c7485828601611a21565b9150509250929050565b611c8781611747565b82525050565b5f602082019050611ca05f830184611c7e565b92915050565b611caf816119fa565b82525050565b5f602082019050611cc85f830184611ca6565b92915050565b5f5f5f60608486031215611ce557611ce461173f565b5b5f611cf286828701611766565b9350506020611d0386828701611766565b925050604084013567ffffffffffffffff811115611d2457611d23611743565b5b611d3086828701611b58565b9150509250925092565b5f5f5f5f60808587031215611d5257611d5161173f565b5b5f611d5f87828801611766565b9450506020611d7087828801611a21565b9350506040611d8187828801611766565b9250506060611d928782880161196f565b91505092959194509250565b5f611da8826119fa565b9050919050565b611db881611d9e565b8114611dc2575f5ffd5b50565b5f81359050611dd381611daf565b92915050565b5f5f5f5f60808587031215611df157611df061173f565b5b5f611dfe87828801611766565b9450506020611e0f87828801611dc5565b9350506040611e2087828801611766565b9250506060611e3187828801611a21565b91505092959194509250565b5f60208284031215611e5257611e5161173f565b5b5f611e5f84828501611a21565b91505092915050565b5f82825260208201905092915050565b7f41697264726f702061742073706563696669656420696420646f6573206e6f745f8201527f2065786973740000000000000000000000000000000000000000000000000000602082015250565b5f611ed2602683611e68565b9150611edd82611e78565b604082019050919050565b5f6020820190508181035f830152611eff81611ec6565b9050919050565b7f41697264726f7020697320616c7265616479206c6976650000000000000000005f82015250565b5f611f3a601783611e68565b9150611f4582611f06565b602082019050919050565b5f6020820190508181035f830152611f6781611f2e565b9050919050565b611f778161182e565b82525050565b5f604082019050611f905f830185611f6e565b611f9d6020830184611f6e565b9392505050565b5f819050919050565b611fbe611fb982611747565b611fa4565b82525050565b5f8160601b9050919050565b5f611fda82611fc4565b9050919050565b5f611feb82611fd0565b9050919050565b612003611ffe826119fa565b611fe1565b82525050565b5f6120148286611fad565b6020820191506120248285611ff2565b6014820191506120348284611fad565b602082019150819050949350505050565b5f81519050919050565b5f81905092915050565b8281835e5f83830152505050565b5f61207182612045565b61207b818561204f565b935061208b818560208601612059565b80840191505092915050565b5f6120a28284612067565b915081905092915050565b5f815190506120bb81611924565b92915050565b5f602082840312156120d6576120d561173f565b5b5f6120e3848285016120ad565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f819050919050565b61213361212e82611850565b612119565b82525050565b5f6121448285612122565b6020820191506121548284612122565b6020820191508190509392505050565b7f41697264726f70206973206e6f74206c697665202f20636f6e666967757265645f82015250565b5f612198602083611e68565b91506121a382612164565b602082019050919050565b5f6020820190508181035f8301526121c58161218c565b9050919050565b7f41697264726f7020686173206e6f7420737461727465642079657400000000005f82015250565b5f612200601b83611e68565b915061220b826121cc565b602082019050919050565b5f6020820190508181035f83015261222d816121f4565b9050919050565b7f4d65726b6c652070726f6f6620697320696e76616c69640000000000000000005f82015250565b5f612268601783611e68565b915061227382612234565b602082019050919050565b5f6020820190508181035f8301526122958161225c565b9050919050565b7f5468657265206973206e6f20616d6f756e7420617661696c61626c6520746f205f8201527f636c61696d000000000000000000000000000000000000000000000000000000602082015250565b5f6122f6602583611e68565b91506123018261229c565b604082019050919050565b5f6020820190508181035f830152612323816122ea565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61236182611747565b915061236c83611747565b92508282019050808211156123845761238361232a565b5b92915050565b7f4578636565647320746f74616c2061697264726f7020616c6c6f636174696f6e5f82015250565b5f6123be602083611e68565b91506123c98261238a565b602082019050919050565b5f6020820190508181035f8301526123eb816123b2565b9050919050565b5f6040820190506124055f830185611c7e565b6124126020830184611c7e565b9392505050565b5f61242382611747565b915061242e83611747565b92508282039050818111156124465761244561232a565b5b92915050565b5f61245682611747565b915061246183611747565b925082820261246f81611747565b915082820484148315176124865761248561232a565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f6124c482611747565b91506124cf83611747565b9250826124df576124de61248d565b5b828204905092915050565b7f41697264726f70206174207370656369666965642069642065786973747300005f82015250565b5f61251e601e83611e68565b9150612529826124ea565b602082019050919050565b5f6020820190508181035f83015261254b81612512565b9050919050565b5f8151905061256081611750565b92915050565b5f6020828403121561257b5761257a61173f565b5b5f61258884828501612552565b91505092915050565b7f486f6c64696e6720706f6f6c20646f6573206e6f74206861766520656e6f75675f8201527f6820746f6b656e73000000000000000000000000000000000000000000000000602082015250565b5f6125eb602883611e68565b91506125f682612591565b604082019050919050565b5f6020820190508181035f830152612618816125df565b9050919050565b5f6040820190506126325f830185611ca6565b61263f6020830184611ca6565b9392505050565b7f5370656e64657220646f6573206e6f74206861766520656e6f75676820616c6c5f8201527f6f77616e63650000000000000000000000000000000000000000000000000000602082015250565b5f6126a0602683611e68565b91506126ab82612646565b604082019050919050565b5f6020820190508181035f8301526126cd81612694565b9050919050565b5f6040820190506126e75f830185611c7e565b6126f46020830184611ca6565b9392505050565b5f60408201905061270e5f830185611ca6565b61271b6020830184611c7e565b9392505050565b5f6060820190506127355f830186611ca6565b6127426020830185611ca6565b61274f6040830184611c7e565b94935050505056fea2646970667358221220dae811e7003f40e0b8da9f142052659c0f6e2fb3b66037b15ce51fa8d34f37fd64736f6c634300081c0033
Deployed Bytecode
0x608060405234801561000f575f5ffd5b50600436106100a7575f3560e01c8063715018a61161006f578063715018a6146101755780638da5cb5b1461017f578063ae0b51df1461019d578063d713d884146101b9578063ea394fdc146101e9578063f2fde38b14610205576100a7565b806334a73003146100ab57806342cfc300146100db57806343356f40146100f75780635c975abb14610127578063634b3b3f14610145575b5f5ffd5b6100c560048036038101906100c0919061177a565b610221565b6040516100d291906118e1565b60405180910390f35b6100f560048036038101906100f09190611983565b6103c1565b005b610111600480360381019061010c9190611b85565b6105b4565b60405161011e9190611c27565b60405180910390f35b61012f6106d6565b60405161013c9190611c27565b60405180910390f35b61015f600480360381019061015a9190611c40565b6106eb565b60405161016c9190611c8d565b60405180910390f35b61017d6108c8565b005b6101876108db565b6040516101949190611cb5565b60405180910390f35b6101b760048036038101906101b29190611cce565b610902565b005b6101d360048036038101906101ce9190611d3a565b610d0e565b6040516101e09190611c8d565b60405180910390f35b61020360048036038101906101fe9190611dd9565b610fd1565b005b61021f600480360381019061021a9190611e3d565b6112dd565b005b6102296116dc565b5f73ffffffffffffffffffffffffffffffffffffffff1660035f8481526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036102c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102c090611ee8565b60405180910390fd5b60035f8381526020019081526020015f206040518060c00160405290815f82015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820154815260200160028201548152602001600382015f9054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff1681526020016003820160089054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff1681526020016004820154815250509050919050565b6103c9611361565b5f73ffffffffffffffffffffffffffffffffffffffff1660035f8781526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610469576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161046090611ee8565b60405180910390fd5b5f60035f8781526020019081526020015f206003015f9054906101000a900467ffffffffffffffff1667ffffffffffffffff1614806104a55750805b6104e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104db90611f50565b60405180910390fd5b8360035f8781526020019081526020015f206003015f6101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055508260035f8781526020019081526020015f2060030160086101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055508160035f8781526020019081526020015f206004018190555081857fe3156532e68bd75402d6b5488de1a53659b02787b8e5a892662fbb65a1cc9cb886866040516105a5929190611f7d565b60405180910390a35050505050565b5f5f60028787876040516020016105cd93929190612009565b6040516020818303038152906040526040516105e99190612097565b602060405180830381855afa158015610604573d5f5f3e3d5ffd5b5050506040513d601f19601f8201168201806040525081019061062791906120c1565b90505f5f90505b83518110156106c6575f84828151811061064b5761064a6120ec565b5b6020026020010151905080831161068c57828160405160200161066f929190612139565b6040516020818303038152906040528051906020012092506106b8565b808360405160200161069f929190612139565b6040516020818303038152906040528051906020012092505b50808060010191505061062e565b5083811491505095945050505050565b5f60025f9054906101000a900460ff16905090565b5f5f73ffffffffffffffffffffffffffffffffffffffff1660035f8581526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160361078c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078390611ee8565b60405180910390fd5b5f60035f8581526020019081526020015f206003015f9054906101000a900467ffffffffffffffff1667ffffffffffffffff16036107ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107f6906121ae565b60405180910390fd5b60035f8481526020019081526020015f206003015f9054906101000a900467ffffffffffffffff1667ffffffffffffffff16421015610873576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086a90612216565b60405180910390fd5b60045f8481526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b6108d0611361565b6108d95f6113e8565b565b5f5f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61090a6114a9565b6109126114ea565b5f73ffffffffffffffffffffffffffffffffffffffff1660035f8581526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036109b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a990611ee8565b60405180910390fd5b5f60035f8581526020019081526020015f206003015f9054906101000a900467ffffffffffffffff1667ffffffffffffffff1603610a25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1c906121ae565b60405180910390fd5b60035f8481526020019081526020015f206003015f9054906101000a900467ffffffffffffffff1667ffffffffffffffff16421015610a99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9090612216565b60405180910390fd5b610aba83338460035f8881526020019081526020015f2060040154856105b4565b610af9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af09061227e565b60405180910390fd5b5f610b078433856001610d0e565b90505f8111610b4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b429061230c565b60405180910390fd5b60035f8581526020019081526020015f20600101548160035f8781526020019081526020015f2060020154610b809190612357565b1115610bc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb8906123d4565b60405180910390fd5b5f60035f8681526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050610c2233838373ffffffffffffffffffffffffffffffffffffffff166115309092919063ffffffff16565b8160035f8781526020019081526020015f206002015f828254610c459190612357565b925050819055508160045f8781526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254610ca79190612357565b925050819055503373ffffffffffffffffffffffffffffffffffffffff16857f2db7b200aa423ebe7828d265f5dfeab33f3d1d049f4097ac814b05571ac97eac8685604051610cf79291906123f2565b60405180910390a35050610d096115af565b505050565b5f5f73ffffffffffffffffffffffffffffffffffffffff1660035f8781526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610daf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da690611ee8565b60405180910390fd5b5f60035f8781526020019081526020015f206003015f9054906101000a900467ffffffffffffffff1667ffffffffffffffff1603610e22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e19906121ae565b60405180910390fd5b60035f8681526020019081526020015f206003015f9054906101000a900467ffffffffffffffff1667ffffffffffffffff16421015610e96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8d90612216565b60405180910390fd5b5f60035f8781526020019081526020015f206003015f9054906101000a900467ffffffffffffffff1667ffffffffffffffff1642610ed49190612419565b90505f60035f8881526020019081526020015f2060030160089054906101000a900467ffffffffffffffff1690505f5f90505f8267ffffffffffffffff161115610f51578167ffffffffffffffff168387610f2f919061244c565b610f3991906124ba565b9050858111610f485780610f4a565b855b9050610f55565b8590505b8415610fc2575f60045f8a81526020019081526020015f205f8973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490508082610fb79190612419565b945050505050610fc9565b8093505050505b949350505050565b610fd9611361565b5f73ffffffffffffffffffffffffffffffffffffffff1660035f8681526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611079576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107090612534565b60405180910390fd5b818373ffffffffffffffffffffffffffffffffffffffff166370a08231836040518263ffffffff1660e01b81526004016110b39190611cb5565b602060405180830381865afa1580156110ce573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110f29190612566565b1015611133576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112a90612601565b60405180910390fd5b818373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e83306040518363ffffffff1660e01b815260040161116f92919061261f565b602060405180830381865afa15801561118a573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111ae9190612566565b10156111ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e6906126b6565b60405180910390fd5b8260035f8681526020019081526020015f205f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160035f8681526020019081526020015f20600101819055506112868130848673ffffffffffffffffffffffffffffffffffffffff166115b8909392919063ffffffff16565b8273ffffffffffffffffffffffffffffffffffffffff16847ff7389a063b87e8d896b3811f771a8cde75d45aa44bd419587a4faa0a3a2a655384846040516112cf9291906126d4565b60405180910390a350505050565b6112e5611361565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611355575f6040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161134c9190611cb5565b60405180910390fd5b61135e816113e8565b50565b61136961163a565b73ffffffffffffffffffffffffffffffffffffffff166113876108db565b73ffffffffffffffffffffffffffffffffffffffff16146113e6576113aa61163a565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016113dd9190611cb5565b60405180910390fd5b565b5f5f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6114b16106d6565b156114e8576040517fd93c066500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b600260015403611526576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600181905550565b6115aa838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85856040516024016115639291906126fb565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611641565b505050565b60018081905550565b611634848573ffffffffffffffffffffffffffffffffffffffff166323b872dd8686866040516024016115ed93929190612722565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611641565b50505050565b5f33905090565b5f5f60205f8451602086015f885af180611660576040513d5f823e3d81fd5b3d92505f519150505f8214611679576001811415611694565b5f8473ffffffffffffffffffffffffffffffffffffffff163b145b156116d657836040517f5274afe70000000000000000000000000000000000000000000000000000000081526004016116cd9190611cb5565b60405180910390fd5b50505050565b6040518060c001604052805f73ffffffffffffffffffffffffffffffffffffffff1681526020015f81526020015f81526020015f67ffffffffffffffff1681526020015f67ffffffffffffffff1681526020015f81525090565b5f604051905090565b5f5ffd5b5f5ffd5b5f819050919050565b61175981611747565b8114611763575f5ffd5b50565b5f8135905061177481611750565b92915050565b5f6020828403121561178f5761178e61173f565b5b5f61179c84828501611766565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f819050919050565b5f6117e76117e26117dd846117a5565b6117c4565b6117a5565b9050919050565b5f6117f8826117cd565b9050919050565b5f611809826117ee565b9050919050565b611819816117ff565b82525050565b61182881611747565b82525050565b5f67ffffffffffffffff82169050919050565b61184a8161182e565b82525050565b5f819050919050565b61186281611850565b82525050565b60c082015f82015161187c5f850182611810565b50602082015161188f602085018261181f565b5060408201516118a2604085018261181f565b5060608201516118b56060850182611841565b5060808201516118c86080850182611841565b5060a08201516118db60a0850182611859565b50505050565b5f60c0820190506118f45f830184611868565b92915050565b6119038161182e565b811461190d575f5ffd5b50565b5f8135905061191e816118fa565b92915050565b61192d81611850565b8114611937575f5ffd5b50565b5f8135905061194881611924565b92915050565b5f8115159050919050565b6119628161194e565b811461196c575f5ffd5b50565b5f8135905061197d81611959565b92915050565b5f5f5f5f5f60a0868803121561199c5761199b61173f565b5b5f6119a988828901611766565b95505060206119ba88828901611910565b94505060406119cb88828901611910565b93505060606119dc8882890161193a565b92505060806119ed8882890161196f565b9150509295509295909350565b5f611a04826117a5565b9050919050565b611a14816119fa565b8114611a1e575f5ffd5b50565b5f81359050611a2f81611a0b565b92915050565b5f5ffd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b611a7f82611a39565b810181811067ffffffffffffffff82111715611a9e57611a9d611a49565b5b80604052505050565b5f611ab0611736565b9050611abc8282611a76565b919050565b5f67ffffffffffffffff821115611adb57611ada611a49565b5b602082029050602081019050919050565b5f5ffd5b5f611b02611afd84611ac1565b611aa7565b90508083825260208201905060208402830185811115611b2557611b24611aec565b5b835b81811015611b4e5780611b3a888261193a565b845260208401935050602081019050611b27565b5050509392505050565b5f82601f830112611b6c57611b6b611a35565b5b8135611b7c848260208601611af0565b91505092915050565b5f5f5f5f5f60a08688031215611b9e57611b9d61173f565b5b5f611bab88828901611766565b9550506020611bbc88828901611a21565b9450506040611bcd88828901611766565b9350506060611bde8882890161193a565b925050608086013567ffffffffffffffff811115611bff57611bfe611743565b5b611c0b88828901611b58565b9150509295509295909350565b611c218161194e565b82525050565b5f602082019050611c3a5f830184611c18565b92915050565b5f5f60408385031215611c5657611c5561173f565b5b5f611c6385828601611766565b9250506020611c7485828601611a21565b9150509250929050565b611c8781611747565b82525050565b5f602082019050611ca05f830184611c7e565b92915050565b611caf816119fa565b82525050565b5f602082019050611cc85f830184611ca6565b92915050565b5f5f5f60608486031215611ce557611ce461173f565b5b5f611cf286828701611766565b9350506020611d0386828701611766565b925050604084013567ffffffffffffffff811115611d2457611d23611743565b5b611d3086828701611b58565b9150509250925092565b5f5f5f5f60808587031215611d5257611d5161173f565b5b5f611d5f87828801611766565b9450506020611d7087828801611a21565b9350506040611d8187828801611766565b9250506060611d928782880161196f565b91505092959194509250565b5f611da8826119fa565b9050919050565b611db881611d9e565b8114611dc2575f5ffd5b50565b5f81359050611dd381611daf565b92915050565b5f5f5f5f60808587031215611df157611df061173f565b5b5f611dfe87828801611766565b9450506020611e0f87828801611dc5565b9350506040611e2087828801611766565b9250506060611e3187828801611a21565b91505092959194509250565b5f60208284031215611e5257611e5161173f565b5b5f611e5f84828501611a21565b91505092915050565b5f82825260208201905092915050565b7f41697264726f702061742073706563696669656420696420646f6573206e6f745f8201527f2065786973740000000000000000000000000000000000000000000000000000602082015250565b5f611ed2602683611e68565b9150611edd82611e78565b604082019050919050565b5f6020820190508181035f830152611eff81611ec6565b9050919050565b7f41697264726f7020697320616c7265616479206c6976650000000000000000005f82015250565b5f611f3a601783611e68565b9150611f4582611f06565b602082019050919050565b5f6020820190508181035f830152611f6781611f2e565b9050919050565b611f778161182e565b82525050565b5f604082019050611f905f830185611f6e565b611f9d6020830184611f6e565b9392505050565b5f819050919050565b611fbe611fb982611747565b611fa4565b82525050565b5f8160601b9050919050565b5f611fda82611fc4565b9050919050565b5f611feb82611fd0565b9050919050565b612003611ffe826119fa565b611fe1565b82525050565b5f6120148286611fad565b6020820191506120248285611ff2565b6014820191506120348284611fad565b602082019150819050949350505050565b5f81519050919050565b5f81905092915050565b8281835e5f83830152505050565b5f61207182612045565b61207b818561204f565b935061208b818560208601612059565b80840191505092915050565b5f6120a28284612067565b915081905092915050565b5f815190506120bb81611924565b92915050565b5f602082840312156120d6576120d561173f565b5b5f6120e3848285016120ad565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f819050919050565b61213361212e82611850565b612119565b82525050565b5f6121448285612122565b6020820191506121548284612122565b6020820191508190509392505050565b7f41697264726f70206973206e6f74206c697665202f20636f6e666967757265645f82015250565b5f612198602083611e68565b91506121a382612164565b602082019050919050565b5f6020820190508181035f8301526121c58161218c565b9050919050565b7f41697264726f7020686173206e6f7420737461727465642079657400000000005f82015250565b5f612200601b83611e68565b915061220b826121cc565b602082019050919050565b5f6020820190508181035f83015261222d816121f4565b9050919050565b7f4d65726b6c652070726f6f6620697320696e76616c69640000000000000000005f82015250565b5f612268601783611e68565b915061227382612234565b602082019050919050565b5f6020820190508181035f8301526122958161225c565b9050919050565b7f5468657265206973206e6f20616d6f756e7420617661696c61626c6520746f205f8201527f636c61696d000000000000000000000000000000000000000000000000000000602082015250565b5f6122f6602583611e68565b91506123018261229c565b604082019050919050565b5f6020820190508181035f830152612323816122ea565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61236182611747565b915061236c83611747565b92508282019050808211156123845761238361232a565b5b92915050565b7f4578636565647320746f74616c2061697264726f7020616c6c6f636174696f6e5f82015250565b5f6123be602083611e68565b91506123c98261238a565b602082019050919050565b5f6020820190508181035f8301526123eb816123b2565b9050919050565b5f6040820190506124055f830185611c7e565b6124126020830184611c7e565b9392505050565b5f61242382611747565b915061242e83611747565b92508282039050818111156124465761244561232a565b5b92915050565b5f61245682611747565b915061246183611747565b925082820261246f81611747565b915082820484148315176124865761248561232a565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f6124c482611747565b91506124cf83611747565b9250826124df576124de61248d565b5b828204905092915050565b7f41697264726f70206174207370656369666965642069642065786973747300005f82015250565b5f61251e601e83611e68565b9150612529826124ea565b602082019050919050565b5f6020820190508181035f83015261254b81612512565b9050919050565b5f8151905061256081611750565b92915050565b5f6020828403121561257b5761257a61173f565b5b5f61258884828501612552565b91505092915050565b7f486f6c64696e6720706f6f6c20646f6573206e6f74206861766520656e6f75675f8201527f6820746f6b656e73000000000000000000000000000000000000000000000000602082015250565b5f6125eb602883611e68565b91506125f682612591565b604082019050919050565b5f6020820190508181035f830152612618816125df565b9050919050565b5f6040820190506126325f830185611ca6565b61263f6020830184611ca6565b9392505050565b7f5370656e64657220646f6573206e6f74206861766520656e6f75676820616c6c5f8201527f6f77616e63650000000000000000000000000000000000000000000000000000602082015250565b5f6126a0602683611e68565b91506126ab82612646565b604082019050919050565b5f6020820190508181035f8301526126cd81612694565b9050919050565b5f6040820190506126e75f830185611c7e565b6126f46020830184611ca6565b9392505050565b5f60408201905061270e5f830185611ca6565b61271b6020830184611c7e565b9392505050565b5f6060820190506127355f830186611ca6565b6127426020830185611ca6565b61274f6040830184611c7e565b94935050505056fea2646970667358221220dae811e7003f40e0b8da9f142052659c0f6e2fb3b66037b15ce51fa8d34f37fd64736f6c634300081c0033
Deployed Bytecode Sourcemap
524:7120:13:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3099:256;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2355:686;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;3445:876;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1726:84:10;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;5679:526:13;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2293:101:0;;;:::i;:::-;;1638:85;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;6291:1351:13;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;4407:1204;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1543:726;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;2543:215:0;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;3099:256:13;3175:14;;:::i;:::-;3261:1;3214:49;;3222:9;:20;3232:9;3222:20;;;;;;;;;;;:26;;;;;;;;;;;;3214:49;;;3199:118;;;;;;;;;;;;:::i;:::-;;;;;;;;;3330:9;:20;3340:9;3330:20;;;;;;;;;;;3323:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3099:256;;;:::o;2355:686::-;1531:13:0;:11;:13::i;:::-;2588:1:13::1;2541:49;;2549:9;:20;2559:9;2549:20;;;;;;;;;;;:26;;;;;;;;;;;;2541:49;;::::0;2526:118:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;2705:1;2665:9;:20;2675:9;2665:20;;;;;;;;;;;:36;;;;;;;;;;;;:41;;;:51;;;;2710:6;2665:51;2650:105;;;;;;;;;;;;:::i;:::-;;;;;;;;;2801:15;2762:9;:20;2772:9;2762:20;;;;;;;;;;;:36;;;:54;;;;;;;;;;;;;;;;;;2859:13;2822:9;:20;2832:9;2822:20;;;;;;;;;;;:34;;;:50;;;;;;;;;;;;;;;;;;2912:10;2878:9;:20;2888:9;2878:20;;;;;;;;;;;:31;;:44;;;;2976:10;2959:9;2934:102;2994:15;3017:13;2934:102;;;;;;;:::i;:::-;;;;;;;;2355:686:::0;;;;;:::o;3445:876::-;3623:4;3635:20;3658:74;3689:9;3700:12;3714:11;3672:54;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;3658:74;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3635:97;;3744:9;3756:1;3744:13;;3739:467;3763:11;:18;3759:1;:22;3739:467;;;3796:20;3819:11;3831:1;3819:14;;;;;;;;:::i;:::-;;;;;;;;3796:37;;3862:12;3846;:28;3842:358;;3998:12;4012;3981:44;;;;;;;;;:::i;:::-;;;;;;;;;;;;;3971:55;;;;;;3956:70;;3842:358;;;4163:12;4177;4146:44;;;;;;;;;:::i;:::-;;;;;;;;;;;;;4136:55;;;;;;4121:70;;3842:358;3788:418;3783:3;;;;;;;3739:467;;;;4306:10;4290:12;:26;4283:33;;;3445:876;;;;;;;:::o;1726:84:10:-;1773:4;1796:7;;;;;;;;;;;1789:14;;1726:84;:::o;5679:526:13:-;5782:7;5861:1;5814:49;;5822:9;:20;5832:9;5822:20;;;;;;;;;;;:26;;;;;;;;;;;;5814:49;;;5799:118;;;;;;;;;;;;:::i;:::-;;;;;;;;;5978:1;5938:9;:20;5948:9;5938:20;;;;;;;;;;;:36;;;;;;;;;;;;:41;;;5923:104;;;;;;;;;;;;:::i;:::-;;;;;;;;;6067:9;:20;6077:9;6067:20;;;;;;;;;;;:36;;;;;;;;;;;;6048:55;;:15;:55;;6033:113;;;;;;;;;;;;:::i;:::-;;;;;;;;;6160:15;:26;6176:9;6160:26;;;;;;;;;;;:40;6187:12;6160:40;;;;;;;;;;;;;;;;6153:47;;5679:526;;;;:::o;2293:101:0:-;1531:13;:11;:13::i;:::-;2357:30:::1;2384:1;2357:18;:30::i;:::-;2293:101::o:0;1638:85::-;1684:7;1710:6;;;;;;;;;;;1703:13;;1638:85;:::o;6291:1351:13:-;1350:19:10;:17;:19::i;:::-;2500:21:11::1;:19;:21::i;:::-;6494:1:13::2;6447:49;;6455:9;:20;6465:9;6455:20;;;;;;;;;;;:26;;;;;;;;;;;;6447:49;;::::0;6432:118:::2;;;;;;;;;;;;:::i;:::-;;;;;;;;;6611:1;6571:9;:20;6581:9;6571:20;;;;;;;;;;;:36;;;;;;;;;;;;:41;;::::0;6556:104:::2;;;;;;;;;;;;:::i;:::-;;;;;;;;;6700:9;:20;6710:9;6700:20;;;;;;;;;;;:36;;;;;;;;;;;;6681:55;;:15;:55;;6666:113;;;;;;;;;;;;:::i;:::-;;;;;;;;;6800:141;6821:9;6840:10;6860:11;6881:9;:20;6891:9;6881:20;;;;;;;;;;;:31;;;6922:11;6800;:141::i;:::-;6785:195;;;;;;;;;;;;:::i;:::-;;;;;;;;;6987:22;7012:94;7042:9;7059:10;7077:11;7096:4;7012:22;:94::i;:::-;6987:119;;7138:1;7121:14;:18;7113:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;7257:9;:20;7267:9;7257:20;;;;;;;;;;;:32;;;7239:14;7202:9;:20;7212:9;7202:20;;;;;;;;;;;:34;;;:51;;;;:::i;:::-;:87;;7187:150;;;;;;;;;;;;:::i;:::-;;;;;;;;;7344:12;7359:9;:20;7369:9;7359:20;;;;;;;;;;;:26;;;;;;;;;;;;7344:41;;7392:46;7411:10;7423:14;7392:5;:18;;;;:46;;;;;:::i;:::-;7483:14;7445:9;:20;7455:9;7445:20;;;;;;;;;;;:34;;;:52;;;;;;;:::i;:::-;;;;;;;;7545:14;7503:15;:26;7519:9;7503:26;;;;;;;;;;;:38;7530:10;7503:38;;;;;;;;;;;;;;;;:56;;;;;;;:::i;:::-;;;;;;;;7597:10;7571:66;;7586:9;7571:66;7609:11;7622:14;7571:66;;;;;;;:::i;:::-;;;;;;;;6426:1216;;2542:20:11::1;:18;:20::i;:::-;6291:1351:13::0;;;:::o;4407:1204::-;4570:7;4647:1;4600:49;;4608:9;:20;4618:9;4608:20;;;;;;;;;;;:26;;;;;;;;;;;;4600:49;;;4585:118;;;;;;;;;;;;:::i;:::-;;;;;;;;;4764:1;4724:9;:20;4734:9;4724:20;;;;;;;;;;;:36;;;;;;;;;;;;:41;;;4709:104;;;;;;;;;;;;:::i;:::-;;;;;;;;;4853:9;:20;4863:9;4853:20;;;;;;;;;;;:36;;;;;;;;;;;;4834:55;;:15;:55;;4819:113;;;;;;;;;;;;:::i;:::-;;;;;;;;;4939:29;4995:9;:20;5005:9;4995:20;;;;;;;;;;;:36;;;;;;;;;;;;4971:60;;:15;:60;;;;:::i;:::-;4939:92;;5037:20;5060:9;:20;5070:9;5060:20;;;;;;;;;;;:34;;;;;;;;;;;;5037:57;;5100:24;5127:1;5100:28;;5155:1;5139:13;:17;;;5135:267;;;5225:13;5185:53;;5200:21;5186:11;:35;;;;:::i;:::-;5185:53;;;;:::i;:::-;5166:72;;5284:11;5265:16;:30;:79;;5328:16;5265:79;;;5306:11;5265:79;5246:98;;5135:267;;;5384:11;5365:30;;5135:267;5412:21;5408:199;;;5443:22;5468:15;:26;5484:9;5468:26;;;;;;;;;;;:40;5495:12;5468:40;;;;;;;;;;;;;;;;5443:65;;5542:14;5523:16;:33;;;;:::i;:::-;5516:40;;;;;;;;5408:199;5584:16;5577:23;;;;;4407:1204;;;;;;;:::o;1543:726::-;1531:13:0;:11;:13::i;:::-;1742:1:13::1;1695:49;;1703:9;:20;1713:9;1703:20;;;;;;;;;;;:26;;;;;;;;;;;;1695:49;;;1680:110;;;;;;;;;;;;:::i;:::-;;;;;;;;;1844:6;1811:5;:15;;;1827:12;1811:29;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:39;;1796:110;;;;;;;;;;;;:::i;:::-;;;;;;;;;1975:6;1927:5;:15;;;1943:12;1965:4;1927:44;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:54;;1912:123;;;;;;;;;;;;:::i;:::-;;;;;;;;;2071:5;2042:9;:20;2052:9;2042:20;;;;;;;;;;;:26;;;:34;;;;;;;;;;;;;;;;;;2117:6;2082:9;:20;2092:9;2082:20;;;;;;;;;;;:32;;:41;;;;2130:59;2153:12;2175:4;2182:6;2130:5;:22;;;;:59;;;;;;:::i;:::-;2235:5;2201:63;;2216:9;2201:63;2243:6;2251:12;2201:63;;;;;;;:::i;:::-;;;;;;;;1543:726:::0;;;;:::o;2543:215:0:-;1531:13;:11;:13::i;:::-;2647:1:::1;2627:22;;:8;:22;;::::0;2623:91:::1;;2700:1;2672:31;;;;;;;;;;;:::i;:::-;;;;;;;;2623:91;2723:28;2742:8;2723:18;:28::i;:::-;2543:215:::0;:::o;1796:162::-;1866:12;:10;:12::i;:::-;1855:23;;:7;:5;:7::i;:::-;:23;;;1851:101;;1928:12;:10;:12::i;:::-;1901:40;;;;;;;;;;;:::i;:::-;;;;;;;;1851:101;1796:162::o;2912:187::-;2985:16;3004:6;;;;;;;;;;;2985:25;;3029:8;3020:6;;:17;;;;;;;;;;;;;;;;;;3083:8;3052:40;;3073:8;3052:40;;;;;;;;;;;;2975:124;2912:187;:::o;1878:128:10:-;1943:8;:6;:8::i;:::-;1939:61;;;1974:15;;;;;;;;;;;;;;1939:61;1878:128::o;2575:307:11:-;1899:1;2702:7;;:18;2698:86;;2743:30;;;;;;;;;;;;;;2698:86;1899:1;2858:7;:17;;;;2575:307::o;1219:160:8:-;1301:71;1321:5;1343;:14;;;1360:2;1364:5;1328:43;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1301:19;:71::i;:::-;1219:160;;;:::o;2888:208:11:-;1857:1;3068:7;:21;;;;2888:208::o;1618:188:8:-;1718:81;1738:5;1760;:18;;;1781:4;1787:2;1791:5;1745:53;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1718:19;:81::i;:::-;1618:188;;;;:::o;656:96:9:-;709:7;735:10;728:17;;656:96;:::o;8370:720:8:-;8450:18;8478:19;8616:4;8613:1;8606:4;8600:11;8593:4;8587;8583:15;8580:1;8573:5;8566;8561:60;8673:7;8663:176;;8717:4;8711:11;8762:16;8759:1;8754:3;8739:40;8808:16;8803:3;8796:29;8663:176;8866:16;8852:30;;8916:1;8910:8;8895:23;;8532:396;8956:1;8942:10;:15;:68;;9009:1;8994:11;:16;;8942:68;;;8990:1;8968:5;8960:26;;;:31;8942:68;8938:146;;;9066:5;9033:40;;;;;;;;;;;:::i;:::-;;;;;;;;8938:146;8440:650;;8370:720;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;7:75:15:-;40:6;73:2;67:9;57:19;;7:75;:::o;88:117::-;197:1;194;187:12;211:117;320:1;317;310:12;334:77;371:7;400:5;389:16;;334:77;;;:::o;417:122::-;490:24;508:5;490:24;:::i;:::-;483:5;480:35;470:63;;529:1;526;519:12;470:63;417:122;:::o;545:139::-;591:5;629:6;616:20;607:29;;645:33;672:5;645:33;:::i;:::-;545:139;;;;:::o;690:329::-;749:6;798:2;786:9;777:7;773:23;769:32;766:119;;;804:79;;:::i;:::-;766:119;924:1;949:53;994:7;985:6;974:9;970:22;949:53;:::i;:::-;939:63;;895:117;690:329;;;;:::o;1025:126::-;1062:7;1102:42;1095:5;1091:54;1080:65;;1025:126;;;:::o;1157:60::-;1185:3;1206:5;1199:12;;1157:60;;;:::o;1223:142::-;1273:9;1306:53;1324:34;1333:24;1351:5;1333:24;:::i;:::-;1324:34;:::i;:::-;1306:53;:::i;:::-;1293:66;;1223:142;;;:::o;1371:126::-;1421:9;1454:37;1485:5;1454:37;:::i;:::-;1441:50;;1371:126;;;:::o;1503:140::-;1567:9;1600:37;1631:5;1600:37;:::i;:::-;1587:50;;1503:140;;;:::o;1649:149::-;1740:51;1785:5;1740:51;:::i;:::-;1735:3;1728:64;1649:149;;:::o;1804:108::-;1881:24;1899:5;1881:24;:::i;:::-;1876:3;1869:37;1804:108;;:::o;1918:101::-;1954:7;1994:18;1987:5;1983:30;1972:41;;1918:101;;;:::o;2025:105::-;2100:23;2117:5;2100:23;:::i;:::-;2095:3;2088:36;2025:105;;:::o;2136:77::-;2173:7;2202:5;2191:16;;2136:77;;;:::o;2219:108::-;2296:24;2314:5;2296:24;:::i;:::-;2291:3;2284:37;2219:108;;:::o;2427:1256::-;2574:4;2569:3;2565:14;2662:4;2655:5;2651:16;2645:23;2681:77;2752:4;2747:3;2743:14;2729:12;2681:77;:::i;:::-;2589:179;2857:4;2850:5;2846:16;2840:23;2876:63;2933:4;2928:3;2924:14;2910:12;2876:63;:::i;:::-;2778:171;3040:4;3033:5;3029:16;3023:23;3059:63;3116:4;3111:3;3107:14;3093:12;3059:63;:::i;:::-;2959:173;3225:4;3218:5;3214:16;3208:23;3244:61;3299:4;3294:3;3290:14;3276:12;3244:61;:::i;:::-;3142:173;3406:4;3399:5;3395:16;3389:23;3425:61;3480:4;3475:3;3471:14;3457:12;3425:61;:::i;:::-;3325:171;3584:4;3577:5;3573:16;3567:23;3603:63;3660:4;3655:3;3651:14;3637:12;3603:63;:::i;:::-;3506:170;2543:1140;2427:1256;;:::o;3689:323::-;3832:4;3870:3;3859:9;3855:19;3847:27;;3884:121;4002:1;3991:9;3987:17;3978:6;3884:121;:::i;:::-;3689:323;;;;:::o;4018:120::-;4090:23;4107:5;4090:23;:::i;:::-;4083:5;4080:34;4070:62;;4128:1;4125;4118:12;4070:62;4018:120;:::o;4144:137::-;4189:5;4227:6;4214:20;4205:29;;4243:32;4269:5;4243:32;:::i;:::-;4144:137;;;;:::o;4287:122::-;4360:24;4378:5;4360:24;:::i;:::-;4353:5;4350:35;4340:63;;4399:1;4396;4389:12;4340:63;4287:122;:::o;4415:139::-;4461:5;4499:6;4486:20;4477:29;;4515:33;4542:5;4515:33;:::i;:::-;4415:139;;;;:::o;4560:90::-;4594:7;4637:5;4630:13;4623:21;4612:32;;4560:90;;;:::o;4656:116::-;4726:21;4741:5;4726:21;:::i;:::-;4719:5;4716:32;4706:60;;4762:1;4759;4752:12;4706:60;4656:116;:::o;4778:133::-;4821:5;4859:6;4846:20;4837:29;;4875:30;4899:5;4875:30;:::i;:::-;4778:133;;;;:::o;4917:901::-;5007:6;5015;5023;5031;5039;5088:3;5076:9;5067:7;5063:23;5059:33;5056:120;;;5095:79;;:::i;:::-;5056:120;5215:1;5240:53;5285:7;5276:6;5265:9;5261:22;5240:53;:::i;:::-;5230:63;;5186:117;5342:2;5368:52;5412:7;5403:6;5392:9;5388:22;5368:52;:::i;:::-;5358:62;;5313:117;5469:2;5495:52;5539:7;5530:6;5519:9;5515:22;5495:52;:::i;:::-;5485:62;;5440:117;5596:2;5622:53;5667:7;5658:6;5647:9;5643:22;5622:53;:::i;:::-;5612:63;;5567:118;5724:3;5751:50;5793:7;5784:6;5773:9;5769:22;5751:50;:::i;:::-;5741:60;;5695:116;4917:901;;;;;;;;:::o;5824:96::-;5861:7;5890:24;5908:5;5890:24;:::i;:::-;5879:35;;5824:96;;;:::o;5926:122::-;5999:24;6017:5;5999:24;:::i;:::-;5992:5;5989:35;5979:63;;6038:1;6035;6028:12;5979:63;5926:122;:::o;6054:139::-;6100:5;6138:6;6125:20;6116:29;;6154:33;6181:5;6154:33;:::i;:::-;6054:139;;;;:::o;6199:117::-;6308:1;6305;6298:12;6322:102;6363:6;6414:2;6410:7;6405:2;6398:5;6394:14;6390:28;6380:38;;6322:102;;;:::o;6430:180::-;6478:77;6475:1;6468:88;6575:4;6572:1;6565:15;6599:4;6596:1;6589:15;6616:281;6699:27;6721:4;6699:27;:::i;:::-;6691:6;6687:40;6829:6;6817:10;6814:22;6793:18;6781:10;6778:34;6775:62;6772:88;;;6840:18;;:::i;:::-;6772:88;6880:10;6876:2;6869:22;6659:238;6616:281;;:::o;6903:129::-;6937:6;6964:20;;:::i;:::-;6954:30;;6993:33;7021:4;7013:6;6993:33;:::i;:::-;6903:129;;;:::o;7038:311::-;7115:4;7205:18;7197:6;7194:30;7191:56;;;7227:18;;:::i;:::-;7191:56;7277:4;7269:6;7265:17;7257:25;;7337:4;7331;7327:15;7319:23;;7038:311;;;:::o;7355:117::-;7464:1;7461;7454:12;7495:710;7591:5;7616:81;7632:64;7689:6;7632:64;:::i;:::-;7616:81;:::i;:::-;7607:90;;7717:5;7746:6;7739:5;7732:21;7780:4;7773:5;7769:16;7762:23;;7833:4;7825:6;7821:17;7813:6;7809:30;7862:3;7854:6;7851:15;7848:122;;;7881:79;;:::i;:::-;7848:122;7996:6;7979:220;8013:6;8008:3;8005:15;7979:220;;;8088:3;8117:37;8150:3;8138:10;8117:37;:::i;:::-;8112:3;8105:50;8184:4;8179:3;8175:14;8168:21;;8055:144;8039:4;8034:3;8030:14;8023:21;;7979:220;;;7983:21;7597:608;;7495:710;;;;;:::o;8228:370::-;8299:5;8348:3;8341:4;8333:6;8329:17;8325:27;8315:122;;8356:79;;:::i;:::-;8315:122;8473:6;8460:20;8498:94;8588:3;8580:6;8573:4;8565:6;8561:17;8498:94;:::i;:::-;8489:103;;8305:293;8228:370;;;;:::o;8604:1121::-;8724:6;8732;8740;8748;8756;8805:3;8793:9;8784:7;8780:23;8776:33;8773:120;;;8812:79;;:::i;:::-;8773:120;8932:1;8957:53;9002:7;8993:6;8982:9;8978:22;8957:53;:::i;:::-;8947:63;;8903:117;9059:2;9085:53;9130:7;9121:6;9110:9;9106:22;9085:53;:::i;:::-;9075:63;;9030:118;9187:2;9213:53;9258:7;9249:6;9238:9;9234:22;9213:53;:::i;:::-;9203:63;;9158:118;9315:2;9341:53;9386:7;9377:6;9366:9;9362:22;9341:53;:::i;:::-;9331:63;;9286:118;9471:3;9460:9;9456:19;9443:33;9503:18;9495:6;9492:30;9489:117;;;9525:79;;:::i;:::-;9489:117;9630:78;9700:7;9691:6;9680:9;9676:22;9630:78;:::i;:::-;9620:88;;9414:304;8604:1121;;;;;;;;:::o;9731:109::-;9812:21;9827:5;9812:21;:::i;:::-;9807:3;9800:34;9731:109;;:::o;9846:210::-;9933:4;9971:2;9960:9;9956:18;9948:26;;9984:65;10046:1;10035:9;10031:17;10022:6;9984:65;:::i;:::-;9846:210;;;;:::o;10062:474::-;10130:6;10138;10187:2;10175:9;10166:7;10162:23;10158:32;10155:119;;;10193:79;;:::i;:::-;10155:119;10313:1;10338:53;10383:7;10374:6;10363:9;10359:22;10338:53;:::i;:::-;10328:63;;10284:117;10440:2;10466:53;10511:7;10502:6;10491:9;10487:22;10466:53;:::i;:::-;10456:63;;10411:118;10062:474;;;;;:::o;10542:118::-;10629:24;10647:5;10629:24;:::i;:::-;10624:3;10617:37;10542:118;;:::o;10666:222::-;10759:4;10797:2;10786:9;10782:18;10774:26;;10810:71;10878:1;10867:9;10863:17;10854:6;10810:71;:::i;:::-;10666:222;;;;:::o;10894:118::-;10981:24;10999:5;10981:24;:::i;:::-;10976:3;10969:37;10894:118;;:::o;11018:222::-;11111:4;11149:2;11138:9;11134:18;11126:26;;11162:71;11230:1;11219:9;11215:17;11206:6;11162:71;:::i;:::-;11018:222;;;;:::o;11246:829::-;11348:6;11356;11364;11413:2;11401:9;11392:7;11388:23;11384:32;11381:119;;;11419:79;;:::i;:::-;11381:119;11539:1;11564:53;11609:7;11600:6;11589:9;11585:22;11564:53;:::i;:::-;11554:63;;11510:117;11666:2;11692:53;11737:7;11728:6;11717:9;11713:22;11692:53;:::i;:::-;11682:63;;11637:118;11822:2;11811:9;11807:18;11794:32;11853:18;11845:6;11842:30;11839:117;;;11875:79;;:::i;:::-;11839:117;11980:78;12050:7;12041:6;12030:9;12026:22;11980:78;:::i;:::-;11970:88;;11765:303;11246:829;;;;;:::o;12081:759::-;12164:6;12172;12180;12188;12237:3;12225:9;12216:7;12212:23;12208:33;12205:120;;;12244:79;;:::i;:::-;12205:120;12364:1;12389:53;12434:7;12425:6;12414:9;12410:22;12389:53;:::i;:::-;12379:63;;12335:117;12491:2;12517:53;12562:7;12553:6;12542:9;12538:22;12517:53;:::i;:::-;12507:63;;12462:118;12619:2;12645:53;12690:7;12681:6;12670:9;12666:22;12645:53;:::i;:::-;12635:63;;12590:118;12747:2;12773:50;12815:7;12806:6;12795:9;12791:22;12773:50;:::i;:::-;12763:60;;12718:115;12081:759;;;;;;;:::o;12846:110::-;12897:7;12926:24;12944:5;12926:24;:::i;:::-;12915:35;;12846:110;;;:::o;12962:150::-;13049:38;13081:5;13049:38;:::i;:::-;13042:5;13039:49;13029:77;;13102:1;13099;13092:12;13029:77;12962:150;:::o;13118:167::-;13178:5;13216:6;13203:20;13194:29;;13232:47;13273:5;13232:47;:::i;:::-;13118:167;;;;:::o;13291:793::-;13391:6;13399;13407;13415;13464:3;13452:9;13443:7;13439:23;13435:33;13432:120;;;13471:79;;:::i;:::-;13432:120;13591:1;13616:53;13661:7;13652:6;13641:9;13637:22;13616:53;:::i;:::-;13606:63;;13562:117;13718:2;13744:67;13803:7;13794:6;13783:9;13779:22;13744:67;:::i;:::-;13734:77;;13689:132;13860:2;13886:53;13931:7;13922:6;13911:9;13907:22;13886:53;:::i;:::-;13876:63;;13831:118;13988:2;14014:53;14059:7;14050:6;14039:9;14035:22;14014:53;:::i;:::-;14004:63;;13959:118;13291:793;;;;;;;:::o;14090:329::-;14149:6;14198:2;14186:9;14177:7;14173:23;14169:32;14166:119;;;14204:79;;:::i;:::-;14166:119;14324:1;14349:53;14394:7;14385:6;14374:9;14370:22;14349:53;:::i;:::-;14339:63;;14295:117;14090:329;;;;:::o;14425:169::-;14509:11;14543:6;14538:3;14531:19;14583:4;14578:3;14574:14;14559:29;;14425:169;;;;:::o;14600:225::-;14740:34;14736:1;14728:6;14724:14;14717:58;14809:8;14804:2;14796:6;14792:15;14785:33;14600:225;:::o;14831:366::-;14973:3;14994:67;15058:2;15053:3;14994:67;:::i;:::-;14987:74;;15070:93;15159:3;15070:93;:::i;:::-;15188:2;15183:3;15179:12;15172:19;;14831:366;;;:::o;15203:419::-;15369:4;15407:2;15396:9;15392:18;15384:26;;15456:9;15450:4;15446:20;15442:1;15431:9;15427:17;15420:47;15484:131;15610:4;15484:131;:::i;:::-;15476:139;;15203:419;;;:::o;15628:173::-;15768:25;15764:1;15756:6;15752:14;15745:49;15628:173;:::o;15807:366::-;15949:3;15970:67;16034:2;16029:3;15970:67;:::i;:::-;15963:74;;16046:93;16135:3;16046:93;:::i;:::-;16164:2;16159:3;16155:12;16148:19;;15807:366;;;:::o;16179:419::-;16345:4;16383:2;16372:9;16368:18;16360:26;;16432:9;16426:4;16422:20;16418:1;16407:9;16403:17;16396:47;16460:131;16586:4;16460:131;:::i;:::-;16452:139;;16179:419;;;:::o;16604:115::-;16689:23;16706:5;16689:23;:::i;:::-;16684:3;16677:36;16604:115;;:::o;16725:324::-;16842:4;16880:2;16869:9;16865:18;16857:26;;16893:69;16959:1;16948:9;16944:17;16935:6;16893:69;:::i;:::-;16972:70;17038:2;17027:9;17023:18;17014:6;16972:70;:::i;:::-;16725:324;;;;;:::o;17055:79::-;17094:7;17123:5;17112:16;;17055:79;;;:::o;17140:157::-;17245:45;17265:24;17283:5;17265:24;:::i;:::-;17245:45;:::i;:::-;17240:3;17233:58;17140:157;;:::o;17303:94::-;17336:8;17384:5;17380:2;17376:14;17355:35;;17303:94;;;:::o;17403:::-;17442:7;17471:20;17485:5;17471:20;:::i;:::-;17460:31;;17403:94;;;:::o;17503:100::-;17542:7;17571:26;17591:5;17571:26;:::i;:::-;17560:37;;17503:100;;;:::o;17609:157::-;17714:45;17734:24;17752:5;17734:24;:::i;:::-;17714:45;:::i;:::-;17709:3;17702:58;17609:157;;:::o;17772:538::-;17940:3;17955:75;18026:3;18017:6;17955:75;:::i;:::-;18055:2;18050:3;18046:12;18039:19;;18068:75;18139:3;18130:6;18068:75;:::i;:::-;18168:2;18163:3;18159:12;18152:19;;18181:75;18252:3;18243:6;18181:75;:::i;:::-;18281:2;18276:3;18272:12;18265:19;;18301:3;18294:10;;17772:538;;;;;;:::o;18316:98::-;18367:6;18401:5;18395:12;18385:22;;18316:98;;;:::o;18420:147::-;18521:11;18558:3;18543:18;;18420:147;;;;:::o;18573:139::-;18662:6;18657:3;18652;18646:23;18703:1;18694:6;18689:3;18685:16;18678:27;18573:139;;;:::o;18718:386::-;18822:3;18850:38;18882:5;18850:38;:::i;:::-;18904:88;18985:6;18980:3;18904:88;:::i;:::-;18897:95;;19001:65;19059:6;19054:3;19047:4;19040:5;19036:16;19001:65;:::i;:::-;19091:6;19086:3;19082:16;19075:23;;18826:278;18718:386;;;;:::o;19110:271::-;19240:3;19262:93;19351:3;19342:6;19262:93;:::i;:::-;19255:100;;19372:3;19365:10;;19110:271;;;;:::o;19387:143::-;19444:5;19475:6;19469:13;19460:22;;19491:33;19518:5;19491:33;:::i;:::-;19387:143;;;;:::o;19536:351::-;19606:6;19655:2;19643:9;19634:7;19630:23;19626:32;19623:119;;;19661:79;;:::i;:::-;19623:119;19781:1;19806:64;19862:7;19853:6;19842:9;19838:22;19806:64;:::i;:::-;19796:74;;19752:128;19536:351;;;;:::o;19893:180::-;19941:77;19938:1;19931:88;20038:4;20035:1;20028:15;20062:4;20059:1;20052:15;20079:79;20118:7;20147:5;20136:16;;20079:79;;;:::o;20164:157::-;20269:45;20289:24;20307:5;20289:24;:::i;:::-;20269:45;:::i;:::-;20264:3;20257:58;20164:157;;:::o;20327:397::-;20467:3;20482:75;20553:3;20544:6;20482:75;:::i;:::-;20582:2;20577:3;20573:12;20566:19;;20595:75;20666:3;20657:6;20595:75;:::i;:::-;20695:2;20690:3;20686:12;20679:19;;20715:3;20708:10;;20327:397;;;;;:::o;20730:182::-;20870:34;20866:1;20858:6;20854:14;20847:58;20730:182;:::o;20918:366::-;21060:3;21081:67;21145:2;21140:3;21081:67;:::i;:::-;21074:74;;21157:93;21246:3;21157:93;:::i;:::-;21275:2;21270:3;21266:12;21259:19;;20918:366;;;:::o;21290:419::-;21456:4;21494:2;21483:9;21479:18;21471:26;;21543:9;21537:4;21533:20;21529:1;21518:9;21514:17;21507:47;21571:131;21697:4;21571:131;:::i;:::-;21563:139;;21290:419;;;:::o;21715:177::-;21855:29;21851:1;21843:6;21839:14;21832:53;21715:177;:::o;21898:366::-;22040:3;22061:67;22125:2;22120:3;22061:67;:::i;:::-;22054:74;;22137:93;22226:3;22137:93;:::i;:::-;22255:2;22250:3;22246:12;22239:19;;21898:366;;;:::o;22270:419::-;22436:4;22474:2;22463:9;22459:18;22451:26;;22523:9;22517:4;22513:20;22509:1;22498:9;22494:17;22487:47;22551:131;22677:4;22551:131;:::i;:::-;22543:139;;22270:419;;;:::o;22695:173::-;22835:25;22831:1;22823:6;22819:14;22812:49;22695:173;:::o;22874:366::-;23016:3;23037:67;23101:2;23096:3;23037:67;:::i;:::-;23030:74;;23113:93;23202:3;23113:93;:::i;:::-;23231:2;23226:3;23222:12;23215:19;;22874:366;;;:::o;23246:419::-;23412:4;23450:2;23439:9;23435:18;23427:26;;23499:9;23493:4;23489:20;23485:1;23474:9;23470:17;23463:47;23527:131;23653:4;23527:131;:::i;:::-;23519:139;;23246:419;;;:::o;23671:224::-;23811:34;23807:1;23799:6;23795:14;23788:58;23880:7;23875:2;23867:6;23863:15;23856:32;23671:224;:::o;23901:366::-;24043:3;24064:67;24128:2;24123:3;24064:67;:::i;:::-;24057:74;;24140:93;24229:3;24140:93;:::i;:::-;24258:2;24253:3;24249:12;24242:19;;23901:366;;;:::o;24273:419::-;24439:4;24477:2;24466:9;24462:18;24454:26;;24526:9;24520:4;24516:20;24512:1;24501:9;24497:17;24490:47;24554:131;24680:4;24554:131;:::i;:::-;24546:139;;24273:419;;;:::o;24698:180::-;24746:77;24743:1;24736:88;24843:4;24840:1;24833:15;24867:4;24864:1;24857:15;24884:191;24924:3;24943:20;24961:1;24943:20;:::i;:::-;24938:25;;24977:20;24995:1;24977:20;:::i;:::-;24972:25;;25020:1;25017;25013:9;25006:16;;25041:3;25038:1;25035:10;25032:36;;;25048:18;;:::i;:::-;25032:36;24884:191;;;;:::o;25081:182::-;25221:34;25217:1;25209:6;25205:14;25198:58;25081:182;:::o;25269:366::-;25411:3;25432:67;25496:2;25491:3;25432:67;:::i;:::-;25425:74;;25508:93;25597:3;25508:93;:::i;:::-;25626:2;25621:3;25617:12;25610:19;;25269:366;;;:::o;25641:419::-;25807:4;25845:2;25834:9;25830:18;25822:26;;25894:9;25888:4;25884:20;25880:1;25869:9;25865:17;25858:47;25922:131;26048:4;25922:131;:::i;:::-;25914:139;;25641:419;;;:::o;26066:332::-;26187:4;26225:2;26214:9;26210:18;26202:26;;26238:71;26306:1;26295:9;26291:17;26282:6;26238:71;:::i;:::-;26319:72;26387:2;26376:9;26372:18;26363:6;26319:72;:::i;:::-;26066:332;;;;;:::o;26404:194::-;26444:4;26464:20;26482:1;26464:20;:::i;:::-;26459:25;;26498:20;26516:1;26498:20;:::i;:::-;26493:25;;26542:1;26539;26535:9;26527:17;;26566:1;26560:4;26557:11;26554:37;;;26571:18;;:::i;:::-;26554:37;26404:194;;;;:::o;26604:410::-;26644:7;26667:20;26685:1;26667:20;:::i;:::-;26662:25;;26701:20;26719:1;26701:20;:::i;:::-;26696:25;;26756:1;26753;26749:9;26778:30;26796:11;26778:30;:::i;:::-;26767:41;;26957:1;26948:7;26944:15;26941:1;26938:22;26918:1;26911:9;26891:83;26868:139;;26987:18;;:::i;:::-;26868:139;26652:362;26604:410;;;;:::o;27020:180::-;27068:77;27065:1;27058:88;27165:4;27162:1;27155:15;27189:4;27186:1;27179:15;27206:185;27246:1;27263:20;27281:1;27263:20;:::i;:::-;27258:25;;27297:20;27315:1;27297:20;:::i;:::-;27292:25;;27336:1;27326:35;;27341:18;;:::i;:::-;27326:35;27383:1;27380;27376:9;27371:14;;27206:185;;;;:::o;27397:180::-;27537:32;27533:1;27525:6;27521:14;27514:56;27397:180;:::o;27583:366::-;27725:3;27746:67;27810:2;27805:3;27746:67;:::i;:::-;27739:74;;27822:93;27911:3;27822:93;:::i;:::-;27940:2;27935:3;27931:12;27924:19;;27583:366;;;:::o;27955:419::-;28121:4;28159:2;28148:9;28144:18;28136:26;;28208:9;28202:4;28198:20;28194:1;28183:9;28179:17;28172:47;28236:131;28362:4;28236:131;:::i;:::-;28228:139;;27955:419;;;:::o;28380:143::-;28437:5;28468:6;28462:13;28453:22;;28484:33;28511:5;28484:33;:::i;:::-;28380:143;;;;:::o;28529:351::-;28599:6;28648:2;28636:9;28627:7;28623:23;28619:32;28616:119;;;28654:79;;:::i;:::-;28616:119;28774:1;28799:64;28855:7;28846:6;28835:9;28831:22;28799:64;:::i;:::-;28789:74;;28745:128;28529:351;;;;:::o;28886:227::-;29026:34;29022:1;29014:6;29010:14;29003:58;29095:10;29090:2;29082:6;29078:15;29071:35;28886:227;:::o;29119:366::-;29261:3;29282:67;29346:2;29341:3;29282:67;:::i;:::-;29275:74;;29358:93;29447:3;29358:93;:::i;:::-;29476:2;29471:3;29467:12;29460:19;;29119:366;;;:::o;29491:419::-;29657:4;29695:2;29684:9;29680:18;29672:26;;29744:9;29738:4;29734:20;29730:1;29719:9;29715:17;29708:47;29772:131;29898:4;29772:131;:::i;:::-;29764:139;;29491:419;;;:::o;29916:332::-;30037:4;30075:2;30064:9;30060:18;30052:26;;30088:71;30156:1;30145:9;30141:17;30132:6;30088:71;:::i;:::-;30169:72;30237:2;30226:9;30222:18;30213:6;30169:72;:::i;:::-;29916:332;;;;;:::o;30254:225::-;30394:34;30390:1;30382:6;30378:14;30371:58;30463:8;30458:2;30450:6;30446:15;30439:33;30254:225;:::o;30485:366::-;30627:3;30648:67;30712:2;30707:3;30648:67;:::i;:::-;30641:74;;30724:93;30813:3;30724:93;:::i;:::-;30842:2;30837:3;30833:12;30826:19;;30485:366;;;:::o;30857:419::-;31023:4;31061:2;31050:9;31046:18;31038:26;;31110:9;31104:4;31100:20;31096:1;31085:9;31081:17;31074:47;31138:131;31264:4;31138:131;:::i;:::-;31130:139;;30857:419;;;:::o;31282:332::-;31403:4;31441:2;31430:9;31426:18;31418:26;;31454:71;31522:1;31511:9;31507:17;31498:6;31454:71;:::i;:::-;31535:72;31603:2;31592:9;31588:18;31579:6;31535:72;:::i;:::-;31282:332;;;;;:::o;31620:::-;31741:4;31779:2;31768:9;31764:18;31756:26;;31792:71;31860:1;31849:9;31845:17;31836:6;31792:71;:::i;:::-;31873:72;31941:2;31930:9;31926:18;31917:6;31873:72;:::i;:::-;31620:332;;;;;:::o;31958:442::-;32107:4;32145:2;32134:9;32130:18;32122:26;;32158:71;32226:1;32215:9;32211:17;32202:6;32158:71;:::i;:::-;32239:72;32307:2;32296:9;32292:18;32283:6;32239:72;:::i;:::-;32321;32389:2;32378:9;32374:18;32365:6;32321:72;:::i;:::-;31958:442;;;;;;:::o
Swarm Source
ipfs://dae811e7003f40e0b8da9f142052659c0f6e2fb3b66037b15ce51fa8d34f37fd
Loading...
Loading
Loading...
Loading
Net Worth in USD
$5,790.65
Net Worth in ETH
2.940482
Token Allocations
LTX
100.00%
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| ETH | 100.00% | $0.01077 | 537,662.2696 | $5,790.65 |
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.