Releases: provable-things/ptokens-erc20-vault
v1.11.0
v1.10.0
v1.9.0
v1.6.0
Migration Bug Fix
The migation function looped over whilst deleting from the same open zeppelin enumerable set, which, due to the implementation of the latter, meant the function needed calling multiple times to migrate the entire token set.
The loops has now been change to solve this problem.
v1.8.0
v1.7.0
v1.5.0
Can now pegOut
with user-data
!
Adds new overloaded pegOut
function to the smart-contract to allow the enclave to pass through user-data from the other chain. The new function first checks if the recipient is a contract capable of receiving ERC777
tokens and if so makes the transfer via .send
, passing along said user-data. If the recipient is not registered as accepting ERC777
tokens via the ERC1820
registry contract, this function instead falls back to a basic ERC20
transfer, sans user-data.
Adds test coverage also.
v1.4.0
Can now pegIn
with user-data
!
Adds new overloaded pegIn
function to the smart-contract to allow user to pass in bytes of user_data
. Also adds this param to to the event that is fired upon a pegIn
. The pTokens core
is backwards compatible w/r/t both pegIn
and event types.
Adds test coverage also.