Request form
Ampleforth
  • Rebase
  • DAO
  • Finance
  • Protocol
Docs
Source
ChefGPT

The elastic supply protocol

OwnableUpgradeable.sol
Initializable.sol
ERC20Upgradeable.sol
draft-ERC20PermitUpgradeable.sol
draft-IERC20PermitUpgradeable.sol
IERC20MetadataUpgradeable.sol
IERC20Upgradeable.sol
SafeERC20Upgradeable.sol
AddressUpgradeable.sol
ContextUpgradeable.sol
CountersUpgradeable.sol
draft-EIP712Upgradeable.sol
ECDSAUpgradeable.sol
MathUpgradeable.sol
StringsUpgradeable.sol
ERC20Detailed.sol
IERC20.sol
Initializable.sol
Ownable.sol
SafeMath.sol
IAMPL.sol
IAmpleforth.sol
IOrchestrator.sol
SafeMathInt.sol
Select.sol
UInt256Lib.sol
MedianOracle.sol
ConstructorRebaseCallerContract.sol
GetMedianOracleDataCallerContract.sol
Mock.sol
MockDownstream.sol
MockOracle.sol
MockUFragments.sol
MockUFragmentsPolicy.sol
RebaseCallerContract.sol
SafeMathIntMock.sol
SelectMock.sol
UInt256LibMock.sol
Orchestrator.sol
UFragments.sol
UFragmentsPolicy.sol
WAMPL.sol

2 downloads

Chains

Authors

Ampleforth
  • Rebase
  • DAO
  • Finance
  • Protocol
Info
Source
ChefGPT
Expand
Share

Get Cookin'

2 downloads

Authors

Ampleforth

Nightly  Coverage Status

Ampleforth (code name uFragments) is a decentralized elastic supply protocol. It maintains a stable unit price by adjusting supply directly to and from wallet holders. You can read the whitepaper for the motivation and a complete description of the protocol.

This repository is a collection of smart contracts that implement the Ampleforth protocol on the Ethereum blockchain.

The official mainnet addresses are:

Table of Contents

Install

# Install project dependencies
yarn

Testing

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

Testnets

There is a testnet deployment on Goerli. It rebases hourly using real market data.

Contribute

To report bugs within this package, create an issue in this repository. For security issues, please contact [email protected]. When submitting code ensure that it is free of lint errors and has 100% test coverage.

# Lint code
yarn lint

# Format code
yarn format

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

# Run solidity gas usage report
yarn profile

License

GNU General Public License v3.0 (c) 2018 Fragments, Inc.

The elastic supply protocol
OwnableUpgradeable.sol
Initializable.sol
ERC20Upgradeable.sol
draft-ERC20PermitUpgradeable.sol
draft-IERC20PermitUpgradeable.sol
IERC20MetadataUpgradeable.sol
IERC20Upgradeable.sol
SafeERC20Upgradeable.sol
AddressUpgradeable.sol
ContextUpgradeable.sol
CountersUpgradeable.sol
draft-EIP712Upgradeable.sol
ECDSAUpgradeable.sol
MathUpgradeable.sol
StringsUpgradeable.sol
ERC20Detailed.sol
IERC20.sol
Initializable.sol
Ownable.sol
SafeMath.sol
IAMPL.sol
IAmpleforth.sol
IOrchestrator.sol
SafeMathInt.sol
Select.sol
UInt256Lib.sol
MedianOracle.sol
ConstructorRebaseCallerContract.sol
GetMedianOracleDataCallerContract.sol
Mock.sol
MockDownstream.sol
MockOracle.sol
MockUFragments.sol
MockUFragmentsPolicy.sol
RebaseCallerContract.sol
SafeMathIntMock.sol
SelectMock.sol
UInt256LibMock.sol
Orchestrator.sol
UFragments.sol
UFragmentsPolicy.sol
WAMPL.sol