Developer Documentation
Freedom Dividend Coin code: [Etherscan] [Github]
Freedom Dividend Coin allows for the collection of a Monthly Freedom Dividend that is decentralized.
Symbol: FDC
Decimals: 2
collectFreedomDividendFromSender(): Initial setup or collection of Freedom Dividend for msg.sender.
collectFreedomDividendWithAddress(address collectionAddress): Initial setup or collection of Freedom Dividend for inputted collectionAddress. This function is for easier implementation of Freedom Dividend collection for applications.
getDividendAddress(): Gets the dividend address stored for collection of the Freedom Dividend for the msg.sender.
getDividendAddressWithAddress(address Address): Gets the dividend address stored for collection of the Freedom Dividend for inputted Address.
getLastDistributionTimestamp(): Gets the timestamp of the last Freedom Dividend distribution for the msg.sender.
getLastDistributionTimestampWithAddress(address Address): Gets the timestamp of the last Freedom Dividend distribution for inputted Address.
getGlobalDistributionTimestamp(): Gets the timestamp of the last Global Distribution.
getbalanceOfDividendDistributorAtDistributionTimestamp(): Gets the balance of the Dividend Distributor at the Global Distribution timestamp.
transfer(address to, uint256 value): Transfers token from msg.sender to a specified address with 10% of the value going to the Dividend Distributor.
transferFrom(address from, address to, uint256 value): TransferFrom allows for an address to give another address an allowance that they can collect, on transfer 10% of the value goes to the Dividend Distributor.