It contains Faucet Contract implementation in Scilla.
References taken:
https://github.com/WeTrustPlatform/erc20faucet-contracts/blob/master/contracts/ERC20Faucet.sol
- getTokens: get the tokens by
_amount
. Expected: [Success]5
. - setMaxAllowance: sets maximum allowance of tokens to claim (allowed to owner only). Expected: [Success]
500
. - reclaimTokens: reclaim the tokens (allowed to owner only). Expected: [Success]
true
. - setPause: pauses the selling of tokens Expected: [Success] Event:
Paused
. - BalanceOf: returns balance of
tokenOwner
. Expected: [Success]10
- MaxAllowance:The maximum amount (inclusive) allowed to claim. Expected: [Success]
500
. - Transfer: transfers tokens from
_sender
toto
. Expected: [Success] Event:Transfer
. - TransferFrom: transfers tokens from
from
toto
. Expected: [Success] Event:TransferFrom
. - Approve: approves
tokens
tospender
by_sender
. Expected: [Success] Event:Approve
. - Allowance: checks whether
tokenOwner
has approvedspender
. Expected: [Success] Event:Allowance
.