| Description | Target contract | Method | Data |
|---|---|---|---|
| Upgrade Broker | 0x90EB22A31b69C29C34162E0E9278cc0617aA2B50 | upgradeTo | 0x89209a52d085D975b14555F3e828F43fb7EaF3B7 |
| Set Trade Plugin | 0x90EB22A31b69C29C34162E0E9278cc0617aA2B50 | setTradeImplementation | 0xAd4B0B11B041BB1342fEA16fc9c12Ef2a6443439 |
| Upgrade BasketHandler | 0x6d309297ddDFeA104A6E89a132e2f05ce3828e07 | upgradeTo | 0x5c13b3b6f40aD4bF7aa4793F844BA24E85482030 |
| Upgrade RToken | 0xA0d69E286B938e21CBf7E51D71F6A4c8918f482F | upgradeTo | 0x5643D5AC6b79ae8467Cf2F416da6D465d8e7D9C1 |
| Upgrade StRSR | 0x18ba6e33ceb80f077DEb9260c9111e62f21aE7B8 | upgradeTo | 0xfDa8C62d86E426D5fB653B6c44a455Bb657b693f |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const totalPTokenSupply = await pickleJar.totalSupply(); | |
| const userFraction = userPTokenBalance / totalPTokenSupply; | |
| const tokensInPool = | |
| (await token.balanceOf(pair.address)) / tokenDivisor; | |
| const wethInPool = (await weth.balanceOf(pair.address)) / 1e18; | |
| // balance of UNI tokens inside the jar | |
| const balance = await pickleJar.balance(); | |
| setLocked(balance); |
NewerOlder