1.0.0 • Published 4 years ago
@unioncredit/union-v1-sdk v1.0.0
Union SDK
A library to help developers to easily build their own contracts to interact with Union protocol.
Structure
- BaseUnionMember - has the basic functions of Union member.
- UnionBorrower - implements all the functions of Union borrower role.
- UnionVoucher - implements all the functions of Union voucher role.
How to Use
Simply use UnionBorrower as the parent class if you just want to setup your contract to be a Union borrower, or use UnionVoucher if you want your contract to vouch for others. You can also inheret both UnionBorrower and UnionVoucher to have all the functions for your contract.
You can also find the example code snippets here in the repo.
1.0.0
4 years ago