ERC-20
Overview
Max Total Supply
1,000,000,000,000,000 LAIKA
Holders
276
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
980,000,000,000 LAIKAValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
LaikaToken
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-04-21 */ // File: contracts/lib/Context.sol pragma solidity ^0.6.0; /* * @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 GSN 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. */ contract Context { // Empty internal constructor, to prevent people from mistakenly deploying // an instance of this contract, which should be used via inheritance. constructor () internal { } // solhint-disable-previous-line no-empty-blocks function _msgSender() internal view returns (address payable) { return msg.sender; } function _msgData() internal view returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: contracts/interface/IERC20.sol pragma solidity ^0.6.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. Does not include * the optional functions; to access them see {ERC20Detailed}. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @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); } // File: contracts/lib/SafeMath.sol pragma solidity ^0.6.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. * * _Available since v2.4.0._ */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // 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 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. * * _Available since v2.4.0._ */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. * * _Available since v2.4.0._ */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File: contracts/lib/Adress.sol pragma solidity ^0.6.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } /** * @dev Converts an `address` into `address payable`. Note that this is * simply a type cast: the actual underlying value is not changed. * * _Available since v2.4.0._ */ function toPayable(address account) internal pure returns (address payable) { return address(uint160(account)); } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. * * _Available since v2.4.0._ */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-call-value (bool success, ) = recipient.call.value(amount)(""); require(success, "Address: unable to send value, recipient may have reverted"); } } // File: contracts/lib/EnumerableSet.sol pragma solidity ^0.6.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping (bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { require(set._values.length > index, "EnumerableSet: index out of bounds"); return set._values[index]; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } } // File: contracts/lib/Ownable.sol pragma solidity ^0.6.0; /** * @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. * * 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. */ contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(isOwner(), "Ownable: caller is not the owner"); _; } /** * @dev Returns true if the caller is the current owner. */ function isOwner() public view returns (bool) { return _msgSender() == _owner; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = 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 onlyOwner { _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). */ function _transferOwnership(address newOwner) internal { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: contracts/interface/ILaikaLockStrategy.sol pragma solidity ^0.6.0; interface ILaikaLockStrategy { function lock(uint256 amount) external; } // File: contracts/token/LaikaToken.sol pragma solidity ^0.6.0; contract LaikaToken is Context, IERC20, Ownable { using SafeMath for uint256; using Address for address; using EnumerableSet for EnumerableSet.AddressSet; EnumerableSet.AddressSet private _whiteList; ILaikaLockStrategy private _lockStrategy; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; uint256 private _baseRate = 1000; uint256 private _lockRate = 20; constructor () public { _name = "LAIKA Token"; _symbol = "LAIKA"; _decimals = 18; _mint(_msgSender(), 1000000000000000 * 10 ** 18); } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view 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 value {ERC20} uses, unless {_setupDecimals} is * called. * * 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 returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); 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}; * * Requirements: * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); if(!isInWhiteList(sender)){ uint256 lockValue = amount.mul(_lockRate).div(_baseRate); _lockStrategy.lock(lockValue); _balances[address(_lockStrategy)] = _balances[address(_lockStrategy)].add(lockValue); emit Transfer(sender, address(_lockStrategy), lockValue); amount = amount.sub(lockValue); } _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens. * * This is 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. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } // Adds user to white list function addWhiteList(address user) external onlyOwner{ if (!_whiteList.contains(user)) { _whiteList.add(user); } } // Remove user from white list function removeWhiteList(address user) external onlyOwner { if(_whiteList.contains(user)) { _whiteList.remove(user); } } function setLockStrategy(ILaikaLockStrategy lockStrategy ) external onlyOwner{ require(address(lockStrategy) != address(0), "Illegal lockStrategy"); require(address(_lockStrategy) == address(0), "lockStrategy has been set"); _lockStrategy = lockStrategy; } function isInWhiteList(address user) public view returns (bool) { return _whiteList.contains(user); } function lockRate() public view returns (uint256) { return _lockRate; } function baseRate() public view returns (uint256) { return _baseRate; } function lockStrategy() public view returns (address) { return address(_lockStrategy); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"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":"user","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":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"isInWhiteList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockStrategy","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"address","name":"user","type":"address"}],"name":"removeWhiteList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract ILaikaLockStrategy","name":"lockStrategy","type":"address"}],"name":"setLockStrategy","outputs":[],"stateMutability":"nonpayable","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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526103e8600a556014600b553480156200001c57600080fd5b506000620000296200010d565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060408051808201909152600b8082526a2620a4a5a0902a37b5b2b760a91b6020909201918252620000a7916007916200028b565b50604080518082019091526005808252644c41494b4160d81b6020909201918252620000d6916008916200028b565b506009805460ff1916601217905562000107620000f26200010d565b6d314dc6448d9338c15b0a0000000062000111565b62000327565b3390565b6001600160a01b0382166200016d576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6200017b6000838362000224565b62000197816006546200022960201b62000a361790919060201c565b6006556001600160a01b038216600090815260046020908152604090912054620001cc91839062000a3662000229821b17901c565b6001600160a01b03831660008181526004602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b505050565b60008282018381101562000284576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620002ce57805160ff1916838001178555620002fe565b82800160010185558215620002fe579182015b82811115620002fe578251825591602001919060010190620002e1565b506200030c92915062000310565b5090565b5b808211156200030c576000815560010162000311565b61139f80620003376000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c8063715018a6116100b8578063a457c2d71161007c578063a457c2d714610366578063a9059cbb14610392578063b7c8297a146103be578063dd62ed3e146103e4578063e7cd4a0414610412578063f2fde38b1461043857610142565b8063715018a6146103205780638da5cb5b146103285780638f32d59b1461033057806395d89b411461033857806396bfc2291461034057610142565b8063234ea19c1161010a578063234ea19c1461024e57806323b872dd14610256578063255cd11a1461028c578063313ce567146102b057806339509351146102ce57806370a08231146102fa57610142565b806306fdde0314610147578063095ea7b3146101c457806318160ddd146102045780631f68f20a1461021e5780632042e5c214610226575b600080fd5b61014f61045e565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610189578181015183820152602001610171565b50505050905090810190601f1680156101b65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101f0600480360360408110156101da57600080fd5b506001600160a01b0381351690602001356104f4565b604080519115158252519081900360200190f35b61020c610512565b60408051918252519081900360200190f35b61020c610518565b61024c6004803603602081101561023c57600080fd5b50356001600160a01b031661051e565b005b61020c610585565b6101f06004803603606081101561026c57600080fd5b506001600160a01b0381358116916020810135909116906040013561058b565b610294610612565b604080516001600160a01b039092168252519081900360200190f35b6102b8610621565b6040805160ff9092168252519081900360200190f35b6101f0600480360360408110156102e457600080fd5b506001600160a01b03813516906020013561062a565b61020c6004803603602081101561031057600080fd5b50356001600160a01b0316610678565b61024c610693565b610294610724565b6101f0610733565b61014f610757565b6101f06004803603602081101561035657600080fd5b50356001600160a01b03166107b8565b6101f06004803603604081101561037c57600080fd5b506001600160a01b0381351690602001356107c5565b6101f0600480360360408110156103a857600080fd5b506001600160a01b03813516906020013561082d565b61024c600480360360208110156103d457600080fd5b50356001600160a01b0316610841565b61020c600480360360408110156103fa57600080fd5b506001600160a01b038135811691602001351661095a565b61024c6004803603602081101561042857600080fd5b50356001600160a01b0316610985565b61024c6004803603602081101561044e57600080fd5b50356001600160a01b03166109e6565b60078054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104ea5780601f106104bf576101008083540402835291602001916104ea565b820191906000526020600020905b8154815290600101906020018083116104cd57829003601f168201915b5050505050905090565b6000610508610501610a97565b8484610a9b565b5060015b92915050565b60065490565b600a5490565b610526610733565b610565576040805162461bcd60e51b815260206004820181905260248201526000805160206112dc833981519152604482015290519081900360640190fd5b610570600182610b87565b1561058257610580600182610b9c565b505b50565b600b5490565b6000610598848484610bb1565b610608846105a4610a97565b610603856040518060600160405280602881526020016112b4602891396001600160a01b038a166000908152600560205260408120906105e2610a97565b6001600160a01b031681526020810191909152604001600020549190610e46565b610a9b565b5060019392505050565b6003546001600160a01b031690565b60095460ff1690565b6000610508610637610a97565b846106038560056000610648610a97565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610a36565b6001600160a01b031660009081526004602052604090205490565b61069b610733565b6106da576040805162461bcd60e51b815260206004820181905260248201526000805160206112dc833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b600080546001600160a01b0316610748610a97565b6001600160a01b031614905090565b60088054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104ea5780601f106104bf576101008083540402835291602001916104ea565b600061050c600183610b87565b60006105086107d2610a97565b846106038560405180606001604052806025815260200161134560259139600560006107fc610a97565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610e46565b600061050861083a610a97565b8484610bb1565b610849610733565b610888576040805162461bcd60e51b815260206004820181905260248201526000805160206112dc833981519152604482015290519081900360640190fd5b6001600160a01b0381166108da576040805162461bcd60e51b8152602060048201526014602482015273496c6c6567616c206c6f636b537472617465677960601b604482015290519081900360640190fd5b6003546001600160a01b031615610938576040805162461bcd60e51b815260206004820152601960248201527f6c6f636b537472617465677920686173206265656e2073657400000000000000604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b61098d610733565b6109cc576040805162461bcd60e51b815260206004820181905260248201526000805160206112dc833981519152604482015290519081900360640190fd5b6109d7600182610b87565b61058257610580600182610edd565b6109ee610733565b610a2d576040805162461bcd60e51b815260206004820181905260248201526000805160206112dc833981519152604482015290519081900360640190fd5b61058281610ef2565b600082820183811015610a90576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b038316610ae05760405162461bcd60e51b81526004018080602001828103825260248152602001806113216024913960400191505060405180910390fd5b6001600160a01b038216610b255760405162461bcd60e51b815260040180806020018281038252602281526020018061124b6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260056020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6000610a90836001600160a01b038416610f92565b6000610a90836001600160a01b038416610faa565b6001600160a01b038316610bf65760405162461bcd60e51b81526004018080602001828103825260258152602001806112fc6025913960400191505060405180910390fd5b6001600160a01b038216610c3b5760405162461bcd60e51b81526004018080602001828103825260238152602001806112026023913960400191505060405180910390fd5b610c46838383611070565b610c838160405180606001604052806026815260200161126d602691396001600160a01b0386166000908152600460205260409020549190610e46565b6001600160a01b038416600090815260046020526040902055610ca5836107b8565b610dc7576000610ccc600a54610cc6600b548561107590919063ffffffff16565b906110ce565b600354604080516337519c1960e21b81526004810184905290519293506001600160a01b039091169163dd4670649160248082019260009290919082900301818387803b158015610d1c57600080fd5b505af1158015610d30573d6000803e3d6000fd5b50506003546001600160a01b0316600090815260046020526040902054610d5a9250905082610a36565b600380546001600160a01b039081166000908152600460209081526040918290209490945591548251858152925190821693918816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92908290030190a3610dc38282611110565b9150505b6001600160a01b038216600090815260046020526040902054610dea9082610a36565b6001600160a01b0380841660008181526004602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610ed55760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610e9a578181015183820152602001610e82565b50505050905090810190601f168015610ec75780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000610a90836001600160a01b038416611152565b6001600160a01b038116610f375760405162461bcd60e51b81526004018080602001828103825260268152602001806112256026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60009081526001919091016020526040902054151590565b600081815260018301602052604081205480156110665783546000198083019190810190600090879083908110610fdd57fe5b9060005260206000200154905080876000018481548110610ffa57fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061102a57fe5b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061050c565b600091505061050c565b505050565b6000826110845750600061050c565b8282028284828161109157fe5b0414610a905760405162461bcd60e51b81526004018080602001828103825260218152602001806112936021913960400191505060405180910390fd5b6000610a9083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061119c565b6000610a9083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610e46565b600061115e8383610f92565b6111945750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561050c565b50600061050c565b600081836111eb5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610e9a578181015183820152602001610e82565b5060008385816111f757fe5b049594505050505056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212209f80faf598feadfaf9e8a1339d9b38c9904d5729b199c6150e8cebc2f02bec5264736f6c634300060c0033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101425760003560e01c8063715018a6116100b8578063a457c2d71161007c578063a457c2d714610366578063a9059cbb14610392578063b7c8297a146103be578063dd62ed3e146103e4578063e7cd4a0414610412578063f2fde38b1461043857610142565b8063715018a6146103205780638da5cb5b146103285780638f32d59b1461033057806395d89b411461033857806396bfc2291461034057610142565b8063234ea19c1161010a578063234ea19c1461024e57806323b872dd14610256578063255cd11a1461028c578063313ce567146102b057806339509351146102ce57806370a08231146102fa57610142565b806306fdde0314610147578063095ea7b3146101c457806318160ddd146102045780631f68f20a1461021e5780632042e5c214610226575b600080fd5b61014f61045e565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610189578181015183820152602001610171565b50505050905090810190601f1680156101b65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101f0600480360360408110156101da57600080fd5b506001600160a01b0381351690602001356104f4565b604080519115158252519081900360200190f35b61020c610512565b60408051918252519081900360200190f35b61020c610518565b61024c6004803603602081101561023c57600080fd5b50356001600160a01b031661051e565b005b61020c610585565b6101f06004803603606081101561026c57600080fd5b506001600160a01b0381358116916020810135909116906040013561058b565b610294610612565b604080516001600160a01b039092168252519081900360200190f35b6102b8610621565b6040805160ff9092168252519081900360200190f35b6101f0600480360360408110156102e457600080fd5b506001600160a01b03813516906020013561062a565b61020c6004803603602081101561031057600080fd5b50356001600160a01b0316610678565b61024c610693565b610294610724565b6101f0610733565b61014f610757565b6101f06004803603602081101561035657600080fd5b50356001600160a01b03166107b8565b6101f06004803603604081101561037c57600080fd5b506001600160a01b0381351690602001356107c5565b6101f0600480360360408110156103a857600080fd5b506001600160a01b03813516906020013561082d565b61024c600480360360208110156103d457600080fd5b50356001600160a01b0316610841565b61020c600480360360408110156103fa57600080fd5b506001600160a01b038135811691602001351661095a565b61024c6004803603602081101561042857600080fd5b50356001600160a01b0316610985565b61024c6004803603602081101561044e57600080fd5b50356001600160a01b03166109e6565b60078054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104ea5780601f106104bf576101008083540402835291602001916104ea565b820191906000526020600020905b8154815290600101906020018083116104cd57829003601f168201915b5050505050905090565b6000610508610501610a97565b8484610a9b565b5060015b92915050565b60065490565b600a5490565b610526610733565b610565576040805162461bcd60e51b815260206004820181905260248201526000805160206112dc833981519152604482015290519081900360640190fd5b610570600182610b87565b1561058257610580600182610b9c565b505b50565b600b5490565b6000610598848484610bb1565b610608846105a4610a97565b610603856040518060600160405280602881526020016112b4602891396001600160a01b038a166000908152600560205260408120906105e2610a97565b6001600160a01b031681526020810191909152604001600020549190610e46565b610a9b565b5060019392505050565b6003546001600160a01b031690565b60095460ff1690565b6000610508610637610a97565b846106038560056000610648610a97565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610a36565b6001600160a01b031660009081526004602052604090205490565b61069b610733565b6106da576040805162461bcd60e51b815260206004820181905260248201526000805160206112dc833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b600080546001600160a01b0316610748610a97565b6001600160a01b031614905090565b60088054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104ea5780601f106104bf576101008083540402835291602001916104ea565b600061050c600183610b87565b60006105086107d2610a97565b846106038560405180606001604052806025815260200161134560259139600560006107fc610a97565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610e46565b600061050861083a610a97565b8484610bb1565b610849610733565b610888576040805162461bcd60e51b815260206004820181905260248201526000805160206112dc833981519152604482015290519081900360640190fd5b6001600160a01b0381166108da576040805162461bcd60e51b8152602060048201526014602482015273496c6c6567616c206c6f636b537472617465677960601b604482015290519081900360640190fd5b6003546001600160a01b031615610938576040805162461bcd60e51b815260206004820152601960248201527f6c6f636b537472617465677920686173206265656e2073657400000000000000604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b61098d610733565b6109cc576040805162461bcd60e51b815260206004820181905260248201526000805160206112dc833981519152604482015290519081900360640190fd5b6109d7600182610b87565b61058257610580600182610edd565b6109ee610733565b610a2d576040805162461bcd60e51b815260206004820181905260248201526000805160206112dc833981519152604482015290519081900360640190fd5b61058281610ef2565b600082820183811015610a90576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b038316610ae05760405162461bcd60e51b81526004018080602001828103825260248152602001806113216024913960400191505060405180910390fd5b6001600160a01b038216610b255760405162461bcd60e51b815260040180806020018281038252602281526020018061124b6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260056020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6000610a90836001600160a01b038416610f92565b6000610a90836001600160a01b038416610faa565b6001600160a01b038316610bf65760405162461bcd60e51b81526004018080602001828103825260258152602001806112fc6025913960400191505060405180910390fd5b6001600160a01b038216610c3b5760405162461bcd60e51b81526004018080602001828103825260238152602001806112026023913960400191505060405180910390fd5b610c46838383611070565b610c838160405180606001604052806026815260200161126d602691396001600160a01b0386166000908152600460205260409020549190610e46565b6001600160a01b038416600090815260046020526040902055610ca5836107b8565b610dc7576000610ccc600a54610cc6600b548561107590919063ffffffff16565b906110ce565b600354604080516337519c1960e21b81526004810184905290519293506001600160a01b039091169163dd4670649160248082019260009290919082900301818387803b158015610d1c57600080fd5b505af1158015610d30573d6000803e3d6000fd5b50506003546001600160a01b0316600090815260046020526040902054610d5a9250905082610a36565b600380546001600160a01b039081166000908152600460209081526040918290209490945591548251858152925190821693918816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92908290030190a3610dc38282611110565b9150505b6001600160a01b038216600090815260046020526040902054610dea9082610a36565b6001600160a01b0380841660008181526004602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610ed55760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610e9a578181015183820152602001610e82565b50505050905090810190601f168015610ec75780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000610a90836001600160a01b038416611152565b6001600160a01b038116610f375760405162461bcd60e51b81526004018080602001828103825260268152602001806112256026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60009081526001919091016020526040902054151590565b600081815260018301602052604081205480156110665783546000198083019190810190600090879083908110610fdd57fe5b9060005260206000200154905080876000018481548110610ffa57fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061102a57fe5b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061050c565b600091505061050c565b505050565b6000826110845750600061050c565b8282028284828161109157fe5b0414610a905760405162461bcd60e51b81526004018080602001828103825260218152602001806112936021913960400191505060405180910390fd5b6000610a9083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061119c565b6000610a9083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610e46565b600061115e8383610f92565b6111945750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561050c565b50600061050c565b600081836111eb5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610e9a578181015183820152602001610e82565b5060008385816111f757fe5b049594505050505056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212209f80faf598feadfaf9e8a1339d9b38c9904d5729b199c6150e8cebc2f02bec5264736f6c634300060c0033
Deployed Bytecode Sourcemap
25103:11161:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25961:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28067:169;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;28067:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;27036:100;;;:::i;:::-;;;;;;;;;;;;;;;;36066:85;;;:::i;35390:156::-;;;;;;;;;;;;;;;;-1:-1:-1;35390:156:0;-1:-1:-1;;;;;35390:156:0;;:::i;:::-;;35973:85;;;:::i;28710:321::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;28710:321:0;;;;;;;;;;;;;;;;;:::i;36159:102::-;;;:::i;:::-;;;;-1:-1:-1;;;;;36159:102:0;;;;;;;;;;;;;;26888:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;29440:218;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;29440:218:0;;;;;;;;:::i;27199:119::-;;;;;;;;;;;;;;;;-1:-1:-1;27199:119:0;-1:-1:-1;;;;;27199:119:0;;:::i;24107:140::-;;;:::i;23296:79::-;;;:::i;23662:94::-;;;:::i;26163:87::-;;;:::i;35850:115::-;;;;;;;;;;;;;;;;-1:-1:-1;35850:115:0;-1:-1:-1;;;;;35850:115:0;;:::i;30161:269::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;30161:269:0;;;;;;;;:::i;27531:175::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;27531:175:0;;;;;;;;:::i;35554:288::-;;;;;;;;;;;;;;;;-1:-1:-1;35554:288:0;-1:-1:-1;;;;;35554:288:0;;:::i;27769:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;27769:151:0;;;;;;;;;;:::i;35195:::-;;;;;;;;;;;;;;;;-1:-1:-1;35195:151:0;-1:-1:-1;;;;;35195:151:0;;:::i;24402:109::-;;;;;;;;;;;;;;;;-1:-1:-1;24402:109:0;-1:-1:-1;;;;;24402:109:0;;:::i;25961:83::-;26031:5;26024:12;;;;;;;;-1:-1:-1;;26024:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25998:13;;26024:12;;26031:5;;26024:12;;26031:5;26024:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25961:83;:::o;28067:169::-;28150:4;28167:39;28176:12;:10;:12::i;:::-;28190:7;28199:6;28167:8;:39::i;:::-;-1:-1:-1;28224:4:0;28067:169;;;;;:::o;27036:100::-;27116:12;;27036:100;:::o;36066:85::-;36134:9;;36066:85;:::o;35390:156::-;23508:9;:7;:9::i;:::-;23500:54;;;;;-1:-1:-1;;;23500:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23500:54:0;;;;;;;;;;;;;;;35462:25:::1;:10;35482:4:::0;35462:19:::1;:25::i;:::-;35459:80;;;35504:23;:10;35522:4:::0;35504:17:::1;:23::i;:::-;;35459:80;35390:156:::0;:::o;35973:85::-;36041:9;;35973:85;:::o;28710:321::-;28816:4;28833:36;28843:6;28851:9;28862:6;28833:9;:36::i;:::-;28880:121;28889:6;28897:12;:10;:12::i;:::-;28911:89;28949:6;28911:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;28911:19:0;;;;;;:11;:19;;;;;;28931:12;:10;:12::i;:::-;-1:-1:-1;;;;;28911:33:0;;;;;;;;;;;;-1:-1:-1;28911:33:0;;;:89;:37;:89::i;:::-;28880:8;:121::i;:::-;-1:-1:-1;29019:4:0;28710:321;;;;;:::o;36159:102::-;36239:13;;-1:-1:-1;;;;;36239:13:0;36159:102;:::o;26888:83::-;26954:9;;;;26888:83;:::o;29440:218::-;29528:4;29545:83;29554:12;:10;:12::i;:::-;29568:7;29577:50;29616:10;29577:11;:25;29589:12;:10;:12::i;:::-;-1:-1:-1;;;;;29577:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;29577:25:0;;;:34;;;;;;;;;;;:38;:50::i;27199:119::-;-1:-1:-1;;;;;27292:18:0;27265:7;27292:18;;;:9;:18;;;;;;;27199:119::o;24107:140::-;23508:9;:7;:9::i;:::-;23500:54;;;;;-1:-1:-1;;;23500:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23500:54:0;;;;;;;;;;;;;;;24206:1:::1;24190:6:::0;;24169:40:::1;::::0;-1:-1:-1;;;;;24190:6:0;;::::1;::::0;24169:40:::1;::::0;24206:1;;24169:40:::1;24237:1;24220:19:::0;;-1:-1:-1;;;;;;24220:19:0::1;::::0;;24107:140::o;23296:79::-;23334:7;23361:6;-1:-1:-1;;;;;23361:6:0;23296:79;:::o;23662:94::-;23702:4;23742:6;;-1:-1:-1;;;;;23742:6:0;23726:12;:10;:12::i;:::-;-1:-1:-1;;;;;23726:22:0;;23719:29;;23662:94;:::o;26163:87::-;26235:7;26228:14;;;;;;;;-1:-1:-1;;26228:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26202:13;;26228:14;;26235:7;;26228:14;;26235:7;26228:14;;;;;;;;;;;;;;;;;;;;;;;;35850:115;35908:4;35932:25;:10;35952:4;35932:19;:25::i;30161:269::-;30254:4;30271:129;30280:12;:10;:12::i;:::-;30294:7;30303:96;30342:15;30303:96;;;;;;;;;;;;;;;;;:11;:25;30315:12;:10;:12::i;:::-;-1:-1:-1;;;;;30303:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;30303:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;27531:175::-;27617:4;27634:42;27644:12;:10;:12::i;:::-;27658:9;27669:6;27634:9;:42::i;35554:288::-;23508:9;:7;:9::i;:::-;23500:54;;;;;-1:-1:-1;;;23500:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23500:54:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;35650:35:0;::::1;35642:68;;;::::0;;-1:-1:-1;;;35642:68:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;35642:68:0;;;;;;;;;;;;;::::1;;35737:13;::::0;-1:-1:-1;;;;;35737:13:0::1;35729:36:::0;35721:74:::1;;;::::0;;-1:-1:-1;;;35721:74:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;35806:13;:28:::0;;-1:-1:-1;;;;;;35806:28:0::1;-1:-1:-1::0;;;;;35806:28:0;;;::::1;::::0;;;::::1;::::0;;35554:288::o;27769:151::-;-1:-1:-1;;;;;27885:18:0;;;27858:7;27885:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;27769:151::o;35195:::-;23508:9;:7;:9::i;:::-;23500:54;;;;;-1:-1:-1;;;23500:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23500:54:0;;;;;;;;;;;;;;;35265:25:::1;:10;35285:4:::0;35265:19:::1;:25::i;:::-;35260:79;;35307:20;:10;35322:4:::0;35307:14:::1;:20::i;24402:109::-:0;23508:9;:7;:9::i;:::-;23500:54;;;;;-1:-1:-1;;;23500:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23500:54:0;;;;;;;;;;;;;;;24475:28:::1;24494:8;24475:18;:28::i;4946:181::-:0;5004:7;5036:5;;;5060:6;;;;5052:46;;;;;-1:-1:-1;;;5052:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;5118:1;4946:181;-1:-1:-1;;;4946:181:0:o;846:98::-;926:10;846:98;:::o;33690:346::-;-1:-1:-1;;;;;33792:19:0;;33784:68;;;;-1:-1:-1;;;33784:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33871:21:0;;33863:68;;;;-1:-1:-1;;;33863:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33944:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;33996:32;;;;;;;;;;;;;;;;;33690:346;;;:::o;19850:167::-;19930:4;19954:55;19964:3;-1:-1:-1;;;;;19984:23:0;;19954:9;:55::i;19606:158::-;19679:4;19703:53;19711:3;-1:-1:-1;;;;;19731:23:0;;19703:7;:53::i;30920:921::-;-1:-1:-1;;;;;31026:20:0;;31018:70;;;;-1:-1:-1;;;31018:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;31107:23:0;;31099:71;;;;-1:-1:-1;;;31099:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31183:47;31204:6;31212:9;31223:6;31183:20;:47::i;:::-;31263:71;31285:6;31263:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;31263:17:0;;;;;;:9;:17;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;31243:17:0;;;;;;:9;:17;;;;;:91;31351:21;31253:6;31351:13;:21::i;:::-;31347:368;;31388:17;31408:36;31434:9;;31408:21;31419:9;;31408:6;:10;;:21;;;;:::i;:::-;:25;;:36::i;:::-;31459:13;;:29;;;-1:-1:-1;;;31459:29:0;;;;;;;;;;31388:56;;-1:-1:-1;;;;;;31459:13:0;;;;:18;;:29;;;;;:13;;:29;;;;;;;;:13;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;31557:13:0;;-1:-1:-1;;;;;31557:13:0;31539:33;;;;:9;:33;;;;;;:48;;-1:-1:-1;31539:33:0;-1:-1:-1;31577:9:0;31539:37;:48::i;:::-;31521:13;;;-1:-1:-1;;;;;31521:13:0;;;31503:33;;;;:9;:33;;;;;;;;;:84;;;;31632:13;;31607:51;;;;;;;31632:13;;;;31607:51;;;;;;;;;;;;;31682:21;:6;31693:9;31682:10;:21::i;:::-;31673:30;;31347:368;;-1:-1:-1;;;;;31750:20:0;;;;;;:9;:20;;;;;;:32;;31775:6;31750:24;:32::i;:::-;-1:-1:-1;;;;;31727:20:0;;;;;;;:9;:20;;;;;;;;;:55;;;;31798:35;;;;;;;31727:20;;31798:35;;;;;;;;;;;;;30920:921;;;:::o;5875:192::-;5961:7;5997:12;5989:6;;;;5981:29;;;;-1:-1:-1;;;5981:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;6033:5:0;;;5875:192::o;19278:152::-;19348:4;19372:50;19377:3;-1:-1:-1;;;;;19397:23:0;;19372:4;:50::i;24617:229::-;-1:-1:-1;;;;;24691:22:0;;24683:73;;;;-1:-1:-1;;;24683:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24793:6;;;24772:38;;-1:-1:-1;;;;;24772:38:0;;;;24793:6;;;24772:38;;;24821:6;:17;;-1:-1:-1;;;;;;24821:17:0;-1:-1:-1;;;;;24821:17:0;;;;;;;;;;24617:229::o;16542:129::-;16615:4;16639:19;;;:12;;;;;:19;;;;;;:24;;;16542:129::o;14912:1544::-;14978:4;15117:19;;;:12;;;:19;;;;;;15153:15;;15149:1300;;15588:18;;-1:-1:-1;;15539:14:0;;;;15588:22;;;;15515:21;;15588:3;;:22;;15875;;;;;;;;;;;;;;15855:42;;16021:9;15992:3;:11;;16004:13;15992:26;;;;;;;;;;;;;;;;;;;:38;;;;16098:23;;;16140:1;16098:12;;;:23;;;;;;16124:17;;;16098:43;;16250:17;;16098:3;;16250:17;;;;;;;;;;;;;;;;;;;;;;16345:3;:12;;:19;16358:5;16345:19;;;;;;;;;;;16338:26;;;16388:4;16381:11;;;;;;;;15149:1300;16432:5;16425:12;;;;;35061:92;;;;:::o;6318:471::-;6376:7;6621:6;6617:47;;-1:-1:-1;6651:1:0;6644:8;;6617:47;6688:5;;;6692:1;6688;:5;:1;6712:5;;;;;:10;6704:56;;;;-1:-1:-1;;;6704:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7257:132;7315:7;7342:39;7346:1;7349;7342:39;;;;;;;;;;;;;;;;;:3;:39::i;5402:136::-;5460:7;5487:43;5491:1;5494;5487:43;;;;;;;;;;;;;;;;;:3;:43::i;14322:414::-;14385:4;14407:21;14417:3;14422:5;14407:9;:21::i;:::-;14402:327;;-1:-1:-1;14445:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;14628:18;;14606:19;;;:12;;;:19;;;;;;:40;;;;14661:11;;14402:327;-1:-1:-1;14712:5:0;14705:12;;7919:345;8005:7;8107:12;8100:5;8092:28;;;;-1:-1:-1;;;8092:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8131:9;8147:1;8143;:5;;;;;;;7919:345;-1:-1:-1;;;;;7919:345:0:o
Swarm Source
ipfs://9f80faf598feadfaf9e8a1339d9b38c9904d5729b199c6150e8cebc2f02bec52
Loading...
Loading
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.