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-1880]: simulation for VToken upgrades of AIA #67

Merged
merged 33 commits into from
Oct 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
b2972dc
feat: simulation for IL-testnet upgrades of AIA
GitGuru7 Sep 5, 2023
b21d646
feat: add helper to perform basic actions and fetch storage of vtoken
GitGuru7 Sep 5, 2023
235ff26
feat: add steps for setting protocol share reserve
GitGuru7 Sep 5, 2023
e104d94
fix: fetch total reserve from vtokens
GitGuru7 Sep 5, 2023
1f9eefc
feat: addd core VToken upgrades helper
GitGuru7 Sep 8, 2023
8097ae6
fix: IL vtoken upgrade simulation
GitGuru7 Sep 8, 2023
4520086
chore: update vip description
GitGuru7 Sep 8, 2023
0ab3618
feat: add core VTokens AIA upgrade simulations
GitGuru7 Sep 8, 2023
1436f70
fix: remove unnecessary action and fix variable name
GitGuru7 Sep 14, 2023
b14dbd0
feat: add more markets in core testnet
GitGuru7 Sep 14, 2023
a06055b
feat: grant permissisons to timelocks
GitGuru7 Sep 14, 2023
06e3d75
feat: add xvs market upgrades
GitGuru7 Sep 14, 2023
38c3c32
fix: simulations
GitGuru7 Sep 14, 2023
bdeb43a
fix: func signature
GitGuru7 Oct 17, 2023
2cad316
chore: update address of PSR and fix simulations
GitGuru7 Oct 19, 2023
af09fb0
add more markets and update impl address in core and il vip
GitGuru7 Oct 23, 2023
80e71b8
chore: update vip number
GitGuru7 Oct 23, 2023
f480dd5
Merge branch 'develop' into feat/vtoken-upgrades-IL
GitGuru7 Oct 23, 2023
1e7f84a
fix: simulations
GitGuru7 Oct 23, 2023
d1cc42a
refactor: split core vip in two parts
GitGuru7 Oct 25, 2023
46fef5d
feat: add core vToken AIA upgrade mainnet simulations
GitGuru7 Oct 25, 2023
be3a6ef
fix: resolve comments
GitGuru7 Oct 26, 2023
4ca360d
test: add test for unavailable liquidiity markets
GitGuru7 Oct 26, 2023
9f9258b
fix: resolve comments
GitGuru7 Oct 26, 2023
27b5270
chore: update vip numbering
GitGuru7 Oct 26, 2023
f8cc468
test: add reduce reserve test in testnet
GitGuru7 Oct 26, 2023
5867710
refactor: move normal timelock permissions
GitGuru7 Oct 26, 2023
3046463
feat: remove normal timelock permissions after part1 execution
GitGuru7 Oct 26, 2023
1d0fee4
ci: fix lint
GitGuru7 Oct 26, 2023
05e1628
feat: update IL testnet vip block number and fix add more tests
GitGuru7 Oct 26, 2023
d269d84
fix: remove unused permissions
GitGuru7 Oct 27, 2023
b3ab7a6
feat: add IL Vtoken upgrade simulatios
GitGuru7 Oct 27, 2023
eda220d
feat: add description for VIPs to enable Automatic income allocation
chechu Oct 27, 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
2,782 changes: 2,782 additions & 0 deletions simulations/vip-192/vip-192-testnet/abi/COMPTROLLER.json

Large diffs are not rendered by default.

155 changes: 155 additions & 0 deletions simulations/vip-192/vip-192-testnet/abi/MOCK_TOKEN_ABI.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
[
{
"inputs": [
{ "internalType": "string", "name": "name_", "type": "string" },
{ "internalType": "string", "name": "symbol_", "type": "string" },
{ "internalType": "uint8", "name": "decimals_", "type": "uint8" }
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{ "indexed": true, "internalType": "address", "name": "owner", "type": "address" },
{ "indexed": true, "internalType": "address", "name": "spender", "type": "address" },
{ "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" }
],
"name": "Approval",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{ "indexed": true, "internalType": "address", "name": "from", "type": "address" },
{ "indexed": true, "internalType": "address", "name": "to", "type": "address" },
{ "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" }
],
"name": "Transfer",
"type": "event"
},
{
"inputs": [
{ "internalType": "address", "name": "owner", "type": "address" },
{ "internalType": "address", "name": "spender", "type": "address" }
],
"name": "allowance",
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "spender", "type": "address" },
{ "internalType": "uint256", "name": "amount", "type": "uint256" }
],
"name": "approve",
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [{ "internalType": "address", "name": "account", "type": "address" }],
"name": "balanceOf",
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "decimals",
"outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "spender", "type": "address" },
{ "internalType": "uint256", "name": "subtractedValue", "type": "uint256" }
],
"name": "decreaseAllowance",
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [{ "internalType": "uint256", "name": "amount", "type": "uint256" }],
"name": "faucet",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "spender", "type": "address" },
{ "internalType": "uint256", "name": "addedValue", "type": "uint256" }
],
"name": "increaseAllowance",
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "name",
"outputs": [{ "internalType": "string", "name": "", "type": "string" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "symbol",
"outputs": [{ "internalType": "string", "name": "", "type": "string" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "totalSupply",
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "to", "type": "address" },
{ "internalType": "uint256", "name": "amount", "type": "uint256" }
],
"name": "transfer",
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "from", "type": "address" },
{ "internalType": "address", "name": "to", "type": "address" },
{ "internalType": "uint256", "name": "amount", "type": "uint256" }
],
"name": "transferFrom",
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{ "internalType": "address", "name": "_owner", "type": "address" },
{ "internalType": "uint256", "name": "value", "type": "uint256" }
],
"name": "allocateTo",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "deposit",
"outputs": [],
"payable": true,
"stateMutability": "payable",
"type": "function"
}
]
Loading
Loading