You can get the compiled bytecode from bscscan.com
and decompile it with tools like ethervm.io
. After that It's a kinda a guess work. Also this ABI does not support every function in the presale contract. Feel free to contirbute.
At first I was decompiling the contract but after I've inspected the DxSale website, I have extracted the ABI's that DxSale contracts use.
Don't let the name owner()
fool you, that's the address of the contract that created that presale contract.
The function that you are looking for is the wallet()
function. It returns the address of the token's developer's wallet.
const ethers = require("ethers");
const path = require("path");
/// Load the abis.
const PRESALE_ABI = require(path.join(__dirname, "abis", "PresaleABI"));
/*
* Contract Creation Example;
* let presaleContract = new ethers.Contract(ethers.utils.getAddress("0x..."), PRESALE_ABI, ACCOUNT);
*/
You can donate me from those addresses <3
BSC - 0x9D3b16055aCcC713612a18aaBEFff9Db8163F9f5