# KASU Finance

Case study by Maciej Piernikowski · 2024 · https://pequ.dev/case-studies/kasu/

- Scope: Research, Product Development, Brand Experience, UX & User Interface, Consulting
- Role: Product Designer, Head of UX
- Segment: DeFi, Blockchain, Capital Aggregator

KASU Finance is a DeFi protocol for trade finance: businesses get working capital, and investors lend into pools split into Senior, Mezzanine and Junior risk tranches. Right after Spool I joined as a freelance consultant. Spool took a year and a half; KASU took three months. Same design system, new brand.

## Outcome

- Live at kasu.finance
- Three risk tranches explained on a single pool card
- One design system and component library shared by design and development

## Challenges

- Trade finance in DeFi is opaque and hard to enter
- No simple tools to follow investments and spread risk
- Little reason for investors to stay

Technologies: Figma, Solidity, The Graph, TypeScript, React, Material UI, Sass, Docker, Amazon Web Services, GraphQL

Incubators: Faculty Group

## Make trade finance readable for people new to it

Trade finance is burdened by jargon and complicated instruments. Interviews with investors showed where they got lost: unclear terms, risk layers nobody explained, and no guidance through the process.

We turned these findings into short user flows with visually distinct tranches and immediate feedback, and refined the prototypes over several rounds of user input.

The team was small and familiar: business people from Spool, the same manager, and two retired bankers who brought the traditional-finance view. The hard part was syncing those TradFi concepts with on-chain mechanics. After Spool, it wasn't that hard.

> Our technology can help reduce debtor days by up to 50%, which can lead to a reduction in administrative overhead and payment processing fees.
>
> — KASU Finance

## One workspace for design, development and stakeholders

*Flow maps, prototype, design system and component library in one tool*

We kept everything in Figma: journey maps, the clickable prototype, the tokenized design system and the component library. Moving from a high-level flow to a single interaction took one click, and stakeholder feedback arrived where the work was.

The component library was started with the first prototypes, not after them. Buttons, form inputs, steppers and transaction tables were designed, tested and catalogued once, then reused in every flow. This cut the length of our agile cycles by over 30%.

The journey map held the whole product on one canvas, from the landing pages to the deposit, withdrawal and KYC flows. Every screen could be traced to the step before it.

We reused everything Spool was designed for, down to the Solidity code. The new product came from restyling the design system in Figma and rewriting the narrative and marketing content. We worked mostly in Figma's collaborative mode, and it went smoothly.

Images:

- KASU design system in Figma: an overview of the component pages
- Button variants in large, medium and small, in light and dark themes
- Table component in light and dark themes, with pagination
- Dialog headers with the sand texture, in light and dark
- Dropdown states: default, focused, open, disabled and error, light and dark
- Radio buttons and checkboxes in every state and colour
- Stepper component for multi-step flows, in light and dark
- Table rows with checkboxes, selected and unselected, light and dark
- A settings page assembled from design-system components
- A users list page assembled from design-system components
- Component library: the app's flows laid out on one Figma canvas
- Lending screens in the component library: deposit, withdrawal and locking
- Journey map: A zoomed-out Figma canvas: dozens of KASU screens grouped into labelled areas for overview, portfolio, KYC, deposit and withdrawal, joined by thin blue connector lines. The whole product on one canvas: landing pages, deposit, withdrawal and KYC flows, linked screen by screen.
- Flow detail: A close-up of the flow map: screen thumbnails linked by arrows through pink decision diamonds, green and yellow notes beside them, a state group framed in white. A close-up of the withdrawal flow, with decision points and notes between screens.
- Lending flows: Another part of the flow map: tall portfolio and pool screens in a row, deposit screens in a framed group on the right, connectors and decision points between them. Portfolio, pool and deposit screens connected into one map.
- Clickable prototype: The Figma prototype player: a list of flows on the left, overview and calculator screens among them, and a KASU pool page in a browser frame on the right. The prototype used to test ideas with stakeholders before development.
- Complex components: A Figma library page of form components for Mezzanine and Junior/Senior pools: description, pool facts, tranche deposit and withdrawal panels and locking, each in beige. Multi-step forms, risk indicators and state displays, built once for every lending scenario.
- Views: The flow map at closer zoom: two long KASU pages on the left, a framed group of state screens on the right joined by arrows and decision diamonds. Deposit, withdrawal and portfolio screens linked in one flow map, so every path between them is visible at a glance.

## Three risk tranches, readable at a glance

*Pool cards that put APY, lock period and risk side by side*

Choosing a pool means weighing return against risk. Each pool card shows total APY, lock duration and funds originated, and breaks the pool into its Senior, Mezzanine and Junior tranches with their own rates.

The pool page goes deeper without changing the language: loan activity, total yield and loyalty rewards sit in tabs under the same headline figures. Active and closed pools can be compared, and the portfolio page gathers every position in one table.

Behind the pool pages, an admin panel built from the same components manages pools, tranche allocations, APY thresholds and delegates. The team can edit each pool page in place.

Images:

