Skip to content

Commit 80c5191

Browse files
avniculaeyan-manmiguelmtzinfDhairyaSethi
authored
fix: Supply share price (#933)
Co-authored-by: YBM <[email protected]> Co-authored-by: miguelmtz <[email protected]> Co-authored-by: dhairya <[email protected]> Co-authored-by: miguelmtzinf <[email protected]>
1 parent a0ed475 commit 80c5191

30 files changed

+734
-342
lines changed

snapshots/Hub.Operations.json

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
{
2-
"add": "112957",
3-
"draw": "121540",
4-
"eliminateDeficit: full": "57149",
5-
"eliminateDeficit: partial": "66725",
6-
"payFee": "73206",
7-
"refreshPremium": "69468",
8-
"remove: full": "70658",
9-
"remove: partial": "75905",
10-
"reportDeficit": "118680",
11-
"restore: full": "97070",
12-
"restore: partial": "110500",
13-
"transferShares": "78798"
2+
"add": "115482",
3+
"draw": "124510",
4+
"eliminateDeficit: full": "59744",
5+
"eliminateDeficit: partial": "69320",
6+
"mintFeeShares": "82875",
7+
"payFee": "71140",
8+
"refreshPremium": "71913",
9+
"remove: full": "73767",
10+
"remove: partial": "78496",
11+
"reportDeficit": "109874",
12+
"restore: full": "91042",
13+
"restore: partial": "104456",
14+
"transferShares": "69941"
1415
}
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"borrowNative": "223584",
3-
"repayNative": "236828",
4-
"supplyAsCollateralNative": "179050",
5-
"supplyNative": "133306",
6-
"withdrawNative: full": "121180",
7-
"withdrawNative: partial": "131275"
2+
"borrowNative": "228552",
3+
"repayNative": "241812",
4+
"supplyAsCollateralNative": "181646",
5+
"supplyNative": "135326",
6+
"withdrawNative: full": "123310",
7+
"withdrawNative: partial": "133937"
88
}
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"borrowWithSig": "211764",
3-
"repayWithSig": "237862",
2+
"borrowWithSig": "214732",
3+
"repayWithSig": "240846",
44
"setSelfAsUserPositionManagerWithSig": "75492",
5-
"setUsingAsCollateralWithSig": "122269",
6-
"supplyWithSig": "149912",
5+
"setUsingAsCollateralWithSig": "124340",
6+
"supplyWithSig": "151932",
77
"updateUserDynamicConfigWithSig": "62659",
88
"updateUserRiskPremiumWithSig": "61404",
9-
"withdrawWithSig": "127205"
9+
"withdrawWithSig": "129335"
1010
}

snapshots/Spoke.Getters.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"getUserAccountData: supplies: 0, borrows: 0": "11681",
3-
"getUserAccountData: supplies: 1, borrows: 0": "46282",
4-
"getUserAccountData: supplies: 2, borrows: 0": "75611",
5-
"getUserAccountData: supplies: 2, borrows: 1": "95884",
6-
"getUserAccountData: supplies: 2, borrows: 2": "114108"
3+
"getUserAccountData: supplies: 1, borrows: 0": "48353",
4+
"getUserAccountData: supplies: 2, borrows: 0": "79753",
5+
"getUserAccountData: supplies: 2, borrows: 1": "100026",
6+
"getUserAccountData: supplies: 2, borrows: 2": "118250"
77
}
Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
{
2-
"borrow: first": "196440",
3-
"borrow: second action, same reserve": "176678",
4-
"liquidationCall (receiveShares): full": "258503",
5-
"liquidationCall (receiveShares): partial": "297886",
6-
"liquidationCall: full": "280027",
7-
"liquidationCall: partial": "301744",
8-
"permitReserve + repay (multicall)": "232009",
9-
"permitReserve + supply (multicall)": "167123",
10-
"permitReserve + supply + enable collateral (multicall)": "253128",
11-
"repay: full": "150117",
12-
"repay: partial": "173725",
2+
"borrow: first": "192467",
3+
"borrow: second action, same reserve": "172422",
4+
"liquidationCall (receiveShares): full": "263784",
5+
"liquidationCall (receiveShares): partial": "294057",
6+
"liquidationCall: full": "285806",
7+
"liquidationCall: partial": "298696",
8+
"permitReserve + repay (multicall)": "227753",
9+
"permitReserve + supply (multicall)": "169719",
10+
"permitReserve + supply + enable collateral (multicall)": "258030",
11+
"repay: full": "154640",
12+
"repay: partial": "178248",
1313
"setUserPositionManagerWithSig: disable": "44896",
1414
"setUserPositionManagerWithSig: enable": "68925",
15-
"supply + enable collateral (multicall)": "178374",
16-
"supply: 0 borrows, collateral disabled": "117360",
17-
"supply: 0 borrows, collateral enabled": "146261",
18-
"supply: 1 borrow": "121749",
19-
"supply: second action, same reserve": "129161",
15+
"supply + enable collateral (multicall)": "181488",
16+
"supply: 0 borrows, collateral disabled": "119885",
17+
"supply: 0 borrows, collateral enabled": "149375",
18+
"supply: 1 borrow": "124792",
19+
"supply: second action, same reserve": "132275",
2020
"updateUserDynamicConfig: 1 collateral": "73487",
2121
"updateUserDynamicConfig: 2 collaterals": "87983",
22-
"updateUserRiskPremium: 1 borrow": "92838",
23-
"updateUserRiskPremium: 2 borrows": "105986",
22+
"updateUserRiskPremium: 1 borrow": "94626",
23+
"updateUserRiskPremium: 2 borrows": "103263",
2424
"usingAsCollateral: 0 borrows, enable": "78231",
25-
"usingAsCollateral: 1 borrow, disable": "103109",
26-
"usingAsCollateral: 1 borrow, enable": "116507",
27-
"usingAsCollateral: 2 borrows, disable": "123874",
28-
"usingAsCollateral: 2 borrows, enable": "137272",
29-
"withdraw: 0 borrows, full": "122283",
30-
"withdraw: 0 borrows, partial": "127134",
31-
"withdraw: 1 borrow, partial": "154449",
32-
"withdraw: 2 borrows, partial": "175203",
33-
"withdraw: non collateral": "120014"
25+
"usingAsCollateral: 1 borrow, disable": "104897",
26+
"usingAsCollateral: 1 borrow, enable": "118295",
27+
"usingAsCollateral: 2 borrows, disable": "125662",
28+
"usingAsCollateral: 2 borrows, enable": "139060",
29+
"withdraw: 0 borrows, full": "125180",
30+
"withdraw: 0 borrows, partial": "129867",
31+
"withdraw: 1 borrow, partial": "157417",
32+
"withdraw: 2 borrows, partial": "178171",
33+
"withdraw: non collateral": "111386"
3434
}

