Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Reverse Engineered DxSale Launch Presale Contract ABI

Notifications You must be signed in to change notification settings

tarik0/dxlaunch-presale-abi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How Did I Got That ABI

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.

How Can I Get The Dev. Wallet Address of The Token ?

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.

DxLaunch Presale Contract ABI

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);
 */

Donations

You can donate me from those addresses <3

BSC - 0x9D3b16055aCcC713612a18aaBEFff9Db8163F9f5

About

Reverse Engineered DxSale Launch Presale Contract ABI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published