Skip to content

Files

Latest commit

 

History

History

spot-contracts

Spot contracts

This repository is a collection of smart contracts that implement the SPOT perpetual note on the Ethereum blockchain.

The official mainnet addresses are:

Install

# Install project dependencies
yarn

Testing

# Run all unit tests (compatible with node v12+)
yarn test

Testnets

There is a testnet deployment on Sepolia.

Contribute

To report bugs within this package, create an issue in this repository. For security issues, please contact dev-support@ampleforth.org. When submitting code ensure that it is free of lint errors and has 100% test coverage.

# Lint code
yarn lint:fix

# Run solidity coverage report (compatible with node v12)
yarn coverage

# Run solidity gas usage report
yarn profile