Skip to content

Balanced docs #420

@AntonAndell

Description

@AntonAndell

Balanced docs

Loans

Should cover the following topics.

  • Taking loans
  • Repaying loans
  • Reading a position
  • Liquidations
  • Bad debt redemptions
  • Cross chain interactions.
  • Highlight all limits and protections

Router

  • How to create a routed swap. data fromat etc

Crosschain basics/XCall integration

  • How balanced uses xCall
  • what contracts uses xCall
  • overview of contracts on spokes

AssetManager

  • Cover the overall structure and how the spoke and hub versions work together
  • How to bridge tokens and interact with the differnt contract. should be kept general and refer to the correct sections in ex, loans or router on how to format the data for seperate actions.
  • withdrawing tokens
  • Highlight all limits and protections

xCallManager

  • What it does
  • How the spoke xCallManagers can be used to manage spoke contract.
  • How to go through a protocol migration

BnUSD

  • How to transfer accross chains
  • Outline fee logic
  • Do not spend to much on the standard since it will be done by CPS?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions