Smart Contract info

Smart Contract info

  • Contracts
  • TodoList
  • Help
  • Github
  • Blog

›FINANCE

BASIC

  • A
  • Factory
  • Marriage
  • MyContract
  • BugSquash
  • HelloWorld

BASIC / ECOM

  • Customer
  • Supplier

COMPLEXGAMES

  • Ownable
  • blackJack
  • PowerEther
  • Buffer
  • CBOR
  • OraclizeAddrResolverI
  • OraclizeI
  • Ownable
  • PowerEtherBase
  • PowerEtherHelper
  • PowerFour
  • PowerOne
  • PowerTwo
  • SafeMath
  • strings
  • usingOraclize

DATASTRUCT

  • LinkedList
  • Stack

FINANCE

  • CrowdBank
  • Mortgage

GAMES

  • CasinoRoulette
  • Itontine
  • Cplayer
  • Ctontine
  • PredictionMarket
  • RNGLottery
  • RecurringLottery
  • Roulette
  • SatoshiDice
  • SimpleLottery
  • WhatDoesNadiaThink

OTHER

  • e0x

OTHER / CREDVERT

  • ApplicantFactory
  • CredentialOrgFactory
  • CredentialFactory
  • CredentialOrgFactory
  • CredentialOrgFactory
  • Ownable
  • Pausable
  • SafeMath32

OTHER / MARKETPLACE

  • DigitalLocker
  • WorkbenchBase

SCHEMES

  • Government
  • GradualPonzi
  • SimplePonzi
  • SimplePyramid

TOKENS

  • BasicToken
  • ERC20
  • TokenSale

TOKENS / ATTENDANCETOKEN

  • EIP20
  • EIP20Interface
  • Migrations
  • ApproveAndCallFallBack
  • AttendanceCoinMembers
  • ERC20Interface
  • FixedSupplyToken
  • Owned
  • SafeMath
  • ApproveAndCallFallBack
  • ERC20Interface
  • FixedSupplyToken
  • Owned
  • SafeMath

UTIL

  • MarriageInvestment
  • Stock
  • SafeMath
  • Welfare
  • PromiseBox

UNCATEGORIZED

  • Authentication
  • TodoList
  • Users

CrowdBank

contract CrowdBank

Source: contracts/finance/CrowdBank.sol

Index

  • CrowdBank
  • acceptProposal
  • getActiveLoanId
  • getLastLoanDetails
  • getLastLoanState
  • getLoanDetailsByAddressPosition
  • getProposalAtPosFor
  • getProposalDetailsByLoanIdPosition
  • getRepayValue
  • hasActiveLoan
  • lockLoan
  • newLoan
  • newProposal
  • numTotalLoans
  • repayLoan
  • revokeMyProposal
  • totalLoansBy
  • totalProposalsBy

Reference

Functions

  • CrowdBank

    function CrowdBank() public
  • acceptProposal

    function acceptProposal(uint proposeId) public
    Parameters:
    proposeId - uint
  • getActiveLoanId

    function getActiveLoanId(address borrower) public view returns (uint)
    Parameters:
    borrower - address
    Returns:
    uint
  • getLastLoanDetails

    function getLastLoanDetails(address borrower) public view returns (LoanState, uint, uint, uint, uint)
    Parameters:
    borrower - address
    Returns:
    LoanState
    uint
    uint
    uint
    uint
  • getLastLoanState

    function getLastLoanState(address borrower) public view returns (LoanState)
    Parameters:
    borrower - address
    Returns:
    LoanState
  • getLoanDetailsByAddressPosition

    function getLoanDetailsByAddressPosition(address borrower, uint pos) public view returns (LoanState, uint, uint, uint, uint, bytes32)
    Parameters:
    borrower - address
    pos - uint
    Returns:
    LoanState
    uint
    uint
    uint
    uint
    bytes32
  • getProposalAtPosFor

    function getProposalAtPosFor(address lender, uint pos) public view returns (address, uint, ProposalState, uint, uint, uint, uint, bytes32)
    Parameters:
    lender - address
    pos - uint
    Returns:
    address
    uint
    ProposalState
    uint
    uint
    uint
    uint
    bytes32
  • getProposalDetailsByLoanIdPosition

    function getProposalDetailsByLoanIdPosition(uint loanId, uint numI) public view returns (ProposalState, uint, uint, uint, address)
    Parameters:
    loanId - uint
    numI - uint
    Returns:
    ProposalState
    uint
    uint
    uint
    address
  • getRepayValue

    function getRepayValue(uint loanId) public view returns (uint)
    Parameters:
    loanId - uint
    Returns:
    uint
  • hasActiveLoan

    function hasActiveLoan(address borrower) public view returns (bool)
    Parameters:
    borrower - address
    Returns:
    bool
  • lockLoan

    function lockLoan(uint loanId) public
    Parameters:
    loanId - uint
  • newLoan

    function newLoan(uint amount, uint dueDate, bytes32 mortgage) public
    Parameters:
    amount - uint
    dueDate - uint
    mortgage - bytes32
  • newProposal

    function newProposal(uint loanId, uint rate) public payable
    Parameters:
    loanId - uint
    rate - uint
  • numTotalLoans

    function numTotalLoans() public view returns (uint)
    Returns:
    uint
  • repayLoan

    function repayLoan(uint loanId) public payable
    Parameters:
    loanId - uint
  • revokeMyProposal

    function revokeMyProposal(uint id) public
    Parameters:
    id - uint
  • totalLoansBy

    function totalLoansBy(address borrower) public view returns (uint)
    Parameters:
    borrower - address
    Returns:
    uint
  • totalProposalsBy

    function totalProposalsBy(address lender) public view returns (uint)
    Parameters:
    lender - address
    Returns:
    uint
← StackMortgage →
Smart Contract info
Docs
Getting Started (or other categories)Guides (or other categories)API Reference (or other categories)
Community
User ShowcaseStack OverflowProject ChatTwitter
More
BlogGitHubStar
Copyright © 2019 David Li