XDAO platform already integrated TOP DeFis into its dApp. However, if you are going to use the protocol that is not listed in XDAO you can simply put some data in "Any custom DeFi" module. Here is step-by-step guide.
Please, be careful and stricltly follow the instructions! Otherwise you won't be able to activate your vote!
There are 4 field you should fill in:
Address (the addres of the contract you're interaсting with)
Value(the amount of BNB we must provide with the transaction)
Comment(any comment that will be displayed for other members)
Firstly, go to the dApp page you want to interact with and get the function you're going to call. You can use your own wallet or create new wallet for this. You won't spent your money so far, but will get necessary data to execute our module.
Function Swap we want to call
You will be redirected to Metamask confirmation
Copy address (in our case it is Pancake Router) and add it to "address" field
There is only one a little bit tricky thing you will do. You need replaceyourownaddress from HEX DATA with your DAOaddress and then copy new HEX DATA into "Data" field.
Copy paste the HEX DATA in txt and replace your wallet address with your DAO address.
For example, you have the following bytecode (your personal wallet is highlighted in bold):