{"repo":"BeanstalkFarms/Basin","free":true,"listed":false,"github":"https://github.com/BeanstalkFarms/Basin","clone":"git clone https://github.com/BeanstalkFarms/Basin.git","description":"A composable EVM-native decentralized exchange protocol.","language":"Solidity","stars":59,"topics":["amm","defi","ethereum","oracle"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"Basin Code Version: 1.0.0 Whitepaper Version: 1.0.0 Multi Flow The Multi Flow Pump implementation is also included in this repository at MultiFlowPump.sol. Code Version: 1.0.0 Whitepaper Version: 1.0.0 About Basin is a composable EVM-native decentralized exchange protocol. - Audits - Documentation - Motivation - License Audits Cyfrin Basin Audit Halborn Basin Audit Documentation Basin Whitepaper Multi Flow Whitepaper Basin Docs A {Well} is a constant function AMM that allows the provisioning of liquidity into a single pooled on-chain liquidity position. Each Well is defined by its Tokens, Well function, and Pump. - The Tokens define the set of ERC-20 tokens that can be exchanged in the Well. - The Well function defines an invariant relationship between the Well's reserves and the supply of LP tokens. See {IWellFunction}. - Pumps are an on-chain oracles that are updated upon each interaction with the Well. See {IPump}. A Well's tokens, Well function, and Pump are stored as immutable variables during Well construction to prevent unnecessary SLOAD calls during operation. Wells support swapping, adding liquidity, and removing liquidity in balanced or imbalanced proportions. Wells maintain two components of state: - a balance of tokens received through Well operations (\"reserves\") - an ERC-20 LP token representing pro-rata ownership of the reserves Well functions and Pumps can independently choose to be stateful or stateless. Including a Pump is optional. Each Well implements ERC-","default_branch":null,"files":null,"tree":[],"storefront":"/r/BeanstalkFarms","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/BeanstalkFarms/Basin/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}