Giveth / withdrawcontract

Contract to distribute tokens/ethers to Minime to token holders

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Griff's suggested name changes

GriffGreen opened this issue · comments

In general, i think we should call the sends the owner makes to the contract "Deposits" the transfers that happen of all the tokens and eth to the user a "withdraw" and the individual transfers that make up a withdraw "Payments"

So this means we need to do a big ctrl-F on this and replace Payment with Deposit for everything EXCEPT doPayment, keep doPayment as doPayment :-D

getPendingReward = getPendingPayment

nextRefundToPay = nextDepositToPayout

distToken = rewardToken

hasFundsAvailable() = canWithdraw()

isPaymentSkiped = isDepositSkipped

tokenHolder = holder

Done!