bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 53쪽 중 20쪽
[LayerZero OFT documentation](https://docs.layerzero.network/v2/developers/evm/oft/quickstart) — `SendParam`, `quoteSend` and the messaging model.
# slisBNBx
## Overview
`slisBNBx` (formerly `clisBNB`) is a non-transferable certificate that lets you keep collateral working in a Moolah lending position and still qualify for Binance Launchpool with it.
You never mint it directly. `SlisBNBxMinter` issues and burns it as a consequence of your collateral moving, so the supply always matches the collateral behind it — see [Token Lifecycle](/for-developer/clisbnb/token-lifecycle) for the five steps.
The legacy CDP's own `HelioProvider` is a separate, still-live minter alongside `SlisBNBxMinter` (see [Token Lifecycle](/for-developer/clisbnb/token-lifecycle)) — this page documents the Moolah path only. Nobody mints `slisBNBx` at will — the amount is always derived from the account's collateral. `rebalance` and `syncDelegatee` are module-only, but `syncUserModuleLp` / `bulkSyncUserModules` are permissionless: anyone may force a re-sync of any account against a registered module.
# Minting Ratio Logic
Both collateral modules derive gross `slisBNBx` from BNB-equivalent collateral value. Before final distribution, two sequential adjustments are applied:
1. Collateral discount
2. Lista DAO performance fee
## Step 1: Collateral Discount
| Collateral Module | Discount Rate | Effect |
| -------------------------------------- | ------------- | ------------------------------------------------------------ |
| `slisBNB` (via `SlisBNBProvider`) | `0%` | Full BNB-equivalent value is used as mint base. |
| `slisBNB/BNB LP` (via `SmartProvider`) | `0.2%` | LP BNB-equivalent value is multiplied by `0.998` before fee. |
## Step 2: Performance Fee (Lista DAO)
| Collateral Module | Performance Fee | Fee Basis |
| -------------------------------------- | --------------- | ------------------------------------------------------ |
| `slisBNB` (via `SlisBNBProvider`) | `3%` | Applied to full BNB-equivalent value. |
| `slisBNB/BNB LP` (via `SmartProvider`) | `1.8367%` | Applied to discounted (`0.998x`) BNB-equivalent value. |
## Formula
### `slisBNB` module
```
gross slisBNBx = slisBNB deposited x slisBNB/BNB exchange rate
Lista fee = gross slisBNBx x 3%
user slisBNBx = gross slisBNBx x 97%
```
### `slisBNB/BNB LP` module
```
gross slisBNBx = LP BNB-equivalent x (1 - 0.2%) = LP value x 0.998
Lista fee = gross slisBNBx x 1.8367%
user slisBNBx = gross slisBNBx x (1 - 1.8367%)
```
# Token Lifecycle
`slisBNBx` is minted and burned by `SlisBNBxMinter` as a consequence of a collateral movement in Moolah. There is no user-callable mint. `SlisBNBxMinter` is not the only live minter, though — the legacy CDP's `HelioProvider` still holds minter rights too; see the note below.
| Step | What you do | What happens on-chain |
| ----------- | ------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| 1. Deposit | Supply `slisBNB` or a `slisBNB/BNB` LP position to Moolah through its provider. | Collateral is recorded and the provider calls `SlisBNBxMinter`. |
| 2. Mint | — | The minter derives the `slisBNBx` amount from the BNB-equivalent value of the collateral and mints it to you, or to your delegatee. |
| 3. Hold | Hold the certificate. It is non-transferable. | The holder qualifies for Binance Launchpool. |
| 4. Withdraw | Withdraw collateral from Moolah, in full or in part. | The provider calls the minter to burn. |
| 5. Burn | — | The minter burns the share of `slisBNBx` matching the collateral removed, so supply stays fully collateral-backed. |
Plan around three consequences:
* **A partial withdrawal burns only the proportional amount** — the rest of the certificate stays minted. Whether the remaining balance still qualifies for a given Launchpool is decided by that campaign's own rules, not by this contract.
* **You cannot hold `slisBNBx` without the backing collateral.** Any path that removes collateral removes the certificate with it.
* **This lifecycle is the Moolah integration.** The legacy CDP is a separate, still-live mint/burn path through its own `HelioProvider` — not something this page documents. See [Delegation](/for-developer/clisbnb/delegation) for how the two paths differ.
See [Delegation](/for-developer/clisbnb/delegation) for directing the mint to another address, and [Minting Ratio Logic](/for-developer/clisbnb/minting-ratio-logic) for how the amount is derived.
# Delegation
`slisBNBx` is a non-transferable certificate, so a holder cannot move it with a normal ERC-20 `transfer`. Instead, the protocol lets an account choose **which wallet holds the `slisBNBx` minted on its behalf**. This is called delegation, and it is the mechanism used to route a position's `slisBNBx` (and therefore its Binance Launchpool eligibility) to another wallet, such as a Binance Web3 MPC wallet.
Delegation is managed by `SlisBNBxMinter`, the mint-and-burn engine for `slisBNBx`, deployed on BNB Smart Chain at [`0x2959c423bfe5Cc6E41516599D982A29C0773F11a`](https://bscscan.com/address/0x2959c423bfe5Cc6E41516599D982A29C0773F11a). See [Lista Lending BSC Core](/for-developer/lista-lending/smart-contract/smart-contract-bsc-core) for the other `slisBNBx` addresses — this page's [Smart Contract](/for-developer/clisbnb/smart-contract) only lists the Launchpool/provider contracts, not `SlisBNBxMinter`.
## Delegation model
| Property | Behavior |
| -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Scope | **Per account, not per position.** A single delegatee holds the account's whole recorded `slisBNBx` position across all collateral modules (the `slisBNB` provider and the `slisBNB/BNB` LP provider). Note this is the **user's part only** — each module mints a fee slice to a Lista wallet, which is not part of the delegated amount. |
| Granularity | **No partial delegation through the minter.** `SlisBNBxMinter.delegateAllTo` is all-or-nothing. The legacy CDP providers are a separate, still-live path that does support per-amount delegation — see the note below. |
| Default | If an account has never set a delegatee, the holder defaults to **the account itself**. Note this default is applied lazily: `delegation[account]` is written during the first balance-changing rebalance, so **reading it beforehand returns `address(0)`, not the account**. Treat a zero result as "delegated to self", not as unset-and-broken. |
| Mutability | **Can be changed at any time** via `delegateAllTo`. It is *not* fixed at mint time. |
| Effect on collateral | Delegation only changes **who holds the `slisBNBx` certificate**. It does not move, re-own, or otherwise affect the underlying collateral in Moolah. |
The minter stores delegation as a single mapping, `delegation[account] => delegatee`, and tracks each account's own `slisBNBx` across every module in `userTotalBalance[account]` (the user part, excluding the per-module fee slice minted to Lista). Both are read-only and queryable on-chain.
## Changing the delegatee
Reassigning the delegatee is **atomic**: the minter burns the account's recorded `userTotalBalance` from the old holder and mints the same amount to the new delegatee in a single call (a delegatee may hold for several accounts, so this is not necessarily their whole balance). No rebalance against collateral happens during the switch — only the holder changes.
### `delegateAllTo` (called by the account)
```solidity
function delegateAllTo(address newDelegatee) external;
```
Called by the account itself (`msg.sender`). It delegates the account's whole `slisBNBx` balance to `newDelegatee`.
* No-op if `newDelegatee` already equals the current delegatee (this equality check runs first).
* Otherwise, the zero address is rejected as a new delegatee.
* Internally: reads `userTotalBalance[account]`, burns that amount from the current holder (the old delegatee, or the account itself if none was set), records `delegation[account] = newDelegatee`, then mints the burned amount to `newDelegatee`.
A module-only variant, `syncDelegatee(address account, address newDelegatee)`, does the same thing from a registered collateral module. It is not callable by an integrator.
## Legacy `SlisBNBProvider.delegateAllTo` is disabled
The `SlisBNBProvider` collateral module also exposes `delegateAllTo(address)` from an earlier design. Once that provider is wired to the minter, its own `delegateAllTo` **reverts with `"not supported"`** and delegation for it must go through `SlisBNBxMinter.delegateAllTo`.
> The same `slisBNBx` token has several minters, and the legacy CDP providers are still live and unpaused. Those support **per-amount** delegation and are not gated by the minter, so "all delegation goes through the minter" holds for the modules the minter owns, not for the token as a whole. Read the specific provider before assuming which path applies.
```solidity
// SlisBNBProvider.delegateAllTo — legacy path, gated off once the minter is set
require(slisBNBxMinter == address(0), "not supported");
```
## Events
These track delegation and the resulting certificate movements. Note **none of their parameters is `indexed`**, so you cannot filter by account at the node — fetch by address and topic0, then filter client-side:
| Event | Emitted by | Signature | Meaning |
| ---------------------- | ---------------- | ----------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
| `ChangeDelegateTo` | `SlisBNBxMinter` | `ChangeDelegateTo(address account, address oldDelegatee, address newDelegatee, uint256 amount)` | Delegatee reassigned; `amount` is the `slisBNBx` actually burned from the old holder and minted to the new one. |
| `UserModuleRebalanced` | `SlisBNBxMinter` | `UserModuleRebalanced(address account, address module, uint256 userPart, uint256 feePart)` | Per-module `slisBNBx` recomputed for the account during a rebalance. |
| `Rebalance` | `SlisBNBxMinter` | `Rebalance(address account, uint256 latestModuleBalance, address module, uint256 latestTotalBalance)` | A module triggered a rebalance; `latestTotalBalance` is the account's new total across modules. |
> The `SlisBNBProvider` contract emits its own `ChangeDelegateTo(address account, address oldDelegatee, address newDelegatee)` (note: **no `amount` field**) only from the legacy, now-disabled path. For the current minter architecture, listen for the `SlisBNBxMinter` event above.
## Integration notes
* **Read, don't expect transfers.** `slisBNBx` is non-transferable. To find an account's certificate holder, read `delegation[account]` — a zero result means the account itself, not an error; to find the account's own amount, read `userTotalBalance[account]`.
* **Withdrawing burns from the holder, not from you.** When collateral leaves Moolah the minter burns `slisBNBx` from whichever wallet currently holds it — the delegatee, if you set one. You do not need to hold the certificate, or to control that wallet, to withdraw. If the holder's balance is short of the amount to burn, the minter burns what is there rather than reverting, so a withdrawal never fails on the certificate leg.
* **Delegation does not auto-rebalance.** `delegateAllTo` moves the existing balance as-is. Subsequent collateral supply/withdraw will rebalance the certificate to the *current* delegatee.
* **The new holder receives Launchpool eligibility.** Because eligibility is computed off-chain from `slisBNBx` balances, the wallet that holds the certificate after delegation is the one credited with rewards.
# Smart Contract
## Main
`slisBNBx` is a non-transferable certificate that lets a Moolah collateral position also earn Binance Launchpool rewards. These contracts are the certificate token, its Launchpool distributors and the ERC-20 provider. For BNB liquid staking itself — the stake manager, validator operations and the cross-chain OFT — see [Liquid Staking (slisBNB)](/for-developer/liquid-staking-slisbnb/smart-contract).
<table><thead><tr><th width="289">Name</th><th>Contract Address</th></tr></thead><tbody><tr><td>slisBNBx</td><td><a href="https://bscscan.com/address/0x4b30fcAA7945fE9fDEFD2895aae539ba102Ed6F6">0x4b30fcAA7945fE9fDEFD2895aae539ba102Ed6F6</a></td></tr><tr><td>ClisBNBLaunchPoolDistributor</td><td><a href="https://bscscan.com/address/0x81a62B329CC8939494d8613F614171a9955A46e8">0x81a62B329CC8939494d8613F614171a9955A46e8</a></td></tr><tr><td>ClisBNBLaunchPoolDistributor (Pendle)</td><td><a href="https://bscscan.com/address/0x8b7d334d243b74D63C4b963893267A0F5240F990">0x8b7d334d243b74D63C4b963893267A0F5240F990</a></td></tr><tr><td>ERC20TokenProvider</td><td><a href="https://bscscan.com/address/0x2725d7336027773d7a958e10819a923dcd65aa57">0x2725d7336027773d7a958e10819a923dcd65aa57</a></td></tr></tbody></table>
# Lista Lending
## Overview
Moolah is Lista DAO's decentralized lending protocol, branded as Lista Lending. It is deployed on BNB Smart Chain and on Ethereum — see [Ethereum](/for-developer/lista-lending/smart-contract/smart-contract-ethereum) for that address set, and note the [SDK](/for-developer/lista-lending/sdk)'s Ethereum coverage lags the protocol. It is powered by Morpho and built on Morpho Blue smart contracts.
Moolah extends standard Morpho market architecture with Lista-specific controls and integrations, including minimum loan floor, resilient oracle routing, protocol-level reentrancy protection, upgradeability, and role-based access control.
In addition, it supports two integration patterns for external systems:
* Provider contracts for collateral handling and asset transformation
* Broker contracts for curated market access and fixed-term/fixed-rate lending flows
# Integration Patterns
Moolah supports two external integration patterns. They operate at different layers of the lending stack.
## Which surface do I call?
A market can be gated on either side. Probe both before building against it — a gated market rejects a direct call:
```solidity
MOOLAH.providers(id, marketParams.collateralToken); // non-zero -> collateral must route through it
MOOLAH.brokers(id); // non-zero -> borrow/repay must route through it
```
| Your case | Call | Reference |
| ------------------------------------------ | ---------------------------- | --------------------------------------------------------------------------------- |
| Plain ERC-20 collateral, variable rate | Moolah directly | [Contract & Interface Reference](/for-developer/lista-lending/contract-reference) |
| `slisBNB` collateral | `SlisBNBProvider` | [Providers](/for-developer/lista-lending/providers) |
| Native BNB into a WBNB vault | `BNBProvider` | [Providers](/for-developer/lista-lending/providers) |
| StableSwap LP collateral | `SmartProvider` | [Smart Lending & StableSwap](/for-developer/lista-lending/stableswap-integration) |
| Fixed-term borrowing | the market's `LendingBroker` | [Broker Reference](/for-developer/lista-lending/broker-reference) |
| Undercollateralized credit | `CreditBroker` | [Loan Lifecycle](/for-developer/credit-loans/loan-lifecycle) |
| Depositing to earn, not borrowing | the ERC-4626 vault | [Vault Reference](/for-developer/lista-lending/vault-reference) |
| Moving a variable position to a fixed term | `PositionManager` | [Position Conversion](/for-developer/lista-lending/position-conversion) |
| Liquidating someone else's position | `PublicLiquidator` | [Liquidator Integration](/for-developer/lista-lending/liquidator-integration) |
| Pattern | Purpose | Typical Usage |
| -------- | -------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| Provider | Handles collateral deposit/withdraw flow, asset conversion, and optional `slisBNBx` mint/burn callbacks. | `slisBNB` collateral, Lista StableSwap LP collateral, WBNB vault integrations, parts of credit flows |
| Broker | Curates access to one or more markets and handles loan-origination logic. | Fixed term/rate lending products, credit loans |
## Provider Integration
A provider sits between user and Moolah core for specific collateral types. Instead of calling Moolah directly, users call provider contracts that normalize assets and route collateral into target markets.
| Provider | Collateral Type | `slisBNBx` Minting |
| ----------------- | ------------------------------ | ----------------------------- |
| `SlisBNBProvider` | `slisBNB` liquid staking token | Yes |
| `SmartProvider` | Lista StableSwap LP tokens | Only the slisBNB/BNB instance |
| `BNBProvider` | Native BNB wrapped to WBNB | No |
| `CreditBroker` | Lista Credit Token | No |
> `CreditBroker` appears in **both** tables on purpose: on the Credit market it is registered as the collateral provider *and* as the broker. Both `Moolah.providers(id, creditToken)` and `Moolah.brokers(id)` return the same address, so it gates collateral movement and borrow/repay origination at once. It is the only contract registered in both roles.
## Broker Integration
A broker is a loan-origination layer for curated products. Unlike providers, brokers focus on terms, rates, and borrower eligibility before routing calls into Moolah.
Broker markets are created against `FixedRateIrm` rather than the adaptive curve, and the Moolah-level rate is left at zero — the broker's own term rate is what the borrower pays. `borrowRateView` on such a market returns `0` (subject to any configured floor), so read the rate from the broker's `getFixedTerms()` instead — see [IRM](/for-developer/lista-lending/irm) for when a `FixedRateIrm` market does carry a Moolah-level rate.
| Broker Type | Product | Key Differentiator |
| -------------- | ------------------------------------- | --------------------------------------------------------------- |
| Lending Broker | Lista fixed term & fixed rate markets | Uses `FixedRateIrm` instead of utilization-based adaptive curve |
| Credit Broker | Lista Credit Loans | Supports undercollateralized borrowing with credit-limit gating |
# Liquidator Integration
To run a **third-party liquidator** against Lista Lending (Moolah) you need four things: which contract to call, how eligibility is gated, how to size the liquidation, and how the collateral comes back to you.
Liquidation on Moolah is permissionless *at the contract level* but **gated per market**. Rather than calling `Moolah.liquidate` directly, external liquidators go through **`PublicLiquidator`**, which is the contract that Lista's own [Liquidation Zone](https://lista.org/lending/liquidation) front end uses. That page is a working reference implementation of everything described here.
For the product-level explanation of liquidation see [Liquidation](/introduction/lista-lending/liquidation); for the data feeds that tell you *what* to liquidate see [Positions, Liquidation & Emission API](/for-developer/services/lending-api/position-liquidation-emission). For the low-level core function see [Contract & Interface Reference § Liquidation](/for-developer/lista-lending/contract-reference).
***
## The three liquidator contracts
Moolah deploys three liquidator contracts. `PublicLiquidator` is the third-party integration surface.
| Contract | Caller | Funding | Use |
| ---------------------- | ------------------------- | ---------------------------------------------------------------------------------- | -프로젝트로 돌아가기