Skip to content

Social Impact Voucher (built on Union Finance)

Notifications You must be signed in to change notification settings

masaun/social-impact-voucher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Social Impact Voucher (built on Union Finance)

Overview

  • This is the smart contract for realizing social impact voucher that supporter members (who trust NPOs) can vouch for NPO members and NPO members can borrow vouched-amount of assets from their credit line.
    • Social Impact Voucher smart contract is built on Union Finance: https://docs.union.finance/protocol-overview/plain-english-overview
    • Social Impact Voucher smart contract bring alternative way of fundraising to NPOs (Non Profit Orginaizations).
      • This is not the way of using bond like SIB (Social Impact Bond) but the way of using voucher based on off-chain trust as SIV (Social Impact Voucher).
      • Once supporter members (who trust NPOs) vouch for NPO members, NPO members can borrow vouched-amount of assets from their credit line.
    • A use case of "Many -> 1" in use cases of Union Finance is used in this smart contract: https://docs.union.finance/protocol-overview/master

Workflow

  • NOTE:
    • Once a NPO user register as a NPO member, they receive a NPO NFT as a proof of NPO member.
      • Only NPO NFT holder can receive vouched-amount in uDAI (uToken).

  • Diagram of workflow workflow_social-impact-voucher

Installation

    1. Install modules
yarn

    1. Compile smart contracts
yarn compile

Test (Mainnet-forking test)

  • Scenario Test
yarn test-scenario:SocialImpactVoucher

Demo


Resources


About

Social Impact Voucher (built on Union Finance)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published