[VPD-615] Add VIP to configure PendlePTVaultAdapter#681
[VPD-615] Add VIP to configure PendlePTVaultAdapter#681Debugger022 wants to merge 2 commits intomainfrom
Conversation
Accept ownership of PendlePTVaultAdapter, grant ACM permissions (addMarket, pause, unpause) to timelocks and guardian, and register the PT-clisBNBx-25JUN2026 Pendle market with its vToken.
Add deposit, depositNative, withdraw, and redeemAtMaturity functional tests with oracle staleness fixups for post-timelock time travel. Fix ABI deposit() parameter mismatch and event indexed flags.
|
Do we know if Pendle has a testnet deployment? I'm thinking how could we test it? |
I think we can have the test on mainnet directly |
|
#681 (comment) |
Summary
Changes
VIP (
vips/vip-700/bscmainnet.ts)acceptOwnership()on PendlePTVaultAdapter (0x60Db...0B4a)giveCallPermissionforaddMarket(address,address)→ Normal TimelockgiveCallPermissionforpause()/unpause()→ Normal, Fast Track, Critical Timelocks + Guardian (9 grants total)addMarketregistering Pendle market0x3C1a...59C5with vToken0x6d3B...435eSimulation (
simulations/vip-700/bscmainnet.ts)hasRoleTest plan
npx hardhat test simulations/vip-700/bscmainnet.ts --fork bscmainnet