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
  • Quickstart
  • Testing
  • Coverage
  • Deployment

Was this helpful?

Edit on GitHub
  1. Developers

Governance

PreviousAaveV3AdapterNextUnionToken

Last updated 1 year ago

Was this helpful?

Quickstart

Requirements:

  • Node @14.x

  • Python @3.x (for running Slither)

  1. Clone the repo

  2. Install dependencies

$ yarn install

Testing

To run the entire test suite:

$ yarn test

To run the unit tests only:

$ yarn unitTest

To run the deployment script tests:

$ yarn deployTest

Coverage

To run tests with coverage:

$ yarn coverage

Deployment

To deploy to a supported network:

$ yarn deploy {network}

Check the deployed params:

$ yarn checkDeploy {network}
🔨
GitHub - unioncredit/union-v1-contracts: Smart Contracts for Union V1GitHub
Logo