ERC-20
Overview
Max Total Supply
12,475,750,022 ella
Holders
99,372
Total Transfers
-
Market
Price
$0.00 @ 0.000000 POL
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
ella
Compiler Version
v0.8.20+commit.a1b79de6
Contract Source Code (Solidity)
/** *Submitted for verification at polygonscan.com on 2024-11-20 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 value) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets a `value` amount of tokens as the allowance of `spender` over the * caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 value) external returns (bool); } // File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.20; /** * @dev Interface for the optional metadata functions from the ERC20 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); } // File: @openzeppelin/contracts/utils/Context.sol // 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; } } // File: @openzeppelin/contracts/interfaces/draft-IERC6093.sol // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol) pragma solidity ^0.8.20; /** * @dev Standard ERC20 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 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 ERC721 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens. */ interface IERC721Errors { /** * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-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 ERC1155 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 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); } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.20; /** * @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 ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. */ 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}. * * All two of these 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; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ 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; } /** * @dev See {IERC20-allowance}. */ 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}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * 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 virtual { 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: * ``` * 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); } } } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; /** * @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); } } // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol) pragma solidity ^0.8.20; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Muldiv operation overflow. */ error MathOverflowedMulDiv(); enum Rounding { Floor, // Toward negative infinity Ceil, // Toward positive infinity Trunc, // Toward zero Expand // Away from zero } /** * @dev Returns the addition of two unsigned integers, with an overflow flag. */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds towards infinity instead * of rounding towards zero. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { if (b == 0) { // Guarantee the same behavior as in a regular Solidity division. return a / b; } // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or * denominator == 0. * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by * Uniswap Labs also under MIT license. */ function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0 = x * y; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. if (denominator <= prod1) { revert MathOverflowedMulDiv(); } /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. // Always >= 1. See https://cs.stackexchange.com/q/138556/92363. uint256 twos = denominator & (0 - denominator); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also // works in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded * towards zero. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2 of a positive value rounded towards zero. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10 of a positive value rounded towards zero. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10 ** 64) { value /= 10 ** 64; result += 64; } if (value >= 10 ** 32) { value /= 10 ** 32; result += 32; } if (value >= 10 ** 16) { value /= 10 ** 16; result += 16; } if (value >= 10 ** 8) { value /= 10 ** 8; result += 8; } if (value >= 10 ** 4) { value /= 10 ** 4; result += 4; } if (value >= 10 ** 2) { value /= 10 ** 2; result += 2; } if (value >= 10 ** 1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256 of a positive value rounded towards zero. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 256, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0); } } /** * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers. */ function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) { return uint8(rounding) % 2 == 1; } } // File: @openzeppelin/contracts/utils/math/SignedMath.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.20; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol) pragma solidity ^0.8.20; /** * @dev String operations. */ library Strings { bytes16 private constant HEX_DIGITS = "0123456789abcdef"; uint8 private constant ADDRESS_LENGTH = 20; /** * @dev The `value` string doesn't fit in the specified `length`. */ error StringsInsufficientHexLength(uint256 value, uint256 length); /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), HEX_DIGITS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toStringSigned(int256 value) internal pure returns (string memory) { return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value))); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { uint256 localValue = value; bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = HEX_DIGITS[localValue & 0xf]; localValue >>= 4; } if (localValue != 0) { revert StringsInsufficientHexLength(value, length); } return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal * representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b)); } } // File: contracts/LimitToken.sol pragma solidity ^0.8.20; library DateTime { uint256 constant SECONDS_PER_DAY = 24 * 60 * 60; uint256 constant SECONDS_PER_HOUR = 60 * 60; uint256 constant SECONDS_PER_MINUTE = 60; int256 constant OFFSET19700101 = 2440588; function _daysToDate(uint256 _days) internal pure returns (uint256 year, uint256 month, uint256 day) { unchecked { int256 __days = int256(_days); int256 L = __days + 68569 + OFFSET19700101; int256 N = (4 * L) / 146097; L = L - (146097 * N + 3) / 4; int256 _year = (4000 * (L + 1)) / 1461001; L = L - (1461 * _year) / 4 + 31; int256 _month = (80 * L) / 2447; int256 _day = L - (2447 * _month) / 80; L = _month / 11; _month = _month + 2 - 12 * L; _year = 100 * (N - 49) + _year + L; year = uint256(_year); month = uint256(_month); day = uint256(_day); } } function timestampToDate(uint256 timestamp) internal pure returns (uint256 year, uint256 month, uint256 day) { unchecked { (year, month, day) = _daysToDate(timestamp / SECONDS_PER_DAY); } } } contract ella is ERC20, Ownable { uint256 public transferLimit = 5000000000 ether; uint256 public swapLimit = 124 ether; mapping (address => mapping (string => uint256)) public transferred; mapping (address => mapping (string => uint256)) public swapped; mapping (address => bool) public isPool; mapping (address => bool) public whitelist; constructor() ERC20("ella.Fund", "ella") Ownable(_msgSender()) { _mint(_msgSender(), 12475750022 * (10 ** decimals())); } function getCurrentDate() public view returns (string memory) { (uint256 year, uint256 month, uint256 day) = DateTime.timestampToDate(block.timestamp); return string(abi.encodePacked( padZero(year, 4), "-", padZero(month, 2), "-", padZero(day, 2) )); } function padZero(uint256 value, uint256 length) public pure returns (string memory) { string memory result = Strings.toString(value); while (bytes(result).length < length) { result = string(abi.encodePacked("0", result)); } return result; } function transfer(address to, uint256 value) public override returns (bool) { address from = _msgSender(); _transfer(from, to, value); return true; } function transferFrom(address from, address to, uint256 value) public override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, value); _transfer(from, to, value); return true; } function _transfer(address from, address to, uint256 value) internal override { string memory currentDate = getCurrentDate(); if (isPool[to]) { //sell if (!whitelist[from]) { require(swapped[from][currentDate] + value <= swapLimit, "exceed daily swap limit"); swapped[from][currentDate] += value; } } else { //normal transfer if (!isPool[from]) { if (!whitelist[from]) { require(transferred[from][currentDate] + value <= transferLimit, "exceed daily limit"); transferred[from][currentDate] += value; } } } super._transfer(from, to, value); } function updateTransferLimit(uint256 _limit) external onlyOwner { transferLimit = _limit; } function burn(address account, uint256 supply) external onlyOwner { _burn(account, supply); } function approveMaximum(address to) external { uint256 max = 2**256 - 1; approve(to, max); } function updateSwapLimit(uint256 _limit) external onlyOwner { swapLimit = _limit; } function addNewPool(address pool) external onlyOwner { isPool[pool] = true; } function removePool(address pool) external onlyOwner { isPool[pool] = false; } function addWhitelist(address account) external onlyOwner { whitelist[account] = true; } function removeWhitelist(address account) external onlyOwner { whitelist[account] = false; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","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":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"pool","type":"address"}],"name":"addNewPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"approveMaximum","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"supply","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentDate","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isPool","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"length","type":"uint256"}],"name":"padZero","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"pool","type":"address"}],"name":"removePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"string","name":"","type":"string"}],"name":"swapped","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"string","name":"","type":"string"}],"name":"transferred","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"updateSwapLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"updateTransferLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526b1027e72f1f128130880000006006556806b8d87f05147000006007553480156200002d575f80fd5b503360405180604001604052806009815260200168195b1b184b919d5b9960ba1b81525060405180604001604052806004815260200163656c6c6160e01b81525081600390816200007f919062000358565b5060046200008e828262000358565b5050506001600160a01b038116620000c057604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b620000cb81620000fc565b50620000f633620000df6012600a6200052f565b620000f0906402e79cd68662000546565b6200014d565b62000576565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038216620001785760405163ec442f0560e01b81525f6004820152602401620000b7565b620001855f838362000189565b5050565b6001600160a01b038316620001b7578060025f828254620001ab919062000560565b90915550620002299050565b6001600160a01b0383165f90815260208190526040902054818110156200020b5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401620000b7565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216620002475760028054829003905562000265565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620002ab91815260200190565b60405180910390a3505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680620002e157607f821691505b6020821081036200030057634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000353575f81815260208120601f850160051c810160208610156200032e5750805b601f850160051c820191505b818110156200034f578281556001016200033a565b5050505b505050565b81516001600160401b03811115620003745762000374620002b8565b6200038c81620003858454620002cc565b8462000306565b602080601f831160018114620003c2575f8415620003aa5750858301515b5f19600386901b1c1916600185901b1785556200034f565b5f85815260208120601f198616915b82811015620003f257888601518255948401946001909101908401620003d1565b50858210156200041057878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b600181815b808511156200047457815f190482111562000458576200045862000420565b808516156200046657918102915b93841c939080029062000439565b509250929050565b5f826200048c5750600162000529565b816200049a57505f62000529565b8160018114620004b35760028114620004be57620004de565b600191505062000529565b60ff841115620004d257620004d262000420565b50506001821b62000529565b5060208310610133831016604e8410600b841016171562000503575081810a62000529565b6200050f838362000434565b805f190482111562000525576200052562000420565b0290505b92915050565b5f6200053f60ff8416836200047c565b9392505050565b808202811582820484141762000529576200052962000420565b8082018082111562000529576200052962000420565b61128280620005845f395ff3fe608060405234801561000f575f80fd5b50600436106101bb575f3560e01c806395d89b41116100f3578063dd62ed3e11610093578063f2fde38b1161006e578063f2fde38b14610424578063f80f5dd514610437578063f94325171461044a578063fceade7214610453575f80fd5b8063dd62ed3e1461039e578063e4f13504146103d6578063e7264354146103e9575f80fd5b8063a9059cbb116100ce578063a9059cbb1461032a578063af418b831461033d578063bcfa662914610350578063d762a37b1461038b575f80fd5b806395d89b41146102ed5780639b19251a146102f55780639dc29fac14610317575f80fd5b80636a01f09c1161015e57806378c8cda71161013957806378c8cda7146102a45780637c6e0a5e146102b75780638da5cb5b146102ca5780639254d772146102e5575f80fd5b80636a01f09c1461026b57806370a0823114610274578063715018a61461029c575f80fd5b806323b872dd1161019957806323b872dd14610212578063313ce567146102255780633b7d0946146102345780635b16ebb714610249575f80fd5b806306fdde03146101bf578063095ea7b3146101dd57806318160ddd14610200575b5f80fd5b6101c7610466565b6040516101d49190610f46565b60405180910390f35b6101f06101eb366004610f93565b6104f6565b60405190151581526020016101d4565b6002545b6040519081526020016101d4565b6101f0610220366004610fbb565b61050f565b604051601281526020016101d4565b610247610242366004610ff4565b610532565b005b6101f0610257366004610ff4565b600a6020525f908152604090205460ff1681565b61020460075481565b610204610282366004610ff4565b6001600160a01b03165f9081526020819052604090205490565b61024761055a565b6102476102b2366004610ff4565b61056d565b6102476102c5366004610ff4565b610595565b6005546040516001600160a01b0390911681526020016101d4565b6101c76105a6565b6101c7610604565b6101f0610303366004610ff4565b600b6020525f908152604090205460ff1681565b610247610325366004610f93565b610613565b6101f0610338366004610f93565b610629565b6101c761034b36600461100d565b610636565b61020461035e366004611041565b600860209081525f9283526040909220815180830184018051928152908401929093019190912091525481565b6102476103993660046110fd565b61067c565b6102046103ac366004611114565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6102476103e4366004610ff4565b610689565b6102046103f7366004611041565b600960209081525f9283526040909220815180830184018051928152908401929093019190912091525481565b610247610432366004610ff4565b6106b4565b610247610445366004610ff4565b6106f6565b61020460065481565b6102476104613660046110fd565b610721565b60606003805461047590611145565b80601f01602080910402602001604051908101604052809291908181526020018280546104a190611145565b80156104ec5780601f106104c3576101008083540402835291602001916104ec565b820191905f5260205f20905b8154815290600101906020018083116104cf57829003601f168201915b5050505050905090565b5f3361050381858561072e565b60019150505b92915050565b5f3361051c85828561073b565b6105278585856107b6565b506001949350505050565b61053a610a00565b6001600160a01b03165f908152600a60205260409020805460ff19169055565b610562610a00565b61056b5f610a2d565b565b610575610a00565b6001600160a01b03165f908152600b60205260409020805460ff19169055565b5f196105a182826104f6565b505050565b60605f805f6105b442610a7e565b9250925092506105c5836004610636565b6105d0836002610636565b6105db836002610636565b6040516020016105ed9392919061117d565b604051602081830303815290604052935050505090565b60606004805461047590611145565b61061b610a00565b6106258282610a9c565b5050565b5f336105038185856107b6565b60605f61064284610ad0565b90505b8281511015610675578060405160200161065f91906111d6565b6040516020818303038152906040529050610645565b9392505050565b610684610a00565b600655565b610691610a00565b6001600160a01b03165f908152600a60205260409020805460ff19166001179055565b6106bc610a00565b6001600160a01b0381166106ea57604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6106f381610a2d565b50565b6106fe610a00565b6001600160a01b03165f908152600b60205260409020805460ff19166001179055565b610729610a00565b600755565b6105a18383836001610b60565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f1981146107b057818110156107a257604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016106e1565b6107b084848484035f610b60565b50505050565b5f6107bf6105a6565b6001600160a01b0384165f908152600a602052604090205490915060ff16156108e4576001600160a01b0384165f908152600b602052604090205460ff166108df576007546001600160a01b0385165f9081526009602052604090819020905184919061082d9085906111fe565b9081526020016040518091039020546108469190611219565b11156108945760405162461bcd60e51b815260206004820152601760248201527f657863656564206461696c792073776170206c696d697400000000000000000060448201526064016106e1565b6001600160a01b0384165f908152600960205260409081902090518391906108bd9084906111fe565b90815260200160405180910390205f8282546108d99190611219565b90915550505b6109f5565b6001600160a01b0384165f908152600a602052604090205460ff166109f5576001600160a01b0384165f908152600b602052604090205460ff166109f5576006546001600160a01b0385165f9081526008602052604090819020905184919061094e9085906111fe565b9081526020016040518091039020546109679190611219565b11156109aa5760405162461bcd60e51b8152602060048201526012602482015271195e18d959590819185a5b1e481b1a5b5a5d60721b60448201526064016106e1565b6001600160a01b0384165f908152600860205260409081902090518391906109d39084906111fe565b90815260200160405180910390205f8282546109ef9190611219565b90915550505b6107b0848484610c32565b6005546001600160a01b0316331461056b5760405163118cdaa760e01b81523360048201526024016106e1565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f8080610a8f620151808504610c8f565b9196909550909350915050565b6001600160a01b038216610ac557604051634b637e8f60e11b81525f60048201526024016106e1565b610625825f83610d27565b60605f610adc83610e4d565b60010190505f8167ffffffffffffffff811115610afb57610afb61102d565b6040519080825280601f01601f191660200182016040528015610b25576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084610b2f57509392505050565b6001600160a01b038416610b895760405163e602df0560e01b81525f60048201526024016106e1565b6001600160a01b038316610bb257604051634a1406b160e11b81525f60048201526024016106e1565b6001600160a01b038085165f90815260016020908152604080832093871683529290522082905580156107b057826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610c2491815260200190565b60405180910390a350505050565b6001600160a01b038316610c5b57604051634b637e8f60e11b81525f60048201526024016106e1565b6001600160a01b038216610c845760405163ec442f0560e01b81525f60048201526024016106e1565b6105a1838383610d27565b5f8080836226496581018262023ab1600483020590506004600362023ab183020105909103905f62164b09610fa0600185010205905060046105b58202058303601f0192505f61098f8460500281610ce957610ce9611238565b0590505f605061098f83020585039050600b820560301994909401606402929092018301996002600c90940290910392909201975095509350505050565b6001600160a01b038316610d51578060025f828254610d469190611219565b90915550610dc19050565b6001600160a01b0383165f9081526020819052604090205481811015610da35760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016106e1565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216610ddd57600280548290039055610dfb565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610e4091815260200190565b60405180910390a3505050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310610e8b5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310610eb7576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310610ed557662386f26fc10000830492506010015b6305f5e1008310610eed576305f5e100830492506008015b6127108310610f0157612710830492506004015b60648310610f13576064830492506002015b600a83106105095760010192915050565b5f5b83811015610f3e578181015183820152602001610f26565b50505f910152565b602081525f8251806020840152610f64816040850160208701610f24565b601f01601f19169190910160400192915050565b80356001600160a01b0381168114610f8e575f80fd5b919050565b5f8060408385031215610fa4575f80fd5b610fad83610f78565b946020939093013593505050565b5f805f60608486031215610fcd575f80fd5b610fd684610f78565b9250610fe460208501610f78565b9150604084013590509250925092565b5f60208284031215611004575f80fd5b61067582610f78565b5f806040838503121561101e575f80fd5b50508035926020909101359150565b634e487b7160e01b5f52604160045260245ffd5b5f8060408385031215611052575f80fd5b61105b83610f78565b9150602083013567ffffffffffffffff80821115611077575f80fd5b818501915085601f83011261108a575f80fd5b81358181111561109c5761109c61102d565b604051601f8201601f19908116603f011681019083821181831017156110c4576110c461102d565b816040528281528860208487010111156110dc575f80fd5b826020860160208301375f6020848301015280955050505050509250929050565b5f6020828403121561110d575f80fd5b5035919050565b5f8060408385031215611125575f80fd5b61112e83610f78565b915061113c60208401610f78565b90509250929050565b600181811c9082168061115957607f821691505b60208210810361117757634e487b7160e01b5f52602260045260245ffd5b50919050565b5f845161118e818460208901610f24565b8083019050602d60f81b80825285516111ae816001850160208a01610f24565b600192019182015283516111c9816002840160208801610f24565b0160020195945050505050565b600360fc1b81525f82516111f1816001850160208701610f24565b9190910160010192915050565b5f825161120f818460208701610f24565b9190910192915050565b8082018082111561050957634e487b7160e01b5f52601160045260245ffd5b634e487b7160e01b5f52601260045260245ffdfea264697066735822122044bc6aaf305fccea9933d6e542d10520ef630a691014f570828027958c97ad2164736f6c63430008140033
Deployed Bytecode
0x608060405234801561000f575f80fd5b50600436106101bb575f3560e01c806395d89b41116100f3578063dd62ed3e11610093578063f2fde38b1161006e578063f2fde38b14610424578063f80f5dd514610437578063f94325171461044a578063fceade7214610453575f80fd5b8063dd62ed3e1461039e578063e4f13504146103d6578063e7264354146103e9575f80fd5b8063a9059cbb116100ce578063a9059cbb1461032a578063af418b831461033d578063bcfa662914610350578063d762a37b1461038b575f80fd5b806395d89b41146102ed5780639b19251a146102f55780639dc29fac14610317575f80fd5b80636a01f09c1161015e57806378c8cda71161013957806378c8cda7146102a45780637c6e0a5e146102b75780638da5cb5b146102ca5780639254d772146102e5575f80fd5b80636a01f09c1461026b57806370a0823114610274578063715018a61461029c575f80fd5b806323b872dd1161019957806323b872dd14610212578063313ce567146102255780633b7d0946146102345780635b16ebb714610249575f80fd5b806306fdde03146101bf578063095ea7b3146101dd57806318160ddd14610200575b5f80fd5b6101c7610466565b6040516101d49190610f46565b60405180910390f35b6101f06101eb366004610f93565b6104f6565b60405190151581526020016101d4565b6002545b6040519081526020016101d4565b6101f0610220366004610fbb565b61050f565b604051601281526020016101d4565b610247610242366004610ff4565b610532565b005b6101f0610257366004610ff4565b600a6020525f908152604090205460ff1681565b61020460075481565b610204610282366004610ff4565b6001600160a01b03165f9081526020819052604090205490565b61024761055a565b6102476102b2366004610ff4565b61056d565b6102476102c5366004610ff4565b610595565b6005546040516001600160a01b0390911681526020016101d4565b6101c76105a6565b6101c7610604565b6101f0610303366004610ff4565b600b6020525f908152604090205460ff1681565b610247610325366004610f93565b610613565b6101f0610338366004610f93565b610629565b6101c761034b36600461100d565b610636565b61020461035e366004611041565b600860209081525f9283526040909220815180830184018051928152908401929093019190912091525481565b6102476103993660046110fd565b61067c565b6102046103ac366004611114565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6102476103e4366004610ff4565b610689565b6102046103f7366004611041565b600960209081525f9283526040909220815180830184018051928152908401929093019190912091525481565b610247610432366004610ff4565b6106b4565b610247610445366004610ff4565b6106f6565b61020460065481565b6102476104613660046110fd565b610721565b60606003805461047590611145565b80601f01602080910402602001604051908101604052809291908181526020018280546104a190611145565b80156104ec5780601f106104c3576101008083540402835291602001916104ec565b820191905f5260205f20905b8154815290600101906020018083116104cf57829003601f168201915b5050505050905090565b5f3361050381858561072e565b60019150505b92915050565b5f3361051c85828561073b565b6105278585856107b6565b506001949350505050565b61053a610a00565b6001600160a01b03165f908152600a60205260409020805460ff19169055565b610562610a00565b61056b5f610a2d565b565b610575610a00565b6001600160a01b03165f908152600b60205260409020805460ff19169055565b5f196105a182826104f6565b505050565b60605f805f6105b442610a7e565b9250925092506105c5836004610636565b6105d0836002610636565b6105db836002610636565b6040516020016105ed9392919061117d565b604051602081830303815290604052935050505090565b60606004805461047590611145565b61061b610a00565b6106258282610a9c565b5050565b5f336105038185856107b6565b60605f61064284610ad0565b90505b8281511015610675578060405160200161065f91906111d6565b6040516020818303038152906040529050610645565b9392505050565b610684610a00565b600655565b610691610a00565b6001600160a01b03165f908152600a60205260409020805460ff19166001179055565b6106bc610a00565b6001600160a01b0381166106ea57604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6106f381610a2d565b50565b6106fe610a00565b6001600160a01b03165f908152600b60205260409020805460ff19166001179055565b610729610a00565b600755565b6105a18383836001610b60565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f1981146107b057818110156107a257604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016106e1565b6107b084848484035f610b60565b50505050565b5f6107bf6105a6565b6001600160a01b0384165f908152600a602052604090205490915060ff16156108e4576001600160a01b0384165f908152600b602052604090205460ff166108df576007546001600160a01b0385165f9081526009602052604090819020905184919061082d9085906111fe565b9081526020016040518091039020546108469190611219565b11156108945760405162461bcd60e51b815260206004820152601760248201527f657863656564206461696c792073776170206c696d697400000000000000000060448201526064016106e1565b6001600160a01b0384165f908152600960205260409081902090518391906108bd9084906111fe565b90815260200160405180910390205f8282546108d99190611219565b90915550505b6109f5565b6001600160a01b0384165f908152600a602052604090205460ff166109f5576001600160a01b0384165f908152600b602052604090205460ff166109f5576006546001600160a01b0385165f9081526008602052604090819020905184919061094e9085906111fe565b9081526020016040518091039020546109679190611219565b11156109aa5760405162461bcd60e51b8152602060048201526012602482015271195e18d959590819185a5b1e481b1a5b5a5d60721b60448201526064016106e1565b6001600160a01b0384165f908152600860205260409081902090518391906109d39084906111fe565b90815260200160405180910390205f8282546109ef9190611219565b90915550505b6107b0848484610c32565b6005546001600160a01b0316331461056b5760405163118cdaa760e01b81523360048201526024016106e1565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f8080610a8f620151808504610c8f565b9196909550909350915050565b6001600160a01b038216610ac557604051634b637e8f60e11b81525f60048201526024016106e1565b610625825f83610d27565b60605f610adc83610e4d565b60010190505f8167ffffffffffffffff811115610afb57610afb61102d565b6040519080825280601f01601f191660200182016040528015610b25576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084610b2f57509392505050565b6001600160a01b038416610b895760405163e602df0560e01b81525f60048201526024016106e1565b6001600160a01b038316610bb257604051634a1406b160e11b81525f60048201526024016106e1565b6001600160a01b038085165f90815260016020908152604080832093871683529290522082905580156107b057826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610c2491815260200190565b60405180910390a350505050565b6001600160a01b038316610c5b57604051634b637e8f60e11b81525f60048201526024016106e1565b6001600160a01b038216610c845760405163ec442f0560e01b81525f60048201526024016106e1565b6105a1838383610d27565b5f8080836226496581018262023ab1600483020590506004600362023ab183020105909103905f62164b09610fa0600185010205905060046105b58202058303601f0192505f61098f8460500281610ce957610ce9611238565b0590505f605061098f83020585039050600b820560301994909401606402929092018301996002600c90940290910392909201975095509350505050565b6001600160a01b038316610d51578060025f828254610d469190611219565b90915550610dc19050565b6001600160a01b0383165f9081526020819052604090205481811015610da35760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016106e1565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216610ddd57600280548290039055610dfb565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610e4091815260200190565b60405180910390a3505050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310610e8b5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310610eb7576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310610ed557662386f26fc10000830492506010015b6305f5e1008310610eed576305f5e100830492506008015b6127108310610f0157612710830492506004015b60648310610f13576064830492506002015b600a83106105095760010192915050565b5f5b83811015610f3e578181015183820152602001610f26565b50505f910152565b602081525f8251806020840152610f64816040850160208701610f24565b601f01601f19169190910160400192915050565b80356001600160a01b0381168114610f8e575f80fd5b919050565b5f8060408385031215610fa4575f80fd5b610fad83610f78565b946020939093013593505050565b5f805f60608486031215610fcd575f80fd5b610fd684610f78565b9250610fe460208501610f78565b9150604084013590509250925092565b5f60208284031215611004575f80fd5b61067582610f78565b5f806040838503121561101e575f80fd5b50508035926020909101359150565b634e487b7160e01b5f52604160045260245ffd5b5f8060408385031215611052575f80fd5b61105b83610f78565b9150602083013567ffffffffffffffff80821115611077575f80fd5b818501915085601f83011261108a575f80fd5b81358181111561109c5761109c61102d565b604051601f8201601f19908116603f011681019083821181831017156110c4576110c461102d565b816040528281528860208487010111156110dc575f80fd5b826020860160208301375f6020848301015280955050505050509250929050565b5f6020828403121561110d575f80fd5b5035919050565b5f8060408385031215611125575f80fd5b61112e83610f78565b915061113c60208401610f78565b90509250929050565b600181811c9082168061115957607f821691505b60208210810361117757634e487b7160e01b5f52602260045260245ffd5b50919050565b5f845161118e818460208901610f24565b8083019050602d60f81b80825285516111ae816001850160208a01610f24565b600192019182015283516111c9816002840160208801610f24565b0160020195945050505050565b600360fc1b81525f82516111f1816001850160208701610f24565b9190910160010192915050565b5f825161120f818460208701610f24565b9190910192915050565b8082018082111561050957634e487b7160e01b5f52601160045260245ffd5b634e487b7160e01b5f52601260045260245ffdfea264697066735822122044bc6aaf305fccea9933d6e542d10520ef630a691014f570828027958c97ad2164736f6c63430008140033
Deployed Bytecode Sourcemap
47184:3313:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13330:91;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;15623:190;;;;;;:::i;:::-;;:::i;:::-;;;1272:14:1;;1265:22;1247:41;;1235:2;1220:18;15623:190:0;1107:187:1;14432:99:0;14511:12;;14432:99;;;1445:25:1;;;1433:2;1418:18;14432:99:0;1299:177:1;48562:251:0;;;;;;:::i;:::-;;:::i;14283:84::-;;;14357:2;1956:36:1;;1944:2;1929:18;14283:84:0;1814:184:1;50178:92:0;;;;;;:::i;:::-;;:::i;:::-;;47466:39;;;;;;:::i;:::-;;;;;;;;;;;;;;;;47279:36;;;;;;14594:118;;;;;;:::i;:::-;-1:-1:-1;;;;;14686:18:0;14659:7;14686:18;;;;;;;;;;;;14594:118;25013:103;;;:::i;50388:106::-;;;;;;:::i;:::-;;:::i;49851:115::-;;;;;;:::i;:::-;;:::i;24338:87::-;24411:6;;24338:87;;-1:-1:-1;;;;;24411:6:0;;;2340:51:1;;2328:2;2313:18;24338:87:0;2194:203:1;47710:353:0;;;:::i;13540:95::-;;;:::i;47512:42::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;49736:107;;;;;;:::i;:::-;;:::i;48373:181::-;;;;;;:::i;:::-;;:::i;48071:294::-;;;;;;:::i;:::-;;:::i;47322:67::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49623:105;;;;;;:::i;:::-;;:::i;15162:142::-;;;;;;:::i;:::-;-1:-1:-1;;;;;15269:18:0;;;15242:7;15269:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;15162:142;50079:91;;;;;;:::i;:::-;;:::i;47396:63::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25271:220;;;;;;:::i;:::-;;:::i;50278:102::-;;;;;;:::i;:::-;;:::i;47225:47::-;;;;;;49974:97;;;;;;:::i;:::-;;:::i;13330:91::-;13375:13;13408:5;13401:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13330:91;:::o;15623:190::-;15696:4;4415:10;15752:31;4415:10;15768:7;15777:5;15752:8;:31::i;:::-;15801:4;15794:11;;;15623:190;;;;;:::o;48562:251::-;48651:4;4415:10;48709:37;48725:4;4415:10;48740:5;48709:15;:37::i;:::-;48757:26;48767:4;48773:2;48777:5;48757:9;:26::i;:::-;-1:-1:-1;48801:4:0;;48562:251;-1:-1:-1;;;;48562:251:0:o;50178:92::-;24224:13;:11;:13::i;:::-;-1:-1:-1;;;;;50242:12:0::1;50257:5;50242:12:::0;;;:6:::1;:12;::::0;;;;:20;;-1:-1:-1;;50242:20:0::1;::::0;;50178:92::o;25013:103::-;24224:13;:11;:13::i;:::-;25078:30:::1;25105:1;25078:18;:30::i;:::-;25013:103::o:0;50388:106::-;24224:13;:11;:13::i;:::-;-1:-1:-1;;;;;50460:18:0::1;50481:5;50460:18:::0;;;:9:::1;:18;::::0;;;;:26;;-1:-1:-1;;50460:26:0::1;::::0;;50388:106::o;49851:115::-;-1:-1:-1;;49942:16:0;49950:2;49921:10;49942:7;:16::i;:::-;;49896:70;49851:115;:::o;47710:353::-;47757:13;47786:12;47800:13;47815:11;47830:41;47855:15;47830:24;:41::i;:::-;47785:86;;;;;;47929:16;47937:4;47943:1;47929:7;:16::i;:::-;47978:17;47986:5;47993:1;47978:7;:17::i;:::-;48028:15;48036:3;48041:1;48028:7;:15::i;:::-;47898:156;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;47884:171;;;;;47710:353;:::o;13540:95::-;13587:13;13620:7;13613:14;;;;;:::i;49736:107::-;24224:13;:11;:13::i;:::-;49813:22:::1;49819:7;49828:6;49813:5;:22::i;:::-;49736:107:::0;;:::o;48373:181::-;48443:4;4415:10;48498:26;4415:10;48514:2;48518:5;48498:9;:26::i;48071:294::-;48140:13;48166:20;48189:23;48206:5;48189:16;:23::i;:::-;48166:46;;48223:111;48253:6;48236;48230:20;:29;48223:111;;;48314:6;48292:29;;;;;;;;:::i;:::-;;;;;;;;;;;;;48276:46;;48223:111;;;48351:6;48071:294;-1:-1:-1;;;48071:294:0:o;49623:105::-;24224:13;:11;:13::i;:::-;49698::::1;:22:::0;49623:105::o;50079:91::-;24224:13;:11;:13::i;:::-;-1:-1:-1;;;;;50143:12:0::1;;::::0;;;:6:::1;:12;::::0;;;;:19;;-1:-1:-1;;50143:19:0::1;50158:4;50143:19;::::0;;50079:91::o;25271:220::-;24224:13;:11;:13::i;:::-;-1:-1:-1;;;;;25356:22:0;::::1;25352:93;;25402:31;::::0;-1:-1:-1;;;25402:31:0;;25430:1:::1;25402:31;::::0;::::1;2340:51:1::0;2313:18;;25402:31:0::1;;;;;;;;25352:93;25455:28;25474:8;25455:18;:28::i;:::-;25271:220:::0;:::o;50278:102::-;24224:13;:11;:13::i;:::-;-1:-1:-1;;;;;50347:18:0::1;;::::0;;;:9:::1;:18;::::0;;;;:25;;-1:-1:-1;;50347:25:0::1;50368:4;50347:25;::::0;;50278:102::o;49974:97::-;24224:13;:11;:13::i;:::-;50045:9:::1;:18:::0;49974:97::o;20458:130::-;20543:37;20552:5;20559:7;20568:5;20575:4;20543:8;:37::i;22174:487::-;-1:-1:-1;;;;;15269:18:0;;;22274:24;15269:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;-1:-1:-1;;22341:37:0;;22337:317;;22418:5;22399:16;:24;22395:132;;;22451:60;;-1:-1:-1;;;22451:60:0;;-1:-1:-1;;;;;6283:32:1;;22451:60:0;;;6265:51:1;6332:18;;;6325:34;;;6375:18;;;6368:34;;;6238:18;;22451:60:0;6063:345:1;22395:132:0;22570:57;22579:5;22586:7;22614:5;22595:16;:24;22621:5;22570:8;:57::i;:::-;22263:398;22174:487;;;:::o;48821:794::-;48910:25;48938:16;:14;:16::i;:::-;-1:-1:-1;;;;;48971:10:0;;;;;;:6;:10;;;;;;48910:44;;-1:-1:-1;48971:10:0;;48967:596;;;-1:-1:-1;;;;;49023:15:0;;;;;;:9;:15;;;;;;;;49018:194;;49105:9;;-1:-1:-1;;;;;49067:13:0;;;;;;:7;:13;;;;;;;:26;;49096:5;;49067:13;:26;;49081:11;;49067:26;:::i;:::-;;;;;;;;;;;;;;:34;;;;:::i;:::-;:47;;49059:83;;;;-1:-1:-1;;;49059:83:0;;7136:2:1;49059:83:0;;;7118:21:1;7175:2;7155:18;;;7148:30;7214:25;7194:18;;;7187:53;7257:18;;49059:83:0;6934:347:1;49059:83:0;-1:-1:-1;;;;;49161:13:0;;;;;;:7;:13;;;;;;;:26;;49191:5;;49161:13;:26;;49175:11;;49161:26;:::i;:::-;;;;;;;;;;;;;;:35;;;;;;;:::i;:::-;;;;-1:-1:-1;;49018:194:0;48967:596;;;-1:-1:-1;;;;;49291:12:0;;;;;;:6;:12;;;;;;;;49286:266;;-1:-1:-1;;;;;49329:15:0;;;;;;:9;:15;;;;;;;;49324:213;;49419:13;;-1:-1:-1;;;;;49377:17:0;;;;;;:11;:17;;;;;;;:30;;49410:5;;49377:17;:30;;49395:11;;49377:30;:::i;:::-;;;;;;;;;;;;;;:38;;;;:::i;:::-;:55;;49369:86;;;;-1:-1:-1;;;49369:86:0;;7488:2:1;49369:86:0;;;7470:21:1;7527:2;7507:18;;;7500:30;-1:-1:-1;;;7546:18:1;;;7539:48;7604:18;;49369:86:0;7286:342:1;49369:86:0;-1:-1:-1;;;;;49478:17:0;;;;;;:11;:17;;;;;;;:30;;49512:5;;49478:17;:30;;49496:11;;49478:30;:::i;:::-;;;;;;;;;;;;;;:39;;;;;;;:::i;:::-;;;;-1:-1:-1;;49324:213:0;49575:32;49591:4;49597:2;49601:5;49575:15;:32::i;24503:166::-;24411:6;;-1:-1:-1;;;;;24411:6:0;4415:10;24563:23;24559:103;;24610:40;;-1:-1:-1;;;24610:40:0;;4415:10;24610:40;;;2340:51:1;2313:18;;24610:40:0;2194:203:1;25651:191:0;25744:6;;;-1:-1:-1;;;;;25761:17:0;;;-1:-1:-1;;;;;;25761:17:0;;;;;;;25794:40;;25744:6;;;25761:17;25744:6;;25794:40;;25725:16;;25794:40;25714:128;25651:191;:::o;46950:225::-;47017:12;;;47116:40;46011:12;47128:9;:27;47116:11;:40::i;:::-;47095:61;;;;-1:-1:-1;47095:61:0;;-1:-1:-1;46950:225:0;-1:-1:-1;;46950:225:0:o;19694:211::-;-1:-1:-1;;;;;19765:21:0;;19761:91;;19810:30;;-1:-1:-1;;;19810:30:0;;19837:1;19810:30;;;2340:51:1;2313:18;;19810:30:0;2194:203:1;19761:91:0;19862:35;19870:7;19887:1;19891:5;19862:7;:35::i;43344:718::-;43400:13;43451:14;43468:17;43479:5;43468:10;:17::i;:::-;43488:1;43468:21;43451:38;;43504:20;43538:6;43527:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43527:18:0;-1:-1:-1;43504:41:0;-1:-1:-1;43669:28:0;;;43685:2;43669:28;43726:290;-1:-1:-1;;43758:5:0;-1:-1:-1;;;43895:2:0;43884:14;;43879:32;43758:5;43866:46;43958:2;43949:11;;;-1:-1:-1;43979:21:0;43726:290;43979:21;-1:-1:-1;44037:6:0;43344:718;-1:-1:-1;;;43344:718:0:o;21439:443::-;-1:-1:-1;;;;;21552:19:0;;21548:91;;21595:32;;-1:-1:-1;;;21595:32:0;;21624:1;21595:32;;;2340:51:1;2313:18;;21595:32:0;2194:203:1;21548:91:0;-1:-1:-1;;;;;21653:21:0;;21649:92;;21698:31;;-1:-1:-1;;;21698:31:0;;21726:1;21698:31;;;2340:51:1;2313:18;;21698:31:0;2194:203:1;21649:92:0;-1:-1:-1;;;;;21751:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;:35;;;21797:78;;;;21848:7;-1:-1:-1;;;;;21832:31:0;21841:5;-1:-1:-1;;;;;21832:31:0;;21857:5;21832:31;;;;1445:25:1;;1433:2;1418:18;;1299:177;21832:31:0;;;;;;;;21439:443;;;;:::o;17025:316::-;-1:-1:-1;;;;;17117:18:0;;17113:88;;17159:30;;-1:-1:-1;;;17159:30:0;;17186:1;17159:30;;;2340:51:1;2313:18;;17159:30:0;2194:203:1;17113:88:0;-1:-1:-1;;;;;17215:16:0;;17211:88;;17255:32;;-1:-1:-1;;;17255:32:0;;17284:1;17255:32;;;2340:51:1;2313:18;;17255:32:0;2194:203:1;17211:88:0;17309:24;17317:4;17323:2;17327:5;17309:7;:24::i;46180:762::-;46239:12;;;46340:5;46374:31;;;46239:12;46441:6;46432:1;:5;;46431:16;;-1:-1:-1;46489:1:0;46484;46471:6;:10;;:14;46470:20;46466:24;;;;46505:12;46539:7;46521:4;46533:1;46529:5;;46521:14;46520:26;;-1:-1:-1;46586:1:0;46570:4;:12;;46569:18;46565:1;:22;46590:2;46565:27;46561:31;;46607:13;46634:4;46629:1;46624:2;:6;46623:15;;;;;:::i;:::-;;;-1:-1:-1;46653:11:0;46689:2;46672:4;:13;;46671:20;46667:24;;;-1:-1:-1;46719:2:0;46710:6;:11;-1:-1:-1;;46794:6:0;;;;46787:3;:14;:22;;;;:26;;;46754:1;46758:2;:6;;;46745:19;;;;;;;;-1:-1:-1;46710:11:0;-1:-1:-1;46787:26:0;-1:-1:-1;;;;46180:762:0:o;17665:1135::-;-1:-1:-1;;;;;17755:18:0;;17751:552;;17909:5;17893:12;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;17751:552:0;;-1:-1:-1;17751:552:0;;-1:-1:-1;;;;;17969:15:0;;17947:19;17969:15;;;;;;;;;;;18003:19;;;17999:117;;;18050:50;;-1:-1:-1;;;18050:50:0;;-1:-1:-1;;;;;6283:32:1;;18050:50:0;;;6265:51:1;6332:18;;;6325:34;;;6375:18;;;6368:34;;;6238:18;;18050:50:0;6063:345:1;17999:117:0;-1:-1:-1;;;;;18239:15:0;;:9;:15;;;;;;;;;;18257:19;;;;18239:37;;17751:552;-1:-1:-1;;;;;18319:16:0;;18315:435;;18485:12;:21;;;;;;;18315:435;;;-1:-1:-1;;;;;18701:13:0;;:9;:13;;;;;;;;;;:22;;;;;;18315:435;18782:2;-1:-1:-1;;;;;18767:25:0;18776:4;-1:-1:-1;;;;;18767:25:0;;18786:5;18767:25;;;;1445::1;;1433:2;1418:18;;1299:177;18767:25:0;;;;;;;;17665:1135;;;:::o;38408:948::-;38461:7;;-1:-1:-1;;;38539:17:0;;38535:106;;-1:-1:-1;;;38577:17:0;;;-1:-1:-1;38623:2:0;38613:12;38535:106;38668:8;38659:5;:17;38655:106;;38706:8;38697:17;;;-1:-1:-1;38743:2:0;38733:12;38655:106;38788:8;38779:5;:17;38775:106;;38826:8;38817:17;;;-1:-1:-1;38863:2:0;38853:12;38775:106;38908:7;38899:5;:16;38895:103;;38945:7;38936:16;;;-1:-1:-1;38981:1:0;38971:11;38895:103;39025:7;39016:5;:16;39012:103;;39062:7;39053:16;;;-1:-1:-1;39098:1:0;39088:11;39012:103;39142:7;39133:5;:16;39129:103;;39179:7;39170:16;;;-1:-1:-1;39215:1:0;39205:11;39129:103;39259:7;39250:5;:16;39246:68;;39297:1;39287:11;39342:6;38408:948;-1:-1:-1;;38408:948:0:o;14:250:1:-;99:1;109:113;123:6;120:1;117:13;109:113;;;199:11;;;193:18;180:11;;;173:39;145:2;138:10;109:113;;;-1:-1:-1;;256:1:1;238:16;;231:27;14:250::o;269:396::-;418:2;407:9;400:21;381:4;450:6;444:13;493:6;488:2;477:9;473:18;466:34;509:79;581:6;576:2;565:9;561:18;556:2;548:6;544:15;509:79;:::i;:::-;649:2;628:15;-1:-1:-1;;624:29:1;609:45;;;;656:2;605:54;;269:396;-1:-1:-1;;269:396:1:o;670:173::-;738:20;;-1:-1:-1;;;;;787:31:1;;777:42;;767:70;;833:1;830;823:12;767:70;670:173;;;:::o;848:254::-;916:6;924;977:2;965:9;956:7;952:23;948:32;945:52;;;993:1;990;983:12;945:52;1016:29;1035:9;1016:29;:::i;:::-;1006:39;1092:2;1077:18;;;;1064:32;;-1:-1:-1;;;848:254:1:o;1481:328::-;1558:6;1566;1574;1627:2;1615:9;1606:7;1602:23;1598:32;1595:52;;;1643:1;1640;1633:12;1595:52;1666:29;1685:9;1666:29;:::i;:::-;1656:39;;1714:38;1748:2;1737:9;1733:18;1714:38;:::i;:::-;1704:48;;1799:2;1788:9;1784:18;1771:32;1761:42;;1481:328;;;;;:::o;2003:186::-;2062:6;2115:2;2103:9;2094:7;2090:23;2086:32;2083:52;;;2131:1;2128;2121:12;2083:52;2154:29;2173:9;2154:29;:::i;2402:248::-;2470:6;2478;2531:2;2519:9;2510:7;2506:23;2502:32;2499:52;;;2547:1;2544;2537:12;2499:52;-1:-1:-1;;2570:23:1;;;2640:2;2625:18;;;2612:32;;-1:-1:-1;2402:248:1:o;2655:127::-;2716:10;2711:3;2707:20;2704:1;2697:31;2747:4;2744:1;2737:15;2771:4;2768:1;2761:15;2787:996;2865:6;2873;2926:2;2914:9;2905:7;2901:23;2897:32;2894:52;;;2942:1;2939;2932:12;2894:52;2965:29;2984:9;2965:29;:::i;:::-;2955:39;;3045:2;3034:9;3030:18;3017:32;3068:18;3109:2;3101:6;3098:14;3095:34;;;3125:1;3122;3115:12;3095:34;3163:6;3152:9;3148:22;3138:32;;3208:7;3201:4;3197:2;3193:13;3189:27;3179:55;;3230:1;3227;3220:12;3179:55;3266:2;3253:16;3288:2;3284;3281:10;3278:36;;;3294:18;;:::i;:::-;3369:2;3363:9;3337:2;3423:13;;-1:-1:-1;;3419:22:1;;;3443:2;3415:31;3411:40;3399:53;;;3467:18;;;3487:22;;;3464:46;3461:72;;;3513:18;;:::i;:::-;3553:10;3549:2;3542:22;3588:2;3580:6;3573:18;3628:7;3623:2;3618;3614;3610:11;3606:20;3603:33;3600:53;;;3649:1;3646;3639:12;3600:53;3705:2;3700;3696;3692:11;3687:2;3679:6;3675:15;3662:46;3750:1;3745:2;3740;3732:6;3728:15;3724:24;3717:35;3771:6;3761:16;;;;;;;2787:996;;;;;:::o;3788:180::-;3847:6;3900:2;3888:9;3879:7;3875:23;3871:32;3868:52;;;3916:1;3913;3906:12;3868:52;-1:-1:-1;3939:23:1;;3788:180;-1:-1:-1;3788:180:1:o;3973:260::-;4041:6;4049;4102:2;4090:9;4081:7;4077:23;4073:32;4070:52;;;4118:1;4115;4108:12;4070:52;4141:29;4160:9;4141:29;:::i;:::-;4131:39;;4189:38;4223:2;4212:9;4208:18;4189:38;:::i;:::-;4179:48;;3973:260;;;;;:::o;4238:380::-;4317:1;4313:12;;;;4360;;;4381:61;;4435:4;4427:6;4423:17;4413:27;;4381:61;4488:2;4480:6;4477:14;4457:18;4454:38;4451:161;;4534:10;4529:3;4525:20;4522:1;4515:31;4569:4;4566:1;4559:15;4597:4;4594:1;4587:15;4451:161;;4238:380;;;:::o;4623:999::-;5052:3;5090:6;5084:13;5106:66;5165:6;5160:3;5153:4;5145:6;5141:17;5106:66;:::i;:::-;5203:6;5198:3;5194:16;5181:29;;-1:-1:-1;;;5255:2:1;5248:5;5241:17;5289:6;5283:13;5305:78;5374:8;5370:1;5363:5;5359:13;5352:4;5344:6;5340:17;5305:78;:::i;:::-;5446:1;5402:20;;5438:10;;;5431:22;5478:13;;5500:75;5478:13;5562:1;5554:10;;5547:4;5535:17;;5500:75;:::i;:::-;5595:17;5614:1;5591:25;;4623:999;-1:-1:-1;;;;;4623:999:1:o;5627:431::-;-1:-1:-1;;;5884:3:1;5877:16;5859:3;5922:6;5916:13;5938:74;6005:6;6001:1;5996:3;5992:11;5985:4;5977:6;5973:17;5938:74;:::i;:::-;6032:16;;;;6050:1;6028:24;;5627:431;-1:-1:-1;;5627:431:1:o;6413:289::-;6544:3;6582:6;6576:13;6598:66;6657:6;6652:3;6645:4;6637:6;6633:17;6598:66;:::i;:::-;6680:16;;;;;6413:289;-1:-1:-1;;6413:289:1:o;6707:222::-;6772:9;;;6793:10;;;6790:133;;;6845:10;6840:3;6836:20;6833:1;6826:31;6880:4;6877:1;6870:15;6908:4;6905:1;6898:15;7633:127;7694:10;7689:3;7685:20;7682:1;7675:31;7725:4;7722:1;7715:15;7749:4;7746:1;7739:15
Swarm Source
ipfs://44bc6aaf305fccea9933d6e542d10520ef630a691014f570828027958c97ad21
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.