EGORAS
Search…
EGORAS
Introduction
Getting Started
What problem is Egoras trying to solve?
Egoras Decentralized Autonomous Organization
Lending Partner Governance
Loan Approval Governance
Interest Rate Governance
Interest sharing formula
Uncollateralized Lending Module
Loan Application
Approve Company
Repay Loan
Reward Voters
Distribute Interest To Egr Holders
Create Governance Request
Governance Vote
Validate Governance Request
Egoras Treasury System
How Egoras Treasury Work
Block Rewards
How is the Treasury capitalized?
Egoras Token Economy
Introduction
THE EGORAS DOLLAR (EUSD)
Egoras Governance Token (EGR)
Summary
Powered By
GitBook
Repay Loan
The repayLoan function transfers an asset into the protocol, reducing the organisation's borrow balance.
function repayLoan(uint _loanID) external;
_loanID:
The unique identifier of every loan emitted from Egoras Microfinance protocol.
Solidity
CEGORAS egoras = CEGORAS(0x7a24C....);
require(egoras.repayLoan(“20"), "unable to repay loan");
Web3
const instance = await new web3.eth.Contract(abi, address)
await instance.methods.repayLoan("20").send({from: 0xMyAccount});
Previous
Approve Company
Next
Reward Voters
Last modified
1yr ago
Copy link
Outline
Solidity
Web3