FirstClaimPool
Helper contract for UBIScheme. Manually funded by the Foundation to give 1G$ for "inactive" users when they claim.
Last updated
Helper contract for UBIScheme. Manually funded by the Foundation to give 1G$ for "inactive" users when they claim.
Last updated
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 function. Adds this contract to identity as a feeless scheme. Can only be called if scheme is registered.
Sets the whitelisted ubi scheme.
Parameter name | Annotation |
---|---|
Can be executed only by the Avatar.
Sets the claim amount.
Parameter name | Annotation |
---|---|
Can be executed only by the Avatar.
Transfers claim amount to the given account address. Only the whitelisted UBI scheme can call this method.
Returns: the amount that was transferred to the given _account
.
Making the contract inactive after it has transferred funds to _avatar
. Only the Avatar can destroy the contract.
Parameter name | Annotation |
---|---|
_ubi
The new UBI scheme to be whitelisted.
_claimAmount
The new claim amount.
_account
The address which recieves the claim amount.