Union Protocol (v2)
  • Introduction
  • Important Links
  • ๐ŸŒProtocol Overview
    • How Union Works
    • Plain English (Detailed)
    • Use Cases
    • v1->v2 changelog
    • FAQ
  • โš–๏ธGovernance
    • UNION DAO
      • Community Delegates
      • Gaurdians & Multisigs
    • UNION Token
    • Governance Process
      • Technical Implementations
    • Glossary of Terms
  • ๐Ÿ”จDevelopers
    • Union Contracts Overview
    • Contract ABIs & Addresses
    • Core Components
      • UserManager
        • UserManagerERC20
        • UserManagerDAI
      • uToken
        • UDai
        • UErc20
      • AssetManager
      • Comptroller
      • MarketRegistry
      • InterestRateModel
      • PureTokenAdapter
      • AaveV3Adapter
    • Governance
      • UnionToken
        • ArbUnionWrapper
        • ArbUnion
        • OpUnion
      • Governor
      • Timelock
    • Union SDK
    • Union Data
      • Documentation
    • Peripheral & Fun Contracts
    • GraphQL Endpoints
  • ๐ŸšดUser Guides
    • Becoming a Member
    • How Bridging Tokens Works
      • Bridge UNION token from Arbitrum to Ethereum
    • Voting & Delegation
      • Delegation from Gnosis
    • Vouching & Lending
  • ๐Ÿ‘ฉโ€๐Ÿ’ปDeveloper Guides
    • In Progress
  • โš ๏ธRisk
    • Types of Risk
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. Protocol Overview

v1->v2 changelog

This is version 2 of the core protocol

PreviousUse CasesNextFAQ

Last updated 1 year ago

Was this helpful?

Announcement Post:

If you are looking for the v1 ui to access the arbitrum or ethereum v1 deployments:

If you are looking for the v1 docs:

Major Upgrades between v1 and v2:

  1. In Version 2, the maximum number of addresses one can underwrite has increased from 25 -> 1000 and be underwritten by from 25 -> 400 from a single account.

  2. Bad debt no longer accrues indefinitely: If you vouch for a defaulter, the writeoff function becomes publicly callable after a set amount of time in default. This is essential for growing liquidityโ€” on Optimism this will be set to 60 days, meaning if someone borrows and makes no payments, anyone will be able to call the function after 90 days.

  3. Union Lens Contract : Union is a call-intensive protocol. This view layer contract consolidates view helpers making it a lot easier to build frontends and integrations.

  4. More efficient and predictable gas costs : v2 uses struct packing and other techniques to dramatically reduce storage read and writes compared to v1 . Vouching now has a constant gas cost, in V1 the gas cost was dependent on number of vouchers(O(n)) but in v2 it is constant (O(1)).

  5. Changed from block-based timing to seconds, makes 'due by' dates 1000x more human and integration friendly.

๐ŸŒ
https://union.mirror.xyz/uPnUm4TLNyWoRfNAVCJwxT0TeNPBgNCg04vuDv5sIGk
https://v1.union.finance
https://v1-docs.union.finance