> ## Documentation Index
> Fetch the complete documentation index at: https://docs.eco.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Seamless (seamless)

> Native lending and borrowing protocol on Base. Aave V3 fork with integrated leverage strategies (ILMs) for one-click leveraged yield.

> [!NOTE]
>
> Archived documentation for `@eco-incorp/sauce@0.99.16`. Install this release with `npm install --save-exact @eco-incorp/sauce@0.99.16`. Links to guides outside this tab open current documentation.

Native lending and borrowing protocol on Base. Aave V3 fork with integrated leverage strategies (ILMs) for one-click leveraged yield.

| Fact | Value |
| - | - |
| Category | Lending |
| Family | none |
| Namespace | `Seamless` on base |
| Chains | base |

## Notes

* Same interface as Aave V3 (forked codebase) -- referralCode always 0
* ILMs (Integrated Liquidity Markets) enable one-click leveraged positions on yield-bearing assets
* interestRateMode: 2 = variable (stable rate not supported)
* All supply/repay operations require ERC-20 approval to the Pool
* Base-only deployment

## Its names in a program

On Base, `Seamless` is a namespace: its contracts need no import.

```ts theme={null}
function main() {
  // Base's pool, `0x8F44Fd754285aa6A2b8B9B97739B79746e0475a7`.
  require(Seamless.Pool != 0);
}
```

## Deployments

| Chain | Contract | Address | In a program |
| - | - | - | - |
| [Base](https://docs.eco.com/sauce-versions/0.99.16/sauce-sdk/reference/chains/base.md) | pool | `0x8F44Fd754285aa6A2b8B9B97739B79746e0475a7` | `Seamless.Pool` |
| [Base](https://docs.eco.com/sauce-versions/0.99.16/sauce-sdk/reference/chains/base.md) | poolAddressesProvider | `0x0e02eB705Be564c2bF0067928A8f8DD89A82B26E` (no code at this address on this chain) | `Seamless.PoolAddressesProvider` |

## ABI

### `SeamlessPoolABI`

`import SeamlessPoolABI from "./protocols/seamless/SeamlessPoolABI.json";` Speaks for: pool.

* `supply(address asset, uint256 amount, address onBehalfOf, uint16 referralCode)`
* `withdraw(address asset, uint256 amount, address to) returns (uint256)`
* `borrow(address asset, uint256 amount, uint256 interestRateMode, uint16 referralCode, address onBehalfOf)`
* `repay(address asset, uint256 amount, uint256 interestRateMode, address onBehalfOf) returns (uint256)`

## Next steps

* [Protocols](https://docs.eco.com/sauce-versions/0.99.16/sauce-sdk/reference/protocols.md): the other protocols, by what they do.
* [Protocols and tokens](https://docs.eco.com/sauce-versions/0.99.16/sauce/names.md): calling a contract by its namespace, or through its ABI.
* [Glossary](https://docs.eco.com/sauce-versions/0.99.16/sauce/glossary.md): the words these pages use, in plain terms.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.