Overview
Max Total Supply
1,000,000,000COW
Holders
19,954 ( 0.025%)
Market
Price
$0.0079 @ 0.000013 BNB (+9.62%)
Onchain Market Cap
$7,873,330.00
Circulating Supply Market Cap
$0.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
1,960.462971338309824779 COWValue
$15.44 ( ~0.0249900590982048 BNB) [0.0002%]Loading...
Loading
Loading...
Loading
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
Cowcoin
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/**
*Submitted for verification at BscScan.com on 2024-12-13
*/
// Dependency file: @openzeppelin/contracts/token/ERC20/IERC20.sol
// SPDX-License-Identifier: MIT
// pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
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
);
}
// Dependency file: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol
// pragma solidity ^0.8.0;
// import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
/**
* @dev Interface for the optional metadata functions from the ERC20 standard.
*
* _Available since v4.1._
*/
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);
}
// Dependency file: @openzeppelin/contracts/utils/Context.sol
// pragma solidity ^0.8.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 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;
}
}
contract ERC20 is Context, IERC20, IERC20Metadata {
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
uint256 private _totalSupply;
uint8 private _decimals;
string private _name;
string private _symbol;
/**
* @dev Sets the values for {name} and {symbol}.
*
* The default value of {decimals} is 18. To select a different value for
* {decimals} you should overload it.
*
* All two of these values are immutable: they can only be set once during
* construction.
*/
constructor(string memory name_, string memory symbol_, uint8 decimals_) {
_name = name_;
_symbol = symbol_;
_decimals = decimals_;
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual override 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 this function is
* 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 override returns (uint8) {
return 18;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(
address account
) public view virtual 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);
uint256 currentAllowance = _allowances[sender][_msgSender()];
require(
currentAllowance >= amount,
"ERC20: transfer amount exceeds allowance"
);
unchecked {
_approve(sender, _msgSender(), currentAllowance - amount);
}
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] + 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) {
uint256 currentAllowance = _allowances[_msgSender()][spender];
require(
currentAllowance >= subtractedValue,
"ERC20: decreased allowance below zero"
);
unchecked {
_approve(_msgSender(), spender, currentAllowance - subtractedValue);
}
return true;
}
/**
* @dev Moves `amount` of tokens from `sender` to `recipient`.
*
* 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.
*
* 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);
uint256 senderBalance = _balances[sender];
require(
senderBalance >= amount,
"ERC20: transfer amount exceeds balance"
);
unchecked {
_balances[sender] = senderBalance - amount;
}
_balances[recipient] += amount;
emit Transfer(sender, recipient, amount);
_afterTokenTransfer(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:
*
* - `account` 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 += amount;
_balances[account] += amount;
emit Transfer(address(0), account, amount);
_afterTokenTransfer(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);
uint256 accountBalance = _balances[account];
require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
unchecked {
_balances[account] = accountBalance - amount;
}
_totalSupply -= amount;
emit Transfer(account, address(0), amount);
_afterTokenTransfer(account, address(0), amount);
}
/**
* @dev Sets `amount` 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.
*/
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 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 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 {}
/**
* @dev Hook that is called after any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* has been transferred to `to`.
* - when `from` is zero, `amount` tokens have been minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
}
// Dependency file: @openzeppelin/contracts/access/Ownable.sol
// pragma solidity ^0.8.0;
// import "@openzeppelin/contracts/utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. 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;
event OwnershipTransferred(
address indexed previousOwner,
address indexed newOwner
);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_setOwner(_msgSender());
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the 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 virtual onlyOwner {
_setOwner(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 {
require(
newOwner != address(0),
"Ownable: new owner is the zero address"
);
_setOwner(newOwner);
}
function _setOwner(address newOwner) private {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}
// Dependency file: @openzeppelin/contracts/utils/math/SafeMath.sol
// pragma solidity ^0.8.0;
// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.
/**
* @dev Wrappers over Solidity's arithmetic operations.
*
* NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
* now has built in overflow checking.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
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 substraction of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
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.
*
* _Available since v3.4._
*/
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.
*
* _Available since v3.4._
*/
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.
*
* _Available since v3.4._
*/
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 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) {
return a + b;
}
/**
* @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 a - b;
}
/**
* @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) {
return a * b;
}
/**
* @dev Returns the integer division of two unsigned integers, reverting on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator.
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return a / b;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting 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 a % b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {trySub}.
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b <= a, errorMessage);
return a - b;
}
}
/**
* @dev Returns the integer division of two unsigned integers, reverting 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.
*/
function div(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a / b;
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting with custom message when dividing by zero.
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {tryMod}.
*
* 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,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a % b;
}
}
}
// Dependency file: @openzeppelin/contracts/proxy/Clones.sol
// pragma solidity ^0.8.0;
/**
* @dev https://eips.ethereum.org/EIPS/eip-1167[EIP 1167] is a standard for
* deploying minimal proxy contracts, also known as "clones".
*
* > To simply and cheaply clone contract functionality in an immutable way, this standard specifies
* > a minimal bytecode implementation that delegates all calls to a known, fixed address.
*
* The library includes functions to deploy a proxy using either `create` (traditional deployment) or `create2`
* (salted deterministic deployment). It also includes functions to predict the addresses of clones deployed using the
* deterministic method.
*
* _Available since v3.4._
*/
library Clones {
/**
* @dev Deploys and returns the address of a clone that mimics the behaviour of `implementation`.
*
* This function uses the create opcode, which should never revert.
*/
function clone(address implementation) internal returns (address instance) {
assembly {
let ptr := mload(0x40)
mstore(
ptr,
0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000
)
mstore(add(ptr, 0x14), shl(0x60, implementation))
mstore(
add(ptr, 0x28),
0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000
)
instance := create(0, ptr, 0x37)
}
require(instance != address(0), "ERC1167: create failed");
}
/**
* @dev Deploys and returns the address of a clone that mimics the behaviour of `implementation`.
*
* This function uses the create2 opcode and a `salt` to deterministically deploy
* the clone. Using the same `implementation` and `salt` multiple time will revert, since
* the clones cannot be deployed twice at the same address.
*/
function cloneDeterministic(
address implementation,
bytes32 salt
) internal returns (address instance) {
assembly {
let ptr := mload(0x40)
mstore(
ptr,
0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000
)
mstore(add(ptr, 0x14), shl(0x60, implementation))
mstore(
add(ptr, 0x28),
0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000
)
instance := create2(0, ptr, 0x37, salt)
}
require(instance != address(0), "ERC1167: create2 failed");
}
/**
* @dev Computes the address of a clone deployed using {Clones-cloneDeterministic}.
*/
function predictDeterministicAddress(
address implementation,
bytes32 salt,
address deployer
) internal pure returns (address predicted) {
assembly {
let ptr := mload(0x40)
mstore(
ptr,
0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000
)
mstore(add(ptr, 0x14), shl(0x60, implementation))
mstore(
add(ptr, 0x28),
0x5af43d82803e903d91602b57fd5bf3ff00000000000000000000000000000000
)
mstore(add(ptr, 0x38), shl(0x60, deployer))
mstore(add(ptr, 0x4c), salt)
mstore(add(ptr, 0x6c), keccak256(ptr, 0x37))
predicted := keccak256(add(ptr, 0x37), 0x55)
}
}
/**
* @dev Computes the address of a clone deployed using {Clones-cloneDeterministic}.
*/
function predictDeterministicAddress(
address implementation,
bytes32 salt
) internal view returns (address predicted) {
return predictDeterministicAddress(implementation, salt, address(this));
}
}
// Dependency file: contracts/interfaces/IUniswapV2Factory.sol
// pragma solidity >=0.5.0;
interface IUniswapV2Factory {
event PairCreated(
address indexed token0,
address indexed token1,
address pair,
uint256
);
function feeTo() external view returns (address);
function feeToSetter() external view returns (address);
function getPair(
address tokenA,
address tokenB
) external view returns (address pair);
function allPairs(uint256) external view returns (address pair);
function allPairsLength() external view returns (uint256);
function createPair(
address tokenA,
address tokenB
) external returns (address pair);
function setFeeTo(address) external;
function setFeeToSetter(address) external;
}
// Dependency file: contracts/interfaces/IUniswapV2Router02.sol
// pragma solidity >=0.6.2;
interface IUniswapV2Router01 {
function factory() external pure returns (address);
function WETH() external pure returns (address);
function WETC() external pure returns (address);
function WHT() external pure returns (address);
function WROSE() external pure returns (address);
function WAVAX() external pure returns (address);
function addLiquidity(
address tokenA,
address tokenB,
uint256 amountADesired,
uint256 amountBDesired,
uint256 amountAMin,
uint256 amountBMin,
address to,
uint256 deadline
) external returns (uint256 amountA, uint256 amountB, uint256 liquidity);
function addLiquidityETH(
address token,
uint256 amountTokenDesired,
uint256 amountTokenMin,
uint256 amountETHMin,
address to,
uint256 deadline
)
external
payable
returns (uint256 amountToken, uint256 amountETH, uint256 liquidity);
function addLiquidityAVAX(
address token,
uint256 amountTokenDesired,
uint256 amountTokenMin,
uint256 amountETHMin,
address to,
uint256 deadline
)
external
payable
returns (uint256 amountToken, uint256 amountETH, uint256 liquidity);
function addLiquidityETC(
address token,
uint256 amountTokenDesired,
uint256 amountTokenMin,
uint256 amountETHMin,
address to,
uint256 deadline
)
external
payable
returns (uint256 amountToken, uint256 amountETH, uint256 liquidity);
function addLiquidityROSE(
address token,
uint256 amountTokenDesired,
uint256 amountTokenMin,
uint256 amountETHMin,
address to,
uint256 deadline
)
external
payable
returns (uint256 amountToken, uint256 amountETH, uint256 liquidity);
function removeLiquidity(
address tokenA,
address tokenB,
uint256 liquidity,
uint256 amountAMin,
uint256 amountBMin,
address to,
uint256 deadline
) external returns (uint256 amountA, uint256 amountB);
function removeLiquidityETH(
address token,
uint256 liquidity,
uint256 amountTokenMin,
uint256 amountETHMin,
address to,
uint256 deadline
) external returns (uint256 amountToken, uint256 amountETH);
function removeLiquidityWithPermit(
address tokenA,
address tokenB,
uint256 liquidity,
uint256 amountAMin,
uint256 amountBMin,
address to,
uint256 deadline,
bool approveMax,
uint8 v,
bytes32 r,
bytes32 s
) external returns (uint256 amountA, uint256 amountB);
function removeLiquidityETHWithPermit(
address token,
uint256 liquidity,
uint256 amountTokenMin,
uint256 amountETHMin,
address to,
uint256 deadline,
bool approveMax,
uint8 v,
bytes32 r,
bytes32 s
) external returns (uint256 amountToken, uint256 amountETH);
function swapExactTokensForTokens(
uint256 amountIn,
uint256 amountOutMin,
address[] calldata path,
address to,
uint256 deadline
) external returns (uint256[] memory amounts);
function swapTokensForExactTokens(
uint256 amountOut,
uint256 amountInMax,
address[] calldata path,
address to,
uint256 deadline
) external returns (uint256[] memory amounts);
function swapExactETHForTokens(
uint256 amountOutMin,
address[] calldata path,
address to,
uint256 deadline
) external payable returns (uint256[] memory amounts);
function swapTokensForExactETH(
uint256 amountOut,
uint256 amountInMax,
address[] calldata path,
address to,
uint256 deadline
) external returns (uint256[] memory amounts);
function swapExactTokensForETH(
uint256 amountIn,
uint256 amountOutMin,
address[] calldata path,
address to,
uint256 deadline
) external returns (uint256[] memory amounts);
function swapETHForExactTokens(
uint256 amountOut,
address[] calldata path,
address to,
uint256 deadline
) external payable returns (uint256[] memory amounts);
function quote(
uint256 amountA,
uint256 reserveA,
uint256 reserveB
) external pure returns (uint256 amountB);
function getAmountOut(
uint256 amountIn,
uint256 reserveIn,
uint256 reserveOut
) external pure returns (uint256 amountOut);
function getAmountIn(
uint256 amountOut,
uint256 reserveIn,
uint256 reserveOut
) external pure returns (uint256 amountIn);
function getAmountsOut(
uint256 amountIn,
address[] calldata path
) external view returns (uint256[] memory amounts);
function getAmountsIn(
uint256 amountOut,
address[] calldata path
) external view returns (uint256[] memory amounts);
}
interface IUniswapV2Router02 is IUniswapV2Router01 {
function removeLiquidityETHSupportingFeeOnTransferTokens(
address token,
uint256 liquidity,
uint256 amountTokenMin,
uint256 amountETHMin,
address to,
uint256 deadline
) external returns (uint256 amountETH);
function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
address token,
uint256 liquidity,
uint256 amountTokenMin,
uint256 amountETHMin,
address to,
uint256 deadline,
bool approveMax,
uint8 v,
bytes32 r,
bytes32 s
) external returns (uint256 amountETH);
function swapExactTokensForTokensSupportingFeeOnTransferTokens(
uint256 amountIn,
uint256 amountOutMin,
address[] calldata path,
address to,
uint256 deadline
) external;
function swapExactETHForTokensSupportingFeeOnTransferTokens(
uint256 amountOutMin,
address[] calldata path,
address to,
uint256 deadline
) external payable;
function swapExactTokensForETCSupportingFeeOnTransferTokens(
uint256 amountIn,
uint256 amountOutMin,
address[] calldata path,
address to,
uint256 deadline
) external payable;
function swapExactTokensForAVAXSupportingFeeOnTransferTokens(
uint256 amountIn,
uint256 amountOutMin,
address[] calldata path,
address to,
uint256 deadline
) external payable;
function swapExactTokensForROSESupportingFeeOnTransferTokens(
uint256 amountIn,
uint256 amountOutMin,
address[] calldata path,
address to,
uint256 deadline
) external payable;
function swapExactTokensForETHSupportingFeeOnTransferTokens(
uint256 amountIn,
uint256 amountOutMin,
address[] calldata path,
address to,
uint256 deadline
) external;
}
// Dependency file: @openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol
// pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20Upgradeable {
/**
* @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
);
}
// Dependency file: @openzeppelin/contracts-upgradeable/token/ERC20/extensions/IERC20MetadataUpgradeable.sol
// pragma solidity ^0.8.0;
// import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol";
/**
* @dev Interface for the optional metadata functions from the ERC20 standard.
*
* _Available since v4.1._
*/
interface IERC20MetadataUpgradeable is IERC20Upgradeable {
/**
* @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);
}
// Dependency file: @openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol
// pragma solidity ^0.8.0;
/**
* @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
* behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an
* external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
* function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
*
* TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
* possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
*
* CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
* that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
*/
abstract contract Initializable {
/**
* @dev Indicates that the contract has been initialized.
*/
bool private _initialized;
/**
* @dev Indicates that the contract is in the process of being initialized.
*/
bool private _initializing;
/**
* @dev Modifier to protect an initializer function from being invoked twice.
*/
modifier initializer() {
require(
_initializing || !_initialized,
"Initializable: contract is already initialized"
);
bool isTopLevelCall = !_initializing;
if (isTopLevelCall) {
_initializing = true;
_initialized = true;
}
_;
if (isTopLevelCall) {
_initializing = false;
}
}
}
// Dependency file: @openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol
// pragma solidity ^0.8.0;
// import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
/**
* @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 ContextUpgradeable is Initializable {
function __Context_init() internal initializer {
__Context_init_unchained();
}
function __Context_init_unchained() internal initializer {}
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
uint256[50] private __gap;
}
// Dependency file: @openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol
// pragma solidity ^0.8.0;
// import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol";
// import "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/IERC20MetadataUpgradeable.sol";
// import "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol";
// import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
* For a generic mechanism see {ERC20PresetMinterPauser}.
*
* TIP: For a detailed writeup see our guide
* https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* 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.
*
* Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
* functions have been added to mitigate the well-known issues around setting
* allowances. See {IERC20-approve}.
*/
contract ERC20Upgradeable is
Initializable,
ContextUpgradeable,
IERC20Upgradeable,
IERC20MetadataUpgradeable
{
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
/**
* @dev Sets the values for {name} and {symbol}.
*
* The default value of {decimals} is 18. To select a different value for
* {decimals} you should overload it.
*
* All two of these values are immutable: they can only be set once during
* construction.
*/
function __ERC20_init(
string memory name_,
string memory symbol_
) internal initializer {
__Context_init_unchained();
__ERC20_init_unchained(name_, symbol_);
}
function __ERC20_init_unchained(
string memory name_,
string memory symbol_
) internal initializer {
_name = name_;
_symbol = symbol_;
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual override 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 this function is
* 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 override returns (uint8) {
return 18;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(
address account
) public view virtual 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);
uint256 currentAllowance = _allowances[sender][_msgSender()];
require(
currentAllowance >= amount,
"ERC20: transfer amount exceeds allowance"
);
unchecked {
_approve(sender, _msgSender(), currentAllowance - amount);
}
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] + 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) {
uint256 currentAllowance = _allowances[_msgSender()][spender];
require(
currentAllowance >= subtractedValue,
"ERC20: decreased allowance below zero"
);
unchecked {
_approve(_msgSender(), spender, currentAllowance - subtractedValue);
}
return true;
}
/**
* @dev Moves `amount` of tokens from `sender` to `recipient`.
*
* 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.
*
* 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);
uint256 senderBalance = _balances[sender];
require(
senderBalance >= amount,
"ERC20: transfer amount exceeds balance"
);
unchecked {
_balances[sender] = senderBalance - amount;
}
_balances[recipient] += amount;
emit Transfer(sender, recipient, amount);
_afterTokenTransfer(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:
*
* - `account` 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 += amount;
_balances[account] += amount;
emit Transfer(address(0), account, amount);
_afterTokenTransfer(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);
uint256 accountBalance = _balances[account];
require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
unchecked {
_balances[account] = accountBalance - amount;
}
_totalSupply -= amount;
emit Transfer(account, address(0), amount);
_afterTokenTransfer(account, address(0), amount);
}
/**
* @dev Sets `amount` 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.
*/
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 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 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 {}
/**
* @dev Hook that is called after any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* has been transferred to `to`.
* - when `from` is zero, `amount` tokens have been minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
uint256[45] private __gap;
}
// Dependency file: @openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol
// pragma solidity ^0.8.0;
// import "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol";
// import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. 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 OwnableUpgradeable is Initializable, ContextUpgradeable {
address private _owner;
event OwnershipTransferred(
address indexed previousOwner,
address indexed newOwner
);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
function __Ownable_init() internal initializer {
__Context_init_unchained();
__Ownable_init_unchained();
}
function __Ownable_init_unchained() internal initializer {
_setOwner(_msgSender());
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the 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 virtual onlyOwner {
_setOwner(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 {
require(
newOwner != address(0),
"Ownable: new owner is the zero address"
);
_setOwner(newOwner);
}
function _setOwner(address newOwner) private {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
uint256[49] private __gap;
}
// Dependency file: contracts/interfaces/IUniswapV2Pair.sol
// pragma solidity >=0.5.0;
interface IUniswapV2Pair {
event Approval(
address indexed owner,
address indexed spender,
uint256 value
);
event Transfer(address indexed from, address indexed to, uint256 value);
function name() external pure returns (string memory);
function symbol() external pure returns (string memory);
function decimals() external pure returns (uint8);
function totalSupply() external view returns (uint256);
function balanceOf(address owner) external view returns (uint256);
function allowance(
address owner,
address spender
) external view returns (uint256);
function approve(address spender, uint256 value) external returns (bool);
function transfer(address to, uint256 value) external returns (bool);
function transferFrom(
address from,
address to,
uint256 value
) external returns (bool);
function DOMAIN_SEPARATOR() external view returns (bytes32);
function PERMIT_TYPEHASH() external pure returns (bytes32);
function nonces(address owner) external view returns (uint256);
function permit(
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) external;
event Mint(address indexed sender, uint256 amount0, uint256 amount1);
event Burn(
address indexed sender,
uint256 amount0,
uint256 amount1,
address indexed to
);
event Swap(
address indexed sender,
uint256 amount0In,
uint256 amount1In,
uint256 amount0Out,
uint256 amount1Out,
address indexed to
);
event Sync(uint112 reserve0, uint112 reserve1);
function MINIMUM_LIQUIDITY() external pure returns (uint256);
function factory() external view returns (address);
function token0() external view returns (address);
function token1() external view returns (address);
function getReserves()
external
view
returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
function price0CumulativeLast() external view returns (uint256);
function price1CumulativeLast() external view returns (uint256);
function kLast() external view returns (uint256);
function mint(address to) external returns (uint256 liquidity);
function burn(
address to
) external returns (uint256 amount0, uint256 amount1);
function swap(
uint256 amount0Out,
uint256 amount1Out,
address to,
bytes calldata data
) external;
function skim(address to) external;
function sync() external;
function initialize(address, address) external;
}
// Dependency file: contracts/libs/SafeMathInt.sol
// pragma solidity 0.8.17;
/**
* @title SafeMathInt
* @dev Math operations for int256 with overflow safety checks.
*/
library SafeMathInt {
int256 private constant MIN_INT256 = int256(1) << 255;
int256 private constant MAX_INT256 = ~(int256(1) << 255);
/**
* @dev Multiplies two int256 variables and fails on overflow.
*/
function mul(int256 a, int256 b) internal pure returns (int256) {
int256 c = a * b;
// Detect overflow when multiplying MIN_INT256 with -1
require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256));
require((b == 0) || (c / b == a));
return c;
}
/**
* @dev Division of two int256 variables and fails on overflow.
*/
function div(int256 a, int256 b) internal pure returns (int256) {
// Prevent overflow when dividing MIN_INT256 by -1
require(b != -1 || a != MIN_INT256);
// Solidity already throws when dividing by 0.
return a / b;
}
/**
* @dev Subtracts two int256 variables and fails on overflow.
*/
function sub(int256 a, int256 b) internal pure returns (int256) {
int256 c = a - b;
require((b >= 0 && c <= a) || (b < 0 && c > a));
return c;
}
/**
* @dev Adds two int256 variables and fails on overflow.
*/
function add(int256 a, int256 b) internal pure returns (int256) {
int256 c = a + b;
require((b >= 0 && c >= a) || (b < 0 && c < a));
return c;
}
/**
* @dev Converts to absolute value, and fails on overflow.
*/
function abs(int256 a) internal pure returns (int256) {
require(a != MIN_INT256);
return a < 0 ? -a : a;
}
function toUint256Safe(int256 a) internal pure returns (uint256) {
require(a >= 0);
return uint256(a);
}
}
// Dependency file: contracts/libs/SafeMathUint.sol
// pragma solidity 0.8.17;
/**
* @title SafeMathUint
* @dev Math operations with safety checks that revert on error
*/
library SafeMathUint {
function toInt256Safe(uint256 a) internal pure returns (int256) {
int256 b = int256(a);
require(b >= 0);
return b;
}
}
// Dependency file: contracts/tokens/IterableMapping.sol
// pragma solidity 0.8.17;
library IterableMapping {
// Iterable mapping from address to uint;
struct Map {
address[] keys;
mapping(address => uint256) values;
mapping(address => uint256) indexOf;
mapping(address => bool) inserted;
}
function get(Map storage map, address key) public view returns (uint256) {
return map.values[key];
}
function getIndexOfKey(
Map storage map,
address key
) public view returns (int256) {
if (!map.inserted[key]) {
return -1;
}
return int256(map.indexOf[key]);
}
function getKeyAtIndex(
Map storage map,
uint256 index
) public view returns (address) {
return map.keys[index];
}
function size(Map storage map) public view returns (uint256) {
return map.keys.length;
}
function set(Map storage map, address key, uint256 val) public {
if (map.inserted[key]) {
map.values[key] = val;
} else {
map.inserted[key] = true;
map.values[key] = val;
map.indexOf[key] = map.keys.length;
map.keys.push(key);
}
}
function remove(Map storage map, address key) public {
if (!map.inserted[key]) {
return;
}
delete map.inserted[key];
delete map.values[key];
uint256 index = map.indexOf[key];
uint256 lastIndex = map.keys.length - 1;
address lastKey = map.keys[lastIndex];
map.indexOf[lastKey] = index;
delete map.indexOf[key];
map.keys[index] = lastKey;
map.keys.pop();
}
}
// Dependency file: contracts/tokens/DividendCertificates.sol
// pragma solidity 0.8.17;
// import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
// import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol";
// import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
// import "@openzeppelin/contracts/access/Ownable.sol";
// import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
// import "@openzeppelin/contracts/utils/math/SafeMath.sol";
// import "contracts/interfaces/IUniswapV2Factory.sol";
// import "contracts/interfaces/IUniswapV2Router02.sol";
// import "contracts/interfaces/IUniswapV2Pair.sol";
// import "contracts/libs/SafeMathInt.sol";
// import "contracts/libs/SafeMathUint.sol";
// import "contracts/tokens/IterableMapping.sol";
/// @title Dividend-Paying Token Interface
/// @dev An interface for a dividend-paying token contract.
interface DividendPayingTokenInterface {
/// @notice View the amount of dividend in wei that an address can withdraw.
/// @param _owner The address of a token holder.
/// @return The amount of dividend in wei that `_owner` can withdraw.
function dividendOf(address _owner) external view returns (uint256);
/// @notice Withdraws the ether distributed to the sender.
/// @dev SHOULD transfer `dividendOf(msg.sender)` wei to `msg.sender`, and `dividendOf(msg.sender)` SHOULD be 0 after the transfer.
/// MUST emit a `DividendWithdrawn` event if the amount of ether transferred is greater than 0.
function withdrawDividend() external;
/// @dev This event MUST emit when ether is distributed to token holders.
/// @param from The address which sends ether to this contract.
/// @param weiAmount The amount of distributed ether in wei.
event DividendsDistributed(address indexed from, uint256 weiAmount);
/// @dev This event MUST emit when an address withdraws their dividend.
/// @param to The address which withdraws ether from this contract.
/// @param weiAmount The amount of withdrawn ether in wei.
event DividendWithdrawn(address indexed to, uint256 weiAmount);
}
/// @title Dividend-Paying Token Optional Interface
/// @dev OPTIONAL functions for a dividend-paying token contract.
interface DividendPayingTokenOptionalInterface {
/// @notice View the amount of dividend in wei that an address can withdraw.
/// @param _owner The address of a token holder.
/// @return The amount of dividend in wei that `_owner` can withdraw.
function withdrawableDividendOf(
address _owner
) external view returns (uint256);
/// @notice View the amount of dividend in wei that an address has withdrawn.
/// @param _owner The address of a token holder.
/// @return The amount of dividend in wei that `_owner` has withdrawn.
function withdrawnDividendOf(
address _owner
) external view returns (uint256);
/// @notice View the amount of dividend in wei that an address has earned in total.
/// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner)
/// @param _owner The address of a token holder.
/// @return The amount of dividend in wei that `_owner` has earned in total.
function accumulativeDividendOf(
address _owner
) external view returns (uint256);
}
/// @title Dividend-Paying Token
/// @dev A mintable ERC20 token that allows anyone to pay and distribute ether
/// to token holders as dividends and allows token holders to withdraw their dividends.
contract DividendPayingToken is
ERC20Upgradeable,
OwnableUpgradeable,
DividendPayingTokenInterface,
DividendPayingTokenOptionalInterface
{
using SafeMath for uint256;
using SafeMathUint for uint256;
using SafeMathInt for int256;
address public rewardToken;
uint256 internal constant magnitude = 2 ** 128;
uint256 internal magnifiedDividendPerShare;
// About dividendCorrection:
// If the token balance of a `_user` is never changed, the dividend of `_user` can be computed with:
// `dividendOf(_user) = dividendPerShare * balanceOf(_user)`.
// When `balanceOf(_user)` is changed (via minting/burning/transferring tokens),
// `dividendOf(_user)` should not be changed,
// but the computed value of `dividendPerShare * balanceOf(_user)` is changed.
// To keep the `dividendOf(_user)` unchanged, we add a correction term:
// `dividendOf(_user) = dividendPerShare * balanceOf(_user) + dividendCorrectionOf(_user)`,
// where `dividendCorrectionOf(_user)` is updated whenever `balanceOf(_user)` is changed:
// `dividendCorrectionOf(_user) = dividendPerShare * (old balanceOf(_user)) - (new balanceOf(_user))`.
// So now `dividendOf(_user)` returns the same value before and after `balanceOf(_user)` is changed.
mapping(address => int256) internal magnifiedDividendCorrections;
mapping(address => uint256) internal withdrawnDividends;
uint256 public totalDividendsDistributed;
function __DividendPayingToken_init(
address _rewardToken,
string memory _name,
string memory _symbol
) internal initializer {
__Ownable_init();
__ERC20_init(_name, _symbol);
rewardToken = _rewardToken;
}
function distributeDividends(uint256 amount) public onlyOwner {
require(totalSupply() > 0);
if (amount > 0) {
magnifiedDividendPerShare = magnifiedDividendPerShare.add(
(amount).mul(magnitude) / totalSupply()
);
emit DividendsDistributed(msg.sender, amount);
totalDividendsDistributed = totalDividendsDistributed.add(amount);
}
}
/// @notice Withdraws the ether distributed to the sender.
/// @dev It emits a `DividendWithdrawn` event if the amount of withdrawn ether is greater than 0.
function withdrawDividend() public virtual override {
_withdrawDividendOfUser(payable(msg.sender));
}
/// @notice Withdraws the ether distributed to the sender.
/// @dev It emits a `DividendWithdrawn` event if the amount of withdrawn ether is greater than 0.
function _withdrawDividendOfUser(
address payable user
) internal returns (uint256) {
uint256 _withdrawableDividend = withdrawableDividendOf(user);
if (_withdrawableDividend > 0) {
withdrawnDividends[user] = withdrawnDividends[user].add(
_withdrawableDividend
);
emit DividendWithdrawn(user, _withdrawableDividend);
bool success = IERC20(rewardToken).transfer(
user,
_withdrawableDividend
);
if (!success) {
withdrawnDividends[user] = withdrawnDividends[user].sub(
_withdrawableDividend
);
return 0;
}
return _withdrawableDividend;
}
return 0;
}
/// @notice View the amount of dividend in wei that an address can withdraw.
/// @param _owner The address of a token holder.
/// @return The amount of dividend in wei that `_owner` can withdraw.
function dividendOf(address _owner) public view override returns (uint256) {
return withdrawableDividendOf(_owner);
}
/// @notice View the amount of dividend in wei that an address can withdraw.
/// @param _owner The address of a token holder.
/// @return The amount of dividend in wei that `_owner` can withdraw.
function withdrawableDividendOf(
address _owner
) public view override returns (uint256) {
return accumulativeDividendOf(_owner).sub(withdrawnDividends[_owner]);
}
/// @notice View the amount of dividend in wei that an address has withdrawn.
/// @param _owner The address of a token holder.
/// @return The amount of dividend in wei that `_owner` has withdrawn.
function withdrawnDividendOf(
address _owner
) public view override returns (uint256) {
return withdrawnDividends[_owner];
}
/// @notice View the amount of dividend in wei that an address has earned in total.
/// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner)
/// = (magnifiedDividendPerShare * balanceOf(_owner) + magnifiedDividendCorrections[_owner]) / magnitude
/// @param _owner The address of a token holder.
/// @return The amount of dividend in wei that `_owner` has earned in total.
function accumulativeDividendOf(
address _owner
) public view override returns (uint256) {
return
magnifiedDividendPerShare
.mul(balanceOf(_owner))
.toInt256Safe()
.add(magnifiedDividendCorrections[_owner])
.toUint256Safe() / magnitude;
}
/// @dev Internal function that transfer tokens from one address to another.
/// Update magnifiedDividendCorrections to keep dividends unchanged.
/// @param from The address to transfer from.
/// @param to The address to transfer to.
/// @param value The amount to be transferred.
function _transfer(
address from,
address to,
uint256 value
) internal virtual override {
require(false);
int256 _magCorrection = magnifiedDividendPerShare
.mul(value)
.toInt256Safe();
magnifiedDividendCorrections[from] = magnifiedDividendCorrections[from]
.add(_magCorrection);
magnifiedDividendCorrections[to] = magnifiedDividendCorrections[to].sub(
_magCorrection
);
}
/// @dev Internal function that mints tokens to an account.
/// Update magnifiedDividendCorrections to keep dividends unchanged.
/// @param account The account that will receive the created tokens.
/// @param value The amount that will be created.
function _mint(address account, uint256 value) internal override {
super._mint(account, value);
magnifiedDividendCorrections[account] = magnifiedDividendCorrections[
account
].sub((magnifiedDividendPerShare.mul(value)).toInt256Safe());
}
/// @dev Internal function that burns an amount of the token of a given account.
/// Update magnifiedDividendCorrections to keep dividends unchanged.
/// @param account The account whose tokens will be burnt.
/// @param value The amount that will be burnt.
function _burn(address account, uint256 value) internal override {
super._burn(account, value);
magnifiedDividendCorrections[account] = magnifiedDividendCorrections[
account
].add((magnifiedDividendPerShare.mul(value)).toInt256Safe());
}
function _setBalance(address account, uint256 newBalance) internal {
uint256 currentBalance = balanceOf(account);
if (newBalance > currentBalance) {
uint256 mintAmount = newBalance.sub(currentBalance);
_mint(account, mintAmount);
} else if (newBalance < currentBalance) {
uint256 burnAmount = currentBalance.sub(newBalance);
_burn(account, burnAmount);
}
}
}
contract DividendCertificates is OwnableUpgradeable, DividendPayingToken {
using SafeMath for uint256;
using SafeMathInt for int256;
using IterableMapping for IterableMapping.Map;
IterableMapping.Map private tokenHoldersMap;
uint256 public lastProcessedIndex;
mapping(address => bool) public excludedFromDividends;
mapping(address => uint256) public lastClaimTimes;
uint256 public claimWait;
uint256 public minimumTokenBalanceForDividends;
event ExcludeFromDividends(address indexed account);
event ClaimWaitUpdated(uint256 indexed newValue, uint256 indexed oldValue);
event Claim(
address indexed account,
uint256 amount,
bool indexed automatic
);
function initialize(
address rewardToken_,
uint256 minimumTokenBalanceForDividends_
) external initializer {
DividendPayingToken.__DividendPayingToken_init(
rewardToken_,
"Dividend Certificatesr",
"Div"
);
claimWait = 3600;
minimumTokenBalanceForDividends = minimumTokenBalanceForDividends_;
}
function _transfer(address, address, uint256) internal pure override {
require(false, "DividendCertificates transfers are not allowed");
}
function withdrawDividend() public pure override {
require(false, "DividendCertificates withdrawDividend is disabled.");
}
function excludeFromDividends(address account) external onlyOwner {
require(!excludedFromDividends[account]);
excludedFromDividends[account] = true;
_setBalance(account, 0);
tokenHoldersMap.remove(account);
emit ExcludeFromDividends(account);
}
function isExcludedFromDividends(
address account
) public view returns (bool) {
return excludedFromDividends[account];
}
function updateClaimWait(uint256 newClaimWait) external onlyOwner {
require(
newClaimWait >= 3600 && newClaimWait <= 86400,
"ClaimWait must be between 1 to 24 hours"
);
require(
newClaimWait != claimWait,
"Cannot update newClaimWait to the same value"
);
emit ClaimWaitUpdated(newClaimWait, claimWait);
claimWait = newClaimWait;
}
function updateMinimumTokenBalanceForDividends(
uint256 amount
) external onlyOwner {
minimumTokenBalanceForDividends = amount;
}
function getLastProcessedIndex() external view returns (uint256) {
return lastProcessedIndex;
}
function getNumberOfTokenHolders() external view returns (uint256) {
return tokenHoldersMap.keys.length;
}
function getAccount(
address _account
)
public
view
returns (
address account,
int256 index,
int256 iterationsUntilProcessed,
uint256 withdrawableDividends,
uint256 totalDividends,
uint256 lastClaimTime,
uint256 nextClaimTime,
uint256 secondsUntilAutoClaimAvailable
)
{
account = _account;
index = tokenHoldersMap.getIndexOfKey(account);
iterationsUntilProcessed = -1;
if (index >= 0) {
if (uint256(index) > lastProcessedIndex) {
iterationsUntilProcessed = index.sub(
int256(lastProcessedIndex)
);
} else {
uint256 processesUntilEndOfArray = tokenHoldersMap.keys.length >
lastProcessedIndex
? tokenHoldersMap.keys.length.sub(lastProcessedIndex)
: 0;
iterationsUntilProcessed = index.add(
int256(processesUntilEndOfArray)
);
}
}
withdrawableDividends = withdrawableDividendOf(account);
totalDividends = accumulativeDividendOf(account);
lastClaimTime = lastClaimTimes[account];
nextClaimTime = lastClaimTime > 0 ? lastClaimTime.add(claimWait) : 0;
secondsUntilAutoClaimAvailable = nextClaimTime > block.timestamp
? nextClaimTime.sub(block.timestamp)
: 0;
}
function getAccountAtIndex(
uint256 index
)
public
view
returns (
address,
int256,
int256,
uint256,
uint256,
uint256,
uint256,
uint256
)
{
if (index >= tokenHoldersMap.size()) {
return (address(0), -1, -1, 0, 0, 0, 0, 0);
}
address account = tokenHoldersMap.getKeyAtIndex(index);
return getAccount(account);
}
function canAutoClaim(uint256 lastClaimTime) private view returns (bool) {
if (lastClaimTime > block.timestamp) {
return false;
}
return block.timestamp.sub(lastClaimTime) >= claimWait;
}
function setBalance(
address payable account,
uint256 newBalance
) external onlyOwner {
if (excludedFromDividends[account]) {
return;
}
if (newBalance >= minimumTokenBalanceForDividends) {
_setBalance(account, newBalance);
tokenHoldersMap.set(account, newBalance);
} else {
_setBalance(account, 0);
tokenHoldersMap.remove(account);
}
processAccount(account, true);
}
function process(uint256 gas) public returns (uint256, uint256, uint256) {
uint256 numberOfTokenHolders = tokenHoldersMap.keys.length;
if (numberOfTokenHolders == 0) {
return (0, 0, lastProcessedIndex);
}
uint256 _lastProcessedIndex = lastProcessedIndex;
uint256 gasUsed = 0;
uint256 gasLeft = gasleft();
uint256 iterations = 0;
uint256 claims = 0;
while (gasUsed < gas && iterations < numberOfTokenHolders) {
_lastProcessedIndex++;
if (_lastProcessedIndex >= tokenHoldersMap.keys.length) {
_lastProcessedIndex = 0;
}
address account = tokenHoldersMap.keys[_lastProcessedIndex];
if (canAutoClaim(lastClaimTimes[account])) {
if (processAccount(payable(account), true)) {
claims++;
}
}
iterations++;
uint256 newGasLeft = gasleft();
if (gasLeft > newGasLeft) {
gasUsed = gasUsed.add(gasLeft.sub(newGasLeft));
}
gasLeft = newGasLeft;
}
lastProcessedIndex = _lastProcessedIndex;
return (iterations, claims, lastProcessedIndex);
}
function processAccount(
address payable account,
bool automatic
) public onlyOwner returns (bool) {
uint256 amount = _withdrawDividendOfUser(account);
if (amount > 0) {
lastClaimTimes[account] = block.timestamp;
emit Claim(account, amount, automatic);
return true;
}
return false;
}
}
// Dependency file: contracts/BaseToken.sol
// pragma solidity 0.8.17;
enum TokenType {
standard,
liquidityGenerator,
dividentToken
}
abstract contract BaseToken {
event TokenCreated(
address indexed owner,
address indexed token,
TokenType tokenType,
uint256 version
);
}
// Root file: contracts/tokens/DividentToken.sol
pragma solidity 0.8.17;
contract Cowcoin is ERC20, Ownable, BaseToken {
using SafeMath for uint256;
uint256 public constant VERSION = 2;
address public DEAD = 0x000000000000000000000000000000000000dEaD;
address public ZERO = address(0); //0x0000000000000000000000000000000000000000
IUniswapV2Router02 public uniswapV2Router;
address public uniswapV2Pair;
bool private swapping;
DividendCertificates public dividendCertificates;
address public rewardToken;
uint256 public swapTokensAtAmount;
uint256 public tokenRewardsFee;
uint256 public liquidityFee;
uint256 public totalFees;
address payable public _liquidityWalletAddress;
uint256 public lastLpBurnTime;
uint256 public lpBurnRate;
uint256 public lpBurnFrequency;
uint256 public gasForProcessing;
// exlcude from fees and max transaction amount
mapping(address => bool) private _isExcludedFromFees;
// store addresses that a automatic market maker pairs. Any transfer *to* these addresses
// could be subject to a maximum transfer amount
mapping(address => bool) public automatedMarketMakerPairs;
event ExcludeFromFees(address indexed account);
event ExcludeMultipleAccountsFromFees(address[] accounts);
event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);
event GasForProcessingUpdated(
uint256 indexed newValue,
uint256 indexed oldValue
);
event SwapAndLiquify(
uint256 tokensSwapped,
uint256 ethReceived,
uint256 tokensIntoLiqudity
);
event SendDividends(uint256 amount);
event ProcessedDividendCertificates(
uint256 iterations,
uint256 claims,
uint256 lastProcessedIndex,
bool indexed automatic,
uint256 gas,
address indexed processor
);
event swapedETHForTokens(uint256 eth, uint256 tokens, address receiver);
event addLiquidityETH(uint256 eth, uint256 tokens, address receiver);
event transferTokens(uint256 _value, address receiver);
event rejected(string reason);
event SetSwapTokensAtAmount(uint256 _amount);
event SetTokenRewardsFee(uint256 _amount);
event SetLiquiditFee(uint256 _amount);
constructor(
string memory name_, // Cowcoin
string memory symbol_, // COW
uint256 totalSupply_, // 1.000.000.000 => 1000000000000000000000000000
uint8 decimal_, // 18
address dividendCertificatesAddress_, // 0x9795DcF2CfEe83456bCD4801eeB7a7f9c7A7551B
address uniswapV2Router_, // 0x10ED43C718714eb63d5aA57B78B54704E256024E pancake router
address payable liquidityWalletAddress_, // liquidity wallet
uint256 minimumTokenBalanceForDividends_ // 0
) payable ERC20(name_, symbol_, decimal_) {
rewardToken = address(this); // Set the reward token to this token
_liquidityWalletAddress = liquidityWalletAddress_;
lpBurnRate = 30; // 0.3 %
lpBurnFrequency = 24 hours; // 1 day
tokenRewardsFee = 10; //1 %
liquidityFee = 10; //1 %
totalFees = tokenRewardsFee.add(liquidityFee);
require(totalFees <= 250, "Total fee is over 25%");
swapTokensAtAmount = totalSupply_.div(1000); // 0.1%
gasForProcessing = 300000;
dividendCertificates = DividendCertificates(
payable(Clones.clone(dividendCertificatesAddress_))
);
dividendCertificates.initialize(
rewardToken,
minimumTokenBalanceForDividends_
);
uniswapV2Router = IUniswapV2Router02(uniswapV2Router_);
//Create a pair for this new token
address nativeCurrency = address(0);
nativeCurrency = uniswapV2Router.WETH();
uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(
address(this),
nativeCurrency
);
_setAutomatedMarketMakerPair(uniswapV2Pair, true);
// exclude from receiving dividends
dividendCertificates.excludeFromDividends(address(dividendCertificates));
dividendCertificates.excludeFromDividends(address(this));
dividendCertificates.excludeFromDividends(msg.sender);
dividendCertificates.excludeFromDividends(address(DEAD));
dividendCertificates.excludeFromDividends(address(ZERO));
dividendCertificates.excludeFromDividends(address(uniswapV2Router));
// exclude from paying fees or having max transaction amount
_isExcludedFromFees[msg.sender] = true;
_isExcludedFromFees[_liquidityWalletAddress] = true;
_isExcludedFromFees[address(this)] = true;
_mint(msg.sender, totalSupply_);
emit TokenCreated(
msg.sender,
address(this),
TokenType.dividentToken,
VERSION
);
}
receive() external payable {}
function setSwapTokensAtAmount(uint256 amount) external onlyOwner {
require(
amount > totalSupply() / 10 ** 5,
"Amount must be greater than 0.001% of total supply"
);
swapTokensAtAmount = amount;
emit SetSwapTokensAtAmount(amount);
}
function excludeFromFees(address account) external onlyOwner {
require(!_isExcludedFromFees[account], "Account is already excluded");
_isExcludedFromFees[account] = true;
emit ExcludeFromFees(account);
}
function excludeMultipleAccountsFromFees(
address[] calldata accounts
) external onlyOwner {
for (uint256 i = 0; i < accounts.length; i++) {
_isExcludedFromFees[accounts[i]] = true;
}
emit ExcludeMultipleAccountsFromFees(accounts);
}
function _setAutomatedMarketMakerPair(address pair, bool value) private {
require(
automatedMarketMakerPairs[pair] != value,
"Pair is already set to this address."
);
automatedMarketMakerPairs[pair] = value;
if (value) {
dividendCertificates.excludeFromDividends(pair);
}
emit SetAutomatedMarketMakerPair(pair, value);
}
function updateGasForProcessing(uint256 newValue) public onlyOwner {
require(
newValue >= 200000 && newValue <= 500000,
"GasForProcessing must be between 200,000 and 500,000."
);
require(
newValue != gasForProcessing,
"Cannot update gasForProcessing to same value."
);
emit GasForProcessingUpdated(newValue, gasForProcessing);
gasForProcessing = newValue;
}
function updateClaimWait(uint256 claimWait) external onlyOwner {
dividendCertificates.updateClaimWait(claimWait);
}
function getClaimWait() external view returns (uint256) {
return dividendCertificates.claimWait();
}
function updateMinimumTokenBalanceForDividends(
uint256 amount
) external onlyOwner {
dividendCertificates.updateMinimumTokenBalanceForDividends(amount);
}
function getMinimumTokenBalanceForDividends()
external
view
returns (uint256)
{
return dividendCertificates.minimumTokenBalanceForDividends();
}
function getTotalDividendsDistributed() external view returns (uint256) {
return dividendCertificates.totalDividendsDistributed();
}
function isExcludedFromFees(address account) public view returns (bool) {
return _isExcludedFromFees[account];
}
function withdrawableDividendOf(
address account
) public view returns (uint256) {
return dividendCertificates.withdrawableDividendOf(account);
}
function CowcoinBalanceOf(
address account
) public view returns (uint256) {
return dividendCertificates.balanceOf(account);
}
function excludeFromDividends(address account) external onlyOwner {
dividendCertificates.excludeFromDividends(account);
}
function isExcludedFromDividends(
address account
) public view returns (bool) {
return dividendCertificates.isExcludedFromDividends(account);
}
function getAccountDividendsInfo(
address account
)
external
view
returns (
address,
int256,
int256,
uint256,
uint256,
uint256,
uint256,
uint256
)
{
return dividendCertificates.getAccount(account);
}
function getAccountDividendsInfoAtIndex(
uint256 index
)
external
view
returns (
address,
int256,
int256,
uint256,
uint256,
uint256,
uint256,
uint256
)
{
return dividendCertificates.getAccountAtIndex(index);
}
function processDividendCertificates(uint256 gas) external {
(
uint256 iterations,
uint256 claims,
uint256 lastProcessedIndex
) = dividendCertificates.process(gas);
emit ProcessedDividendCertificates(
iterations,
claims,
lastProcessedIndex,
false,
gas,
tx.origin
);
}
function claim() external {
dividendCertificates.processAccount(payable(msg.sender), false);
}
function getLastProcessedIndex() external view returns (uint256) {
return dividendCertificates.getLastProcessedIndex();
}
function getNumberOfCowcoinHolders() external view returns (uint256) {
return dividendCertificates.getNumberOfTokenHolders();
}
function _transfer(
address from,
address to,
uint256 amount
) internal override {
require(from != address(0), "Can not transfer from the zero address");
if (amount == 0) {
super._transfer(from, to, 0);
return;
}
if (to == address(DEAD) || to == address(ZERO)) {
try
dividendCertificates.setBalance(
payable(from),
dividendCertificates.balanceOf(from) + amount
)
{} catch {}
super._transfer(from, to, amount);
return;
}
uint256 contractTokenBalance = balanceOf(address(this));
uint256 supply = circulatingSupply();
swapTokensAtAmount = (supply * 1) / 10000; // 0.01% = 1/10000
bool canSwap = contractTokenBalance >= swapTokensAtAmount;
if (
!swapping &&
automatedMarketMakerPairs[to] &&
block.timestamp >= lastLpBurnTime + lpBurnFrequency
) {
autoBurnLiquidityPairTokens();
} else if (
canSwap &&
!swapping &&
!automatedMarketMakerPairs[from] &&
from != owner() &&
to != owner() &&
totalFees > 0
) {
swapping = true;
if (liquidityFee > 0) {
uint256 swapTokens = contractTokenBalance.mul(liquidityFee).div(
totalFees
);
swapAndLiquify(swapTokens);
}
uint256 remainingTokens = balanceOf(address(this));
if (remainingTokens > 0) {
sentDividends(remainingTokens);
}
swapping = false;
}
bool takeFee = !swapping;
// if any account belongs to _isExcludedFromFee account then remove the fee
if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
takeFee = false;
}
if (takeFee && totalFees > 0) {
uint256 fees = amount.mul(totalFees).div(1000);
amount = amount.sub(fees);
super._transfer(from, address(this), fees);
}
super._transfer(from, to, amount);
if (!swapping) {
try dividendCertificates.process(gasForProcessing) returns (
uint256 iterations,
uint256 claims,
uint256 lastProcessedIndex
) {
emit ProcessedDividendCertificates(
iterations,
claims,
lastProcessedIndex,
true,
gasForProcessing,
tx.origin
);
} catch {}
}
}
function swapAndLiquify(uint256 tokens) private {
// split the contract balance into halves
uint256 half = tokens.div(2);
uint256 otherHalf = tokens.sub(half);
// capture the contract's current ETH balance.
// this is so that we can capture exactly the amount of ETH that the
// swap creates, and not make the liquidity event include any ETH that
// has been manually sent to the contract
uint256 initialBalance = address(this).balance;
// swap tokens for ETH
swapTokensForEth(half); // <- this breaks the ETH -> COW swap when swap+liquify is triggered
// how much ETH did we just swap into?
uint256 newBalance = address(this).balance.sub(initialBalance);
// add liquidity to uniswap
addLiquidity(otherHalf, newBalance);
emit SwapAndLiquify(half, newBalance, otherHalf);
}
function swapTokensForEth(uint256 tokenAmount) private {
// generate the uniswap pair path of token -> weth
address[] memory path = new address[](2);
path[0] = address(this);
path[1] = uniswapV2Router.WETH();
_approve(address(this), address(uniswapV2Router), tokenAmount);
uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
tokenAmount,
0, // accept any amount of ETH
path,
address(this),
block.timestamp
);
}
function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
// approve token transfer to cover all possible scenarios
_approve(address(this), address(uniswapV2Router), tokenAmount);
uniswapV2Router.addLiquidityETH{value: ethAmount}(
address(this),
tokenAmount,
0, // slippage is unavoidable
0, // slippage is unavoidable
_liquidityWalletAddress,
block.timestamp
);
}
function sentDividends(uint256 tokens) private {
// Transfer the tokens to the dividend tracker
bool success = IERC20(address(this)).transfer(
address(dividendCertificates),
tokens
);
if (success && dividendCertificates.totalSupply() > 0) {
dividendCertificates.distributeDividends(tokens);
emit SendDividends(tokens);
}
}
event AutoBurnLP(uint256 amount);
function autoBurnLiquidityPairTokens() internal {
lastLpBurnTime = block.timestamp;
// Get balance of liquidity pair
uint256 liquidityPairBalance = balanceOf(uniswapV2Pair);
if (liquidityPairBalance < 100 * 10 ** decimals()) {
return;
}
// Calculate amount to burn
uint256 amountToBurn = (liquidityPairBalance * lpBurnRate) / 10000;
// Pull tokens from pancakePair liquidity and move to dead address permanently
if (amountToBurn > 0) {
super._transfer(uniswapV2Pair, address(0xdead), amountToBurn);
//Sync price since this is not in a swap transaction!
IUniswapV2Pair pair = IUniswapV2Pair(uniswapV2Pair);
pair.sync();
emit AutoBurnLP(amountToBurn);
return;
}
}
function setlpBurnFrequency(uint256 _days) external onlyOwner {
require(_days >= 1, "Can not set less than 1 day");
lpBurnFrequency = _days * 24 hours;
}
function burn(uint256 amount) public virtual {
_transfer(_msgSender(), address(0), amount);
}
function burnFrom(address account, uint256 amount) public virtual {
uint256 currentAllowance = allowance(account, _msgSender());
require(
currentAllowance >= amount,
"ERC20: transfer amount exceeds allowance"
);
unchecked {
_approve(account, _msgSender(), currentAllowance - amount);
}
_transfer(account, address(0), amount);
}
function circulatingSupply() public view returns (uint256) {
return totalSupply() - balanceOf(DEAD) - balanceOf(ZERO);
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint256","name":"totalSupply_","type":"uint256"},{"internalType":"uint8","name":"decimal_","type":"uint8"},{"internalType":"address","name":"dividendCertificatesAddress_","type":"address"},{"internalType":"address","name":"uniswapV2Router_","type":"address"},{"internalType":"address payable","name":"liquidityWalletAddress_","type":"address"},{"internalType":"uint256","name":"minimumTokenBalanceForDividends_","type":"uint256"}],"stateMutability":"payable","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":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"AutoBurnLP","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"accounts","type":"address[]"}],"name":"ExcludeMultipleAccountsFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"newValue","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"oldValue","type":"uint256"}],"name":"GasForProcessingUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"iterations","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"claims","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lastProcessedIndex","type":"uint256"},{"indexed":true,"internalType":"bool","name":"automatic","type":"bool"},{"indexed":false,"internalType":"uint256","name":"gas","type":"uint256"},{"indexed":true,"internalType":"address","name":"processor","type":"address"}],"name":"ProcessedDividendCertificates","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SendDividends","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"SetLiquiditFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"SetSwapTokensAtAmount","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"SetTokenRewardsFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"enum TokenType","name":"tokenType","type":"uint8"},{"indexed":false,"internalType":"uint256","name":"version","type":"uint256"}],"name":"TokenCreated","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"eth","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokens","type":"uint256"},{"indexed":false,"internalType":"address","name":"receiver","type":"address"}],"name":"addLiquidityETH","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"reason","type":"string"}],"name":"rejected","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"eth","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokens","type":"uint256"},{"indexed":false,"internalType":"address","name":"receiver","type":"address"}],"name":"swapedETHForTokens","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"},{"indexed":false,"internalType":"address","name":"receiver","type":"address"}],"name":"transferTokens","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"CowcoinBalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEAD","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"VERSION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ZERO","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_liquidityWalletAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","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":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"circulatingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","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":[],"name":"dividendCertificates","outputs":[{"internalType":"contract DividendCertificates","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"}],"name":"excludeMultipleAccountsFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"gasForProcessing","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getAccountDividendsInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getAccountDividendsInfoAtIndex","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getClaimWait","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLastProcessedIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMinimumTokenBalanceForDividends","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumberOfCowcoinHolders","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalDividendsDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"account","type":"address"}],"name":"isExcludedFromDividends","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastLpBurnTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpBurnFrequency","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpBurnRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"gas","type":"uint256"}],"name":"processDividendCertificates","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_days","type":"uint256"}],"name":"setlpBurnFrequency","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","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":"tokenRewardsFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"claimWait","type":"uint256"}],"name":"updateClaimWait","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"updateGasForProcessing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"updateMinimumTokenBalanceForDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"withdrawableDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]Contract Creation Code
60806040819052600780546001600160a01b031990811661dead179091556008805490911690556200398538819003908190833981016040819052620000459162000ad0565b878786600462000056848262000c2d565b50600562000065838262000c2d565b506003805460ff191660ff92909216919091179055506200008f9050620000893390565b6200068b565b600c8054306001600160a01b031991821617909155601180549091166001600160a01b038416179055601e60135562015180601455600a600e819055600f819055620000e89080620006dd602090811b6200186117901c565b601081905560fa1015620001435760405162461bcd60e51b815260206004820152601560248201527f546f74616c20666565206973206f76657220323525000000000000000000000060448201526064015b60405180910390fd5b6200015f6103e887620006f460201b620018741790919060201c565b600d55620493e0601555620001808462000702602090811b6200188017901c565b600b80546001600160a01b0319166001600160a01b03928316908117909155600c5460405163cd6dc68760e01b815292166004830152602482018390529063cd6dc68790604401600060405180830381600087803b158015620001e257600080fd5b505af1158015620001f7573d6000803e3d6000fd5b5050600980546001600160a01b0319166001600160a01b038716908117909155604080516315ab88c960e31b815290516000945091925063ad5c46489160048083019260209291908290030181865afa15801562000259573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200027f919062000cf9565b9050600960009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015620002d5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002fb919062000cf9565b6040516364e329cb60e11b81523060048201526001600160a01b038381166024830152919091169063c9c65396906044016020604051808303816000875af11580156200034c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000372919062000cf9565b600a80546001600160a01b0319166001600160a01b039290921691821790556200039e906001620007b1565b600b5460405163031e79db60e41b81526001600160a01b0390911660048201819052906331e79db090602401600060405180830381600087803b158015620003e557600080fd5b505af1158015620003fa573d6000803e3d6000fd5b5050600b5460405163031e79db60e41b81523060048201526001600160a01b0390911692506331e79db09150602401600060405180830381600087803b1580156200044457600080fd5b505af115801562000459573d6000803e3d6000fd5b5050600b5460405163031e79db60e41b81523360048201526001600160a01b0390911692506331e79db09150602401600060405180830381600087803b158015620004a357600080fd5b505af1158015620004b8573d6000803e3d6000fd5b5050600b5460075460405163031e79db60e41b81526001600160a01b039182166004820152911692506331e79db09150602401600060405180830381600087803b1580156200050657600080fd5b505af11580156200051b573d6000803e3d6000fd5b5050600b5460085460405163031e79db60e41b81526001600160a01b039182166004820152911692506331e79db09150602401600060405180830381600087803b1580156200056957600080fd5b505af11580156200057e573d6000803e3d6000fd5b5050600b5460095460405163031e79db60e41b81526001600160a01b039182166004820152911692506331e79db09150602401600060405180830381600087803b158015620005cc57600080fd5b505af1158015620005e1573d6000803e3d6000fd5b5050336000818152601660205260408082208054600160ff1991821681179092556011546001600160a01b03168452828420805482168317905530845291909220805490911690911790556200063b9250905088620008fb565b604051309033907f56358b41df5fa59f5639228f0930994cbdde383c8a8fd74e06c04e1deebe3562906200067490600290819062000d20565b60405180910390a350505050505050505062000d92565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000620006eb828462000d4d565b90505b92915050565b6000620006eb828462000d6f565b60006040517f3d602d80600a3d3981f3363d3d373d3d3d363d7300000000000000000000000081528260601b60148201526e5af43d82803e903d91602b57fd5bf360881b60288201526037816000f09150506001600160a01b038116620007ac5760405162461bcd60e51b815260206004820152601660248201527f455243313136373a20637265617465206661696c65640000000000000000000060448201526064016200013a565b919050565b6001600160a01b03821660009081526017602052604090205481151560ff9091161515036200082f5760405162461bcd60e51b8152602060048201526024808201527f5061697220697320616c72656164792073657420746f2074686973206164647260448201526332b9b99760e11b60648201526084016200013a565b6001600160a01b0382166000908152601760205260409020805460ff19168215801591909117909155620008bf57600b5460405163031e79db60e41b81526001600160a01b038481166004830152909116906331e79db090602401600060405180830381600087803b158015620008a557600080fd5b505af1158015620008ba573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6001600160a01b038216620009535760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016200013a565b806002600082825462000967919062000d4d565b90915550506001600160a01b038216600090815260208190526040812080548392906200099690849062000d4d565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011262000a0d57600080fd5b81516001600160401b038082111562000a2a5762000a2a620009e5565b604051601f8301601f19908116603f0116810190828211818310171562000a555762000a55620009e5565b8160405283815260209250868385880101111562000a7257600080fd5b600091505b8382101562000a96578582018301518183018401529082019062000a77565b600093810190920192909252949350505050565b6001600160a01b038116811462000ac057600080fd5b50565b8051620007ac8162000aaa565b600080600080600080600080610100898b03121562000aee57600080fd5b88516001600160401b038082111562000b0657600080fd5b62000b148c838d01620009fb565b995060208b015191508082111562000b2b57600080fd5b5062000b3a8b828c01620009fb565b97505060408901519550606089015160ff8116811462000b5957600080fd5b945062000b6960808a0162000ac3565b935062000b7960a08a0162000ac3565b925062000b8960c08a0162000ac3565b915060e089015190509295985092959890939650565b600181811c9082168062000bb457607f821691505b60208210810362000bd557634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620009e057600081815260208120601f850160051c8101602086101562000c045750805b601f850160051c820191505b8181101562000c255782815560010162000c10565b505050505050565b81516001600160401b0381111562000c495762000c49620009e5565b62000c618162000c5a845462000b9f565b8462000bdb565b602080601f83116001811462000c99576000841562000c805750858301515b600019600386901b1c1916600185901b17855562000c25565b600085815260208120601f198616915b8281101562000cca5788860151825594840194600190910190840162000ca9565b508582101562000ce95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121562000d0c57600080fd5b815162000d198162000aaa565b9392505050565b604081016003841062000d4357634e487b7160e01b600052602160045260246000fd5b9281526020015290565b80820180821115620006ee57634e487b7160e01b600052601160045260246000fd5b60008262000d8d57634e487b7160e01b600052601260045260246000fd5b500490565b612be38062000da26000396000f3fe6080604052600436106103545760003560e01c806379cc6790116101c6578063b62496f5116100f7578063e708a0f911610095578063f27fd2541161006f578063f27fd254146109e5578063f2fde38b14610a05578063f7c618c114610a25578063ffa1ad7414610a4557600080fd5b8063e708a0f91461099a578063e7841ec0146109b0578063e98030c7146109c557600080fd5b8063d2448399116100d1578063d244839914610909578063dd62ed3e1461091e578063e2f4560514610964578063e57f14e11461097a57600080fd5b8063b62496f5146108a4578063bdd4f29f146108d4578063c705c569146108e957600080fd5b8063a26579ad11610164578063a8b9d2401161013e578063a8b9d240146107df578063a9059cbb146107ff578063ad56c13c1461081f578063afa4f3b21461088457600080fd5b8063a26579ad14610794578063a457c2d7146107a9578063a4c82a00146107c957600080fd5b80639358928b116101a05780639358928b1461073e57806395d89b411461075357806398118cb4146107685780639c1b8af51461077e57600080fd5b806379cc6790146106e0578063871c128d146107005780638da5cb5b1461072057600080fd5b80632e22d4ff116102a05780634e71d92d1161023e57806358fa63ca1161021857806358fa63ca14610655578063598995bd1461067557806370a0823114610695578063715018a6146106cb57600080fd5b80634e71d92d146105e75780634fbee193146105fc57806356d9b9a01461063557600080fd5b806331e79db01161027a57806331e79db014610567578063395093511461058757806342966c68146105a757806349bd5a5e146105c757600080fd5b80632e22d4ff1461051657806330bb4cff14610536578063313ce5671461054b57600080fd5b806313114a9d1161030d5780631e8fae3d116102e75780631e8fae3d146104aa5780631f9e11e5146104c057806323b872dd146104e05780632c3e486c1461050057600080fd5b806313114a9d146104515780631694505e1461047557806318160ddd1461049557600080fd5b806303fd2a451461036057806306fdde031461039d578063081b6caf146103bf578063095ea7b3146103df5780630c43c79b1461040f5780630dcb2e891461043157600080fd5b3661035b57005b600080fd5b34801561036c57600080fd5b50600754610380906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156103a957600080fd5b506103b2610a5a565b60405161039491906125fc565b3480156103cb57600080fd5b50600b54610380906001600160a01b031681565b3480156103eb57600080fd5b506103ff6103fa36600461265f565b610aec565b6040519015158152602001610394565b34801561041b57600080fd5b5061042f61042a36600461268b565b610b03565b005b34801561043d57600080fd5b5061042f61044c366004612700565b610be6565b34801561045d57600080fd5b5061046760105481565b604051908152602001610394565b34801561048157600080fd5b50600954610380906001600160a01b031681565b3480156104a157600080fd5b50600254610467565b3480156104b657600080fd5b5061046760135481565b3480156104cc57600080fd5b506104676104db366004612719565b610c72565b3480156104ec57600080fd5b506103ff6104fb366004612736565b610ce2565b34801561050c57600080fd5b5061046760145481565b34801561052257600080fd5b5061042f610531366004612700565b610d4b565b34801561054257600080fd5b50610467610dd9565b34801561055757600080fd5b5060405160128152602001610394565b34801561057357600080fd5b5061042f610582366004612719565b610e4c565b34801561059357600080fd5b506103ff6105a236600461265f565b610ea8565b3480156105b357600080fd5b5061042f6105c2366004612700565b610ee4565b3480156105d357600080fd5b50600a54610380906001600160a01b031681565b3480156105f357600080fd5b5061042f610ef3565b34801561060857600080fd5b506103ff610617366004612719565b6001600160a01b031660009081526016602052604090205460ff1690565b34801561064157600080fd5b50601154610380906001600160a01b031681565b34801561066157600080fd5b50600854610380906001600160a01b031681565b34801561068157600080fd5b5061042f610690366004612700565b610f68565b3480156106a157600080fd5b506104676106b0366004612719565b6001600160a01b031660009081526020819052604090205490565b3480156106d757600080fd5b5061042f61103b565b3480156106ec57600080fd5b5061042f6106fb36600461265f565b611071565b34801561070c57600080fd5b5061042f61071b366004612700565b6110bd565b34801561072c57600080fd5b506006546001600160a01b0316610380565b34801561074a57600080fd5b50610467611201565b34801561075f57600080fd5b506103b261124e565b34801561077457600080fd5b50610467600f5481565b34801561078a57600080fd5b5061046760155481565b3480156107a057600080fd5b5061046761125d565b3480156107b557600080fd5b506103ff6107c436600461265f565b6112a7565b3480156107d557600080fd5b5061046760125481565b3480156107eb57600080fd5b506104676107fa366004612719565b611340565b34801561080b57600080fd5b506103ff61081a36600461265f565b611373565b34801561082b57600080fd5b5061083f61083a366004612719565b611380565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e082015261010001610394565b34801561089057600080fd5b5061042f61089f366004612700565b61141b565b3480156108b057600080fd5b506103ff6108bf366004612719565b60176020526000908152604090205460ff1681565b3480156108e057600080fd5b50610467611500565b3480156108f557600080fd5b506103ff610904366004612719565b61154a565b34801561091557600080fd5b506104676115b9565b34801561092a57600080fd5b50610467610939366004612777565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561097057600080fd5b50610467600d5481565b34801561098657600080fd5b5061042f610995366004612719565b611603565b3480156109a657600080fd5b50610467600e5481565b3480156109bc57600080fd5b506104676116e2565b3480156109d157600080fd5b5061042f6109e0366004612700565b61172c565b3480156109f157600080fd5b5061083f610a00366004612700565b611787565b348015610a1157600080fd5b5061042f610a20366004612719565b6117c9565b348015610a3157600080fd5b50600c54610380906001600160a01b031681565b348015610a5157600080fd5b50610467600281565b606060048054610a69906127b0565b80601f0160208091040260200160405190810160405280929190818152602001828054610a95906127b0565b8015610ae25780601f10610ab757610100808354040283529160200191610ae2565b820191906000526020600020905b815481529060010190602001808311610ac557829003601f168201915b5050505050905090565b6000610af933848461191d565b5060015b92915050565b6006546001600160a01b03163314610b365760405162461bcd60e51b8152600401610b2d906127ea565b60405180910390fd5b60005b81811015610ba857600160166000858585818110610b5957610b5961281f565b9050602002016020810190610b6e9190612719565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610ba08161284b565b915050610b39565b507f6f058e77d614a1061fc197c99cdde12f5fa414c92529bbe8f48b02f8d9f4f95d8282604051610bda929190612864565b60405180910390a15050565b6006546001600160a01b03163314610c105760405162461bcd60e51b8152600401610b2d906127ea565b600b54604051630dcb2e8960e01b8152600481018390526001600160a01b0390911690630dcb2e89906024015b600060405180830381600087803b158015610c5757600080fd5b505af1158015610c6b573d6000803e3d6000fd5b5050505050565b600b546040516370a0823160e01b81526001600160a01b03838116600483015260009216906370a08231906024015b602060405180830381865afa158015610cbe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610afd91906128b2565b6000610cef848484611a41565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610d335760405162461bcd60e51b8152600401610b2d906128cb565b610d40853385840361191d565b506001949350505050565b6006546001600160a01b03163314610d755760405162461bcd60e51b8152600401610b2d906127ea565b6001811015610dc65760405162461bcd60e51b815260206004820152601b60248201527f43616e206e6f7420736574206c657373207468616e20312064617900000000006044820152606401610b2d565b610dd38162015180612913565b60145550565b600b54604080516342d359d760e11b815290516000926001600160a01b0316916385a6b3ae9160048083019260209291908290030181865afa158015610e23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e4791906128b2565b905090565b6006546001600160a01b03163314610e765760405162461bcd60e51b8152600401610b2d906127ea565b600b5460405163031e79db60e41b81526001600160a01b038381166004830152909116906331e79db090602401610c3d565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610af9918590610edf90869061292a565b61191d565b610ef033600083611a41565b50565b600b5460405163bc4c4b3760e01b8152336004820152600060248201526001600160a01b039091169063bc4c4b37906044016020604051808303816000875af1158015610f44573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef0919061293d565b600b546040516001624d3b8760e01b0319815260048101839052600091829182916001600160a01b03169063ffb2c479906024016060604051808303816000875af1158015610fbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fdf919061295f565b604080518481526020810184905290810182905260608101889052929550909350915032906000907fffd3d066c1eb4eb423af49a67f4db7c458979ef7ee33040f6d50861b51aa9ae5906080015b60405180910390a350505050565b6006546001600160a01b031633146110655760405162461bcd60e51b8152600401610b2d906127ea565b61106f6000611efa565b565b600061107d8333610939565b90508181101561109f5760405162461bcd60e51b8152600401610b2d906128cb565b6110ac833384840361191d565b6110b883600084611a41565b505050565b6006546001600160a01b031633146110e75760405162461bcd60e51b8152600401610b2d906127ea565b62030d4081101580156110fd57506207a1208111155b6111675760405162461bcd60e51b815260206004820152603560248201527f476173466f7250726f63657373696e67206d757374206265206265747765656e60448201527410191818161818181030b732101a9818161818181760591b6064820152608401610b2d565b60155481036111ce5760405162461bcd60e51b815260206004820152602d60248201527f43616e6e6f742075706461746520676173466f7250726f63657373696e67207460448201526c379039b0b6b2903b30b63ab29760991b6064820152608401610b2d565b60155460405182907f40d7e40e79af4e8e5a9b3c57030d8ea93f13d669c06d448c4d631d4ae7d23db790600090a3601555565b6008546001600160a01b03166000908152602081905260408120546007546001600160a01b0316600090815260208190526040902054600254611244919061298d565b610e47919061298d565b606060058054610a69906127b0565b600b5460408051631bc9e27b60e21b815290516000926001600160a01b031691636f2789ec9160048083019260209291908290030181865afa158015610e23573d6000803e3d6000fd5b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156113295760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610b2d565b611336338585840361191d565b5060019392505050565b600b546040516302a2e74960e61b81526001600160a01b038381166004830152600092169063a8b9d24090602401610ca1565b6000610af9338484611a41565b600b5460405163fbcbc0f160e01b81526001600160a01b038381166004830152600092839283928392839283928392839291169063fbcbc0f1906024015b61010060405180830381865afa1580156113dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061140091906129a0565b97509750975097509750975097509750919395975091939597565b6006546001600160a01b031633146114455760405162461bcd60e51b8152600401610b2d906127ea565b620186a061145260025490565b61145c9190612a0a565b81116114c55760405162461bcd60e51b815260206004820152603260248201527f416d6f756e74206d7573742062652067726561746572207468616e20302e30306044820152713125206f6620746f74616c20737570706c7960701b6064820152608401610b2d565b600d8190556040518181527f09e89af7cbd8410d0ad2a74ab3cc8d9ddeef8ab1177f0f8a1984d355bb9d78f19060200160405180910390a150565b600b5460408051632f842d8560e21b815290516000926001600160a01b03169163be10b6149160048083019260209291908290030181865afa158015610e23573d6000803e3d6000fd5b600b5460405163c705c56960e01b81526001600160a01b038381166004830152600092169063c705c56990602401602060405180830381865afa158015611595573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610afd919061293d565b600b54604080516304ddf6ef60e11b815290516000926001600160a01b0316916309bbedde9160048083019260209291908290030181865afa158015610e23573d6000803e3d6000fd5b6006546001600160a01b0316331461162d5760405162461bcd60e51b8152600401610b2d906127ea565b6001600160a01b03811660009081526016602052604090205460ff16156116965760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610b2d565b6001600160a01b038116600081815260166020526040808220805460ff19166001179055517f57a00f76b5f242fb1e04b0b514a6974665a5b07bce45e39f36dabff4a042d9369190a250565b600b546040805163039e107b60e61b815290516000926001600160a01b03169163e7841ec09160048083019260209291908290030181865afa158015610e23573d6000803e3d6000fd5b6006546001600160a01b031633146117565760405162461bcd60e51b8152600401610b2d906127ea565b600b5460405163e98030c760e01b8152600481018390526001600160a01b039091169063e98030c790602401610c3d565b600b54604051635183d6fd60e01b81526004810183905260009182918291829182918291829182916001600160a01b0390911690635183d6fd906024016113be565b6006546001600160a01b031633146117f35760405162461bcd60e51b8152600401610b2d906127ea565b6001600160a01b0381166118585760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b2d565b610ef081611efa565b600061186d828461292a565b9392505050565b600061186d8284612a0a565b6000604051733d602d80600a3d3981f3363d3d373d3d3d363d7360601b81528260601b60148201526e5af43d82803e903d91602b57fd5bf360881b60288201526037816000f09150506001600160a01b0381166119185760405162461bcd60e51b8152602060048201526016602482015275115490cc4c4d8dce8818dc99585d194819985a5b195960521b6044820152606401610b2d565b919050565b6001600160a01b03831661197f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610b2d565b6001600160a01b0382166119e05760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610b2d565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316611aa65760405162461bcd60e51b815260206004820152602660248201527f43616e206e6f74207472616e736665722066726f6d20746865207a65726f206160448201526564647265737360d01b6064820152608401610b2d565b80600003611aba576110b883836000611f4c565b6007546001600160a01b0383811691161480611ae357506008546001600160a01b038381169116145b15611bcf57600b546040516370a0823160e01b81526001600160a01b0385811660048301529091169063e30443bc908590849084906370a0823190602401602060405180830381865afa158015611b3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b6291906128b2565b611b6c919061292a565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015611bb257600080fd5b505af1925050508015611bc3575060015b506110b8838383611f4c565b3060009081526020819052604081205490611be8611201565b9050612710611bf8826001612913565b611c029190612a0a565b600d819055600a549083101590600160a01b900460ff16158015611c3e57506001600160a01b03851660009081526017602052604090205460ff165b8015611c595750601454601254611c55919061292a565b4210155b15611c6b57611c666120ab565b611d67565b808015611c825750600a54600160a01b900460ff16155b8015611ca757506001600160a01b03861660009081526017602052604090205460ff16155b8015611cc157506006546001600160a01b03878116911614155b8015611cdb57506006546001600160a01b03868116911614155b8015611ce957506000601054115b15611d6757600a805460ff60a01b1916600160a01b179055600f5415611d39576000611d2c601054611d26600f54876121d090919063ffffffff16565b90611874565b9050611d37816121dc565b505b306000908152602081905260409020548015611d5857611d5881612263565b50600a805460ff60a01b191690555b600a546001600160a01b03871660009081526016602052604090205460ff600160a01b909204821615911680611db557506001600160a01b03861660009081526016602052604090205460ff165b15611dbe575060005b808015611dcd57506000601054115b15611e0a576000611def6103e8611d26601054896121d090919063ffffffff16565b9050611dfb86826123e9565b9550611e08883083611f4c565b505b611e15878787611f4c565b600a54600160a01b900460ff16611ef157600b546015546040516001624d3b8760e01b031981526001600160a01b039092169163ffb2c47991611e5e9160040190815260200190565b6060604051808303816000875af1925050508015611e99575060408051601f3d908101601f19168201909252611e969181019061295f565b60015b15611ef157601554604080518581526020810185905280820184905260608101929092525132916001917fffd3d066c1eb4eb423af49a67f4db7c458979ef7ee33040f6d50861b51aa9ae59181900360800190a35050505b50505050505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316611fb05760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610b2d565b6001600160a01b038316600090815260208190526040902054818110156120285760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610b2d565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061205f90849061292a565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161102d91815260200190565b42601255600a546001600160a01b0316600090815260208190526040812054905060126120d990600a612b10565b6120e4906064612913565b8110156120ee5750565b6000612710601354836121019190612913565b61210b9190612a0a565b905080156121cc57600a5461212c906001600160a01b031661dead83611f4c565b600a546040805160016209351760e01b0319815290516001600160a01b0390921691829163fff6cae991600480830192600092919082900301818387803b15801561217657600080fd5b505af115801561218a573d6000803e3d6000fd5b505050507f30464008593337c7762c84338a125f5c481ce1997dbf1d7931bcce0b6430787a826040516121bf91815260200190565b60405180910390a1505050565b5050565b600061186d8284612913565b60006121e9826002611874565b905060006121f783836123e9565b905047612203836123f5565b600061220f47836123e9565b905061221b838261254f565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15050505050565b600b5460405163a9059cbb60e01b81526001600160a01b03909116600482015260248101829052600090309063a9059cbb906044016020604051808303816000875af11580156122b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122db919061293d565b90508080156123555750600b54604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd9160048083019260209291908290030181865afa15801561232f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061235391906128b2565b115b156121cc57600b54604051633243c79160e01b8152600481018490526001600160a01b0390911690633243c79190602401600060405180830381600087803b1580156123a057600080fd5b505af11580156123b4573d6000803e3d6000fd5b505050507fb0cc2628d6d644cf6be9d8110e142297ac910d6d8026d795a99f272fd9ad60b182604051610bda91815260200190565b600061186d828461298d565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061242a5761242a61281f565b6001600160a01b03928316602091820292909201810191909152600954604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015612483573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124a79190612b1f565b816001815181106124ba576124ba61281f565b6001600160a01b0392831660209182029290920101526009546124e0913091168461191d565b60095460405163791ac94760e01b81526001600160a01b039091169063791ac94790612519908590600090869030904290600401612b3c565b600060405180830381600087803b15801561253357600080fd5b505af1158015612547573d6000803e3d6000fd5b505050505050565b6009546125679030906001600160a01b03168461191d565b60095460115460405163f305d71960e01b81523060048201526024810185905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c40160606040518083038185885af11580156125d7573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610c6b919061295f565b600060208083528351808285015260005b818110156126295785810183015185820160400152820161260d565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610ef057600080fd5b6000806040838503121561267257600080fd5b823561267d8161264a565b946020939093013593505050565b6000806020838503121561269e57600080fd5b823567ffffffffffffffff808211156126b657600080fd5b818501915085601f8301126126ca57600080fd5b8135818111156126d957600080fd5b8660208260051b85010111156126ee57600080fd5b60209290920196919550909350505050565b60006020828403121561271257600080fd5b5035919050565b60006020828403121561272b57600080fd5b813561186d8161264a565b60008060006060848603121561274b57600080fd5b83356127568161264a565b925060208401356127668161264a565b929592945050506040919091013590565b6000806040838503121561278a57600080fd5b82356127958161264a565b915060208301356127a58161264a565b809150509250929050565b600181811c908216806127c457607f821691505b6020821081036127e457634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161285d5761285d612835565b5060010190565b60208082528181018390526000908460408401835b868110156128a757823561288c8161264a565b6001600160a01b031682529183019190830190600101612879565b509695505050505050565b6000602082840312156128c457600080fd5b5051919050565b60208082526028908201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616040820152676c6c6f77616e636560c01b606082015260800190565b8082028115828204841417610afd57610afd612835565b80820180821115610afd57610afd612835565b60006020828403121561294f57600080fd5b8151801515811461186d57600080fd5b60008060006060848603121561297457600080fd5b8351925060208401519150604084015190509250925092565b81810381811115610afd57610afd612835565b600080600080600080600080610100898b0312156129bd57600080fd5b88516129c88161264a565b809850506020890151965060408901519550606089015194506080890151935060a0890151925060c0890151915060e089015190509295985092959890939650565b600082612a2757634e487b7160e01b600052601260045260246000fd5b500490565b600181815b80851115612a67578160001904821115612a4d57612a4d612835565b80851615612a5a57918102915b93841c9390800290612a31565b509250929050565b600082612a7e57506001610afd565b81612a8b57506000610afd565b8160018114612aa15760028114612aab57612ac7565b6001915050610afd565b60ff841115612abc57612abc612835565b50506001821b610afd565b5060208310610133831016604e8410600b8410161715612aea575081810a610afd565b612af48383612a2c565b8060001904821115612b0857612b08612835565b029392505050565b600061186d60ff841683612a6f565b600060208284031215612b3157600080fd5b815161186d8161264a565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612b8c5784516001600160a01b031683529383019391830191600101612b67565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212200242693a19bb648271876be937ef9289d289c1ef6f592f850c72b893457a744b64736f6c63430008110033000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000033b2e3c9fd0803ce80000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000881772cc17ff69a1730b658c4ecc32e0852d985d00000000000000000000000010ed43c718714eb63d5aa57b78b54704e256024e000000000000000000000000000000000000000000000000000000000000dead00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007436f77636f696e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003434f570000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106103545760003560e01c806379cc6790116101c6578063b62496f5116100f7578063e708a0f911610095578063f27fd2541161006f578063f27fd254146109e5578063f2fde38b14610a05578063f7c618c114610a25578063ffa1ad7414610a4557600080fd5b8063e708a0f91461099a578063e7841ec0146109b0578063e98030c7146109c557600080fd5b8063d2448399116100d1578063d244839914610909578063dd62ed3e1461091e578063e2f4560514610964578063e57f14e11461097a57600080fd5b8063b62496f5146108a4578063bdd4f29f146108d4578063c705c569146108e957600080fd5b8063a26579ad11610164578063a8b9d2401161013e578063a8b9d240146107df578063a9059cbb146107ff578063ad56c13c1461081f578063afa4f3b21461088457600080fd5b8063a26579ad14610794578063a457c2d7146107a9578063a4c82a00146107c957600080fd5b80639358928b116101a05780639358928b1461073e57806395d89b411461075357806398118cb4146107685780639c1b8af51461077e57600080fd5b806379cc6790146106e0578063871c128d146107005780638da5cb5b1461072057600080fd5b80632e22d4ff116102a05780634e71d92d1161023e57806358fa63ca1161021857806358fa63ca14610655578063598995bd1461067557806370a0823114610695578063715018a6146106cb57600080fd5b80634e71d92d146105e75780634fbee193146105fc57806356d9b9a01461063557600080fd5b806331e79db01161027a57806331e79db014610567578063395093511461058757806342966c68146105a757806349bd5a5e146105c757600080fd5b80632e22d4ff1461051657806330bb4cff14610536578063313ce5671461054b57600080fd5b806313114a9d1161030d5780631e8fae3d116102e75780631e8fae3d146104aa5780631f9e11e5146104c057806323b872dd146104e05780632c3e486c1461050057600080fd5b806313114a9d146104515780631694505e1461047557806318160ddd1461049557600080fd5b806303fd2a451461036057806306fdde031461039d578063081b6caf146103bf578063095ea7b3146103df5780630c43c79b1461040f5780630dcb2e891461043157600080fd5b3661035b57005b600080fd5b34801561036c57600080fd5b50600754610380906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156103a957600080fd5b506103b2610a5a565b60405161039491906125fc565b3480156103cb57600080fd5b50600b54610380906001600160a01b031681565b3480156103eb57600080fd5b506103ff6103fa36600461265f565b610aec565b6040519015158152602001610394565b34801561041b57600080fd5b5061042f61042a36600461268b565b610b03565b005b34801561043d57600080fd5b5061042f61044c366004612700565b610be6565b34801561045d57600080fd5b5061046760105481565b604051908152602001610394565b34801561048157600080fd5b50600954610380906001600160a01b031681565b3480156104a157600080fd5b50600254610467565b3480156104b657600080fd5b5061046760135481565b3480156104cc57600080fd5b506104676104db366004612719565b610c72565b3480156104ec57600080fd5b506103ff6104fb366004612736565b610ce2565b34801561050c57600080fd5b5061046760145481565b34801561052257600080fd5b5061042f610531366004612700565b610d4b565b34801561054257600080fd5b50610467610dd9565b34801561055757600080fd5b5060405160128152602001610394565b34801561057357600080fd5b5061042f610582366004612719565b610e4c565b34801561059357600080fd5b506103ff6105a236600461265f565b610ea8565b3480156105b357600080fd5b5061042f6105c2366004612700565b610ee4565b3480156105d357600080fd5b50600a54610380906001600160a01b031681565b3480156105f357600080fd5b5061042f610ef3565b34801561060857600080fd5b506103ff610617366004612719565b6001600160a01b031660009081526016602052604090205460ff1690565b34801561064157600080fd5b50601154610380906001600160a01b031681565b34801561066157600080fd5b50600854610380906001600160a01b031681565b34801561068157600080fd5b5061042f610690366004612700565b610f68565b3480156106a157600080fd5b506104676106b0366004612719565b6001600160a01b031660009081526020819052604090205490565b3480156106d757600080fd5b5061042f61103b565b3480156106ec57600080fd5b5061042f6106fb36600461265f565b611071565b34801561070c57600080fd5b5061042f61071b366004612700565b6110bd565b34801561072c57600080fd5b506006546001600160a01b0316610380565b34801561074a57600080fd5b50610467611201565b34801561075f57600080fd5b506103b261124e565b34801561077457600080fd5b50610467600f5481565b34801561078a57600080fd5b5061046760155481565b3480156107a057600080fd5b5061046761125d565b3480156107b557600080fd5b506103ff6107c436600461265f565b6112a7565b3480156107d557600080fd5b5061046760125481565b3480156107eb57600080fd5b506104676107fa366004612719565b611340565b34801561080b57600080fd5b506103ff61081a36600461265f565b611373565b34801561082b57600080fd5b5061083f61083a366004612719565b611380565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e082015261010001610394565b34801561089057600080fd5b5061042f61089f366004612700565b61141b565b3480156108b057600080fd5b506103ff6108bf366004612719565b60176020526000908152604090205460ff1681565b3480156108e057600080fd5b50610467611500565b3480156108f557600080fd5b506103ff610904366004612719565b61154a565b34801561091557600080fd5b506104676115b9565b34801561092a57600080fd5b50610467610939366004612777565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561097057600080fd5b50610467600d5481565b34801561098657600080fd5b5061042f610995366004612719565b611603565b3480156109a657600080fd5b50610467600e5481565b3480156109bc57600080fd5b506104676116e2565b3480156109d157600080fd5b5061042f6109e0366004612700565b61172c565b3480156109f157600080fd5b5061083f610a00366004612700565b611787565b348015610a1157600080fd5b5061042f610a20366004612719565b6117c9565b348015610a3157600080fd5b50600c54610380906001600160a01b031681565b348015610a5157600080fd5b50610467600281565b606060048054610a69906127b0565b80601f0160208091040260200160405190810160405280929190818152602001828054610a95906127b0565b8015610ae25780601f10610ab757610100808354040283529160200191610ae2565b820191906000526020600020905b815481529060010190602001808311610ac557829003601f168201915b5050505050905090565b6000610af933848461191d565b5060015b92915050565b6006546001600160a01b03163314610b365760405162461bcd60e51b8152600401610b2d906127ea565b60405180910390fd5b60005b81811015610ba857600160166000858585818110610b5957610b5961281f565b9050602002016020810190610b6e9190612719565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610ba08161284b565b915050610b39565b507f6f058e77d614a1061fc197c99cdde12f5fa414c92529bbe8f48b02f8d9f4f95d8282604051610bda929190612864565b60405180910390a15050565b6006546001600160a01b03163314610c105760405162461bcd60e51b8152600401610b2d906127ea565b600b54604051630dcb2e8960e01b8152600481018390526001600160a01b0390911690630dcb2e89906024015b600060405180830381600087803b158015610c5757600080fd5b505af1158015610c6b573d6000803e3d6000fd5b5050505050565b600b546040516370a0823160e01b81526001600160a01b03838116600483015260009216906370a08231906024015b602060405180830381865afa158015610cbe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610afd91906128b2565b6000610cef848484611a41565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610d335760405162461bcd60e51b8152600401610b2d906128cb565b610d40853385840361191d565b506001949350505050565b6006546001600160a01b03163314610d755760405162461bcd60e51b8152600401610b2d906127ea565b6001811015610dc65760405162461bcd60e51b815260206004820152601b60248201527f43616e206e6f7420736574206c657373207468616e20312064617900000000006044820152606401610b2d565b610dd38162015180612913565b60145550565b600b54604080516342d359d760e11b815290516000926001600160a01b0316916385a6b3ae9160048083019260209291908290030181865afa158015610e23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e4791906128b2565b905090565b6006546001600160a01b03163314610e765760405162461bcd60e51b8152600401610b2d906127ea565b600b5460405163031e79db60e41b81526001600160a01b038381166004830152909116906331e79db090602401610c3d565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610af9918590610edf90869061292a565b61191d565b610ef033600083611a41565b50565b600b5460405163bc4c4b3760e01b8152336004820152600060248201526001600160a01b039091169063bc4c4b37906044016020604051808303816000875af1158015610f44573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef0919061293d565b600b546040516001624d3b8760e01b0319815260048101839052600091829182916001600160a01b03169063ffb2c479906024016060604051808303816000875af1158015610fbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fdf919061295f565b604080518481526020810184905290810182905260608101889052929550909350915032906000907fffd3d066c1eb4eb423af49a67f4db7c458979ef7ee33040f6d50861b51aa9ae5906080015b60405180910390a350505050565b6006546001600160a01b031633146110655760405162461bcd60e51b8152600401610b2d906127ea565b61106f6000611efa565b565b600061107d8333610939565b90508181101561109f5760405162461bcd60e51b8152600401610b2d906128cb565b6110ac833384840361191d565b6110b883600084611a41565b505050565b6006546001600160a01b031633146110e75760405162461bcd60e51b8152600401610b2d906127ea565b62030d4081101580156110fd57506207a1208111155b6111675760405162461bcd60e51b815260206004820152603560248201527f476173466f7250726f63657373696e67206d757374206265206265747765656e60448201527410191818161818181030b732101a9818161818181760591b6064820152608401610b2d565b60155481036111ce5760405162461bcd60e51b815260206004820152602d60248201527f43616e6e6f742075706461746520676173466f7250726f63657373696e67207460448201526c379039b0b6b2903b30b63ab29760991b6064820152608401610b2d565b60155460405182907f40d7e40e79af4e8e5a9b3c57030d8ea93f13d669c06d448c4d631d4ae7d23db790600090a3601555565b6008546001600160a01b03166000908152602081905260408120546007546001600160a01b0316600090815260208190526040902054600254611244919061298d565b610e47919061298d565b606060058054610a69906127b0565b600b5460408051631bc9e27b60e21b815290516000926001600160a01b031691636f2789ec9160048083019260209291908290030181865afa158015610e23573d6000803e3d6000fd5b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156113295760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610b2d565b611336338585840361191d565b5060019392505050565b600b546040516302a2e74960e61b81526001600160a01b038381166004830152600092169063a8b9d24090602401610ca1565b6000610af9338484611a41565b600b5460405163fbcbc0f160e01b81526001600160a01b038381166004830152600092839283928392839283928392839291169063fbcbc0f1906024015b61010060405180830381865afa1580156113dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061140091906129a0565b97509750975097509750975097509750919395975091939597565b6006546001600160a01b031633146114455760405162461bcd60e51b8152600401610b2d906127ea565b620186a061145260025490565b61145c9190612a0a565b81116114c55760405162461bcd60e51b815260206004820152603260248201527f416d6f756e74206d7573742062652067726561746572207468616e20302e30306044820152713125206f6620746f74616c20737570706c7960701b6064820152608401610b2d565b600d8190556040518181527f09e89af7cbd8410d0ad2a74ab3cc8d9ddeef8ab1177f0f8a1984d355bb9d78f19060200160405180910390a150565b600b5460408051632f842d8560e21b815290516000926001600160a01b03169163be10b6149160048083019260209291908290030181865afa158015610e23573d6000803e3d6000fd5b600b5460405163c705c56960e01b81526001600160a01b038381166004830152600092169063c705c56990602401602060405180830381865afa158015611595573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610afd919061293d565b600b54604080516304ddf6ef60e11b815290516000926001600160a01b0316916309bbedde9160048083019260209291908290030181865afa158015610e23573d6000803e3d6000fd5b6006546001600160a01b0316331461162d5760405162461bcd60e51b8152600401610b2d906127ea565b6001600160a01b03811660009081526016602052604090205460ff16156116965760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610b2d565b6001600160a01b038116600081815260166020526040808220805460ff19166001179055517f57a00f76b5f242fb1e04b0b514a6974665a5b07bce45e39f36dabff4a042d9369190a250565b600b546040805163039e107b60e61b815290516000926001600160a01b03169163e7841ec09160048083019260209291908290030181865afa158015610e23573d6000803e3d6000fd5b6006546001600160a01b031633146117565760405162461bcd60e51b8152600401610b2d906127ea565b600b5460405163e98030c760e01b8152600481018390526001600160a01b039091169063e98030c790602401610c3d565b600b54604051635183d6fd60e01b81526004810183905260009182918291829182918291829182916001600160a01b0390911690635183d6fd906024016113be565b6006546001600160a01b031633146117f35760405162461bcd60e51b8152600401610b2d906127ea565b6001600160a01b0381166118585760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b2d565b610ef081611efa565b600061186d828461292a565b9392505050565b600061186d8284612a0a565b6000604051733d602d80600a3d3981f3363d3d373d3d3d363d7360601b81528260601b60148201526e5af43d82803e903d91602b57fd5bf360881b60288201526037816000f09150506001600160a01b0381166119185760405162461bcd60e51b8152602060048201526016602482015275115490cc4c4d8dce8818dc99585d194819985a5b195960521b6044820152606401610b2d565b919050565b6001600160a01b03831661197f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610b2d565b6001600160a01b0382166119e05760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610b2d565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316611aa65760405162461bcd60e51b815260206004820152602660248201527f43616e206e6f74207472616e736665722066726f6d20746865207a65726f206160448201526564647265737360d01b6064820152608401610b2d565b80600003611aba576110b883836000611f4c565b6007546001600160a01b0383811691161480611ae357506008546001600160a01b038381169116145b15611bcf57600b546040516370a0823160e01b81526001600160a01b0385811660048301529091169063e30443bc908590849084906370a0823190602401602060405180830381865afa158015611b3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b6291906128b2565b611b6c919061292a565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015611bb257600080fd5b505af1925050508015611bc3575060015b506110b8838383611f4c565b3060009081526020819052604081205490611be8611201565b9050612710611bf8826001612913565b611c029190612a0a565b600d819055600a549083101590600160a01b900460ff16158015611c3e57506001600160a01b03851660009081526017602052604090205460ff165b8015611c595750601454601254611c55919061292a565b4210155b15611c6b57611c666120ab565b611d67565b808015611c825750600a54600160a01b900460ff16155b8015611ca757506001600160a01b03861660009081526017602052604090205460ff16155b8015611cc157506006546001600160a01b03878116911614155b8015611cdb57506006546001600160a01b03868116911614155b8015611ce957506000601054115b15611d6757600a805460ff60a01b1916600160a01b179055600f5415611d39576000611d2c601054611d26600f54876121d090919063ffffffff16565b90611874565b9050611d37816121dc565b505b306000908152602081905260409020548015611d5857611d5881612263565b50600a805460ff60a01b191690555b600a546001600160a01b03871660009081526016602052604090205460ff600160a01b909204821615911680611db557506001600160a01b03861660009081526016602052604090205460ff165b15611dbe575060005b808015611dcd57506000601054115b15611e0a576000611def6103e8611d26601054896121d090919063ffffffff16565b9050611dfb86826123e9565b9550611e08883083611f4c565b505b611e15878787611f4c565b600a54600160a01b900460ff16611ef157600b546015546040516001624d3b8760e01b031981526001600160a01b039092169163ffb2c47991611e5e9160040190815260200190565b6060604051808303816000875af1925050508015611e99575060408051601f3d908101601f19168201909252611e969181019061295f565b60015b15611ef157601554604080518581526020810185905280820184905260608101929092525132916001917fffd3d066c1eb4eb423af49a67f4db7c458979ef7ee33040f6d50861b51aa9ae59181900360800190a35050505b50505050505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316611fb05760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610b2d565b6001600160a01b038316600090815260208190526040902054818110156120285760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610b2d565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061205f90849061292a565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161102d91815260200190565b42601255600a546001600160a01b0316600090815260208190526040812054905060126120d990600a612b10565b6120e4906064612913565b8110156120ee5750565b6000612710601354836121019190612913565b61210b9190612a0a565b905080156121cc57600a5461212c906001600160a01b031661dead83611f4c565b600a546040805160016209351760e01b0319815290516001600160a01b0390921691829163fff6cae991600480830192600092919082900301818387803b15801561217657600080fd5b505af115801561218a573d6000803e3d6000fd5b505050507f30464008593337c7762c84338a125f5c481ce1997dbf1d7931bcce0b6430787a826040516121bf91815260200190565b60405180910390a1505050565b5050565b600061186d8284612913565b60006121e9826002611874565b905060006121f783836123e9565b905047612203836123f5565b600061220f47836123e9565b905061221b838261254f565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15050505050565b600b5460405163a9059cbb60e01b81526001600160a01b03909116600482015260248101829052600090309063a9059cbb906044016020604051808303816000875af11580156122b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122db919061293d565b90508080156123555750600b54604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd9160048083019260209291908290030181865afa15801561232f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061235391906128b2565b115b156121cc57600b54604051633243c79160e01b8152600481018490526001600160a01b0390911690633243c79190602401600060405180830381600087803b1580156123a057600080fd5b505af11580156123b4573d6000803e3d6000fd5b505050507fb0cc2628d6d644cf6be9d8110e142297ac910d6d8026d795a99f272fd9ad60b182604051610bda91815260200190565b600061186d828461298d565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061242a5761242a61281f565b6001600160a01b03928316602091820292909201810191909152600954604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015612483573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124a79190612b1f565b816001815181106124ba576124ba61281f565b6001600160a01b0392831660209182029290920101526009546124e0913091168461191d565b60095460405163791ac94760e01b81526001600160a01b039091169063791ac94790612519908590600090869030904290600401612b3c565b600060405180830381600087803b15801561253357600080fd5b505af1158015612547573d6000803e3d6000fd5b505050505050565b6009546125679030906001600160a01b03168461191d565b60095460115460405163f305d71960e01b81523060048201526024810185905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c40160606040518083038185885af11580156125d7573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610c6b919061295f565b600060208083528351808285015260005b818110156126295785810183015185820160400152820161260d565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610ef057600080fd5b6000806040838503121561267257600080fd5b823561267d8161264a565b946020939093013593505050565b6000806020838503121561269e57600080fd5b823567ffffffffffffffff808211156126b657600080fd5b818501915085601f8301126126ca57600080fd5b8135818111156126d957600080fd5b8660208260051b85010111156126ee57600080fd5b60209290920196919550909350505050565b60006020828403121561271257600080fd5b5035919050565b60006020828403121561272b57600080fd5b813561186d8161264a565b60008060006060848603121561274b57600080fd5b83356127568161264a565b925060208401356127668161264a565b929592945050506040919091013590565b6000806040838503121561278a57600080fd5b82356127958161264a565b915060208301356127a58161264a565b809150509250929050565b600181811c908216806127c457607f821691505b6020821081036127e457634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161285d5761285d612835565b5060010190565b60208082528181018390526000908460408401835b868110156128a757823561288c8161264a565b6001600160a01b031682529183019190830190600101612879565b509695505050505050565b6000602082840312156128c457600080fd5b5051919050565b60208082526028908201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616040820152676c6c6f77616e636560c01b606082015260800190565b8082028115828204841417610afd57610afd612835565b80820180821115610afd57610afd612835565b60006020828403121561294f57600080fd5b8151801515811461186d57600080fd5b60008060006060848603121561297457600080fd5b8351925060208401519150604084015190509250925092565b81810381811115610afd57610afd612835565b600080600080600080600080610100898b0312156129bd57600080fd5b88516129c88161264a565b809850506020890151965060408901519550606089015194506080890151935060a0890151925060c0890151915060e089015190509295985092959890939650565b600082612a2757634e487b7160e01b600052601260045260246000fd5b500490565b600181815b80851115612a67578160001904821115612a4d57612a4d612835565b80851615612a5a57918102915b93841c9390800290612a31565b509250929050565b600082612a7e57506001610afd565b81612a8b57506000610afd565b8160018114612aa15760028114612aab57612ac7565b6001915050610afd565b60ff841115612abc57612abc612835565b50506001821b610afd565b5060208310610133831016604e8410600b8410161715612aea575081810a610afd565b612af48383612a2c565b8060001904821115612b0857612b08612835565b029392505050565b600061186d60ff841683612a6f565b600060208284031215612b3157600080fd5b815161186d8161264a565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612b8c5784516001600160a01b031683529383019391830191600101612b67565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212200242693a19bb648271876be937ef9289d289c1ef6f592f850c72b893457a744b64736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000033b2e3c9fd0803ce80000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000881772cc17ff69a1730b658c4ecc32e0852d985d00000000000000000000000010ed43c718714eb63d5aa57b78b54704e256024e000000000000000000000000000000000000000000000000000000000000dead00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007436f77636f696e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003434f570000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): Cowcoin
Arg [1] : symbol_ (string): COW
Arg [2] : totalSupply_ (uint256): 1000000000000000000000000000
Arg [3] : decimal_ (uint8): 18
Arg [4] : dividendCertificatesAddress_ (address): 0x881772CC17fF69A1730b658C4eCC32e0852D985d
Arg [5] : uniswapV2Router_ (address): 0x10ED43C718714eb63d5aA57B78B54704E256024E
Arg [6] : liquidityWalletAddress_ (address): 0x000000000000000000000000000000000000dEaD
Arg [7] : minimumTokenBalanceForDividends_ (uint256): 1
-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [2] : 0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [4] : 000000000000000000000000881772cc17ff69a1730b658c4ecc32e0852d985d
Arg [5] : 00000000000000000000000010ed43c718714eb63d5aa57b78b54704e256024e
Arg [6] : 000000000000000000000000000000000000000000000000000000000000dead
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [9] : 436f77636f696e00000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [11] : 434f570000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
86621:17095:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;86751:64;;;;;;;;;;-1:-1:-1;86751:64:0;;;;-1:-1:-1;;;;;86751:64:0;;;;;;-1:-1:-1;;;;;178:32:1;;;160:51;;148:2;133:18;86751:64:0;;;;;;;;5400:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;87023:48::-;;;;;;;;;;-1:-1:-1;87023:48:0;;;;-1:-1:-1;;;;;87023:48:0;;;7633:194;;;;;;;;;;-1:-1:-1;7633:194:0;;;;;:::i;:::-;;:::i;:::-;;;1633:14:1;;1626:22;1608:41;;1596:2;1581:18;7633:194:0;1468:187:1;92205:294:0;;;;;;;;;;-1:-1:-1;92205:294:0;;;;;:::i;:::-;;:::i;:::-;;93672:183;;;;;;;;;;-1:-1:-1;93672:183:0;;;;;:::i;:::-;;:::i;87228:24::-;;;;;;;;;;;;;;;;;;;2611:25:1;;;2599:2;2584:18;87228:24:0;2465:177:1;86908:41:0;;;;;;;;;;-1:-1:-1;86908:41:0;;;;-1:-1:-1;;;;;86908:41:0;;;6520:108;;;;;;;;;;-1:-1:-1;6608:12:0;;6520:108;;87352:25;;;;;;;;;;;;;;;;94530:154;;;;;;;;;;-1:-1:-1;94530:154:0;;;;;:::i;:::-;;:::i;8309:529::-;;;;;;;;;;-1:-1:-1;8309:529:0;;;;;:::i;:::-;;:::i;87384:30::-;;;;;;;;;;;;;;;;102845:176;;;;;;;;;;-1:-1:-1;102845:176:0;;;;;:::i;:::-;;:::i;94061:146::-;;;;;;;;;;;;;:::i;6362:93::-;;;;;;;;;;-1:-1:-1;6362:93:0;;6445:2;3737:36:1;;3725:2;3710:18;6362:93:0;3595:184:1;94692:135:0;;;;;;;;;;-1:-1:-1;94692:135:0;;;;;:::i;:::-;;:::i;9247:290::-;;;;;;;;;;-1:-1:-1;9247:290:0;;;;;:::i;:::-;;:::i;103029:107::-;;;;;;;;;;-1:-1:-1;103029:107:0;;;;;:::i;:::-;;:::i;86956:28::-;;;;;;;;;;-1:-1:-1;86956:28:0;;;;-1:-1:-1;;;;;86956:28:0;;;96218:108;;;;;;;;;;;;;:::i;94215:126::-;;;;;;;;;;-1:-1:-1;94215:126:0;;;;;:::i;:::-;-1:-1:-1;;;;;94305:28:0;94281:4;94305:28;;;:19;:28;;;;;;;;;94215:126;87261:46;;;;;;;;;;-1:-1:-1;87261:46:0;;;;-1:-1:-1;;;;;87261:46:0;;;86822:32;;;;;;;;;;-1:-1:-1;86822:32:0;;;;-1:-1:-1;;;;;86822:32:0;;;95785:425;;;;;;;;;;-1:-1:-1;95785:425:0;;;;;:::i;:::-;;:::i;6691:143::-;;;;;;;;;;-1:-1:-1;6691:143:0;;;;;:::i;:::-;-1:-1:-1;;;;;6808:18:0;6781:7;6808:18;;;;;;;;;;;;6691:143;17405:94;;;;;;;;;;;;;:::i;103144:427::-;;;;;;;;;;-1:-1:-1;103144:427:0;;;;;:::i;:::-;;:::i;92937:468::-;;;;;;;;;;-1:-1:-1;92937:468:0;;;;;:::i;:::-;;:::i;16754:87::-;;;;;;;;;;-1:-1:-1;16827:6:0;;-1:-1:-1;;;;;16827:6:0;16754:87;;103579:134;;;;;;;;;;;;;:::i;5619:104::-;;;;;;;;;;;;;:::i;87194:27::-;;;;;;;;;;;;;;;;87423:31;;;;;;;;;;;;;;;;93550:114;;;;;;;;;;;;;:::i;10040:475::-;;;;;;;;;;-1:-1:-1;10040:475:0;;;;;:::i;:::-;;:::i;87316:29::-;;;;;;;;;;;;;;;;94349:173;;;;;;;;;;-1:-1:-1;94349:173:0;;;;;:::i;:::-;;:::i;7047:200::-;;;;;;;;;;-1:-1:-1;7047:200:0;;;;;:::i;:::-;;:::i;95015:372::-;;;;;;;;;;-1:-1:-1;95015:372:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;4365:32:1;;;4347:51;;4429:2;4414:18;;4407:34;;;;4457:18;;;4450:34;;;;4515:2;4500:18;;4493:34;;;;4558:3;4543:19;;4536:35;4385:3;4587:19;;4580:35;4646:3;4631:19;;4624:35;4690:3;4675:19;;4668:35;4334:3;4319:19;95015:372:0;4008:701:1;91650:302:0;;;;;;;;;;-1:-1:-1;91650:302:0;;;;;:::i;:::-;;:::i;87726:57::-;;;;;;;;;;-1:-1:-1;87726:57:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;93863:190;;;;;;;;;;;;;:::i;94835:172::-;;;;;;;;;;-1:-1:-1;94835:172:0;;;;;:::i;:::-;;:::i;96477:141::-;;;;;;;;;;;;;:::i;7310:176::-;;;;;;;;;;-1:-1:-1;7310:176:0;;;;;:::i;:::-;-1:-1:-1;;;;;7451:18:0;;;7424:7;7451:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;7310:176;87115:33;;;;;;;;;;;;;;;;91960:237;;;;;;;;;;-1:-1:-1;91960:237:0;;;;;:::i;:::-;;:::i;87157:30::-;;;;;;;;;;;;;;;;96334:135;;;;;;;;;;;;;:::i;93413:129::-;;;;;;;;;;-1:-1:-1;93413:129:0;;;;;:::i;:::-;;:::i;95395:382::-;;;;;;;;;;-1:-1:-1;95395:382:0;;;;;:::i;:::-;;:::i;17654:229::-;;;;;;;;;;-1:-1:-1;17654:229:0;;;;;:::i;:::-;;:::i;87080:26::-;;;;;;;;;;-1:-1:-1;87080:26:0;;;;-1:-1:-1;;;;;87080:26:0;;;86709:35;;;;;;;;;;;;86743:1;86709:35;;5400:100;5454:13;5487:5;5480:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5400:100;:::o;7633:194::-;7741:4;7758:39;4409:10;7781:7;7790:6;7758:8;:39::i;:::-;-1:-1:-1;7815:4:0;7633:194;;;;;:::o;92205:294::-;16827:6;;-1:-1:-1;;;;;16827:6:0;4409:10;16974:23;16966:68;;;;-1:-1:-1;;;16966:68:0;;;;;;;:::i;:::-;;;;;;;;;92326:9:::1;92321:112;92341:19:::0;;::::1;92321:112;;;92417:4;92382:19;:32;92402:8;;92411:1;92402:11;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;92382:32:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;92382:32:0;:39;;-1:-1:-1;;92382:39:0::1;::::0;::::1;;::::0;;;::::1;::::0;;92362:3;::::1;::::0;::::1;:::i;:::-;;;;92321:112;;;;92450:41;92482:8;;92450:41;;;;;;;:::i;:::-;;;;;;;;92205:294:::0;;:::o;93672:183::-;16827:6;;-1:-1:-1;;;;;16827:6:0;4409:10;16974:23;16966:68;;;;-1:-1:-1;;;16966:68:0;;;;;;;:::i;:::-;93781:20:::1;::::0;:66:::1;::::0;-1:-1:-1;;;93781:66:0;;::::1;::::0;::::1;2611:25:1::0;;;-1:-1:-1;;;;;93781:20:0;;::::1;::::0;:58:::1;::::0;2584:18:1;;93781:66:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;93672:183:::0;:::o;94530:154::-;94637:20;;:39;;-1:-1:-1;;;94637:39:0;;-1:-1:-1;;;;;178:32:1;;;94637:39:0;;;160:51:1;94610:7:0;;94637:20;;:30;;133:18:1;;94637:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;8309:529::-;8449:4;8466:36;8476:6;8484:9;8495:6;8466:9;:36::i;:::-;-1:-1:-1;;;;;8542:19:0;;8515:24;8542:19;;;:11;:19;;;;;;;;4409:10;8542:33;;;;;;;;8608:26;;;;8586:116;;;;-1:-1:-1;;;8586:116:0;;;;;;;:::i;:::-;8738:57;8747:6;4409:10;8788:6;8769:16;:25;8738:8;:57::i;:::-;-1:-1:-1;8826:4:0;;8309:529;-1:-1:-1;;;;8309:529:0:o;102845:176::-;16827:6;;-1:-1:-1;;;;;16827:6:0;4409:10;16974:23;16966:68;;;;-1:-1:-1;;;16966:68:0;;;;;;;:::i;:::-;102935:1:::1;102926:5;:10;;102918:50;;;::::0;-1:-1:-1;;;102918:50:0;;7767:2:1;102918:50:0::1;::::0;::::1;7749:21:1::0;7806:2;7786:18;;;7779:30;7845:29;7825:18;;;7818:57;7892:18;;102918:50:0::1;7565:351:1::0;102918:50:0::1;102997:16;:5:::0;103005:8:::1;102997:16;:::i;:::-;102979:15;:34:::0;-1:-1:-1;102845:176:0:o;94061:146::-;94151:20;;:48;;;-1:-1:-1;;;94151:48:0;;;;94124:7;;-1:-1:-1;;;;;94151:20:0;;:46;;:48;;;;;;;;;;;;;;:20;:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;94144:55;;94061:146;:::o;94692:135::-;16827:6;;-1:-1:-1;;;;;16827:6:0;4409:10;16974:23;16966:68;;;;-1:-1:-1;;;16966:68:0;;;;;;;:::i;:::-;94769:20:::1;::::0;:50:::1;::::0;-1:-1:-1;;;94769:50:0;;-1:-1:-1;;;;;178:32:1;;;94769:50:0::1;::::0;::::1;160:51:1::0;94769:20:0;;::::1;::::0;:41:::1;::::0;133:18:1;;94769:50:0::1;14:203:1::0;9247:290:0;4409:10;9360:4;9449:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;9449:34:0;;;;;;;;;;9360:4;;9377:130;;9427:7;;9449:47;;9486:10;;9449:47;:::i;:::-;9377:8;:130::i;103029:107::-;103085:43;4409:10;103117:1;103121:6;103085:9;:43::i;:::-;103029:107;:::o;96218:108::-;96255:20;;:63;;-1:-1:-1;;;96255:63:0;;96299:10;96255:63;;;8408:51:1;96255:20:0;8475:18:1;;;8468:50;-1:-1:-1;;;;;96255:20:0;;;;:35;;8381:18:1;;96255:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;95785:425::-;95972:20;;:33;;-1:-1:-1;;;;;;95972:33:0;;;;;2611:25:1;;;95870:18:0;;;;;;-1:-1:-1;;;;;95972:20:0;;:28;;2584:18:1;;95972:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;96021:181;;;9353:25:1;;;9409:2;9394:18;;9387:34;;;9437:18;;;9430:34;;;9495:2;9480:18;;9473:34;;;95855:150:0;;-1:-1:-1;95855:150:0;;-1:-1:-1;95855:150:0;-1:-1:-1;96182:9:0;;96144:5;;96021:181;;9340:3:1;9325:19;96021:181:0;;;;;;;;95844:366;;;95785:425;:::o;17405:94::-;16827:6;;-1:-1:-1;;;;;16827:6:0;4409:10;16974:23;16966:68;;;;-1:-1:-1;;;16966:68:0;;;;;;;:::i;:::-;17470:21:::1;17488:1;17470:9;:21::i;:::-;17405:94::o:0;103144:427::-;103221:24;103248:32;103258:7;4409:10;7310:176;:::i;103248:32::-;103221:59;;103333:6;103313:16;:26;;103291:116;;;;-1:-1:-1;;;103291:116:0;;;;;;;:::i;:::-;103443:58;103452:7;4409:10;103494:6;103475:16;:25;103443:8;:58::i;:::-;103525:38;103535:7;103552:1;103556:6;103525:9;:38::i;:::-;103210:361;103144:427;;:::o;92937:468::-;16827:6;;-1:-1:-1;;;;;16827:6:0;4409:10;16974:23;16966:68;;;;-1:-1:-1;;;16966:68:0;;;;;;;:::i;:::-;93049:6:::1;93037:8;:18;;:40;;;;;93071:6;93059:8;:18;;93037:40;93015:143;;;::::0;-1:-1:-1;;;93015:143:0;;9720:2:1;93015:143:0::1;::::0;::::1;9702:21:1::0;9759:2;9739:18;;;9732:30;9798:34;9778:18;;;9771:62;-1:-1:-1;;;9849:18:1;;;9842:51;9910:19;;93015:143:0::1;9518:417:1::0;93015:143:0::1;93203:16;;93191:8;:28:::0;93169:123:::1;;;::::0;-1:-1:-1;;;93169:123:0;;10142:2:1;93169:123:0::1;::::0;::::1;10124:21:1::0;10181:2;10161:18;;;10154:30;10220:34;10200:18;;;10193:62;-1:-1:-1;;;10271:18:1;;;10264:43;10324:19;;93169:123:0::1;9940:409:1::0;93169:123:0::1;93342:16;::::0;93308:51:::1;::::0;93332:8;;93308:51:::1;::::0;;;::::1;93370:16;:27:::0;92937:468::o;103579:134::-;103700:4;;-1:-1:-1;;;;;103700:4:0;103629:7;6808:18;;;;;;;;;;;103682:4;;-1:-1:-1;;;;;103682:4:0;6781:7;6808:18;;;;;;;;;;;6608:12;;103656:31;;;;:::i;:::-;:49;;;;:::i;5619:104::-;5675:13;5708:7;5701:14;;;;;:::i;93550:114::-;93624:20;;:32;;;-1:-1:-1;;;93624:32:0;;;;93597:7;;-1:-1:-1;;;;;93624:20:0;;:30;;:32;;;;;;;;;;;;;;:20;:32;;;;;;;;;;;;;;10040:475;4409:10;10158:4;10202:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;10202:34:0;;;;;;;;;;10269:35;;;;10247:122;;;;-1:-1:-1;;;10247:122:0;;10689:2:1;10247:122:0;;;10671:21:1;10728:2;10708:18;;;10701:30;10767:34;10747:18;;;10740:62;-1:-1:-1;;;10818:18:1;;;10811:35;10863:19;;10247:122:0;10487:401:1;10247:122:0;10405:67;4409:10;10428:7;10456:15;10437:16;:34;10405:8;:67::i;:::-;-1:-1:-1;10503:4:0;;10040:475;-1:-1:-1;;;10040:475:0:o;94349:173::-;94462:20;;:52;;-1:-1:-1;;;94462:52:0;;-1:-1:-1;;;;;178:32:1;;;94462:52:0;;;160:51:1;94435:7:0;;94462:20;;:43;;133:18:1;;94462:52:0;14:203:1;7047:200:0;7158:4;7175:42;4409:10;7199:9;7210:6;7175:9;:42::i;95015:372::-;95339:20;;:40;;-1:-1:-1;;;95339:40:0;;-1:-1:-1;;;;;178:32:1;;;95339:40:0;;;160:51:1;95145:7:0;;;;;;;;;;;;;;;;95339:20;;;:31;;133:18:1;;95339:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;95332:47;;;;;;;;;;;;;;;;95015:372;;;;;;;;;:::o;91650:302::-;16827:6;;-1:-1:-1;;;;;16827:6:0;4409:10;16974:23;16966:68;;;;-1:-1:-1;;;16966:68:0;;;;;;;:::i;:::-;91774:7:::1;91758:13;6608:12:::0;;;6520:108;91758:13:::1;:23;;;;:::i;:::-;91749:6;:32;91727:132;;;::::0;-1:-1:-1;;;91727:132:0;;12003:2:1;91727:132:0::1;::::0;::::1;11985:21:1::0;12042:2;12022:18;;;12015:30;12081:34;12061:18;;;12054:62;-1:-1:-1;;;12132:18:1;;;12125:48;12190:19;;91727:132:0::1;11801:414:1::0;91727:132:0::1;91870:18;:27:::0;;;91915:29:::1;::::0;2611:25:1;;;91915:29:0::1;::::0;2599:2:1;2584:18;91915:29:0::1;;;;;;;91650:302:::0;:::o;93863:190::-;93991:20;;:54;;;-1:-1:-1;;;93991:54:0;;;;93959:7;;-1:-1:-1;;;;;93991:20:0;;:52;;:54;;;;;;;;;;;;;;:20;:54;;;;;;;;;;;;;;94835:172;94946:20;;:53;;-1:-1:-1;;;94946:53:0;;-1:-1:-1;;;;;178:32:1;;;94946:53:0;;;160:51:1;94922:4:0;;94946:20;;:44;;133:18:1;;94946:53:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;96477:141::-;96564:20;;:46;;;-1:-1:-1;;;96564:46:0;;;;96537:7;;-1:-1:-1;;;;;96564:20:0;;:44;;:46;;;;;;;;;;;;;;:20;:46;;;;;;;;;;;;;;91960:237;16827:6;;-1:-1:-1;;;;;16827:6:0;4409:10;16974:23;16966:68;;;;-1:-1:-1;;;16966:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;92041:28:0;::::1;;::::0;;;:19:::1;:28;::::0;;;;;::::1;;92040:29;92032:69;;;::::0;-1:-1:-1;;;92032:69:0;;12422:2:1;92032:69:0::1;::::0;::::1;12404:21:1::0;12461:2;12441:18;;;12434:30;12500:29;12480:18;;;12473:57;12547:18;;92032:69:0::1;12220:351:1::0;92032:69:0::1;-1:-1:-1::0;;;;;92112:28:0;::::1;;::::0;;;:19:::1;:28;::::0;;;;;:35;;-1:-1:-1;;92112:35:0::1;92143:4;92112:35;::::0;;92165:24;::::1;::::0;92112:28;92165:24:::1;91960:237:::0;:::o;96334:135::-;96417:20;;:44;;;-1:-1:-1;;;96417:44:0;;;;96390:7;;-1:-1:-1;;;;;96417:20:0;;:42;;:44;;;;;;;;;;;;;;:20;:44;;;;;;;;;;;;;;93413:129;16827:6;;-1:-1:-1;;;;;16827:6:0;4409:10;16974:23;16966:68;;;;-1:-1:-1;;;16966:68:0;;;;;;;:::i;:::-;93487:20:::1;::::0;:47:::1;::::0;-1:-1:-1;;;93487:47:0;;::::1;::::0;::::1;2611:25:1::0;;;-1:-1:-1;;;;;93487:20:0;;::::1;::::0;:36:::1;::::0;2584:18:1;;93487:47:0::1;2465:177:1::0;95395:382:0;95724:20;;:45;;-1:-1:-1;;;95724:45:0;;;;;2611:25:1;;;95530:7:0;;;;;;;;;;;;;;;;-1:-1:-1;;;;;95724:20:0;;;;:38;;2584:18:1;;95724:45:0;2465:177:1;17654:229:0;16827:6;;-1:-1:-1;;;;;16827:6:0;4409:10;16974:23;16966:68;;;;-1:-1:-1;;;16966:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;17757:22:0;::::1;17735:110;;;::::0;-1:-1:-1;;;17735:110:0;;12778:2:1;17735:110:0::1;::::0;::::1;12760:21:1::0;12817:2;12797:18;;;12790:30;12856:34;12836:18;;;12829:62;-1:-1:-1;;;12907:18:1;;;12900:36;12953:19;;17735:110:0::1;12576:402:1::0;17735:110:0::1;17856:19;17866:8;17856:9;:19::i;20998:98::-:0;21056:7;21083:5;21087:1;21083;:5;:::i;:::-;21076:12;20998:98;-1:-1:-1;;;20998:98:0:o;22135:::-;22193:7;22220:5;22224:1;22220;:5;:::i;26124:622::-;26181:16;26251:4;26245:11;-1:-1:-1;;;26295:3:0;26270:128;26445:14;26439:4;26435:25;26428:4;26423:3;26419:14;26412:49;-1:-1:-1;;;26509:4:0;26504:3;26500:14;26475:139;26655:4;26650:3;26647:1;26640:20;26628:32;-1:-1:-1;;;;;;;26689:22:0;;26681:57;;;;-1:-1:-1;;;26681:57:0;;13185:2:1;26681:57:0;;;13167:21:1;13224:2;13204:18;;;13197:30;-1:-1:-1;;;13243:18:1;;;13236:52;13305:18;;26681:57:0;12983:346:1;26681:57:0;26124:622;;;:::o;13825:380::-;-1:-1:-1;;;;;13961:19:0;;13953:68;;;;-1:-1:-1;;;13953:68:0;;13536:2:1;13953:68:0;;;13518:21:1;13575:2;13555:18;;;13548:30;13614:34;13594:18;;;13587:62;-1:-1:-1;;;13665:18:1;;;13658:34;13709:19;;13953:68:0;13334:400:1;13953:68:0;-1:-1:-1;;;;;14040:21:0;;14032:68;;;;-1:-1:-1;;;14032:68:0;;13941:2:1;14032:68:0;;;13923:21:1;13980:2;13960:18;;;13953:30;14019:34;13999:18;;;13992:62;-1:-1:-1;;;14070:18:1;;;14063:32;14112:19;;14032:68:0;13739:398:1;14032:68:0;-1:-1:-1;;;;;14113:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;14165:32;;2611:25:1;;;14165:32:0;;2584:18:1;14165:32:0;;;;;;;13825:380;;;:::o;96626:2865::-;-1:-1:-1;;;;;96758:18:0;;96750:69;;;;-1:-1:-1;;;96750:69:0;;14344:2:1;96750:69:0;;;14326:21:1;14383:2;14363:18;;;14356:30;14422:34;14402:18;;;14395:62;-1:-1:-1;;;14473:18:1;;;14466:36;14519:19;;96750:69:0;14142:402:1;96750:69:0;96836:6;96846:1;96836:11;96832:93;;96864:28;96880:4;96886:2;96890:1;96864:15;:28::i;96832:93::-;96955:4;;-1:-1:-1;;;;;96941:19:0;;;96955:4;;96941:19;;:42;;-1:-1:-1;96978:4:0;;-1:-1:-1;;;;;96964:19:0;;;96978:4;;96964:19;96941:42;96937:343;;;97021:20;;97111:36;;-1:-1:-1;;;97111:36:0;;-1:-1:-1;;;;;178:32:1;;;97111:36:0;;;160:51:1;97021:20:0;;;;:31;;97083:4;;97150:6;;97021:20;;97111:30;;133:18:1;;97111:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:45;;;;:::i;:::-;97021:154;;-1:-1:-1;;;;;;97021:154:0;;;;;;;-1:-1:-1;;;;;14757:32:1;;;97021:154:0;;;14739:51:1;14806:18;;;14799:34;14712:18;;97021:154:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;97000:200;97214:33;97230:4;97236:2;97240:6;97214:15;:33::i;96937:343::-;97341:4;97292:28;6808:18;;;;;;;;;;;;97377:19;:17;:19::i;:::-;97360:36;-1:-1:-1;97443:5:0;97429:10;97360:36;97438:1;97429:10;:::i;:::-;97428:20;;;;:::i;:::-;97407:18;:41;;;97569:8;;97495:42;;;;;-1:-1:-1;;;97569:8:0;;;;97568:9;:55;;;;-1:-1:-1;;;;;;97594:29:0;;;;;;:25;:29;;;;;;;;97568:55;:123;;;;;97676:15;;97659:14;;:32;;;;:::i;:::-;97640:15;:51;;97568:123;97550:897;;;97718:29;:27;:29::i;:::-;97550:897;;;97783:7;:33;;;;-1:-1:-1;97808:8:0;;-1:-1:-1;;;97808:8:0;;;;97807:9;97783:33;:82;;;;-1:-1:-1;;;;;;97834:31:0;;;;;;:25;:31;;;;;;;;97833:32;97783:82;:114;;;;-1:-1:-1;16827:6:0;;-1:-1:-1;;;;;97882:15:0;;;16827:6;;97882:15;;97783:114;:144;;;;-1:-1:-1;16827:6:0;;-1:-1:-1;;;;;97914:13:0;;;16827:6;;97914:13;;97783:144;:174;;;;;97956:1;97944:9;;:13;97783:174;97765:682;;;97984:8;:15;;-1:-1:-1;;;;97984:15:0;-1:-1:-1;;;97984:15:0;;;98020:12;;:16;98016:216;;98057:18;98078:93;98143:9;;98078:38;98103:12;;98078:20;:24;;:38;;;;:::i;:::-;:42;;:93::i;:::-;98057:114;;98190:26;98205:10;98190:14;:26::i;:::-;98038:194;98016:216;98292:4;98248:23;6808:18;;;;;;;;;;;98317:19;;98313:90;;98357:30;98371:15;98357:13;:30::i;:::-;-1:-1:-1;98419:8:0;:16;;-1:-1:-1;;;;98419:16:0;;;97765:682;98475:8;;-1:-1:-1;;;;;98585:25:0;;98459:12;98585:25;;;:19;:25;;;;;;98475:8;-1:-1:-1;;;98475:8:0;;;;;98474:9;;98585:25;;:52;;-1:-1:-1;;;;;;98614:23:0;;;;;;:19;:23;;;;;;;;98585:52;98581:100;;;-1:-1:-1;98664:5:0;98581:100;98697:7;:24;;;;;98720:1;98708:9;;:13;98697:24;98693:204;;;98738:12;98753:31;98779:4;98753:21;98764:9;;98753:6;:10;;:21;;;;:::i;:31::-;98738:46;-1:-1:-1;98810:16:0;:6;98738:46;98810:10;:16::i;:::-;98801:25;;98843:42;98859:4;98873;98880;98843:15;:42::i;:::-;98723:174;98693:204;98909:33;98925:4;98931:2;98935:6;98909:15;:33::i;:::-;98960:8;;-1:-1:-1;;;98960:8:0;;;;98955:529;;98989:20;;99018:16;;98989:46;;-1:-1:-1;;;;;;98989:46:0;;-1:-1:-1;;;;;98989:20:0;;;;:28;;:46;;;;2611:25:1;;;2599:2;2584:18;;2465:177;98989:46:0;;;;;;;;;;;;;;;;;;;;-1:-1:-1;98989:46:0;;;;;;;;-1:-1:-1;;98989:46:0;;;;;;;;;;;;:::i;:::-;;;98985:488;;;99381:16;;99199:249;;;9353:25:1;;;9409:2;9394:18;;9387:34;;;9437:18;;;9430:34;;;9495:2;9480:18;;9473:34;;;;99199:249:0;99420:9;;99354:4;;99199:249;;;;;9340:3:1;99199:249:0;;;99036:428;;;98985:488;96739:2752;;;;96626:2865;;;:::o;17891:173::-;17966:6;;;-1:-1:-1;;;;;17983:17:0;;;-1:-1:-1;;;;;;17983:17:0;;;;;;;18016:40;;17966:6;;;17983:17;17966:6;;18016:40;;17947:16;;18016:40;17936:128;17891:173;:::o;11005:772::-;-1:-1:-1;;;;;11145:20:0;;11137:70;;;;-1:-1:-1;;;11137:70:0;;15046:2:1;11137:70:0;;;15028:21:1;15085:2;15065:18;;;15058:30;15124:34;15104:18;;;15097:62;-1:-1:-1;;;15175:18:1;;;15168:35;15220:19;;11137:70:0;14844:401:1;11137:70:0;-1:-1:-1;;;;;11388:17:0;;11364:21;11388:17;;;;;;;;;;;11438:23;;;;11416:111;;;;-1:-1:-1;;;11416:111:0;;15452:2:1;11416:111:0;;;15434:21:1;15491:2;15471:18;;;15464:30;15530:34;15510:18;;;15503:62;-1:-1:-1;;;15581:18:1;;;15574:36;15627:19;;11416:111:0;15250:402:1;11416:111:0;-1:-1:-1;;;;;11563:17:0;;;:9;:17;;;;;;;;;;;11583:22;;;11563:42;;11627:20;;;;;;;;:30;;11599:6;;11563:9;11627:30;;11599:6;;11627:30;:::i;:::-;;;;;;;;11692:9;-1:-1:-1;;;;;11675:35:0;11684:6;-1:-1:-1;;;;;11675:35:0;;11703:6;11675:35;;;;2611:25:1;;2599:2;2584:18;;2465:177;101982:855:0;102058:15;102041:14;:32;102169:13;;-1:-1:-1;;;;;102169:13:0;102128:28;6808:18;;;;;;;;;;;102128:55;-1:-1:-1;6445:2:0;102227:16;;:2;:16;:::i;:::-;102221:22;;:3;:22;:::i;:::-;102198:20;:45;102194:84;;;102260:7;101982:855::o;102194:84::-;102327:20;102388:5;102374:10;;102351:20;:33;;;;:::i;:::-;102350:43;;;;:::i;:::-;102327:66;-1:-1:-1;102498:16:0;;102494:336;;102547:13;;102531:61;;-1:-1:-1;;;;;102547:13:0;102570:6;102579:12;102531:15;:61::i;:::-;102713:13;;102742:11;;;-1:-1:-1;;;;;;102742:11:0;;;;-1:-1:-1;;;;;102713:13:0;;;;;;102742:9;;:11;;;;;102676:19;;102742:11;;;;;;;102676:19;102713:13;102742:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;102773:24;102784:12;102773:24;;;;2611:25:1;;2599:2;2584:18;;2465:177;102773:24:0;;;;;;;;102812:7;;;101982:855::o;102494:336::-;102030:807;;101982:855::o;21736:98::-;21794:7;21821:5;21825:1;21821;:5;:::i;99499:922::-;99609:12;99624:13;:6;99635:1;99624:10;:13::i;:::-;99609:28;-1:-1:-1;99648:17:0;99668:16;:6;99609:28;99668:10;:16::i;:::-;99648:36;-1:-1:-1;99987:21:0;100053:22;100070:4;100053:16;:22::i;:::-;100205:18;100226:41;:21;100252:14;100226:25;:41::i;:::-;100205:62;;100317:35;100330:9;100341:10;100317:12;:35::i;:::-;100370:43;;;17242:25:1;;;17298:2;17283:18;;17276:34;;;17326:18;;;17319:34;;;100370:43:0;;17230:2:1;17215:18;100370:43:0;;;;;;;99547:874;;;;99499:922;:::o;101507:426::-;101689:20;;101636:106;;-1:-1:-1;;;101636:106:0;;-1:-1:-1;;;;;101689:20:0;;;101636:106;;;14739:51:1;14806:18;;;14799:34;;;101621:12:0;;101651:4;;101636:30;;14712:18:1;;101636:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;101621:121;;101759:7;:49;;;;-1:-1:-1;101770:20:0;;:34;;;-1:-1:-1;;;101770:34:0;;;;101807:1;;-1:-1:-1;;;;;101770:20:0;;:32;;:34;;;;;;;;;;;;;;:20;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:38;101759:49;101755:171;;;101825:20;;:48;;-1:-1:-1;;;101825:48:0;;;;;2611:25:1;;;-1:-1:-1;;;;;101825:20:0;;;;:40;;2584:18:1;;101825:48:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;101893:21;101907:6;101893:21;;;;2611:25:1;;2599:2;2584:18;;2465:177;21379:98:0;21437:7;21464:5;21468:1;21464;:5;:::i;100429:563::-;100579:16;;;100593:1;100579:16;;;;;;;;100555:21;;100579:16;;;;;;;;;;-1:-1:-1;100579:16:0;100555:40;;100624:4;100606;100611:1;100606:7;;;;;;;;:::i;:::-;-1:-1:-1;;;;;100606:23:0;;;:7;;;;;;;;;;:23;;;;100650:15;;:22;;;-1:-1:-1;;;100650:22:0;;;;:15;;;;;:20;;:22;;;;;100606:7;;100650:22;;;;;:15;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;100640:4;100645:1;100640:7;;;;;;;;:::i;:::-;-1:-1:-1;;;;;100640:32:0;;;:7;;;;;;;;;:32;100717:15;;100685:62;;100702:4;;100717:15;100735:11;100685:8;:62::i;:::-;100760:15;;:224;;-1:-1:-1;;;100760:224:0;;-1:-1:-1;;;;;100760:15:0;;;;:66;;:224;;100841:11;;100760:15;;100911:4;;100938;;100958:15;;100760:224;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;100484:508;100429:563;:::o;101000:499::-;101180:15;;101148:62;;101165:4;;-1:-1:-1;;;;;101180:15:0;101198:11;101148:8;:62::i;:::-;101223:15;;101427:23;;101223:268;;-1:-1:-1;;;101223:268:0;;101295:4;101223:268;;;19365:34:1;19415:18;;;19408:34;;;101223:15:0;19458:18:1;;;19451:34;;;19501:18;;;19494:34;-1:-1:-1;;;;;101427:23:0;;;19544:19:1;;;19537:44;101465:15:0;19597:19:1;;;19590:35;101223:15:0;;;:31;;101262:9;;19299:19:1;;101223:268:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;222:548:1:-;334:4;363:2;392;381:9;374:21;424:6;418:13;467:6;462:2;451:9;447:18;440:34;492:1;502:140;516:6;513:1;510:13;502:140;;;611:14;;;607:23;;601:30;577:17;;;596:2;573:26;566:66;531:10;;502:140;;;506:3;691:1;686:2;677:6;666:9;662:22;658:31;651:42;761:2;754;750:7;745:2;737:6;733:15;729:29;718:9;714:45;710:54;702:62;;;;222:548;;;;:::o;1012:131::-;-1:-1:-1;;;;;1087:31:1;;1077:42;;1067:70;;1133:1;1130;1123:12;1148:315;1216:6;1224;1277:2;1265:9;1256:7;1252:23;1248:32;1245:52;;;1293:1;1290;1283:12;1245:52;1332:9;1319:23;1351:31;1376:5;1351:31;:::i;:::-;1401:5;1453:2;1438:18;;;;1425:32;;-1:-1:-1;;;1148:315:1:o;1660:615::-;1746:6;1754;1807:2;1795:9;1786:7;1782:23;1778:32;1775:52;;;1823:1;1820;1813:12;1775:52;1863:9;1850:23;1892:18;1933:2;1925:6;1922:14;1919:34;;;1949:1;1946;1939:12;1919:34;1987:6;1976:9;1972:22;1962:32;;2032:7;2025:4;2021:2;2017:13;2013:27;2003:55;;2054:1;2051;2044:12;2003:55;2094:2;2081:16;2120:2;2112:6;2109:14;2106:34;;;2136:1;2133;2126:12;2106:34;2189:7;2184:2;2174:6;2171:1;2167:14;2163:2;2159:23;2155:32;2152:45;2149:65;;;2210:1;2207;2200:12;2149:65;2241:2;2233:11;;;;;2263:6;;-1:-1:-1;1660:615:1;;-1:-1:-1;;;;1660:615:1:o;2280:180::-;2339:6;2392:2;2380:9;2371:7;2367:23;2363:32;2360:52;;;2408:1;2405;2398:12;2360:52;-1:-1:-1;2431:23:1;;2280:180;-1:-1:-1;2280:180:1:o;2882:247::-;2941:6;2994:2;2982:9;2973:7;2969:23;2965:32;2962:52;;;3010:1;3007;3000:12;2962:52;3049:9;3036:23;3068:31;3093:5;3068:31;:::i;3134:456::-;3211:6;3219;3227;3280:2;3268:9;3259:7;3255:23;3251:32;3248:52;;;3296:1;3293;3286:12;3248:52;3335:9;3322:23;3354:31;3379:5;3354:31;:::i;:::-;3404:5;-1:-1:-1;3461:2:1;3446:18;;3433:32;3474:33;3433:32;3474:33;:::i;:::-;3134:456;;3526:7;;-1:-1:-1;;;3580:2:1;3565:18;;;;3552:32;;3134:456::o;4714:388::-;4782:6;4790;4843:2;4831:9;4822:7;4818:23;4814:32;4811:52;;;4859:1;4856;4849:12;4811:52;4898:9;4885:23;4917:31;4942:5;4917:31;:::i;:::-;4967:5;-1:-1:-1;5024:2:1;5009:18;;4996:32;5037:33;4996:32;5037:33;:::i;:::-;5089:7;5079:17;;;4714:388;;;;;:::o;5107:380::-;5186:1;5182:12;;;;5229;;;5250:61;;5304:4;5296:6;5292:17;5282:27;;5250:61;5357:2;5349:6;5346:14;5326:18;5323:38;5320:161;;5403:10;5398:3;5394:20;5391:1;5384:31;5438:4;5435:1;5428:15;5466:4;5463:1;5456:15;5320:161;;5107:380;;;:::o;5492:356::-;5694:2;5676:21;;;5713:18;;;5706:30;5772:34;5767:2;5752:18;;5745:62;5839:2;5824:18;;5492:356::o;5853:127::-;5914:10;5909:3;5905:20;5902:1;5895:31;5945:4;5942:1;5935:15;5969:4;5966:1;5959:15;5985:127;6046:10;6041:3;6037:20;6034:1;6027:31;6077:4;6074:1;6067:15;6101:4;6098:1;6091:15;6117:135;6156:3;6177:17;;;6174:43;;6197:18;;:::i;:::-;-1:-1:-1;6244:1:1;6233:13;;6117:135::o;6257:705::-;6438:2;6490:21;;;6463:18;;;6546:22;;;6409:4;;6625:6;6599:2;6584:18;;6409:4;6659:277;6673:6;6670:1;6667:13;6659:277;;;6748:6;6735:20;6768:31;6793:5;6768:31;:::i;:::-;-1:-1:-1;;;;;6824:31:1;6812:44;;6911:15;;;;6876:12;;;;6852:1;6688:9;6659:277;;;-1:-1:-1;6953:3:1;6257:705;-1:-1:-1;;;;;;6257:705:1:o;6967:184::-;7037:6;7090:2;7078:9;7069:7;7065:23;7061:32;7058:52;;;7106:1;7103;7096:12;7058:52;-1:-1:-1;7129:16:1;;6967:184;-1:-1:-1;6967:184:1:o;7156:404::-;7358:2;7340:21;;;7397:2;7377:18;;;7370:30;7436:34;7431:2;7416:18;;7409:62;-1:-1:-1;;;7502:2:1;7487:18;;7480:38;7550:3;7535:19;;7156:404::o;7921:168::-;7994:9;;;8025;;8042:15;;;8036:22;;8022:37;8012:71;;8063:18;;:::i;8094:125::-;8159:9;;;8180:10;;;8177:36;;;8193:18;;:::i;8529:277::-;8596:6;8649:2;8637:9;8628:7;8624:23;8620:32;8617:52;;;8665:1;8662;8655:12;8617:52;8697:9;8691:16;8750:5;8743:13;8736:21;8729:5;8726:32;8716:60;;8772:1;8769;8762:12;8811:306;8899:6;8907;8915;8968:2;8956:9;8947:7;8943:23;8939:32;8936:52;;;8984:1;8981;8974:12;8936:52;9013:9;9007:16;8997:26;;9063:2;9052:9;9048:18;9042:25;9032:35;;9107:2;9096:9;9092:18;9086:25;9076:35;;8811:306;;;;;:::o;10354:128::-;10421:9;;;10442:11;;;10439:37;;;10456:18;;:::i;10893:681::-;11024:6;11032;11040;11048;11056;11064;11072;11080;11133:3;11121:9;11112:7;11108:23;11104:33;11101:53;;;11150:1;11147;11140:12;11101:53;11182:9;11176:16;11201:31;11226:5;11201:31;:::i;:::-;11251:5;11241:15;;;11296:2;11285:9;11281:18;11275:25;11265:35;;11340:2;11329:9;11325:18;11319:25;11309:35;;11384:2;11373:9;11369:18;11363:25;11353:35;;11428:3;11417:9;11413:19;11407:26;11397:36;;11473:3;11462:9;11458:19;11452:26;11442:36;;11518:3;11507:9;11503:19;11497:26;11487:36;;11563:3;11552:9;11548:19;11542:26;11532:36;;10893:681;;;;;;;;;;;:::o;11579:217::-;11619:1;11645;11635:132;;11689:10;11684:3;11680:20;11677:1;11670:31;11724:4;11721:1;11714:15;11752:4;11749:1;11742:15;11635:132;-1:-1:-1;11781:9:1;;11579:217::o;15657:422::-;15746:1;15789:5;15746:1;15803:270;15824:7;15814:8;15811:21;15803:270;;;15883:4;15879:1;15875:6;15871:17;15865:4;15862:27;15859:53;;;15892:18;;:::i;:::-;15942:7;15932:8;15928:22;15925:55;;;15962:16;;;;15925:55;16041:22;;;;16001:15;;;;15803:270;;;15807:3;15657:422;;;;;:::o;16084:806::-;16133:5;16163:8;16153:80;;-1:-1:-1;16204:1:1;16218:5;;16153:80;16252:4;16242:76;;-1:-1:-1;16289:1:1;16303:5;;16242:76;16334:4;16352:1;16347:59;;;;16420:1;16415:130;;;;16327:218;;16347:59;16377:1;16368:10;;16391:5;;;16415:130;16452:3;16442:8;16439:17;16436:43;;;16459:18;;:::i;:::-;-1:-1:-1;;16515:1:1;16501:16;;16530:5;;16327:218;;16629:2;16619:8;16616:16;16610:3;16604:4;16601:13;16597:36;16591:2;16581:8;16578:16;16573:2;16567:4;16564:12;16560:35;16557:77;16554:159;;;-1:-1:-1;16666:19:1;;;16698:5;;16554:159;16745:34;16770:8;16764:4;16745:34;:::i;:::-;16815:6;16811:1;16807:6;16803:19;16794:7;16791:32;16788:58;;;16826:18;;:::i;:::-;16864:20;;16084:806;-1:-1:-1;;;16084:806:1:o;16895:140::-;16953:5;16982:47;17023:4;17013:8;17009:19;17003:4;16982:47;:::i;17775:251::-;17845:6;17898:2;17886:9;17877:7;17873:23;17869:32;17866:52;;;17914:1;17911;17904:12;17866:52;17946:9;17940:16;17965:31;17990:5;17965:31;:::i;18031:980::-;18293:4;18341:3;18330:9;18326:19;18372:6;18361:9;18354:25;18398:2;18436:6;18431:2;18420:9;18416:18;18409:34;18479:3;18474:2;18463:9;18459:18;18452:31;18503:6;18538;18532:13;18569:6;18561;18554:22;18607:3;18596:9;18592:19;18585:26;;18646:2;18638:6;18634:15;18620:29;;18667:1;18677:195;18691:6;18688:1;18685:13;18677:195;;;18756:13;;-1:-1:-1;;;;;18752:39:1;18740:52;;18847:15;;;;18812:12;;;;18788:1;18706:9;18677:195;;;-1:-1:-1;;;;;;;18928:32:1;;;;18923:2;18908:18;;18901:60;-1:-1:-1;;;18992:3:1;18977:19;18970:35;18889:3;18031:980;-1:-1:-1;;;18031:980:1:o
Swarm Source
ipfs://0242693a19bb648271876be937ef9289d289c1ef6f592f850c72b893457a744b
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.
Add Token to MetaMask (Web3)