pDAI/pUSDC to MATH 1.1
Last updated
Last updated
The cost of 1 MATH is 1 pDAI or 1 pUSDC, to get this price you have to call a function on the MATH contract.
We can look at the verified contract code to see the prices: View the contract code.
This guide assumes you’ve read and understand how to interact with contracts.
Check the current exchange rates to know which route is profitable!
Add pDAI or pUSDC to scgui.aff.icu. For this example we will use pDAI.
Add MATH 1.1 to scgui.aff.icu
Open the MATH 1.1 contract and call Random() to mint 1 token, this is sent to the contract
With the MATH 1.1 contract open, call BuyWithDAI() with amount 1000000000000000000 to buy 1 token, this is sent straight to your wallet
Repeat steps 3-6 as long as there is a decent profit margin. Once you are comfortable you can approve a higher amount of tokens to skip step 3 and speed up your arbs!
Use my multi mint contracts to do this even faster! Instead of calling BuyWithDAI() once per transaction you can now loop it up to 1000-2000 times in a single transaction!
Open the pDAI contract on scgui.aff.icu and call approve() with spender 0x1322Dab9eE385Bb3D81f75EBb8356015B0872e53 and any amount followed by 18 zeros, example: 100000000000000000000 for 100 tokens
Add the Multi MATH 1.1 contract to scgui.aff.icu
Open it and call the function multiBuyWithDAI() with iterations 100, this will purchase 100 MATH 1.1 from the contract in one transaction
This should help reduce the gas costs to mint each token down to 5-10 PLS