Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

fix(mean-finance): Fix types, fix address in DCA positions #859

Merged
merged 1 commit into from
Jul 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
102 changes: 34 additions & 68 deletions src/apps/angle/contracts/abis/angle-veangle.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,56 +54,49 @@
{ "name": "_name", "type": "string" },
{ "name": "_symbol", "type": "string" }
],
"outputs": [],
"gas": 426758
"outputs": []
},
{
"stateMutability": "nonpayable",
"type": "function",
"name": "commit_transfer_ownership",
"inputs": [{ "name": "addr", "type": "address" }],
"outputs": [],
"gas": 39572
"outputs": []
},
{
"stateMutability": "nonpayable",
"type": "function",
"name": "accept_transfer_ownership",
"inputs": [],
"outputs": [],
"gas": 39420
"outputs": []
},
{
"stateMutability": "nonpayable",
"type": "function",
"name": "apply_transfer_ownership",
"inputs": [],
"outputs": [],
"gas": 41644
"outputs": []
},
{
"stateMutability": "nonpayable",
"type": "function",
"name": "commit_smart_wallet_checker",
"inputs": [{ "name": "addr", "type": "address" }],
"outputs": [],
"gas": 37665
"outputs": []
},
{
"stateMutability": "nonpayable",
"type": "function",
"name": "apply_smart_wallet_checker",
"inputs": [],
"outputs": [],
"gas": 39692
"outputs": []
},
{
"stateMutability": "view",
"type": "function",
"name": "get_last_user_slope",
"inputs": [{ "name": "addr", "type": "address" }],
"outputs": [{ "name": "", "type": "int128" }],
"gas": 5061
"outputs": [{ "name": "", "type": "int128" }]
},
{
"stateMutability": "view",
Expand All @@ -113,24 +106,21 @@
{ "name": "_addr", "type": "address" },
{ "name": "_idx", "type": "uint256" }
],
"outputs": [{ "name": "", "type": "uint256" }],
"gas": 2864
"outputs": [{ "name": "", "type": "uint256" }]
},
{
"stateMutability": "view",
"type": "function",
"name": "locked__end",
"inputs": [{ "name": "_addr", "type": "address" }],
"outputs": [{ "name": "", "type": "uint256" }],
"gas": 2849
"outputs": [{ "name": "", "type": "uint256" }]
},
{
"stateMutability": "nonpayable",
"type": "function",
"name": "checkpoint",
"inputs": [],
"outputs": [],
"gas": 37407744
"outputs": []
},
{
"stateMutability": "nonpayable",
Expand All @@ -140,8 +130,7 @@
{ "name": "_addr", "type": "address" },
{ "name": "_value", "type": "uint256" }
],
"outputs": [],
"gas": 75001291
"outputs": []
},
{
"stateMutability": "nonpayable",
Expand All @@ -151,32 +140,28 @@
{ "name": "_value", "type": "uint256" },
{ "name": "_unlock_time", "type": "uint256" }
],
"outputs": [],
"gas": 75002920
"outputs": []
},
{
"stateMutability": "nonpayable",
"type": "function",
"name": "increase_amount",
"inputs": [{ "name": "_value", "type": "uint256" }],
"outputs": [],
"gas": 75002341
"outputs": []
},
{
"stateMutability": "nonpayable",
"type": "function",
"name": "increase_unlock_time",
"inputs": [{ "name": "_unlock_time", "type": "uint256" }],
"outputs": [],
"gas": 75002988
"outputs": []
},
{
"stateMutability": "nonpayable",
"type": "function",
"name": "withdraw",
"inputs": [],
"outputs": [],
"gas": 37587238
"outputs": []
},
{
"stateMutability": "view",
Expand All @@ -203,8 +188,7 @@
{ "name": "addr", "type": "address" },
{ "name": "_block", "type": "uint256" }
],
"outputs": [{ "name": "", "type": "uint256" }],
"gas": 1231681
"outputs": [{ "name": "", "type": "uint256" }]
},
{
"stateMutability": "view",
Expand All @@ -214,8 +198,7 @@
{ "name": "addr", "type": "address" },
{ "name": "_block", "type": "uint256" }
],
"outputs": [{ "name": "", "type": "uint256" }],
"gas": 1231711
"outputs": [{ "name": "", "type": "uint256" }]
},
{
"stateMutability": "view",
Expand All @@ -236,24 +219,21 @@
"type": "function",
"name": "totalSupplyAt",
"inputs": [{ "name": "_block", "type": "uint256" }],
"outputs": [{ "name": "", "type": "uint256" }],
"gas": 1354028
"outputs": [{ "name": "", "type": "uint256" }]
},
{
"stateMutability": "view",
"type": "function",
"name": "token",
"inputs": [],
"outputs": [{ "name": "", "type": "address" }],
"gas": 2988
"outputs": [{ "name": "", "type": "address" }]
},
{
"stateMutability": "view",
"type": "function",
"name": "supply",
"inputs": [],
"outputs": [{ "name": "", "type": "uint256" }],
"gas": 3018
"outputs": [{ "name": "", "type": "uint256" }]
},
{
"stateMutability": "view",
Expand All @@ -263,16 +243,14 @@
"outputs": [
{ "name": "amount", "type": "int128" },
{ "name": "end", "type": "uint256" }
],
"gas": 5653
]
},
{
"stateMutability": "view",
"type": "function",
"name": "epoch",
"inputs": [],
"outputs": [{ "name": "", "type": "uint256" }],
"gas": 3078
"outputs": [{ "name": "", "type": "uint256" }]
},
{
"stateMutability": "view",
Expand All @@ -284,8 +262,7 @@
{ "name": "slope", "type": "int128" },
{ "name": "ts", "type": "uint256" },
{ "name": "blk", "type": "uint256" }
],
"gas": 9963
]
},
{
"stateMutability": "view",
Expand All @@ -300,87 +277,76 @@
{ "name": "slope", "type": "int128" },
{ "name": "ts", "type": "uint256" },
{ "name": "blk", "type": "uint256" }
],
"gas": 10208
]
},
{
"stateMutability": "view",
"type": "function",
"name": "user_point_epoch",
"inputs": [{ "name": "arg0", "type": "address" }],
"outputs": [{ "name": "", "type": "uint256" }],
"gas": 3383
"outputs": [{ "name": "", "type": "uint256" }]
},
{
"stateMutability": "view",
"type": "function",
"name": "slope_changes",
"inputs": [{ "name": "arg0", "type": "uint256" }],
"outputs": [{ "name": "", "type": "int128" }],
"gas": 3313
"outputs": [{ "name": "", "type": "int128" }]
},
{
"stateMutability": "view",
"type": "function",
"name": "name",
"inputs": [],
"outputs": [{ "name": "", "type": "string" }],
"gas": 13458
"outputs": [{ "name": "", "type": "string" }]
},
{
"stateMutability": "view",
"type": "function",
"name": "symbol",
"inputs": [],
"outputs": [{ "name": "", "type": "string" }],
"gas": 11211
"outputs": [{ "name": "", "type": "string" }]
},
{
"stateMutability": "view",
"type": "function",
"name": "decimals",
"inputs": [],
"outputs": [{ "name": "", "type": "uint256" }],
"gas": 3288
"outputs": [{ "name": "", "type": "uint256" }]
},
{
"stateMutability": "view",
"type": "function",
"name": "future_smart_wallet_checker",
"inputs": [],
"outputs": [{ "name": "", "type": "address" }],
"gas": 3318
"outputs": [{ "name": "", "type": "address" }]
},
{
"stateMutability": "view",
"type": "function",
"name": "smart_wallet_checker",
"inputs": [],
"outputs": [{ "name": "", "type": "address" }],
"gas": 3348
"outputs": [{ "name": "", "type": "address" }]
},
{
"stateMutability": "view",
"type": "function",
"name": "admin",
"inputs": [],
"outputs": [{ "name": "", "type": "address" }],
"gas": 3378
"outputs": [{ "name": "", "type": "address" }]
},
{
"stateMutability": "view",
"type": "function",
"name": "future_admin",
"inputs": [],
"outputs": [{ "name": "", "type": "address" }],
"gas": 3408
"outputs": [{ "name": "", "type": "address" }]
},
{
"stateMutability": "view",
"type": "function",
"name": "initialized",
"inputs": [],
"outputs": [{ "name": "", "type": "bool" }],
"gas": 3438
"outputs": [{ "name": "", "type": "bool" }]
}
]
Loading