Amet Finance's ZCBv2 (Zero-Coupon Bonds Version 2) represents our latest advancement in blockchain-based financial instruments. These contracts leverage the power and flexibility of decentralized finance (DeFi) to offer innovative bond solutions.
- AmetVault.sol: Contract for managing vault and referral rewards logic
- ZeroCouponBonds.sol: Contract for core bond logic
- ZeroCouponBondsIssuer.sol: Contract for issuing bond and managing high lvl variables(such as issuanceFee, purchaseFeePercentage and etc...)
- IAmetVault.sol: Vault Interface
- IZeroCouponBonds.sol: ZCB Interface
- IZeroCouponBondsIssuer.sol: ZCB Issuer Interface
- CoreTypes.sol: Core types for ZCB
- Token.t.sol: Token ERC20
- Enhanced Gas Efficiency: Utilizing the ERC1155 standard for bond representation, leading to reduced transaction costs.
- Capitulation Redeem Logic: Allows bondholders to redeem their bonds early under specific conditions.
- Robust Referral System: Integrates a sophisticated referral mechanism to incentivize and reward community participation.
- Running Mocha tests
npm run test- Running Slither
npm run test:contracts:slither- Running Mythril
npm run test:contracts:mythril