-
Notifications
You must be signed in to change notification settings - Fork 3
Repository
asandanov edited this page Jan 10, 2019
·
6 revisions
WithdrawIsBlockedByFund - public - when withdraw is blocked, you can get tokens in PMFoundation.
make deposit PMT
make sure, approve (ERC20.approve(...)) tokens to this contract first!
makeDeposit(
uint value // number of PMT tokens
)
refund deposit PMT to msg.sender address.
WithdrawIsBlockedByFund must be false and output only free tokens (not locked).
refund (
uint value // number of PMT tokens
)
getVoted(
uint propID, // proposal number
address voter) // address of voter
returns (
uint) // number of votes (number of PMT tokens)
get a full balance
getBalance(
address owner // owner address
)
get a free balance, excluding voting tokens
getNotLockedBalance(
address owner // owner address
)