Giter Club home page Giter Club logo

haqq-mct-contract's Introduction

Sample Hardhat Project

This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, and a Hardhat Ignition module that deploys that contract.

Try running some of the following tasks:

npx hardhat help
npx hardhat test
REPORT_GAS=true npx hardhat test
npx hardhat node
npx hardhat ignition deploy ./ignition/modules/Lock.js

Sözleşme işlevsellikleri

Bu sözleşme yapısı aşağıdaki ana maddeleri içermektedir.

  • Güncellenebilir yapıda olmalıdır. Proxy address kullanılarak ilerleyen süreçlerde ihtiyaca göre fonksiyon eklenebilir veya değiştirilebilir.

  • Invest fonksiyonuna sahip olmalıdır. TrafnsferFrom(msg.sender), this(address) gibi.

  • Investment kaydı tutulmalıdır. Örnek ;

    • Investor ID
    • Investor Addr
    • Invest Amount
    • Invest Time
    • Loan Start Time
    • Repayment Budget
    • Loan Circle
  • Moderatör yönetimine sahip olmalıdır. Remove ve Add fonksiyonları olmalıdır.

  • Kredi Ödemeleri yapılmasını sağlayan ve onlyModerator modifier'ına sahip fonksiyon olmalıdır.

  • Kredi ödeme ve paydalarında ek olarak her krediden kredi tutarının %20 servis ücreti olarak eklenir ve kredi ödemeleri o servis ücretleri dahil yapılır. Bu kredi ödemelerinde yatırımcının karı kullandırılan kredi tutarının %4'üne eşittir. %10'u TGMP vakfına ait %6'sı platforma aittir. Bu tarz geri ödeme koşullarında kredi ödeme fonksiyonları bu şartlara uygun olmalıdır.

  • Kredi geri ödemelerin servis ücret olmadan toplanan ana para ve kar payları ayrılmalıdır. Yatırımcı hem anaparası hemde %4'lük kar payı için ayrı withdrawal fonksiyonları kullanarak çekim yapmalıdır. Ana para çekim işlemlerinde yatırımcının anaparayı tekrar kredi vermek için kullanıp kullanmayacağını belirleyen Loan Circle adıdna bir boolean değişken olmalıdır.

haqq-mct-contract's People

Contributors

cesilla avatar elifsudecesur12 avatar sarp07 avatar

Watchers

 avatar

Forkers

elifsudecesur12

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.