ERC-20
Charity
Overview
Max Total Supply
1,000,000,000,000 RIDGE
Holders
1,016 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Balance
377,869,862.411312323 RIDGEValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Ridge
Compiler Version
v0.8.9+commit.e5eed63a
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-11-06 */ // SPDX-License-Identifier: Unlicensed /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20Upgradeable { /**a * @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); } /** * @dev Collection of functions related to the address type */ library AddressUpgradeable { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } /** * @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 {UpgradeableProxy-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 || _isConstructor() || !_initialized, "Initializable: contract is already initialized"); bool isTopLevelCall = !_initializing; if (isTopLevelCall) { _initializing = true; _initialized = true; } _; if (isTopLevelCall) { _initializing = false; } } /// @dev Returns true if and only if the function is running in the constructor function _isConstructor() private view returns (bool) { return !AddressUpgradeable.isContract(address(this)); } } /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ 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 payable) { return payable(msg.sender); } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } uint256[50] private __gap; } /** * @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 { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), 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 { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } uint256[49] private __gap; } /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { 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) { 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) { // 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) { 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) { 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) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "SafeMath: subtraction overflow"); 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) { if (a == 0) return 0; uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: division by zero"); 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) { require(b > 0, "SafeMath: modulo by zero"); 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) { 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. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * 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) { 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) { require(b > 0, errorMessage); return a % b; } } /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } 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; } interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() 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 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 swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; } interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint 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 (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint 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 (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); 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 (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } pragma solidity ^0.8.9; contract Ridge is IERC20Upgradeable, OwnableUpgradeable { using SafeMath for uint256; using Address for address; mapping (address => uint256) private _rOwned; mapping (address => uint256) private _tOwned; mapping (address => mapping (address => uint256)) private _allowances; mapping (address => bool) private _isExcludedFromFee; mapping (address => bool) private _isExcludedFromMaxTx; mapping (address => bool) private _isExcluded; address[] private _excluded; uint256 private constant MAX = ~uint256(0); uint256 private _tTotal; uint256 private _rTotal; uint256 private _tFeeTotal; string private _name; string private _symbol; uint8 private _decimals; uint256 public _maxTxAmount; uint256 public _taxFee; uint256 private _previousTaxFee = _taxFee; uint256 public _liquidityFee; uint256 private _previousLiquidityFee = _liquidityFee; uint256 public _charityFee; uint256 private _previousCharityFee = _charityFee; uint256 public _marketingFee; uint256 private _previousMarketingFee = _marketingFee; address public _charityAddress; address public _marketingAddress; address public uniswapV2Pair; IUniswapV2Router02 public uniswapV2Router; bool inSwapAndLiquify; bool public swapAndLiquifyEnabled = false; uint256 private numTokensSellToAddToLiquidity; event MinTokensBeforeSwapUpdated(uint256 minTokensBeforeSwap); event SwapAndLiquifyEnabledUpdated(bool enabled); event SwapAndLiquify(uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity); modifier lockTheSwap { inSwapAndLiquify = true; _; inSwapAndLiquify = false; } function initialize () external initializer { string memory name_ = "Ridge" ; string memory symbol_ = "RIDGE"; uint256 totalSupply_ = 1000000000000* 10**9; // 1000000000000 -> 1 trillion address owner_ = 0x0638eaA4FcCbe1b3fCd532D03162D39F9698ac49; // Owner address. address router_ = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; // Uniswap Router address charityAddress_ = 0x8D4FEAA1a03F2136B8C9C9dd736171214a86753d; // Charity wallet addresss. address marketingAddress_ = 0xA60b690237F39997681bd3551998c47F7747fCc6; // Marketing wallet address. uint16 taxFeeBps_ = 100; // Tax fee. uint16 liquidityFeeBps_ = 400; // Liquidity fee. uint16 charityFeeBps_ = 100; // Charity fee. uint16 marketingFeeBps_ = 600; // Mrketing fee. uint16 maxTxBps_ = 400; // Max transaction. require(taxFeeBps_ >= 0 && taxFeeBps_ <= 10**4, "Invalid tax fee."); require(liquidityFeeBps_ >= 0 && liquidityFeeBps_ <= 10**4, "Invalid liquidity fee."); require(charityFeeBps_ >= 0 && charityFeeBps_ <= 10**4, "Invalid charity fee."); require(marketingFeeBps_ >= 0 && marketingFeeBps_ <= 10**4, "Invalit marketing fee."); require(maxTxBps_ > 0 && maxTxBps_ <= 10**4, "Invalid max tx amount."); require(taxFeeBps_ + liquidityFeeBps_ + charityFeeBps_ + marketingFeeBps_ <= 10**4, "Total fee is over 100% of transfer amount."); OwnableUpgradeable.__Ownable_init(); transferOwnership(owner_); _name = name_; _symbol = symbol_; _decimals = 9; _tTotal = totalSupply_; _rTotal = (MAX - (MAX % _tTotal)); _taxFee = taxFeeBps_; _previousTaxFee = _taxFee; _liquidityFee = liquidityFeeBps_; _previousLiquidityFee = _liquidityFee; _charityAddress = charityAddress_; _charityFee = charityFeeBps_; _previousCharityFee = _charityFee; _marketingAddress = marketingAddress_; _marketingFee = marketingFeeBps_; _previousMarketingFee = _marketingFee; _maxTxAmount = totalSupply_.mul(maxTxBps_).div(10**4); numTokensSellToAddToLiquidity = totalSupply_.mul(5).div(10**4); // 0.05% _rOwned[owner()] = _rTotal; IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(router_); // Create a uniswap pair for this new token. uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH()); uniswapV2Router = _uniswapV2Router; // Exclude Owner and this contract from fee. _isExcludedFromFee[owner()] = true; _isExcludedFromFee[address(this)] = true; // Exclude Owner, Dead, Contract, Marketing, Charity from max TX amount. _isExcludedFromMaxTx[address(this)] = true; _isExcludedFromMaxTx[address(0xdead)] = true; _isExcludedFromMaxTx[address(0)] = true; _isExcludedFromMaxTx[address(_marketingAddress)] = true; _isExcludedFromMaxTx[address(_charityAddress)] = true; emit Transfer(address(0), owner(), _tTotal); } function name() public view returns (string memory) { return _name; } function symbol() public view returns (string memory) { return _symbol; } function decimals() public view returns (uint8) { return _decimals; } function totalSupply() public view override returns (uint256) { return _tTotal; } function balanceOf(address account) public view override returns (uint256) { if (_isExcluded[account]) return _tOwned[account]; return tokenFromReflection(_rOwned[account]); } function transfer(address recipient, uint256 amount) public override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function allowance(address owner, address spender) public view override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } function isExcludedFromReward(address account) public view returns (bool) { return _isExcluded[account]; } function totalFees() public view returns (uint256) { return _tFeeTotal; } function deliver(uint256 tAmount) public { address sender = _msgSender(); require(!_isExcluded[sender], "Excluded addresses cannot call this function"); (uint256 tFee, uint256 tLiquidity, uint256 tCharity, uint256 tMarketing) = _getTValues(tAmount); (uint256 rAmount,,) = _getRValues(tAmount, tFee, tLiquidity, tCharity, tMarketing, _getRate()); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rTotal = _rTotal.sub(rAmount); _tFeeTotal = _tFeeTotal.add(tAmount); } function reflectionFromToken(uint256 tAmount, bool deductTransferFee) public view returns(uint256) { require(tAmount <= _tTotal, "Amount must be less than supply"); if (!deductTransferFee) { (uint256 tFee, uint256 tLiquidity, uint256 tCharity, uint256 tMarketing) = _getTValues(tAmount); (uint256 rAmount,,) = _getRValues(tAmount, tFee, tLiquidity, tCharity, tMarketing, _getRate()); return rAmount; } else { (uint256 tFee, uint256 tLiquidity, uint256 tCharity, uint256 tMarketing) = _getTValues(tAmount); (,uint256 rTransferAmount,) = _getRValues(tAmount, tFee, tLiquidity, tCharity, tMarketing, _getRate()); return rTransferAmount; } } function tokenFromReflection(uint256 rAmount) public view returns(uint256) { require(rAmount <= _rTotal, "Amount must be less than total reflections"); uint256 currentRate = _getRate(); return rAmount.div(currentRate); } function excludeFromReward(address account) public onlyOwner() { // require(account != 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D, 'We can not exclude Uniswap router.'); // TODO: check this one up require(!_isExcluded[account], "Account is already excluded"); if(_rOwned[account] > 0) { _tOwned[account] = tokenFromReflection(_rOwned[account]); } _isExcluded[account] = true; _excluded.push(account); } function includeInReward(address account) external onlyOwner() { require(_isExcluded[account], "Account is already excluded"); for (uint256 i = 0; i < _excluded.length; i++) { if (_excluded[i] == account) { _excluded[i] = _excluded[_excluded.length - 1]; _tOwned[account] = 0; _isExcluded[account] = false; _excluded.pop(); break; } } } function _transferBothExcluded(address sender, address recipient, uint256 tAmount) private { (uint256 tFee, uint256 tLiquidity, uint256 tCharity, uint256 tMarketing) = _getTValues(tAmount); uint256 tTransferAmount = tAmount.sub(tFee).sub(tLiquidity).sub(tCharity).sub(tMarketing); (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(tAmount, tFee, tLiquidity, tCharity, tMarketing, _getRate()); _tOwned[sender] = _tOwned[sender].sub(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _takeCharityFee(tCharity); _takeMarketingFee(tMarketing); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function excludeFromFee(address account) public onlyOwner { _isExcludedFromFee[account] = true; } function includeInFee(address account) public onlyOwner { _isExcludedFromFee[account] = false; } function setExcludeFromMaxTx(address account, bool exclude) public onlyOwner { _isExcludedFromMaxTx[account] = exclude; } function isExcludedFromMaxTx(address account) public view returns (bool) { return _isExcludedFromMaxTx[account]; } function setTaxFeePercent(uint256 taxFeeBps) external onlyOwner() { require(taxFeeBps >= 0 && taxFeeBps <= 10**4, "Invalid bps"); _taxFee = taxFeeBps; } function setLiquidityFeePercent(uint256 liquidityFeeBps) external onlyOwner() { require(liquidityFeeBps >= 0 && liquidityFeeBps <= 10**4, "Invalid bps"); _liquidityFee = liquidityFeeBps; } function setCharityFeePercent(uint256 charityFeeBps) external onlyOwner() { require(charityFeeBps >= 0 && charityFeeBps <= 10**4, "Invalid bps"); _charityFee = charityFeeBps; } function setMarketingFeePercent(uint256 marketingFeeBps) external onlyOwner() { require(marketingFeeBps >= 0 && marketingFeeBps <= 10**4, "Invalid bps"); _marketingFee = marketingFeeBps; } function setMaxTxPercent(uint256 maxTxBps) external onlyOwner() { require(maxTxBps >= 0 && maxTxBps <= 10**4, "Invalid bps"); _maxTxAmount = _tTotal.mul(maxTxBps).div(10**4); } function setMarketingWallet(address account) external onlyOwner() { if (account == address(0)) { require(_marketingFee == 0, "Cant set both marketing address to address 0 while markeing percent more than 0."); } _marketingAddress = account; } function setCharityWallet(address account) external onlyOwner() { if (account == address(0)) { require(_charityFee == 0, "Cant set both charity address to address 0 while charity percent more than 0."); } _charityAddress = account; } function setSwapAndLiquifyEnabled(bool _enabled) public onlyOwner { swapAndLiquifyEnabled = _enabled; emit SwapAndLiquifyEnabledUpdated(_enabled); } // To recieve ETH from uniswapV2Router when swaping. receive() external payable {} function _reflectFee(uint256 rFee, uint256 tFee) private { _rTotal = _rTotal.sub(rFee); _tFeeTotal = _tFeeTotal.add(tFee); } function _getTValues(uint256 tAmount) private view returns (uint256, uint256, uint256, uint256) { uint256 tFee = calculateTaxFee(tAmount); uint256 tLiquidity = calculateLiquidityFee(tAmount); uint256 tCharityFee = calculateCharityFee(tAmount); uint256 tMarketingFee = calculateMarketingFee(tAmount); return (tFee, tLiquidity, tCharityFee, tMarketingFee); } function _getRValues(uint256 tAmount, uint256 tFee, uint256 tLiquidity, uint256 tCharity, uint256 tMarketing, uint256 currentRate) private pure returns (uint256, uint256, uint256) { uint256 rAmount = tAmount.mul(currentRate); uint256 rFee = tFee.mul(currentRate); uint256 rLiquidity = tLiquidity.mul(currentRate); uint256 rCharity = tCharity.mul(currentRate); uint256 rMarketing = tMarketing.mul(currentRate); uint256 rTransferAmount = rAmount.sub(rFee).sub(rLiquidity).sub(rCharity).sub(rMarketing); return (rAmount, rTransferAmount, rFee); } function _getRate() private view returns(uint256) { (uint256 rSupply, uint256 tSupply) = _getCurrentSupply(); return rSupply.div(tSupply); } function _getCurrentSupply() private view returns(uint256, uint256) { uint256 rSupply = _rTotal; uint256 tSupply = _tTotal; for (uint256 i = 0; i < _excluded.length; i++) { if (_rOwned[_excluded[i]] > rSupply || _tOwned[_excluded[i]] > tSupply) return (_rTotal, _tTotal); rSupply = rSupply.sub(_rOwned[_excluded[i]]); tSupply = tSupply.sub(_tOwned[_excluded[i]]); } if (rSupply < _rTotal.div(_tTotal)) return (_rTotal, _tTotal); return (rSupply, tSupply); } function _takeLiquidity(uint256 tLiquidity) private { uint256 currentRate = _getRate(); uint256 rLiquidity = tLiquidity.mul(currentRate); _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity); if(_isExcluded[address(this)]) _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity); } function _takeCharityFee(uint256 tCharity) private { if (tCharity > 0 ) { uint256 currentRate = _getRate(); uint256 rCharity = tCharity.mul(currentRate); _rOwned[_charityAddress] = _rOwned[_charityAddress].add(rCharity); if (_isExcluded[_charityAddress]) _tOwned[_charityAddress] = _tOwned[_charityAddress].add(tCharity); emit Transfer(_msgSender(), _charityAddress, tCharity); } } function _takeMarketingFee(uint256 tMarketing) private { if(tMarketing > 0){ uint256 currentRate = _getRate(); uint256 rMarketing = tMarketing.mul(currentRate); _rOwned[_marketingAddress] = _rOwned[_marketingAddress].add(rMarketing); if(_isExcluded[_marketingAddress]) _tOwned[_marketingAddress] = _tOwned[_marketingAddress].add(tMarketing); emit Transfer(_msgSender(), _marketingAddress, tMarketing); } } function calculateTaxFee(uint256 _amount) private view returns (uint256) { return _amount.mul(_taxFee).div(10**4); } function calculateLiquidityFee(uint256 _amount) private view returns (uint256) { return _amount.mul(_liquidityFee).div(10**4); } function calculateCharityFee(uint256 _amount) private view returns (uint256) { if (_charityAddress == address(0)) return 0; return _amount.mul(_charityFee).div(10**4); } function calculateMarketingFee(uint256 _amount) private view returns (uint256){ if(_marketingAddress == address(0)) return 0; return _amount.mul(_marketingFee).div(10**4); } function removeAllFee() private { if(_taxFee == 0 && _liquidityFee == 0 && _charityFee == 0 && _marketingFee == 0) return; _previousTaxFee = _taxFee; _previousLiquidityFee = _liquidityFee; _previousCharityFee = _charityFee; _previousMarketingFee = _marketingFee; _taxFee = 0; _liquidityFee = 0; _charityFee = 0; _marketingFee = 0; } function restoreAllFee() private { _taxFee = _previousTaxFee; _liquidityFee = _previousLiquidityFee; _charityFee = _previousCharityFee; _marketingFee = _previousMarketingFee; } function isExcludedFromFee(address account) public view returns(bool) { return _isExcludedFromFee[account]; } function _approve(address owner, address spender, uint256 amount) private { 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); } function _transfer(address from, address to, uint256 amount) private { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "Transfer amount must be greater than zero"); if (from != owner() && to != owner()) { if (!_isExcludedFromMaxTx[from] && !_isExcludedFromMaxTx[to]) { require(amount <= _maxTxAmount, "Transfer amount exceeds the maxTxAmount."); } } // Is the token balance of this contract address over the min number of // tokens that we need to initiate a swap + liquidity lock? // Don't get caught in a circular liquidity event. // Don't swap & liquify if sender is uniswap pair. uint256 contractTokenBalance = balanceOf(address(this)); if(contractTokenBalance >= _maxTxAmount) { contractTokenBalance = _maxTxAmount; } bool overMinTokenBalance = contractTokenBalance >= numTokensSellToAddToLiquidity; if ( overMinTokenBalance && !inSwapAndLiquify && from != uniswapV2Pair && swapAndLiquifyEnabled ) { contractTokenBalance = numTokensSellToAddToLiquidity; // Add liquidity. swapAndLiquify(contractTokenBalance); } bool takeFee = true; // If any account belongs to _isExcludedFromFee account, remove the fee. if(_isExcludedFromFee[from] || _isExcludedFromFee[to]){ takeFee = false; } // Transfer amount, it will take tax, burn, liquidity, marketing, charity fee. _tokenTransfer(from,to,amount,takeFee); } function swapAndLiquify(uint256 contractTokenBalance) private lockTheSwap { // Split the contract balance into halves. uint256 half = contractTokenBalance.div(2); uint256 otherHalf = contractTokenBalance.sub(half); // Capture the contract's current ETH balance. // Include only swap created ETH and exclude manually transfered ETH. uint256 initialBalance = address(this).balance; // Swap tokens for ETH. swapTokensForEth(half); // <- this breaks the ETH -> HATE 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); // Do the swap. uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // Accept any amount of ETH. path, address(this), block.timestamp ); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // Approve token transfer. _approve(address(this), address(uniswapV2Router), tokenAmount); // Add the liquidity. uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // Slippage is unavoidable. 0, // Slippage is unavoidable. owner(), block.timestamp ); } // This method is responsible for taking all fee, if takeFee is set to true. function _tokenTransfer(address sender, address recipient, uint256 amount,bool takeFee) private { if(!takeFee) removeAllFee(); if (_isExcluded[sender] && !_isExcluded[recipient]) { _transferFromExcluded(sender, recipient, amount); } else if (!_isExcluded[sender] && _isExcluded[recipient]) { _transferToExcluded(sender, recipient, amount); } else if (!_isExcluded[sender] && !_isExcluded[recipient]) { _transferStandard(sender, recipient, amount); } else if (_isExcluded[sender] && _isExcluded[recipient]) { _transferBothExcluded(sender, recipient, amount); } else { _transferStandard(sender, recipient, amount); } if(!takeFee) restoreAllFee(); } function _transferStandard(address sender, address recipient, uint256 tAmount) private { (uint256 tFee, uint256 tLiquidity, uint256 tCharity, uint256 tMarketing) = _getTValues(tAmount); uint256 tTransferAmount = tAmount.sub(tFee).sub(tLiquidity).sub(tCharity).sub(tMarketing); (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(tAmount, tFee, tLiquidity, tCharity, tMarketing, _getRate()); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _takeCharityFee(tCharity); _takeMarketingFee(tMarketing); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function _transferToExcluded(address sender, address recipient, uint256 tAmount) private { (uint256 tFee, uint256 tLiquidity, uint256 tCharity, uint256 tMarketing) = _getTValues(tAmount); uint256 tTransferAmount = tAmount.sub(tFee).sub(tLiquidity).sub(tCharity).sub(tMarketing); (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(tAmount, tFee, tLiquidity, tCharity, tMarketing, _getRate()); _rOwned[sender] = _rOwned[sender].sub(rAmount); _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _takeCharityFee(tCharity); _takeMarketingFee(tMarketing); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function _transferFromExcluded(address sender, address recipient, uint256 tAmount) private { (uint256 tFee, uint256 tLiquidity, uint256 tCharity, uint256 tMarketing) = _getTValues(tAmount); uint256 tTransferAmount = tAmount.sub(tFee).sub(tLiquidity).sub(tCharity).sub(tMarketing); (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(tAmount, tFee, tLiquidity, tCharity, tMarketing, _getRate()); _tOwned[sender] = _tOwned[sender].sub(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _takeCharityFee(tCharity); _takeMarketingFee(tMarketing); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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":"minTokensBeforeSwap","type":"uint256"}],"name":"MinTokensBeforeSwapUpdated","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":"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":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SwapAndLiquifyEnabledUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_charityAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_charityFee","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":"_marketingAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_marketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_taxFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"}],"name":"deliver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromMaxTx","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromReward","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"},{"internalType":"bool","name":"deductTransferFee","type":"bool"}],"name":"reflectionFromToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"charityFeeBps","type":"uint256"}],"name":"setCharityFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"setCharityWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"exclude","type":"bool"}],"name":"setExcludeFromMaxTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"liquidityFeeBps","type":"uint256"}],"name":"setLiquidityFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"marketingFeeBps","type":"uint256"}],"name":"setMarketingFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"setMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxTxBps","type":"uint256"}],"name":"setMaxTxPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapAndLiquifyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"taxFeeBps","type":"uint256"}],"name":"setTaxFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAndLiquifyEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"rAmount","type":"uint256"}],"name":"tokenFromReflection","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"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052607354607455607554607655607754607855607954607a55607e805460ff60a81b1916905534801561003557600080fd5b50613b1b806100456000396000f3fe6080604052600436106102f65760003560e01c806352390c021161018f5780638da5cb5b116100e1578063c49b9a801161008a578063dd62ed3e11610064578063dd62ed3e14610864578063ea2f0b37146108aa578063f2fde38b146108ca57600080fd5b8063c49b9a8014610804578063caac793414610824578063d543dbeb1461084457600080fd5b8063a457c2d7116100bb578063a457c2d7146107a4578063a9059cbb146107c4578063af41063b146107e457600080fd5b80638da5cb5b146107515780638ee88c531461076f57806395d89b411461078f57600080fd5b80636bc87c3a116101435780637d1db4a51161011d5780637d1db4a5146106ed5780638129fc1c1461070357806388f820201461071857600080fd5b80636bc87c3a146106a257806370a08231146106b8578063715018a6146106d857600080fd5b80635b89029c116101745780635b89029c146106295780635d098b3814610649578063658c27a91461066957600080fd5b806352390c02146105d05780635342acb4146105f057600080fd5b8063313ce5671161024857806340f8007a116101fc578063457c194c116101d6578063457c194c1461056f57806349bd5a5e1461058f5780634a74bb02146105af57600080fd5b806340f8007a14610519578063437823ec1461052f5780634549b0391461054f57600080fd5b8063395093511161022d57806339509351146104c35780633b124fe7146104e35780633bd5d173146104f957600080fd5b8063313ce567146104815780633685d419146104a357600080fd5b806318160ddd116102aa57806323b872dd1161028457806323b872dd146104215780632d8381191461044157806330563bd71461046157600080fd5b806318160ddd146103d657806319a8ac9e146103eb57806322976e0d1461040b57600080fd5b8063095ea7b3116102db578063095ea7b31461034f57806313114a9d1461037f5780631694505e1461039e57600080fd5b8063061c82d01461030257806306fdde031461032457600080fd5b366102fd57005b600080fd5b34801561030e57600080fd5b5061032261031d3660046136a4565b6108ea565b005b34801561033057600080fd5b5061033961097c565b60405161034691906136bd565b60405180910390f35b34801561035b57600080fd5b5061036f61036a366004613727565b610a0e565b6040519015158152602001610346565b34801561038b57600080fd5b50606e545b604051908152602001610346565b3480156103aa57600080fd5b50607e546103be906001600160a01b031681565b6040516001600160a01b039091168152602001610346565b3480156103e257600080fd5b50606c54610390565b3480156103f757600080fd5b50607b546103be906001600160a01b031681565b34801561041757600080fd5b5061039060795481565b34801561042d57600080fd5b5061036f61043c366004613753565b610a25565b34801561044d57600080fd5b5061039061045c3660046136a4565b610a8e565b34801561046d57600080fd5b5061032261047c366004613794565b610b25565b34801561048d57600080fd5b5060715460405160ff9091168152602001610346565b3480156104af57600080fd5b506103226104be366004613794565b610c39565b3480156104cf57600080fd5b5061036f6104de366004613727565b610e0e565b3480156104ef57600080fd5b5061039060735481565b34801561050557600080fd5b506103226105143660046136a4565b610e44565b34801561052557600080fd5b5061039060775481565b34801561053b57600080fd5b5061032261054a366004613794565b610f62565b34801561055b57600080fd5b5061039061056a3660046137c6565b610fce565b34801561057b57600080fd5b5061032261058a3660046136a4565b611098565b34801561059b57600080fd5b50607d546103be906001600160a01b031681565b3480156105bb57600080fd5b50607e5461036f90600160a81b900460ff1681565b3480156105dc57600080fd5b506103226105eb366004613794565b611125565b3480156105fc57600080fd5b5061036f61060b366004613794565b6001600160a01b031660009081526068602052604090205460ff1690565b34801561063557600080fd5b506103226106443660046137f2565b611296565b34801561065557600080fd5b50610322610664366004613794565b611309565b34801561067557600080fd5b5061036f610684366004613794565b6001600160a01b031660009081526069602052604090205460ff1690565b3480156106ae57600080fd5b5061039060755481565b3480156106c457600080fd5b506103906106d3366004613794565b61141d565b3480156106e457600080fd5b5061032261147c565b3480156106f957600080fd5b5061039060725481565b34801561070f57600080fd5b5061032261150e565b34801561072457600080fd5b5061036f610733366004613794565b6001600160a01b03166000908152606a602052604090205460ff1690565b34801561075d57600080fd5b506033546001600160a01b03166103be565b34801561077b57600080fd5b5061032261078a3660046136a4565b611b3f565b34801561079b57600080fd5b50610339611bcc565b3480156107b057600080fd5b5061036f6107bf366004613727565b611bdb565b3480156107d057600080fd5b5061036f6107df366004613727565b611c2a565b3480156107f057600080fd5b506103226107ff3660046136a4565b611c37565b34801561081057600080fd5b5061032261081f36600461381e565b611cc4565b34801561083057600080fd5b50607c546103be906001600160a01b031681565b34801561085057600080fd5b5061032261085f3660046136a4565b611d7f565b34801561087057600080fd5b5061039061087f366004613839565b6001600160a01b03918216600090815260676020908152604080832093909416825291909152205490565b3480156108b657600080fd5b506103226108c5366004613794565b611e28565b3480156108d657600080fd5b506103226108e5366004613794565b611e91565b6033546001600160a01b031633146109375760405162461bcd60e51b81526020600482018190526024820152600080516020613aa183398151915260448201526064015b60405180910390fd5b6127108111156109775760405162461bcd60e51b815260206004820152600b60248201526a496e76616c69642062707360a81b604482015260640161092e565b607355565b6060606f805461098b90613872565b80601f01602080910402602001604051908101604052809291908181526020018280546109b790613872565b8015610a045780601f106109d957610100808354040283529160200191610a04565b820191906000526020600020905b8154815290600101906020018083116109e757829003601f168201915b5050505050905090565b6000610a1b338484611fb1565b5060015b92915050565b6000610a328484846120d6565b610a848433610a7f85604051806060016040528060288152602001613a79602891396001600160a01b038a16600090815260676020908152604080832033845290915290205491906123f4565b611fb1565b5060019392505050565b6000606d54821115610b085760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201527f65666c656374696f6e7300000000000000000000000000000000000000000000606482015260840161092e565b6000610b1261242b565b9050610b1e838261244e565b9392505050565b6033546001600160a01b03163314610b6d5760405162461bcd60e51b81526020600482018190526024820152600080516020613aa1833981519152604482015260640161092e565b6001600160a01b038116610c175760775415610c175760405162461bcd60e51b815260206004820152604d60248201527f43616e742073657420626f74682063686172697479206164647265737320746f60448201527f20616464726573732030207768696c6520636861726974792070657263656e7460648201527f206d6f7265207468616e20302e00000000000000000000000000000000000000608482015260a40161092e565b607b80546001600160a01b0319166001600160a01b0392909216919091179055565b6033546001600160a01b03163314610c815760405162461bcd60e51b81526020600482018190526024820152600080516020613aa1833981519152604482015260640161092e565b6001600160a01b0381166000908152606a602052604090205460ff16610ce95760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604482015260640161092e565b60005b606b54811015610e0a57816001600160a01b0316606b8281548110610d1357610d136138ad565b6000918252602090912001546001600160a01b03161415610df857606b8054610d3e906001906138d9565b81548110610d4e57610d4e6138ad565b600091825260209091200154606b80546001600160a01b039092169183908110610d7a57610d7a6138ad565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152606682526040808220829055606a90925220805460ff19169055606b805480610dd257610dd26138f0565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610e0281613906565b915050610cec565b5050565b3360008181526067602090815260408083206001600160a01b03871684529091528120549091610a1b918590610a7f90866124a9565b336000818152606a602052604090205460ff1615610eca5760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201527f6869732066756e6374696f6e0000000000000000000000000000000000000000606482015260840161092e565b600080600080610ed986612508565b93509350935093506000610ef88786868686610ef361242b565b612551565b50506001600160a01b038716600090815260656020526040902054909150610f2090826125cb565b6001600160a01b038716600090815260656020526040902055606d54610f4690826125cb565b606d55606e54610f5690886124a9565b606e5550505050505050565b6033546001600160a01b03163314610faa5760405162461bcd60e51b81526020600482018190526024820152600080516020613aa1833981519152604482015260640161092e565b6001600160a01b03166000908152606860205260409020805460ff19166001179055565b6000606c548311156110225760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c7900604482015260640161092e565b816110605760008060008061103687612508565b935093509350935060006110508886868686610ef361242b565b50909650610a1f95505050505050565b60008060008061106f87612508565b935093509350935060006110898886868686610ef361242b565b509650610a1f95505050505050565b6033546001600160a01b031633146110e05760405162461bcd60e51b81526020600482018190526024820152600080516020613aa1833981519152604482015260640161092e565b6127108111156111205760405162461bcd60e51b815260206004820152600b60248201526a496e76616c69642062707360a81b604482015260640161092e565b607955565b6033546001600160a01b0316331461116d5760405162461bcd60e51b81526020600482018190526024820152600080516020613aa1833981519152604482015260640161092e565b6001600160a01b0381166000908152606a602052604090205460ff16156111d65760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604482015260640161092e565b6001600160a01b03811660009081526065602052604090205415611230576001600160a01b03811660009081526065602052604090205461121690610a8e565b6001600160a01b0382166000908152606660205260409020555b6001600160a01b03166000818152606a60205260408120805460ff19166001908117909155606b805491820181559091527fbd43cb8ece8cd1863bcd6082d65c5b0d25665b1ce17980f0da43c0ed545f98b40180546001600160a01b0319169091179055565b6033546001600160a01b031633146112de5760405162461bcd60e51b81526020600482018190526024820152600080516020613aa1833981519152604482015260640161092e565b6001600160a01b03919091166000908152606960205260409020805460ff1916911515919091179055565b6033546001600160a01b031633146113515760405162461bcd60e51b81526020600482018190526024820152600080516020613aa1833981519152604482015260640161092e565b6001600160a01b0381166113fb57607954156113fb5760405162461bcd60e51b815260206004820152605060248201527f43616e742073657420626f7468206d61726b6574696e6720616464726573732060448201527f746f20616464726573732030207768696c65206d61726b65696e67207065726360648201527f656e74206d6f7265207468616e20302e00000000000000000000000000000000608482015260a40161092e565b607c80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0381166000908152606a602052604081205460ff161561145a57506001600160a01b031660009081526066602052604090205490565b6001600160a01b038216600090815260656020526040902054610a1f90610a8e565b6033546001600160a01b031633146114c45760405162461bcd60e51b81526020600482018190526024820152600080516020613aa1833981519152604482015260640161092e565b6033546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3603380546001600160a01b0319169055565b600054610100900460ff16806115235750303b155b80611531575060005460ff16155b6115945760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161092e565b600054610100900460ff161580156115b6576000805461ffff19166101011790555b60408051808201825260058082527f526964676500000000000000000000000000000000000000000000000000000060208084019190915283518085019094529083527f52494447450000000000000000000000000000000000000000000000000000009083015290683635c9adc5dea00000730638eaa4fccbe1b3fcd532d03162d39f9698ac49737a250d5630b4cf539739df2c5dacb4c659f2488d738d4feaa1a03f2136b8c9c9dd736171214a86753d73a60b690237f39997681bd3551998c47f7747fcc66064610190816102588261271082846116968789613921565b6116a09190613921565b6116aa9190613921565b61ffff1611156117225760405162461bcd60e51b815260206004820152602a60248201527f546f74616c20666565206973206f7665722031303025206f66207472616e736660448201527f657220616d6f756e742e00000000000000000000000000000000000000000000606482015260840161092e565b61172a612627565b61173389611e91565b8b5161174690606f9060208f019061360b565b508a5161175a9060709060208e019061360b565b506071805460ff19166009179055606c8a90556117798a60001961395d565b611785906000196138d9565b606d5561ffff80861660738190556074558481166075819055607655607b80546001600160a01b03808b166001600160a01b0319928316179092558583166077819055607855607c8054928a16929091169190911790558281166079819055607a5561180290612710906117fc908d9085166126f3565b9061244e565b6072556118166127106117fc8c60056126f3565b607f55606d54606560006118326033546001600160a01b031690565b6001600160a01b03166001600160a01b03168152602001908152602001600020819055506000889050806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b15801561189457600080fd5b505afa1580156118a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118cc9190613971565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561191457600080fd5b505afa158015611928573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061194c9190613971565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156119ac57600080fd5b505af11580156119c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119e49190613971565b607d80546001600160a01b03199081166001600160a01b0393841617909155607e80549091168383161790556033805482166000908152606860209081526040808320805460ff1990811660019081179092553085528285208054821683179055606990935281842080548416821790557fb776d14403fede3a223c2d00cd106ad267124e838428cc932ceb4282311d836e80548416821790557f5843af22e99e7c98370145a5056245c244ce8ee852f4ef5e6d6a8e410a18cf418054841682179055607c54861684528184208054841682179055607b548616845292208054909116909117905554166001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef606c54604051611b1591815260200190565b60405180910390a3505050505050505050505050508015611b3c576000805461ff00191690555b50565b6033546001600160a01b03163314611b875760405162461bcd60e51b81526020600482018190526024820152600080516020613aa1833981519152604482015260640161092e565b612710811115611bc75760405162461bcd60e51b815260206004820152600b60248201526a496e76616c69642062707360a81b604482015260640161092e565b607555565b60606070805461098b90613872565b6000610a1b3384610a7f85604051806060016040528060258152602001613ac1602591393360009081526067602090815260408083206001600160a01b038d16845290915290205491906123f4565b6000610a1b3384846120d6565b6033546001600160a01b03163314611c7f5760405162461bcd60e51b81526020600482018190526024820152600080516020613aa1833981519152604482015260640161092e565b612710811115611cbf5760405162461bcd60e51b815260206004820152600b60248201526a496e76616c69642062707360a81b604482015260640161092e565b607755565b6033546001600160a01b03163314611d0c5760405162461bcd60e51b81526020600482018190526024820152600080516020613aa1833981519152604482015260640161092e565b607e8054821515600160a81b027fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff9091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc15990611d7490831515815260200190565b60405180910390a150565b6033546001600160a01b03163314611dc75760405162461bcd60e51b81526020600482018190526024820152600080516020613aa1833981519152604482015260640161092e565b612710811115611e075760405162461bcd60e51b815260206004820152600b60248201526a496e76616c69642062707360a81b604482015260640161092e565b611e226127106117fc83606c546126f390919063ffffffff16565b60725550565b6033546001600160a01b03163314611e705760405162461bcd60e51b81526020600482018190526024820152600080516020613aa1833981519152604482015260640161092e565b6001600160a01b03166000908152606860205260409020805460ff19169055565b6033546001600160a01b03163314611ed95760405162461bcd60e51b81526020600482018190526024820152600080516020613aa1833981519152604482015260640161092e565b6001600160a01b038116611f555760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161092e565b6033546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3603380546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166120135760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161092e565b6001600160a01b0382166120745760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161092e565b6001600160a01b0383811660008181526067602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166121525760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161092e565b6001600160a01b0382166121b45760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161092e565b6000811161222a5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d75737420626520677265617465722060448201527f7468616e207a65726f0000000000000000000000000000000000000000000000606482015260840161092e565b6033546001600160a01b0384811691161480159061225657506033546001600160a01b03838116911614155b1561231a576001600160a01b03831660009081526069602052604090205460ff1615801561229d57506001600160a01b03821660009081526069602052604090205460ff16155b1561231a5760725481111561231a5760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d61785460448201527f78416d6f756e742e000000000000000000000000000000000000000000000000606482015260840161092e565b60006123253061141d565b9050607254811061233557506072545b607f54811080159081906123535750607e54600160a01b900460ff16155b801561236d5750607d546001600160a01b03868116911614155b80156123825750607e54600160a81b900460ff165b1561239557607f54915061239582612772565b6001600160a01b03851660009081526068602052604090205460019060ff16806123d757506001600160a01b03851660009081526068602052604090205460ff165b156123e0575060005b6123ec86868684612819565b505050505050565b600081848411156124185760405162461bcd60e51b815260040161092e91906136bd565b5061242383856138d9565b949350505050565b60008060006124386129a2565b9092509050612447828261244e565b9250505090565b600080821161249f5760405162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015260640161092e565b610b1e828461398e565b6000806124b683856139a2565b905083811015610b1e5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161092e565b600080600080600061251986612b24565b9050600061252687612b41565b9050600061253388612b5e565b9050600061254089612b94565b939992985090965091945092505050565b60008080806125608a866126f3565b9050600061256e8a876126f3565b9050600061257c8a886126f3565b9050600061258a8a896126f3565b905060006125988a8a6126f3565b905060006125b4826125ae858188818c8c6125cb565b906125cb565b959f959e50939c50939a5050505050505050505050565b60008282111561261d5760405162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015260640161092e565b610b1e82846138d9565b600054610100900460ff168061263c5750303b155b8061264a575060005460ff16155b6126ad5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161092e565b600054610100900460ff161580156126cf576000805461ffff19166101011790555b6126d7612bca565b6126df612c85565b8015611b3c576000805461ff001916905550565b60008261270257506000610a1f565b600061270e83856139ba565b90508261271b858361398e565b14610b1e5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161092e565b607e805460ff60a01b1916600160a01b179055600061279282600261244e565b905060006127a083836125cb565b9050476127ac83612d84565b60006127b847836125cb565b90506127c48382612ee5565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15050607e805460ff60a01b19169055505050565b8061282657612826612fe1565b6001600160a01b0384166000908152606a602052604090205460ff16801561286757506001600160a01b0383166000908152606a602052604090205460ff16155b1561287c5761287784848461303c565b61297a565b6001600160a01b0384166000908152606a602052604090205460ff161580156128bd57506001600160a01b0383166000908152606a602052604090205460ff165b156128cd576128778484846131a1565b6001600160a01b0384166000908152606a602052604090205460ff1615801561290f57506001600160a01b0383166000908152606a602052604090205460ff16155b1561291f57612877848484613275565b6001600160a01b0384166000908152606a602052604090205460ff16801561295f57506001600160a01b0383166000908152606a602052604090205460ff165b1561296f576128778484846132e4565b61297a848484613275565b8061299c5761299c607454607355607654607555607854607755607a54607955565b50505050565b606d54606c546000918291825b606b54811015612af4578260656000606b84815481106129d1576129d16138ad565b60009182526020808320909101546001600160a01b031683528201929092526040019020541180612a3c57508160666000606b8481548110612a1557612a156138ad565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15612a5257606d54606c54945094505050509091565b612a9860656000606b8481548110612a6c57612a6c6138ad565b60009182526020808320909101546001600160a01b0316835282019290925260400190205484906125cb565b9250612ae060666000606b8481548110612ab457612ab46138ad565b60009182526020808320909101546001600160a01b0316835282019290925260400190205483906125cb565b915080612aec81613906565b9150506129af565b50606c54606d54612b049161244e565b821015612b1b57606d54606c549350935050509091565b90939092509050565b6000610a1f6127106117fc607354856126f390919063ffffffff16565b6000610a1f6127106117fc607554856126f390919063ffffffff16565b607b546000906001600160a01b0316612b7957506000919050565b610a1f6127106117fc607754856126f390919063ffffffff16565b607c546000906001600160a01b0316612baf57506000919050565b610a1f6127106117fc607954856126f390919063ffffffff16565b600054610100900460ff1680612bdf5750303b155b80612bed575060005460ff16155b612c505760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161092e565b600054610100900460ff161580156126df576000805461ffff19166101011790558015611b3c576000805461ff001916905550565b600054610100900460ff1680612c9a5750303b155b80612ca8575060005460ff16155b612d0b5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161092e565b600054610100900460ff16158015612d2d576000805461ffff19166101011790555b603380546001600160a01b0319163390811790915560405181906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508015611b3c576000805461ff001916905550565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612db957612db96138ad565b6001600160a01b03928316602091820292909201810191909152607e54604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015612e0d57600080fd5b505afa158015612e21573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e459190613971565b81600181518110612e5857612e586138ad565b6001600160a01b039283166020918202929092010152607e54612e7e9130911684611fb1565b607e5460405163791ac94760e01b81526001600160a01b039091169063791ac94790612eb79085906000908690309042906004016139d9565b600060405180830381600087803b158015612ed157600080fd5b505af11580156123ec573d6000803e3d6000fd5b607e54612efd9030906001600160a01b031684611fb1565b607e546001600160a01b031663f305d719823085600080612f266033546001600160a01b031690565b60405160e088901b7fffffffff000000000000000000000000000000000000000000000000000000001681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b158015612fa157600080fd5b505af1158015612fb5573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612fda9190613a4a565b5050505050565b607354158015612ff15750607554155b8015612ffd5750607754155b80156130095750607954155b1561301057565b60738054607455607580546076556077805460785560798054607a556000938490559183905582905555565b60008060008061304b85612508565b929650909450925090506000613069826125ae858188818c8c6125cb565b905060008060006130808989898989610ef361242b565b6001600160a01b038e1660009081526066602052604090205492955090935091506130ab908a6125cb565b6001600160a01b038c166000908152606660209081526040808320939093556065905220546130da90846125cb565b6001600160a01b03808d1660009081526065602052604080822093909355908c168152205461310990836124a9565b6001600160a01b038b1660009081526065602052604090205561312b87613382565b6131348661340b565b61313d85613514565b61314781896135e7565b896001600160a01b03168b6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8660405161318c91815260200190565b60405180910390a35050505050505050505050565b6000806000806131b085612508565b9296509094509250905060006131ce826125ae858188818c8c6125cb565b905060008060006131e58989898989610ef361242b565b6001600160a01b038e16600090815260656020526040902054929550909350915061321090846125cb565b6001600160a01b03808d16600090815260656020908152604080832094909455918d1681526066909152205461324690856124a9565b6001600160a01b038b1660009081526066602090815260408083209390935560659052205461310990836124a9565b60008060008061328485612508565b9296509094509250905060006132a2826125ae858188818c8c6125cb565b905060008060006132b98989898989610ef361242b565b6001600160a01b038e1660009081526065602052604090205492955090935091506130da90846125cb565b6000806000806132f385612508565b929650909450925090506000613311826125ae858188818c8c6125cb565b905060008060006133288989898989610ef361242b565b6001600160a01b038e166000908152606660205260409020549295509093509150613353908a6125cb565b6001600160a01b038c1660009081526066602090815260408083209390935560659052205461321090846125cb565b600061338c61242b565b9050600061339a83836126f3565b306000908152606560205260409020549091506133b790826124a9565b30600090815260656020908152604080832093909355606a9052205460ff161561340657306000908152606660205260409020546133f590846124a9565b306000908152606660205260409020555b505050565b8015611b3c57600061341b61242b565b9050600061342983836126f3565b607b546001600160a01b031660009081526065602052604090205490915061345190826124a9565b607b80546001600160a01b0390811660009081526065602090815260408083209590955592549091168152606a909152205460ff16156134cc57607b546001600160a01b03166000908152606660205260409020546134b090846124a9565b607b546001600160a01b03166000908152606660205260409020555b607b546001600160a01b0316335b6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516120c991815260200190565b8015611b3c57600061352461242b565b9050600061353283836126f3565b607c546001600160a01b031660009081526065602052604090205490915061355a90826124a9565b607c80546001600160a01b0390811660009081526065602090815260408083209590955592549091168152606a909152205460ff16156135d557607c546001600160a01b03166000908152606660205260409020546135b990846124a9565b607c546001600160a01b03166000908152606660205260409020555b607c546001600160a01b0316336134da565b606d546135f490836125cb565b606d55606e5461360490826124a9565b606e555050565b82805461361790613872565b90600052602060002090601f016020900481019282613639576000855561367f565b82601f1061365257805160ff191683800117855561367f565b8280016001018555821561367f579182015b8281111561367f578251825591602001919060010190613664565b5061368b92915061368f565b5090565b5b8082111561368b5760008155600101613690565b6000602082840312156136b657600080fd5b5035919050565b600060208083528351808285015260005b818110156136ea578581018301518582016040015282016136ce565b818111156136fc576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114611b3c57600080fd5b6000806040838503121561373a57600080fd5b823561374581613712565b946020939093013593505050565b60008060006060848603121561376857600080fd5b833561377381613712565b9250602084013561378381613712565b929592945050506040919091013590565b6000602082840312156137a657600080fd5b8135610b1e81613712565b803580151581146137c157600080fd5b919050565b600080604083850312156137d957600080fd5b823591506137e9602084016137b1565b90509250929050565b6000806040838503121561380557600080fd5b823561381081613712565b91506137e9602084016137b1565b60006020828403121561383057600080fd5b610b1e826137b1565b6000806040838503121561384c57600080fd5b823561385781613712565b9150602083013561386781613712565b809150509250929050565b600181811c9082168061388657607f821691505b602082108114156138a757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000828210156138eb576138eb6138c3565b500390565b634e487b7160e01b600052603160045260246000fd5b600060001982141561391a5761391a6138c3565b5060010190565b600061ffff80831681851680830382111561393e5761393e6138c3565b01949350505050565b634e487b7160e01b600052601260045260246000fd5b60008261396c5761396c613947565b500690565b60006020828403121561398357600080fd5b8151610b1e81613712565b60008261399d5761399d613947565b500490565b600082198211156139b5576139b56138c3565b500190565b60008160001904831182151516156139d4576139d46138c3565b500290565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015613a295784516001600160a01b031683529383019391830191600101613a04565b50506001600160a01b03969096166060850152505050608001529392505050565b600080600060608486031215613a5f57600080fd5b835192506020840151915060408401519050925092509256fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220a4966ae8bd365d65fa391ac7bf4c473831d51e8ed3641a8a286ca5ae5308676364736f6c63430008090033
Deployed Bytecode
0x6080604052600436106102f65760003560e01c806352390c021161018f5780638da5cb5b116100e1578063c49b9a801161008a578063dd62ed3e11610064578063dd62ed3e14610864578063ea2f0b37146108aa578063f2fde38b146108ca57600080fd5b8063c49b9a8014610804578063caac793414610824578063d543dbeb1461084457600080fd5b8063a457c2d7116100bb578063a457c2d7146107a4578063a9059cbb146107c4578063af41063b146107e457600080fd5b80638da5cb5b146107515780638ee88c531461076f57806395d89b411461078f57600080fd5b80636bc87c3a116101435780637d1db4a51161011d5780637d1db4a5146106ed5780638129fc1c1461070357806388f820201461071857600080fd5b80636bc87c3a146106a257806370a08231146106b8578063715018a6146106d857600080fd5b80635b89029c116101745780635b89029c146106295780635d098b3814610649578063658c27a91461066957600080fd5b806352390c02146105d05780635342acb4146105f057600080fd5b8063313ce5671161024857806340f8007a116101fc578063457c194c116101d6578063457c194c1461056f57806349bd5a5e1461058f5780634a74bb02146105af57600080fd5b806340f8007a14610519578063437823ec1461052f5780634549b0391461054f57600080fd5b8063395093511161022d57806339509351146104c35780633b124fe7146104e35780633bd5d173146104f957600080fd5b8063313ce567146104815780633685d419146104a357600080fd5b806318160ddd116102aa57806323b872dd1161028457806323b872dd146104215780632d8381191461044157806330563bd71461046157600080fd5b806318160ddd146103d657806319a8ac9e146103eb57806322976e0d1461040b57600080fd5b8063095ea7b3116102db578063095ea7b31461034f57806313114a9d1461037f5780631694505e1461039e57600080fd5b8063061c82d01461030257806306fdde031461032457600080fd5b366102fd57005b600080fd5b34801561030e57600080fd5b5061032261031d3660046136a4565b6108ea565b005b34801561033057600080fd5b5061033961097c565b60405161034691906136bd565b60405180910390f35b34801561035b57600080fd5b5061036f61036a366004613727565b610a0e565b6040519015158152602001610346565b34801561038b57600080fd5b50606e545b604051908152602001610346565b3480156103aa57600080fd5b50607e546103be906001600160a01b031681565b6040516001600160a01b039091168152602001610346565b3480156103e257600080fd5b50606c54610390565b3480156103f757600080fd5b50607b546103be906001600160a01b031681565b34801561041757600080fd5b5061039060795481565b34801561042d57600080fd5b5061036f61043c366004613753565b610a25565b34801561044d57600080fd5b5061039061045c3660046136a4565b610a8e565b34801561046d57600080fd5b5061032261047c366004613794565b610b25565b34801561048d57600080fd5b5060715460405160ff9091168152602001610346565b3480156104af57600080fd5b506103226104be366004613794565b610c39565b3480156104cf57600080fd5b5061036f6104de366004613727565b610e0e565b3480156104ef57600080fd5b5061039060735481565b34801561050557600080fd5b506103226105143660046136a4565b610e44565b34801561052557600080fd5b5061039060775481565b34801561053b57600080fd5b5061032261054a366004613794565b610f62565b34801561055b57600080fd5b5061039061056a3660046137c6565b610fce565b34801561057b57600080fd5b5061032261058a3660046136a4565b611098565b34801561059b57600080fd5b50607d546103be906001600160a01b031681565b3480156105bb57600080fd5b50607e5461036f90600160a81b900460ff1681565b3480156105dc57600080fd5b506103226105eb366004613794565b611125565b3480156105fc57600080fd5b5061036f61060b366004613794565b6001600160a01b031660009081526068602052604090205460ff1690565b34801561063557600080fd5b506103226106443660046137f2565b611296565b34801561065557600080fd5b50610322610664366004613794565b611309565b34801561067557600080fd5b5061036f610684366004613794565b6001600160a01b031660009081526069602052604090205460ff1690565b3480156106ae57600080fd5b5061039060755481565b3480156106c457600080fd5b506103906106d3366004613794565b61141d565b3480156106e457600080fd5b5061032261147c565b3480156106f957600080fd5b5061039060725481565b34801561070f57600080fd5b5061032261150e565b34801561072457600080fd5b5061036f610733366004613794565b6001600160a01b03166000908152606a602052604090205460ff1690565b34801561075d57600080fd5b506033546001600160a01b03166103be565b34801561077b57600080fd5b5061032261078a3660046136a4565b611b3f565b34801561079b57600080fd5b50610339611bcc565b3480156107b057600080fd5b5061036f6107bf366004613727565b611bdb565b3480156107d057600080fd5b5061036f6107df366004613727565b611c2a565b3480156107f057600080fd5b506103226107ff3660046136a4565b611c37565b34801561081057600080fd5b5061032261081f36600461381e565b611cc4565b34801561083057600080fd5b50607c546103be906001600160a01b031681565b34801561085057600080fd5b5061032261085f3660046136a4565b611d7f565b34801561087057600080fd5b5061039061087f366004613839565b6001600160a01b03918216600090815260676020908152604080832093909416825291909152205490565b3480156108b657600080fd5b506103226108c5366004613794565b611e28565b3480156108d657600080fd5b506103226108e5366004613794565b611e91565b6033546001600160a01b031633146109375760405162461bcd60e51b81526020600482018190526024820152600080516020613aa183398151915260448201526064015b60405180910390fd5b6127108111156109775760405162461bcd60e51b815260206004820152600b60248201526a496e76616c69642062707360a81b604482015260640161092e565b607355565b6060606f805461098b90613872565b80601f01602080910402602001604051908101604052809291908181526020018280546109b790613872565b8015610a045780601f106109d957610100808354040283529160200191610a04565b820191906000526020600020905b8154815290600101906020018083116109e757829003601f168201915b5050505050905090565b6000610a1b338484611fb1565b5060015b92915050565b6000610a328484846120d6565b610a848433610a7f85604051806060016040528060288152602001613a79602891396001600160a01b038a16600090815260676020908152604080832033845290915290205491906123f4565b611fb1565b5060019392505050565b6000606d54821115610b085760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201527f65666c656374696f6e7300000000000000000000000000000000000000000000606482015260840161092e565b6000610b1261242b565b9050610b1e838261244e565b9392505050565b6033546001600160a01b03163314610b6d5760405162461bcd60e51b81526020600482018190526024820152600080516020613aa1833981519152604482015260640161092e565b6001600160a01b038116610c175760775415610c175760405162461bcd60e51b815260206004820152604d60248201527f43616e742073657420626f74682063686172697479206164647265737320746f60448201527f20616464726573732030207768696c6520636861726974792070657263656e7460648201527f206d6f7265207468616e20302e00000000000000000000000000000000000000608482015260a40161092e565b607b80546001600160a01b0319166001600160a01b0392909216919091179055565b6033546001600160a01b03163314610c815760405162461bcd60e51b81526020600482018190526024820152600080516020613aa1833981519152604482015260640161092e565b6001600160a01b0381166000908152606a602052604090205460ff16610ce95760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604482015260640161092e565b60005b606b54811015610e0a57816001600160a01b0316606b8281548110610d1357610d136138ad565b6000918252602090912001546001600160a01b03161415610df857606b8054610d3e906001906138d9565b81548110610d4e57610d4e6138ad565b600091825260209091200154606b80546001600160a01b039092169183908110610d7a57610d7a6138ad565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152606682526040808220829055606a90925220805460ff19169055606b805480610dd257610dd26138f0565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610e0281613906565b915050610cec565b5050565b3360008181526067602090815260408083206001600160a01b03871684529091528120549091610a1b918590610a7f90866124a9565b336000818152606a602052604090205460ff1615610eca5760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201527f6869732066756e6374696f6e0000000000000000000000000000000000000000606482015260840161092e565b600080600080610ed986612508565b93509350935093506000610ef88786868686610ef361242b565b612551565b50506001600160a01b038716600090815260656020526040902054909150610f2090826125cb565b6001600160a01b038716600090815260656020526040902055606d54610f4690826125cb565b606d55606e54610f5690886124a9565b606e5550505050505050565b6033546001600160a01b03163314610faa5760405162461bcd60e51b81526020600482018190526024820152600080516020613aa1833981519152604482015260640161092e565b6001600160a01b03166000908152606860205260409020805460ff19166001179055565b6000606c548311156110225760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c7900604482015260640161092e565b816110605760008060008061103687612508565b935093509350935060006110508886868686610ef361242b565b50909650610a1f95505050505050565b60008060008061106f87612508565b935093509350935060006110898886868686610ef361242b565b509650610a1f95505050505050565b6033546001600160a01b031633146110e05760405162461bcd60e51b81526020600482018190526024820152600080516020613aa1833981519152604482015260640161092e565b6127108111156111205760405162461bcd60e51b815260206004820152600b60248201526a496e76616c69642062707360a81b604482015260640161092e565b607955565b6033546001600160a01b0316331461116d5760405162461bcd60e51b81526020600482018190526024820152600080516020613aa1833981519152604482015260640161092e565b6001600160a01b0381166000908152606a602052604090205460ff16156111d65760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604482015260640161092e565b6001600160a01b03811660009081526065602052604090205415611230576001600160a01b03811660009081526065602052604090205461121690610a8e565b6001600160a01b0382166000908152606660205260409020555b6001600160a01b03166000818152606a60205260408120805460ff19166001908117909155606b805491820181559091527fbd43cb8ece8cd1863bcd6082d65c5b0d25665b1ce17980f0da43c0ed545f98b40180546001600160a01b0319169091179055565b6033546001600160a01b031633146112de5760405162461bcd60e51b81526020600482018190526024820152600080516020613aa1833981519152604482015260640161092e565b6001600160a01b03919091166000908152606960205260409020805460ff1916911515919091179055565b6033546001600160a01b031633146113515760405162461bcd60e51b81526020600482018190526024820152600080516020613aa1833981519152604482015260640161092e565b6001600160a01b0381166113fb57607954156113fb5760405162461bcd60e51b815260206004820152605060248201527f43616e742073657420626f7468206d61726b6574696e6720616464726573732060448201527f746f20616464726573732030207768696c65206d61726b65696e67207065726360648201527f656e74206d6f7265207468616e20302e00000000000000000000000000000000608482015260a40161092e565b607c80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0381166000908152606a602052604081205460ff161561145a57506001600160a01b031660009081526066602052604090205490565b6001600160a01b038216600090815260656020526040902054610a1f90610a8e565b6033546001600160a01b031633146114c45760405162461bcd60e51b81526020600482018190526024820152600080516020613aa1833981519152604482015260640161092e565b6033546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3603380546001600160a01b0319169055565b600054610100900460ff16806115235750303b155b80611531575060005460ff16155b6115945760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161092e565b600054610100900460ff161580156115b6576000805461ffff19166101011790555b60408051808201825260058082527f526964676500000000000000000000000000000000000000000000000000000060208084019190915283518085019094529083527f52494447450000000000000000000000000000000000000000000000000000009083015290683635c9adc5dea00000730638eaa4fccbe1b3fcd532d03162d39f9698ac49737a250d5630b4cf539739df2c5dacb4c659f2488d738d4feaa1a03f2136b8c9c9dd736171214a86753d73a60b690237f39997681bd3551998c47f7747fcc66064610190816102588261271082846116968789613921565b6116a09190613921565b6116aa9190613921565b61ffff1611156117225760405162461bcd60e51b815260206004820152602a60248201527f546f74616c20666565206973206f7665722031303025206f66207472616e736660448201527f657220616d6f756e742e00000000000000000000000000000000000000000000606482015260840161092e565b61172a612627565b61173389611e91565b8b5161174690606f9060208f019061360b565b508a5161175a9060709060208e019061360b565b506071805460ff19166009179055606c8a90556117798a60001961395d565b611785906000196138d9565b606d5561ffff80861660738190556074558481166075819055607655607b80546001600160a01b03808b166001600160a01b0319928316179092558583166077819055607855607c8054928a16929091169190911790558281166079819055607a5561180290612710906117fc908d9085166126f3565b9061244e565b6072556118166127106117fc8c60056126f3565b607f55606d54606560006118326033546001600160a01b031690565b6001600160a01b03166001600160a01b03168152602001908152602001600020819055506000889050806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b15801561189457600080fd5b505afa1580156118a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118cc9190613971565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561191457600080fd5b505afa158015611928573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061194c9190613971565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156119ac57600080fd5b505af11580156119c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119e49190613971565b607d80546001600160a01b03199081166001600160a01b0393841617909155607e80549091168383161790556033805482166000908152606860209081526040808320805460ff1990811660019081179092553085528285208054821683179055606990935281842080548416821790557fb776d14403fede3a223c2d00cd106ad267124e838428cc932ceb4282311d836e80548416821790557f5843af22e99e7c98370145a5056245c244ce8ee852f4ef5e6d6a8e410a18cf418054841682179055607c54861684528184208054841682179055607b548616845292208054909116909117905554166001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef606c54604051611b1591815260200190565b60405180910390a3505050505050505050505050508015611b3c576000805461ff00191690555b50565b6033546001600160a01b03163314611b875760405162461bcd60e51b81526020600482018190526024820152600080516020613aa1833981519152604482015260640161092e565b612710811115611bc75760405162461bcd60e51b815260206004820152600b60248201526a496e76616c69642062707360a81b604482015260640161092e565b607555565b60606070805461098b90613872565b6000610a1b3384610a7f85604051806060016040528060258152602001613ac1602591393360009081526067602090815260408083206001600160a01b038d16845290915290205491906123f4565b6000610a1b3384846120d6565b6033546001600160a01b03163314611c7f5760405162461bcd60e51b81526020600482018190526024820152600080516020613aa1833981519152604482015260640161092e565b612710811115611cbf5760405162461bcd60e51b815260206004820152600b60248201526a496e76616c69642062707360a81b604482015260640161092e565b607755565b6033546001600160a01b03163314611d0c5760405162461bcd60e51b81526020600482018190526024820152600080516020613aa1833981519152604482015260640161092e565b607e8054821515600160a81b027fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff9091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc15990611d7490831515815260200190565b60405180910390a150565b6033546001600160a01b03163314611dc75760405162461bcd60e51b81526020600482018190526024820152600080516020613aa1833981519152604482015260640161092e565b612710811115611e075760405162461bcd60e51b815260206004820152600b60248201526a496e76616c69642062707360a81b604482015260640161092e565b611e226127106117fc83606c546126f390919063ffffffff16565b60725550565b6033546001600160a01b03163314611e705760405162461bcd60e51b81526020600482018190526024820152600080516020613aa1833981519152604482015260640161092e565b6001600160a01b03166000908152606860205260409020805460ff19169055565b6033546001600160a01b03163314611ed95760405162461bcd60e51b81526020600482018190526024820152600080516020613aa1833981519152604482015260640161092e565b6001600160a01b038116611f555760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161092e565b6033546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3603380546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166120135760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161092e565b6001600160a01b0382166120745760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161092e565b6001600160a01b0383811660008181526067602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166121525760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161092e565b6001600160a01b0382166121b45760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161092e565b6000811161222a5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d75737420626520677265617465722060448201527f7468616e207a65726f0000000000000000000000000000000000000000000000606482015260840161092e565b6033546001600160a01b0384811691161480159061225657506033546001600160a01b03838116911614155b1561231a576001600160a01b03831660009081526069602052604090205460ff1615801561229d57506001600160a01b03821660009081526069602052604090205460ff16155b1561231a5760725481111561231a5760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d61785460448201527f78416d6f756e742e000000000000000000000000000000000000000000000000606482015260840161092e565b60006123253061141d565b9050607254811061233557506072545b607f54811080159081906123535750607e54600160a01b900460ff16155b801561236d5750607d546001600160a01b03868116911614155b80156123825750607e54600160a81b900460ff165b1561239557607f54915061239582612772565b6001600160a01b03851660009081526068602052604090205460019060ff16806123d757506001600160a01b03851660009081526068602052604090205460ff165b156123e0575060005b6123ec86868684612819565b505050505050565b600081848411156124185760405162461bcd60e51b815260040161092e91906136bd565b5061242383856138d9565b949350505050565b60008060006124386129a2565b9092509050612447828261244e565b9250505090565b600080821161249f5760405162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015260640161092e565b610b1e828461398e565b6000806124b683856139a2565b905083811015610b1e5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161092e565b600080600080600061251986612b24565b9050600061252687612b41565b9050600061253388612b5e565b9050600061254089612b94565b939992985090965091945092505050565b60008080806125608a866126f3565b9050600061256e8a876126f3565b9050600061257c8a886126f3565b9050600061258a8a896126f3565b905060006125988a8a6126f3565b905060006125b4826125ae858188818c8c6125cb565b906125cb565b959f959e50939c50939a5050505050505050505050565b60008282111561261d5760405162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015260640161092e565b610b1e82846138d9565b600054610100900460ff168061263c5750303b155b8061264a575060005460ff16155b6126ad5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161092e565b600054610100900460ff161580156126cf576000805461ffff19166101011790555b6126d7612bca565b6126df612c85565b8015611b3c576000805461ff001916905550565b60008261270257506000610a1f565b600061270e83856139ba565b90508261271b858361398e565b14610b1e5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161092e565b607e805460ff60a01b1916600160a01b179055600061279282600261244e565b905060006127a083836125cb565b9050476127ac83612d84565b60006127b847836125cb565b90506127c48382612ee5565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15050607e805460ff60a01b19169055505050565b8061282657612826612fe1565b6001600160a01b0384166000908152606a602052604090205460ff16801561286757506001600160a01b0383166000908152606a602052604090205460ff16155b1561287c5761287784848461303c565b61297a565b6001600160a01b0384166000908152606a602052604090205460ff161580156128bd57506001600160a01b0383166000908152606a602052604090205460ff165b156128cd576128778484846131a1565b6001600160a01b0384166000908152606a602052604090205460ff1615801561290f57506001600160a01b0383166000908152606a602052604090205460ff16155b1561291f57612877848484613275565b6001600160a01b0384166000908152606a602052604090205460ff16801561295f57506001600160a01b0383166000908152606a602052604090205460ff165b1561296f576128778484846132e4565b61297a848484613275565b8061299c5761299c607454607355607654607555607854607755607a54607955565b50505050565b606d54606c546000918291825b606b54811015612af4578260656000606b84815481106129d1576129d16138ad565b60009182526020808320909101546001600160a01b031683528201929092526040019020541180612a3c57508160666000606b8481548110612a1557612a156138ad565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15612a5257606d54606c54945094505050509091565b612a9860656000606b8481548110612a6c57612a6c6138ad565b60009182526020808320909101546001600160a01b0316835282019290925260400190205484906125cb565b9250612ae060666000606b8481548110612ab457612ab46138ad565b60009182526020808320909101546001600160a01b0316835282019290925260400190205483906125cb565b915080612aec81613906565b9150506129af565b50606c54606d54612b049161244e565b821015612b1b57606d54606c549350935050509091565b90939092509050565b6000610a1f6127106117fc607354856126f390919063ffffffff16565b6000610a1f6127106117fc607554856126f390919063ffffffff16565b607b546000906001600160a01b0316612b7957506000919050565b610a1f6127106117fc607754856126f390919063ffffffff16565b607c546000906001600160a01b0316612baf57506000919050565b610a1f6127106117fc607954856126f390919063ffffffff16565b600054610100900460ff1680612bdf5750303b155b80612bed575060005460ff16155b612c505760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161092e565b600054610100900460ff161580156126df576000805461ffff19166101011790558015611b3c576000805461ff001916905550565b600054610100900460ff1680612c9a5750303b155b80612ca8575060005460ff16155b612d0b5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161092e565b600054610100900460ff16158015612d2d576000805461ffff19166101011790555b603380546001600160a01b0319163390811790915560405181906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508015611b3c576000805461ff001916905550565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612db957612db96138ad565b6001600160a01b03928316602091820292909201810191909152607e54604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015612e0d57600080fd5b505afa158015612e21573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e459190613971565b81600181518110612e5857612e586138ad565b6001600160a01b039283166020918202929092010152607e54612e7e9130911684611fb1565b607e5460405163791ac94760e01b81526001600160a01b039091169063791ac94790612eb79085906000908690309042906004016139d9565b600060405180830381600087803b158015612ed157600080fd5b505af11580156123ec573d6000803e3d6000fd5b607e54612efd9030906001600160a01b031684611fb1565b607e546001600160a01b031663f305d719823085600080612f266033546001600160a01b031690565b60405160e088901b7fffffffff000000000000000000000000000000000000000000000000000000001681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b158015612fa157600080fd5b505af1158015612fb5573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612fda9190613a4a565b5050505050565b607354158015612ff15750607554155b8015612ffd5750607754155b80156130095750607954155b1561301057565b60738054607455607580546076556077805460785560798054607a556000938490559183905582905555565b60008060008061304b85612508565b929650909450925090506000613069826125ae858188818c8c6125cb565b905060008060006130808989898989610ef361242b565b6001600160a01b038e1660009081526066602052604090205492955090935091506130ab908a6125cb565b6001600160a01b038c166000908152606660209081526040808320939093556065905220546130da90846125cb565b6001600160a01b03808d1660009081526065602052604080822093909355908c168152205461310990836124a9565b6001600160a01b038b1660009081526065602052604090205561312b87613382565b6131348661340b565b61313d85613514565b61314781896135e7565b896001600160a01b03168b6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8660405161318c91815260200190565b60405180910390a35050505050505050505050565b6000806000806131b085612508565b9296509094509250905060006131ce826125ae858188818c8c6125cb565b905060008060006131e58989898989610ef361242b565b6001600160a01b038e16600090815260656020526040902054929550909350915061321090846125cb565b6001600160a01b03808d16600090815260656020908152604080832094909455918d1681526066909152205461324690856124a9565b6001600160a01b038b1660009081526066602090815260408083209390935560659052205461310990836124a9565b60008060008061328485612508565b9296509094509250905060006132a2826125ae858188818c8c6125cb565b905060008060006132b98989898989610ef361242b565b6001600160a01b038e1660009081526065602052604090205492955090935091506130da90846125cb565b6000806000806132f385612508565b929650909450925090506000613311826125ae858188818c8c6125cb565b905060008060006133288989898989610ef361242b565b6001600160a01b038e166000908152606660205260409020549295509093509150613353908a6125cb565b6001600160a01b038c1660009081526066602090815260408083209390935560659052205461321090846125cb565b600061338c61242b565b9050600061339a83836126f3565b306000908152606560205260409020549091506133b790826124a9565b30600090815260656020908152604080832093909355606a9052205460ff161561340657306000908152606660205260409020546133f590846124a9565b306000908152606660205260409020555b505050565b8015611b3c57600061341b61242b565b9050600061342983836126f3565b607b546001600160a01b031660009081526065602052604090205490915061345190826124a9565b607b80546001600160a01b0390811660009081526065602090815260408083209590955592549091168152606a909152205460ff16156134cc57607b546001600160a01b03166000908152606660205260409020546134b090846124a9565b607b546001600160a01b03166000908152606660205260409020555b607b546001600160a01b0316335b6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516120c991815260200190565b8015611b3c57600061352461242b565b9050600061353283836126f3565b607c546001600160a01b031660009081526065602052604090205490915061355a90826124a9565b607c80546001600160a01b0390811660009081526065602090815260408083209590955592549091168152606a909152205460ff16156135d557607c546001600160a01b03166000908152606660205260409020546135b990846124a9565b607c546001600160a01b03166000908152606660205260409020555b607c546001600160a01b0316336134da565b606d546135f490836125cb565b606d55606e5461360490826124a9565b606e555050565b82805461361790613872565b90600052602060002090601f016020900481019282613639576000855561367f565b82601f1061365257805160ff191683800117855561367f565b8280016001018555821561367f579182015b8281111561367f578251825591602001919060010190613664565b5061368b92915061368f565b5090565b5b8082111561368b5760008155600101613690565b6000602082840312156136b657600080fd5b5035919050565b600060208083528351808285015260005b818110156136ea578581018301518582016040015282016136ce565b818111156136fc576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114611b3c57600080fd5b6000806040838503121561373a57600080fd5b823561374581613712565b946020939093013593505050565b60008060006060848603121561376857600080fd5b833561377381613712565b9250602084013561378381613712565b929592945050506040919091013590565b6000602082840312156137a657600080fd5b8135610b1e81613712565b803580151581146137c157600080fd5b919050565b600080604083850312156137d957600080fd5b823591506137e9602084016137b1565b90509250929050565b6000806040838503121561380557600080fd5b823561381081613712565b91506137e9602084016137b1565b60006020828403121561383057600080fd5b610b1e826137b1565b6000806040838503121561384c57600080fd5b823561385781613712565b9150602083013561386781613712565b809150509250929050565b600181811c9082168061388657607f821691505b602082108114156138a757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000828210156138eb576138eb6138c3565b500390565b634e487b7160e01b600052603160045260246000fd5b600060001982141561391a5761391a6138c3565b5060010190565b600061ffff80831681851680830382111561393e5761393e6138c3565b01949350505050565b634e487b7160e01b600052601260045260246000fd5b60008261396c5761396c613947565b500690565b60006020828403121561398357600080fd5b8151610b1e81613712565b60008261399d5761399d613947565b500490565b600082198211156139b5576139b56138c3565b500190565b60008160001904831182151516156139d4576139d46138c3565b500290565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015613a295784516001600160a01b031683529383019391830191600101613a04565b50506001600160a01b03969096166060850152505050608001529392505050565b600080600060608486031215613a5f57600080fd5b835192506020840151915060408401519050925092509256fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220a4966ae8bd365d65fa391ac7bf4c473831d51e8ed3641a8a286ca5ae5308676364736f6c63430008090033
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.