FirstClaimPool
Helper contract for UBIScheme. Manually funded by the Foundation to give 1G$ for "inactive" users when they claim.
Since a new user (inactive) becomes active and eligible to claim UBI only in the next UBI epoch. So new users will not go empty-handed on their first claim we give out a 1G$.
start
Start function. Adds this contract to identity as a feeless scheme. Can only be called if scheme is registered.
setUBIScheme
Sets the whitelisted ubi scheme.
_ubi
The new UBI scheme to be whitelisted.
Can be executed only by the Avatar.
setClaimAmount
Sets the claim amount.
_claimAmount
The new claim amount.
Can be executed only by the Avatar.
awardUser
Transfers claim amount to the given account address. Only the whitelisted UBI scheme can call this method.
_account
The address which recieves the claim amount.
Returns: the amount that was transferred to the given _account
.
end
Making the contract inactive after it has transferred funds to _avatar
. Only the Avatar can destroy the contract.
Last updated