snapshots/Spoke.Operations.json

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
{
2-
"borrow: first": "265773",
3-
"borrow: second action, same reserve": "209011",
4-
"liquidationCall (receiveShares): full": "258503",
5-
"liquidationCall (receiveShares): partial": "297886",
6-
"liquidationCall: full": "280027",
7-
"liquidationCall: partial": "301744",
8-
"permitReserve + repay (multicall)": "264552",
9-
"permitReserve + supply (multicall)": "167123",
10-
"permitReserve + supply + enable collateral (multicall)": "320218",
11-
"repay: full": "144758",
12-
"repay: partial": "206268",
2+
"borrow: first": "262245",
3+
"borrow: second action, same reserve": "205200",
4+
"liquidationCall (receiveShares): full": "263784",
5+
"liquidationCall (receiveShares): partial": "294057",
6+
"liquidationCall: full": "285806",
7+
"liquidationCall: partial": "298696",
8+
"permitReserve + repay (multicall)": "260757",
9+
"permitReserve + supply (multicall)": "169719",
10+
"permitReserve + supply + enable collateral (multicall)": "324363",
11+
"repay: full": "149297",
12+
"repay: partial": "211252",
1313
"setUserPositionManagerWithSig: disable": "44896",
1414
"setUserPositionManagerWithSig: enable": "68925",
15-
"supply + enable collateral (multicall)": "178374",
16-
"supply: 0 borrows, collateral disabled": "117360",
17-
"supply: 0 borrows, collateral enabled": "146261",
18-
"supply: 1 borrow": "121749",
19-
"supply: second action, same reserve": "129161",
15+
"supply + enable collateral (multicall)": "181488",
16+
"supply: 0 borrows, collateral disabled": "119885",
17+
"supply: 0 borrows, collateral enabled": "149375",
18+
"supply: 1 borrow": "124792",
19+
"supply: second action, same reserve": "132275",
2020
"updateUserDynamicConfig: 1 collateral": "73487",
2121
"updateUserDynamicConfig: 2 collaterals": "87983",
22-
"updateUserRiskPremium: 1 borrow": "173093",
23-
"updateUserRiskPremium: 2 borrows": "253679",
22+
"updateUserRiskPremium: 1 borrow": "166030",
23+
"updateUserRiskPremium: 2 borrows": "233254",
2424
"usingAsCollateral: 0 borrows, enable": "78231",
25-
"usingAsCollateral: 1 borrow, disable": "153416",
26-
"usingAsCollateral: 1 borrow, enable": "196762",
27-
"usingAsCollateral: 2 borrows, disable": "219671",
28-
"usingAsCollateral: 2 borrows, enable": "292965",
29-
"withdraw: 0 borrows, full": "122283",
30-
"withdraw: 0 borrows, partial": "127134",
31-
"withdraw: 1 borrow, partial": "232201",
32-
"withdraw: 2 borrows, partial": "328392",
33-
"withdraw: non collateral": "120014"
25+
"usingAsCollateral: 1 borrow, disable": "157649",
26+
"usingAsCollateral: 1 borrow, enable": "189699",
27+
"usingAsCollateral: 2 borrows, disable": "226349",
28+
"usingAsCollateral: 2 borrows, enable": "277051",
29+
"withdraw: 0 borrows, full": "125180",
30+
"withdraw: 0 borrows, partial": "129867",
31+
"withdraw: 1 borrow, partial": "226318",
32+
"withdraw: 2 borrows, partial": "313658",
33+
"withdraw: non collateral": "111386"
3434
}

0 commit comments

Comments
 (0)