pie-dao / PieVaults

21 stars 11 forks source link

TokenListUpdater (needs fixing) #28

Open MickdeGraaf opened 3 years ago

MickdeGraaf commented 3 years ago
Description

Adds a contract which adds and removes tokens from the PieVault storage when called.

The contract itself needs to be whitelisted as a caller in the target pie and only the owner can call the update function

Checklist
Testing

Run the tests

Refers/Fixes
MickdeGraaf commented 3 years ago

When called from the Pie itself it triggers the reentrancy protection