- Lending pools: The KASU lending page: totals across the top, then three pool cards with gold coin and cat figurine illustrations, each listing its tranche APYs above a Deposit button. Three pools side by side, each with APY, lock period and its tranches.
- Single-tranche pool: A long pool page on a sand and ink-wash background: pool overview, the visitor's investment and KSU status in beige panels, and a long transaction table at the bottom. One tranche: APY, amount invested and projected returns in one view, with transaction history below.
- Pool with several tranches: The same long page for a pool with three columns, Senior, Mezzanine and Junior, side by side in the overview and investment panels, transactions below. Senior and Mezzanine tranches compared, with tabs for allocation and cash flows.
- Portfolio: My lending portfolio: lifetime totals on top, then one table grouping every pool with its Senior, Mezzanine and Junior rows, APY, investment and yield earnings. Every position across pools and tranches in one table, so an investor sees the whole portfolio without opening each pool.
- Pool management: The admin pool configuration list: filters for active, suspended and closed, then each pool with interest, loans and utilisation, and Edit, Pause or Resume buttons. Create, configure and monitor pools, tranche allocations and APY thresholds.
- Pool details: One pool's admin details tab: panels for the delegate's profile, pool details, tranches with a default junior tranche, traction, risk performance and risk management. One pool's tranche performance and participation, filterable by tranche and status.
- Pool delegates: Maintain pool delegates: a table of user name, pool, role and wallet address, each row with Edit and Remove buttons, an Add button in the header. Who may manage which pool, with edit and remove actions.
- Pool page content: The CMS overview of a pool, with the same cat illustration as the public page: uploaded avatar image and strategy deck, then editable name, description and strategy text. Text and images of a pool page, edited in place in the CMS, in the same look as the public page.
- Pool configuration: The pool settings form before filling in: the same beige panels for delegate profile, pool details, tranches, traction and risk, with empty fields and drop-downs. Settings of a single pool grouped into panels, built from the same components as the investor screens.

## Deposit, lock and withdraw in three steps each

*The same stepper for every transaction*

Every transaction follows the same three steps: request, approve in the wallet, confirm. An earnings calculator shows the expected return before the deposit is requested, and each step states amounts, tranche and timing.

Withdrawals say plainly that they are paid out at the end of the current epoch. Locking KSU tokens raises the loyalty level, and the screen shows at once how the bonus yield changes.

Several locks can run at once, each with its own period and reward, and bonuses are listed by source and claimed from the same page. The connected wallet shows the KSU balance and available funds, with a shortcut to buy KSU.

Images:

- Earnings calculator: simulated yield for an amount, tranche and duration
- Deposit, step 1: amount and tranche, with a loyalty-level hint
- Deposit, step 2: review pool, tranche, amount and date before confirming
- Wallet approval and a processing notice during a deposit
- Deposit, step 3: confirmation, with a link to the pool overview
- Withdrawal, step 1: amount and tranche beside the current investment
- Withdrawal, step 2: review, paid out at the end of the epoch
- Wallet approval and a processing notice during a withdrawal
- Withdrawal, step 3: confirmation of the queued withdrawal
- Loyalty status: The KSU locking page with nothing locked yet: wallet balance with Buy KSU and Lock KSU buttons, empty reward panels and a loyalty status of No Loyalty Status. Locked KSU tokens set the loyalty level; changing the lock period updates the bonus at once.
- Several locks: The same page after locking: Loyalty Level 1 with its benefits, filled reward panels, and a table of three locks, each with its amount, unlock date and multiplier. Several locks side by side, each with its own period and reward, so a longer lock's bonus is easy to compare.
- Claiming rewards: The bonus and rewards summary with both Claim buttons active and a tooltip explaining when KSU rewards can be claimed, the loyalty panel on the right. Bonus and rewards are listed by source and claimed from the same page.
- Wallet: My wallet: the connected wallet, balances in KSU, USDC, USDT, DAI, ARB and ETH with a Convert to KSU button, and total KSU and available funds with Buy KSU. Connected wallet, KSU balance and available funds, with a shortcut to buy KSU.

### Lending in a pool

An investor compares tranches, sees the expected return before depositing, then decides what comes next: lock KSU tokens for a higher yield, or withdraw. Withdrawals are paid at the end of the epoch, and the screen says so.

```mermaid
flowchart TB
  A[Browse lending pools] --> B[Compare tranches]
  B --> C[Estimate earnings]
  C --> D[Request deposit]
  D --> E[Approve in wallet]
  E --> F[Deposit confirmed]
  F --> G[Track in portfolio]
  G --> H{Next step}
  H -->|Boost yield| I[Lock KSU tokens]
  H -->|Exit| J[Request withdrawal]
  J --> K[Paid at epoch end]
```

## Retrospective: three months instead of eighteen

*Reuse, and the catch phrase that came with it*

Spool took a year and a half to design and build. KASU took three months, because the foundations already existed. My catch phrase back then: one shall not reinvent the wheel, just rebrand it. KASU is the proof that the Spool system was built right.

## References

- [Lending Module Prototype](https://www.figma.com/design/mY4Gj7JPEj2IJf4KvEM09G/KASU-02-v6-Lending?node-id=1433-2&t=YK6ecFG7KFC87psM-1)
- [General Component Library](https://www.figma.com/design/07DYHrTrzulhyvlaf6KuAV/KASU-00-Library?node-id=5-1970&t=ylwG9E6fEJaAZYCl-1)
- [Tokenised Design System](https://www.figma.com/design/FaocG8NL1h334FD5ZyPPJc/KASU-00-DesignSystem?node-id=4662-14&t=Jga36gV0dgy2YphK-1)
- [dApp](https://kasu.finance/)
