Contracts

Mercury smart contract reference and Ethereum mainnet addresses for Relay, BSwap, BStaking, BCredit, BFactory, and BLens, plus legacy Baseline deployments and operational multisigs.

Mercury is Baseline's latest protocol upgrade, and is organized as follows:

  • BToken.sol is a minimal ERC-20 contract for each token.
  • Relay.sol is a single contract for all protocol features that users interact with: trading and quoting (BSwap.sol), pool config and fee distribution (BController.sol), staking (BStaking.sol) and credit (BCredit.sol).
  • BFactory.sol deploys new BToken instances.

Baseline Mercury

Operational

Baseline Legacy