Skip to content

Commit

Permalink
Merge pull request #105 from balancer/routers
Browse files Browse the repository at this point in the history
Routers (overview) page
  • Loading branch information
danielmkm authored Jul 1, 2024
2 parents d61a4ae + 35d03bd commit 122843b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/concepts/router/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,22 @@ title: Overview

## Routers

In the Balancer V3 architecture, Routers serve as the pivotal interface for users, facilitating efficient interaction with the underlying Vault primitives. Rather than directly engaging with the Vault, users are encouraged to utilize Routers as their primary entry point. This approach streamlines operations and enhances flexibility by abstracting complex functionalities into simplified user-facing functions.
In the Balancer V3 architecture, Routers serve as the pivotal interface for users, facilitating efficient interaction with the underlying Vault primitives. Rather than directly engaging with the Vault, users are encouraged to use Routers as their primary entry point. This approach streamlines operations and enhances flexibility by abstracting multi-step operations into simple user-facing functions.

Key Functions:
* Aggregation of Operations: Routers excel in consolidating intricate user interactions into cohesive, single-function calls. By amalgamating various functionalities, Routers provide users with a seamless and intuitive experience.
* Aggregation of Operations: Routers excel at consolidating complex user interactions into specific single-purpose function calls. This encapsulation provides users with a seamless and intuitive experience.
* External API Provision: Acting as the external interface, Routers furnish users with accessible endpoints to interact with the protocol. This abstraction shields users from the complexities of the underlying system, promoting ease of use.
* Integration with the Vault: Routers interface with the Vault, enabling seamless access to fundamental operations and liquidity management functionalities.
* Custom Logic Implementation: Beyond facilitating basic operations, Routers are empowered to implement custom logic tailored to specific user requirements. This flexibility allows for the seamless incorporation of bespoke functionalities into the protocol ecosystem.
* Dynamic Update Capabilities: Unlike the Vault, Routers do not retain liquidity, rendering them highly adaptable to evolving protocol dynamics. This inherent flexibility facilitates the deployment of new Router versions with patches and extended functionalities, ensuring that users can access the latest innovations effortlessly.
* Integration with the Vault: Routers interface with the Vault, enabling seamless access to fundamental operations and liquidity management functionality.
* Custom Logic Implementation: Beyond facilitating basic operations, Routers implement custom logic tailored to specific user requirements. This flexibility allows for the seamless incorporation of bespoke functionality into the protocol ecosystem.
* Dynamic Update Capabilities: Unlike the Vault, Routers are stateless and do not retain liquidity. This inherent flexibility facilitates the deployment of new Router versions with patches and extended functionality, ensuring that users can always access the latest innovations.

In essence, Routers play a pivotal role in abstracting complexity, enhancing user accessibility, and fostering innovation. By serving as the conduit between users and the underlying Vault system, Routers empower seamless interaction and enable the realization of diverse use cases.
In essence, Routers play a pivotal role in abstracting complexity, enhancing user accessibility, and fostering innovation. By serving as the conduit between users and the underlying Vault system, Routers enable seamless interactions and diverse use cases.

## Balancer Routers

Balancer has developed, audited and deployed Router contracts with the goal of providing simplified, easy to use functions for common liquidity actions. These Routers also serve as a useful reference for other Router implementations.

### Balancer Router
### Basic Router

- Most common user actions, initialize/add/remove/swap
- [API](../../developer-reference/contracts/router-api.md)
Expand Down

0 comments on commit 122843b

Please sign in to comment.