Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[VEN-2180] Prime Integration in VAI Controller #137

Merged
merged 38 commits into from
Jan 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
21ca77e
fix: upgrade contracts
web3rover Dec 8, 2023
66371c5
fix: added vip commands
web3rover Dec 8, 2023
de77a09
fix: added upgrade checks
web3rover Dec 8, 2023
bd0e0bd
fix: check events
web3rover Dec 8, 2023
56e3d9d
fix: added event
web3rover Dec 8, 2023
814e98e
fix: check for mint values
web3rover Dec 8, 2023
f9c2417
added generic tests
web3rover Dec 11, 2023
5a7e3ec
fix: added apr checks
web3rover Dec 11, 2023
d777d69
fix: added permissions
web3rover Dec 11, 2023
fed3110
fix: fixed lint
web3rover Dec 11, 2023
53dc2ef
fix: fixed lint
web3rover Dec 11, 2023
1ff5d1c
fix: spelling fix
web3rover Dec 12, 2023
8193904
fix: mint vai test
web3rover Dec 12, 2023
d5ff6d4
fix: repay vai
web3rover Dec 12, 2023
4ab5301
fix: repay calc tests
web3rover Dec 12, 2023
2023752
fix: use parseUnits
web3rover Dec 14, 2023
ec27ae2
chore: fix lint
web3rover Dec 14, 2023
7f048b9
fix: applied certik audit fixes
web3rover Dec 15, 2023
cefece1
fix: fixed stale period
web3rover Dec 15, 2023
a354169
fix: fixed zero address for feed
web3rover Dec 15, 2023
8f3022f
fix: fixed vai address
web3rover Dec 15, 2023
198a104
chore: add upgrade of vtoken and comptroller impls in IL
0xlucian Dec 18, 2023
7a8b225
chore: wip commit
0xlucian Dec 19, 2023
7118aa2
test: consider pre-async data in checkIsolatedPoolsComptrollers
chechu Dec 19, 2023
c49d7c2
fix: simulation for pool
0xlucian Dec 19, 2023
61b25f6
feat: simplify config for check IL Comptrollers
chechu Dec 19, 2023
fb3cb1b
test: make setMaxStalePeriod compatible with the CI pipeline
chechu Dec 19, 2023
43b7080
chore: add VIP for mainnet (simulation failing)
0xlucian Dec 26, 2023
21199a2
fix: sum the right interests of VAI in the shared check
chechu Dec 18, 2023
2a3a3fd
test: add checks on new Prime responses and set pool registry address
chechu Dec 19, 2023
609027c
feat: set pool registry in the VIP upgrading Prime
chechu Dec 26, 2023
124f946
fix: stop getting the underlying token for the vBNB market
chechu Dec 26, 2023
1cdff84
fix: consider the override symbols in Binance oracle and approve the …
chechu Dec 27, 2023
64ff356
fix: use a valid new PLP implementation
chechu Dec 27, 2023
721928a
fix: use latest PLP contract, with last TimeManagerV8 integrated
chechu Dec 27, 2023
cd1212a
fix: set mint cap to 10M, following Chaos labs recs
chechu Dec 28, 2023
c323a21
feat: add description to VIP-225
chechu Dec 29, 2023
5c782ae
fix: description of the VIP-225
chechu Dec 30, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"@morpho-labs/gnosis-tx-builder": "^1.3.1",
"@openzeppelin/contracts": "^4.8.2",
"@openzeppelin/contracts-upgradeable": "^4.8.2",
"@venusprotocol/isolated-pools": "2.3.0-dev.9",
"@venusprotocol/venus-protocol": "^6.1.0-dev.3",
"ajv": "^8.12.0",
"readline-sync": "^1.4.10"
Expand Down
51 changes: 51 additions & 0 deletions simulations/vip-225/vip-225-testnet/abi/beacon.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
[
{
"inputs": [{ "internalType": "address", "name": "implementation_", "type": "address" }],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" },
{ "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }
],
"name": "OwnershipTransferred",
"type": "event"
},
{
"anonymous": false,
"inputs": [{ "indexed": true, "internalType": "address", "name": "implementation", "type": "address" }],
"name": "Upgraded",
"type": "event"
},
{
"inputs": [],
"name": "implementation",
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "owner",
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
"stateMutability": "view",
"type": "function"
},
{ "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" },
{
"inputs": [{ "internalType": "address", "name": "newOwner", "type": "address" }],
"name": "transferOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [{ "internalType": "address", "name": "newImplementation", "type": "address" }],
"name": "upgradeTo",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]
Loading
Loading