Skip to content

Releases: provable-things/ptokens-erc20-vault

v1.11.0

25 May 16:46
53cc652
Compare
Choose a tag to compare

🎁 Removes bytecode-generator

...since the pToken core no longer requires bytecode upon initialization.

Also updates the README.md to include correct test output.

v1.10.0

25 May 16:36
782a3db
Compare
Choose a tag to compare

🎁 Adds zero address check to setPNetwork fxn

Also updates the tests to test this.

v1.9.0

21 May 17:07
3e13220
Compare
Choose a tag to compare

Adds README.md

Also updates .gitignore to ignore any flattened solidity files.

v1.6.0

21 May 17:05
3e13220
Compare
Choose a tag to compare

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

06 May 11:51
40db708
Compare
Choose a tag to compare

Send userData along when pegging out wETH

When pegging out wETH to a non-ER777 compliant smart-contract, user data is now passed along with the low-level call.

v1.7.0

06 May 11:22
5c59696
Compare
Choose a tag to compare

wETH Peg Outs

wETH peg outs could fail if the destination was a smart-contract whose fallback function did any sort of executing, due to the old 2300 gas stipend.

The new method now forwards all available gas onwards.

v1.5.0

30 Mar 08:57
f0a6cb2
Compare
Choose a tag to compare

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

26 Mar 12:06
7ecc833
Compare
Choose a tag to compare

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.