📥Import Contracts
Last updated
Last updated
With the Wagyu 1.5.0 Update, we introduced the option for our users to import existing contracts into our bundling system. This means that if you have already deployed your contract on-chain external to Wagyu you will still be able to use our full bundling suite, including min/max buy ranges, functions, imports, and more!
Please find the guide on How to Import your Contract below and if you have any questions feel free to reach out to our team for assistance.
By typing /Tokens we can be redirected to the Token Management Menu (Figure 1), from which we can create, import, and manage all tokens we own in the Wagyu ecosystem. Since we are importing a previously deployed contract into Wagyu, we will select "Import" in the bottom left of this menu.
Figure 1 - Token Creation Menu
Now we will be presented with two options to import: "By Address" or "By Contract Code" (Figure 2) your selection here will depend solely on whether or not your deployed contract is verified on Etherscan.
If your deployed contract is VERIFIED, please select the "By Address" option and input the existing Contract Address of your token. This will initiate the automated import of your contract's details that you will then confirm before proceeding.
If your deployed contract is NOT VERIFIED and you do not wish to verify the contract on-chain at this moment, you may select "By Contract Code" to proceed without verification. You will be then required to input the contract code in the form of a .sol file and confirm the existing Contract Address to complete your upload.
Whether you uploaded your contract by method 1 or 2, your final menu should look similar to the above (Figure 3). Please confirm the token information that is displayed and ensure that this is the contract you wish to bundle, then press "Next" to continue.
We will now be asked to input the EXACT function identifier that is called to enable the trading of your token (Figure 4). It is paramount that this is the function that enables the trading of your token as our bundling process will be tied to this function call. For the majority of contracts, the naming convention of this function follows along the lines of: "openTrading()", "enableTrading()", etc.
Correct capitalization is required.
Now, in order to properly set the buy range of your Bundled Wallets, we must enter the intended values for both ETH and Tokens in the Liquidity Pool. As an example we have included a token that plans to add 1 ETH and 100% of the Total Supply to the Liquidity Pool (Figure 5). Please adjust the the values in your own launch to match your planned values, this includes contract's in which the contract adds the liquidity. Once you have confirmed the values are correct, please click "Next" to continue.
If the values of your Liquidity ETH and/or Tokens are incorrect it WILL result in a failed bundle.
As we are working with an already deployed token, you must import the Deployer Address to Wagyu so that you may call the required functions from within the bot. After connecting the Deployer Address you will be able to verify it is the correct address by the one shown in the text box in Figure 6.
We are now presented with the Bundled Wallet Setup Menu (Figure 7). Here we can set the Minimum Buy, Maximum Buy, and Amount of Bundled Wallets. When setting the Buy Range please keep in mind any limitations that your contract imposes on transactions and/or wallets. The Maximum Buy will have a maximum value of the lowest of either the Maximum Transaction or Maximum Wallet, and the Minimum Buy must be lower than the Maximum Buy. If you do not have any limits on your contract, you can ignore this restriction.
Once we have set our Max Buy and Min Buy, we can click on the "Bundled Wallets()" button to be redirected to the Bundled Wallet Management Menu (Figure 8). Here we can either Create or Import wallets to be used with our launch. By using either our Wagyu Calculator or your Max Buy Value (Max Buy * # of Bundled Wallets = % of Bundled Supply), determine the number of Bundled Wallets that you wish to use with your launch. The maximum Bundled Wallets allowed for each network is as follows:
ETH = 40 Wallets
BASE = 100 Wallets
BNB = 39 Wallets
Once we have Created or Imported our Bundled Wallets we can click "Create" to finalize the launch settings and we have now successfully imported an Existing Token into Wagyu!
Now that we have successfully setup our launch within Wagyu, we are nearly ready to Go Live! However, before pressing the "Go Live" button, we should check to ensure we have done the following:
If all of the above are correct and have been double checked, you will be good to go for your launch! At this point we can navigate to the /Tokens menu, select our "TICKER", and press "Go Live" to enable trading and have our bundle submitted!
Congratulations, your token is now trading live on the blockchain and we wish you the best of luck! If you have any questions or feedback, please reach out to any of our team members on Telegram or through our email at: team@wagyuprotocol.io