This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
contract MortgageListing { | |
// Data model separated from smart contract business logic | |
function setCrowdfundTerms(address addr) public; | |
function setFMSToken(address addr) public; | |
function setMortgageTerms(address addr) public; | |
// Crowdfund active | |
function openCrowdfunding() public; | |
function purchaseFMS(uint256 fms) public returns (bool); | |
function validatePurchaseFMS(uint256 fms) internal view returns (bool); | |
function forwardFundsToVault() internal; |