Skip to content
This repository was archived by the owner on Aug 4, 2026. It is now read-only.

Repository files navigation

Important

This repository is deprecated. The source has moved to the nxp-contracts monorepo. Please use that repository for the latest code, issues, and updates. This repository is kept read-only for historical reference, including the commit(s) covered by past security audits.

Environment

  • node 16.18.*
  • npm 8.19.*
  • solidity 0.8.*

Setup

npm install

Usage

Compile

npm run compile

Run test code

npm test

Measure coverage after all test files are run

npm run coverage

Convention

https://docs.soliditylang.org/en/v0.8.13/style-guide.html

Full Layout

  1. Pragma statements
  2. Import statements
  3. Interfaces
  4. Libraries
  5. Contracts

Contract Layout

  1. Type declarations
  2. State variables
  3. Events
  4. Modifies
  5. Functions

Declaration order by function type

  1. constructor
  2. receive function (if exists)
  3. fallback function (if exists)
  4. external
  5. public
  6. internal
  7. private

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages