Coder Social home page Coder Social logo

dxlaunch-presale-abi's Introduction

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.

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");

var PRESALE_ABI = new ethers.utils.Interface([
        "function owner() view returns (address)",
        "function wallet() view returns (address)",
        "function token() view returns (address)",
        "function vault() view returns (address)",
        "function hasClosed() view returns (bool)",
        "function initialized() view returns (bool)",
        "function cap() view returns (uint256)",
        "function goal() view returns (uint256)",
        "function rate() view returns (uint256)",
        "function weiRaised() view returns (uint256)",
        "function capReached() view returns (bool)",
        "function openingTime() view returns (uint256)",
        "function closingTime() view returns (uint256)",
        "function presaleStartTime() view returns (uint256)",
        "function presaleEndTime() view returns (uint256)",
        "function minEthContribution() view returns (uint256)",
        "function maxEthContribution() view returns (uint256)"
]);

/*
 * Contract Creation Example;
 * let presaleContract = new ethers.Contract(ethers.utils.getAddress("0x..."), PRESALE_ABI, ACCOUNT);
 */

dxlaunch-presale-abi's People

Contributors

tarik0 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.