You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add transfer_from and approve function like erc20 in encrypted_balances module.
When you call approve function, you just prove the allowed amount is not over his balance like usual proving in transfer .
When you call transfer_from function, you need to prove the transferred_amount is not over allowed value instead of balance value.
The caller of transfer_from function will need the allowed user's proof generation key because the caller will decrease the allowed user's balance.
The text was updated successfully, but these errors were encountered:
depending: #134
Add transfer_from and approve function like erc20 in encrypted_balances module.
When you call
approve
function, you just prove theallowed amount
is not over his balance like usual proving intransfer
.When you call
transfer_from
function, you need to prove thetransferred_amount
is not overallowed
value instead ofbalance
value.The caller of
transfer_from
function will need the allowed user's proof generation key because the caller will decrease the allowed user's balance.The text was updated successfully, but these errors were encountered: