This repository is a collection of smart contracts that implement the SPOT perpetual note on the Ethereum blockchain.
The official mainnet addresses are:
- SPOT ERC-20 Token: 0xC1f33e0cf7e40a67375007104B929E49a581bafE
- Bond issuer: 0x5613Fc36A431c9c2746763B80C1DD89e03593871
- Router: 0xCe2878d1f2901EFaF48cd456E586B470C145d1BC
- RolloverVault: 0x82A91a0D599A45d8E9Af781D67f695d7C72869Bd
- FeePolicy: 0xE22977381506bF094CB3ed50CB8834E358F7ef6c
# Install project dependencies
yarn
# Run all unit tests (compatible with node v12+)
yarn test
There is a testnet deployment on Sepolia.
- SPOT ERC-20 Token: 0xdcCef9065876fD654bAddeBAa778FDA43E0bfC1F
- Bond issuer: 0x3838C8d4D092d40Cb27DD22Dafc6E1A81ea2DB60
- Router: 0xE5b53ee8182086790C1ab79cbf801F0c5EE241BF
- RolloverVault: 0x107614c6602A8e602952Da107B8fE62b5Ab13b04
- FeePolicy: 0x2DdF288F26490D1147296cC0FA2B3c4da5E15f10
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