Giter Club home page Giter Club logo

dex-contracts's People

Contributors

atharvadeosthale avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dex-contracts's Issues

DEX.sol not same as video, can't compile

Here are the fixes according to the YT video, managed to compile and deploy successfully to TW..

 constructor (address _token, address _defaultAdmin, string memory _name,string memory _symbol  ) 
    ERC20Base(_defaultAdmin, _name, _symbol) {
        token = _token;
    }

build failed

TypeError: Wrong argument count for modifier invocation: 2 arguments given but expected 3.
--> contracts/DEX.sol:9:34:
|
9 | constructor (address _token) ERC20Base(ERC20(_token).name(), ERC20(_token).symbol()) {
|

npx thirdweb build with ERRORS: npm ERR! Class extends value undefined is not a constructor or null

$ npx thirdweb build
npx thirdweb build
npm ERR! Class extends value undefined is not a constructor or null

log files

verbose argv "exec" "--" "thirdweb" "build"
23 timing npm:load:setTitle Completed in 1ms
24 timing npm:load:display Completed in 0ms
25 verbose logfile logs-max:10 dir:C:\Users\xxxx\AppData\Local\npm-cache\_logs\2024-05-27T06_55_06_826Z-
26 verbose logfile C:\Users\xxxx\AppData\Local\npm-cache\_logs\2024-05-27T06_55_06_826Z-debug-0.log
27 timing npm:load:logFile Completed in 4ms
28 timing npm:load:timers Completed in 0ms
29 timing npm:load:configScope Completed in 0ms
30 timing npm:load Completed in 71ms
31 verbose stack TypeError: Class extends value undefined is not a constructor or null
31 verbose stack     at Object.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\minipass-collect\index.js:4:23)
31 verbose stack     at Module._compile (node:internal/modules/cjs/loader:1358:14)
31 verbose stack     at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
31 verbose stack     at Module.load (node:internal/modules/cjs/loader:1208:32)
31 verbose stack     at Module._load (node:internal/modules/cjs/loader:1024:12)
31 verbose stack     at Module.require (node:internal/modules/cjs/loader:1233:19)
31 verbose stack     at require (node:internal/modules/helpers:179:18)
31 verbose stack     at Object.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\cacache\lib\get.js:3:17)
31 verbose stack     at Module._compile (node:internal/modules/cjs/loader:1358:14)
31 verbose stack     at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
32 verbose cwd C:\Users\xxxx\Documents\github\dex-contracts

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.