Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

StreetFDN/Intersection

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

128 Commits
128 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Street AMM

AMM on Base for startup tokens (ERC-S), forked from Aerodrome Finance (Solidly-style). Uses battle-tested core contracts with Street-specific changes: STREET token, 2-year vote-escrow, fixed emissions, founder controls, and 5% bribe platform fee.

Protocol overview

AMM contracts (use as-is)

Contract Description
Pool.sol Constant-product AMM (Uniswap V2–style).
Router.sol Multi-pool swaps, add/remove liquidity.
PoolFees.sol Pool trading fees (separate from reserves).
ProtocolLibrary.sol Router helpers (e.g. price impact).
FactoryRegistry.sol Registry of pool, gauge, and voting-reward factories.

Token & emissions (Street)

Contract Description
StreetToken.sol Protocol ERC20 (STREET), 1B max supply.
VeStreet.sol Vote-escrow (ve)NFT; max lock 2 years. Merge, split, managed NFTs.
StreetMinter.sol Fixed weekly emissions (no rebases); team share + rest to Voter.
RewardsDistributor.sol Used by Minter; no rebase transfers in Street flow.
VeArtProxy.sol (ve)NFT art proxy.
AirdropDistributor.sol Distributes permanently locked (ve)NFTs.

Protocol mechanics

Contract Description
StreetVoter.sol Epoch votes, gauge/bribe creation, emission distribution. Founder whitelist for gauge creation; gauge pause (governor or pool founder).
Gauge.sol LP staking; receives emissions by vote weight.
StreetBribe.sol Bribe rewards with 5% platform fee to treasury.
FeesVotingReward.sol LP fees for current epoch voters.
VotingReward.sol Base reward logic.
ManagedReward.sol / LockedManagedReward.sol / FreeManagedReward.sol Managed veNFT staking and rewards.
FounderControls.sol Per-pool pause, max daily volume, max float (optional integration).
OffRampKYC.sol Optional KYC for fiat off-ramps.

Governance (use as-is)

Contract Description
ProtocolGovernor.sol OpenZeppelin Governor: whitelist, emissions, managed NFTs.
EpochGovernor.sol Epoch-based emissions adjustments.

Testing

Uses Foundry:

forge install
forge build
forge test

Base mainnet fork tests

Inherit BaseTest in BaseTest.sol and set deploymentType to Deployment.FORK. Set BASE_RPC_URL in .env. Optionally set BLOCK_NUMBER for a fixed fork.

Lint

  • yarn format — Prettier
  • yarn lint — Solhint (currently disabled in CI)

Deployment

See script/README.md. Constants (e.g. script/constants/Base.json) include treasury for StreetBribe and StreetVotingRewardsFactory. Deploy script deploys FounderControls and OffRampKYC and writes addresses to the output JSON.

Access control

See PERMISSIONS.md if present.

Licensing

See LICENSE and NOTICE. This project follows Apache Foundation licensing guidelines.

Deployment addresses (Aerodrome Base mainnet reference)

The table below refers to Aerodrome on Base (upstream). Street AMM deployments will be documented separately after mainnet launch (see script/constants/output/ for script output).

Name Address
ArtProxy 0xE999…
RewardsDistributor 0x227f…
FactoryRegistry 0x5C3F…
Forwarder 0x15e6…
GaugeFactory 0x35f3…
ManagedRewardsFactory 0xFdA1…
Minter 0xeB01…
PoolFactory 0x420D…
Router 0xcF77…
AERO 0x9401…
Voter 0x1661…
VotingEscrow 0xeBf4…
VotingRewardsFactory 0x45cA…
Pool 0xA4e4…

About

Crossroad AMM

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Solidity 96.8%
  • TypeScript 3.2%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.