Skip to content
Open
Show file tree
Hide file tree
Changes from 47 commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
a00ec35
feat : new position managers
Kogaroshi Dec 8, 2025
ec2170c
fix : address pr comments & missing natspec & start testing
Kogaroshi Dec 9, 2025
7ae1fdb
fix : address pr comments & SupplyRepay posm tests
Kogaroshi Dec 9, 2025
0ffdb57
tests : WithdrawPermit posm tests
Kogaroshi Dec 9, 2025
abcf269
tests : CreditDelegation posm tests
Kogaroshi Dec 9, 2025
a42b632
fix : address pr comments & gas snapshot tests
Kogaroshi Dec 10, 2025
a1e33c0
frt : merge posms into Allowance Posm
Kogaroshi Dec 10, 2025
aee822d
fix : add renounce on allowance posm
Kogaroshi Dec 10, 2025
f33c26d
feat : new PositionConfig posm + tests & reorder posm test files
Kogaroshi Dec 11, 2025
ffa90f0
fix : address pr comments
Kogaroshi Dec 12, 2025
480e518
fix : missing gas tests + small fix
Kogaroshi Dec 12, 2025
8dbe9c0
chore: set self as posm consistency
DhairyaSethi Dec 15, 2025
68cb0d4
fix: add missing tests
DhairyaSethi Dec 15, 2025
6f718ba
chore: improve natspec
DhairyaSethi Dec 15, 2025
bc4a75c
pull from chore/sig-gateway-setself
Kogaroshi Dec 15, 2025
bf6476f
fix : apply convention to Posm Base
Kogaroshi Dec 15, 2025
883990b
fix : address pr comments
Kogaroshi Dec 16, 2025
19443f7
fix : address pr comments
Kogaroshi Dec 17, 2025
1063e3f
fix : address pr comments
Kogaroshi Dec 18, 2025
2e28199
fix : address pr comments
Kogaroshi Dec 19, 2025
f0477f1
fix : address pr comments
Kogaroshi Dec 19, 2025
c922404
rft : make Posm Spoke-agnostic & merge GatewayBase & PosmBase
Kogaroshi Dec 19, 2025
21bce1d
feat : add infinite allowances
Kogaroshi Dec 19, 2025
85105ec
Pull from dev and fix conflicts
Kogaroshi Jan 6, 2026
d6a31a3
fix : pull latest from dev + fix conflicts + gas snapshots
Kogaroshi Jan 14, 2026
d26b6f3
fix : use correct internal method
Kogaroshi Jan 14, 2026
87a0da0
Merge branch 'dev' of https://github.com/aave/aave-v4 into feat/new-p…
Kogaroshi Jan 14, 2026
38a39b0
chore : lint fix
Kogaroshi Jan 14, 2026
728fc5c
pull latest from dev
Kogaroshi Jan 15, 2026
c69e8ca
pull latest from dev
Kogaroshi Jan 16, 2026
1922ab3
fix : pull latest & fix conflict with setSelfAsUserPositionManagerWit…
Kogaroshi Jan 20, 2026
87cefba
Merge branch 'dev' of https://github.com/aave/aave-v4 into feat/new-p…
Kogaroshi Jan 20, 2026
7375b26
pull latest from dev
Kogaroshi Jan 21, 2026
bd27684
pull latest from dev
Kogaroshi Jan 23, 2026
950ddd8
chore : gas snapshots
Kogaroshi Jan 23, 2026
0bc1956
fix : fix Allowance Posm gas tests inconsistent
Kogaroshi Jan 23, 2026
c381ae6
pull latest from dev
Kogaroshi Jan 27, 2026
74e9556
pull latest from dev
Kogaroshi Jan 27, 2026
7754e70
pull latest from dev
Kogaroshi Jan 27, 2026
9aae00d
pull latest from dev
Kogaroshi Jan 30, 2026
7f976b2
pull latest from dev
Kogaroshi Jan 30, 2026
2f81479
chore : gas snapshots
Kogaroshi Jan 30, 2026
d783743
pull latest from main
Kogaroshi Feb 2, 2026
dc2b55d
pull latest from dev
Kogaroshi Feb 6, 2026
5c98657
fix : address pr comments
Kogaroshi Feb 6, 2026
2b4e475
fix : better Natspec
Kogaroshi Feb 6, 2026
db9220a
rft : use flags for multicall and registerSpoke
Kogaroshi Feb 6, 2026
6922f0f
fix : nameing and Natspec
Kogaroshi Feb 6, 2026
ea0d782
fix : use correct helper function to update allowances
Kogaroshi Feb 9, 2026
bb87690
pull latest from main
Kogaroshi Feb 9, 2026
a7bb6e4
fix : split EIP712Hash tests depending on locations
Kogaroshi Feb 9, 2026
8030c43
fix : AllowancePositionManager fixes & renaming credit delegation met…
Kogaroshi Feb 9, 2026
a5bc542
fix : remove registerSpoke flag & address pr comments
Kogaroshi Feb 9, 2026
c054b75
rft : block uint256_max repay on behalf
Kogaroshi Feb 9, 2026
c1d7dd0
chore : rename Config Posm
Kogaroshi Feb 9, 2026
2b18a65
fix : move errors
Kogaroshi Feb 10, 2026
2b747a2
chore : pull latest from main & fix conflicts & move TokenizedSpoke E…
Kogaroshi Feb 10, 2026
ceaf94f
pull latest from main
Kogaroshi Feb 10, 2026
2a52053
fix : invalid Natspec
Kogaroshi Feb 10, 2026
62d4edd
fix : address pr comments
Kogaroshi Feb 10, 2026
2f291a4
fix : address pr comments
Kogaroshi Feb 10, 2026
f06ebf0
fix : typo
Kogaroshi Feb 10, 2026
3285a8d
fix : address pr comments & rft config posm
Kogaroshi Feb 10, 2026
96368d1
fix : remove old gas snapshot
Kogaroshi Feb 10, 2026
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
11 changes: 11 additions & 0 deletions snapshots/AllowancePositionManager.Operations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"approveWithdraw": "50815",
"approveWithdrawWithSig": "69029",
"borrowOnBehalfOf": "348896",
"delegateCredit": "50817",
"delegateCreditWithSig": "69040",
"renounceCreditDelegation": "28873",
"renounceWithdrawAllowance": "28827",
"withdrawOnBehalfOf: full": "136984",
"withdrawOnBehalfOf: partial": "151030"
}
32 changes: 16 additions & 16 deletions snapshots/Hub.Operations.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"add": "86703",
"add: with transfer": "108000",
"draw": "104159",
"eliminateDeficit: full": "72578",
"eliminateDeficit: partial": "82183",
"mintFeeShares": "82752",
"payFee": "70816",
"refreshPremium": "70373",
"remove: full": "75607",
"remove: partial": "80745",
"reportDeficit": "111893",
"restore: full": "76563",
"restore: full - with transfer": "169172",
"restore: partial": "85273",
"restore: partial - with transfer": "143253",
"transferShares": "69630"
"add": "95952",
"add: with transfer": "119416",
"draw": "113134",
"eliminateDeficit: full": "82966",
"eliminateDeficit: partial": "92613",
"mintFeeShares": "97515",
"payFee": "79039",
"refreshPremium": "79169",
"remove: full": "85152",
"remove: partial": "89308",
"reportDeficit": "126617",
"restore: full": "92608",
"restore: full - with transfer": "193649",
"restore: partial": "101596",
"restore: partial - with transfer": "162420",
"transferShares": "78338"
}
12 changes: 6 additions & 6 deletions snapshots/NativeTokenGateway.Operations.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"borrowNative": "228612",
"repayNative": "166405",
"supplyAsCollateralNative": "160067",
"supplyNative": "135727",
"withdrawNative: full": "125540",
"withdrawNative: partial": "136724"
"borrowNative": "271649",
"repayNative": "194676",
"supplyAsCollateralNative": "180387",
"supplyNative": "150358",
"withdrawNative: full": "143258",
"withdrawNative: partial": "157358"
}
13 changes: 13 additions & 0 deletions snapshots/PositionConfigPositionManager.Operations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"renounceCanUpdateUserDynamicConfigPermission": "28504",
"renounceCanUpdateUserRiskPremiumPermission": "28526",
"renounceCanUpdateUsingAsCollateralPermission": "28527",
"renounceGlobalPermission": "28549",
"setCanUpdateUserDynamicConfigPermission": "50726",
"setCanUpdateUserRiskPremiumPermission": "50748",
"setCanUpdateUsingAsCollateralPermission": "50748",
"setGlobalPermission": "50748",
"setUsingAsCollateralOnBehalfOf": "75175",
"updateUserDynamicConfigOnBehalfOf": "52105",
"updateUserRiskPremiumOnBehalfOf": "156481"
}
3 changes: 3 additions & 0 deletions snapshots/PositionManagerBase.Operations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"setSelfAsUserPositionManagerWithSig": "81685"
}
16 changes: 8 additions & 8 deletions snapshots/SignatureGateway.Operations.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"borrowWithSig": "213845",
"repayWithSig": "186677",
"setSelfAsUserPositionManagerWithSig": "75385",
"setUsingAsCollateralWithSig": "85365",
"supplyWithSig": "151959",
"updateUserDynamicConfigWithSig": "63098",
"updateUserRiskPremiumWithSig": "62068",
"withdrawWithSig": "130794"
"borrowWithSig": "256598",
"repayWithSig": "217342",
"setSelfAsUserPositionManagerWithSig": "81707",
"setUsingAsCollateralWithSig": "89988",
"supplyWithSig": "168587",
"updateUserDynamicConfigWithSig": "66768",
"updateUserRiskPremiumWithSig": "65496",
"withdrawWithSig": "151642"
}
10 changes: 5 additions & 5 deletions snapshots/Spoke.Getters.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"getUserAccountData: supplies: 0, borrows: 0": "12992",
"getUserAccountData: supplies: 1, borrows: 0": "49404",
"getUserAccountData: supplies: 2, borrows: 0": "81080",
"getUserAccountData: supplies: 2, borrows: 1": "101509",
"getUserAccountData: supplies: 2, borrows: 2": "120769"
"getUserAccountData: supplies: 0, borrows: 0": "13534",
"getUserAccountData: supplies: 1, borrows: 0": "58107",
"getUserAccountData: supplies: 2, borrows: 0": "97871",
"getUserAccountData: supplies: 2, borrows: 1": "124402",
"getUserAccountData: supplies: 2, borrows: 2": "147387"
}
64 changes: 32 additions & 32 deletions snapshots/Spoke.Operations.ZeroRiskPremium.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
{
"borrow: first": "190362",
"borrow: second action, same reserve": "170228",
"liquidationCall (receiveShares): full": "303239",
"liquidationCall (receiveShares): partial": "302657",
"liquidationCall (reportDeficit): full": "366361",
"liquidationCall: full": "320875",
"liquidationCall: partial": "320293",
"permitReserve + repay (multicall)": "164532",
"permitReserve + supply (multicall)": "146712",
"permitReserve + supply + enable collateral (multicall)": "161141",
"repay: full": "123892",
"repay: partial": "128850",
"setUserPositionManagersWithSig: disable": "47039",
"setUserPositionManagersWithSig: enable": "68951",
"supply + enable collateral (multicall)": "141343",
"supply: 0 borrows, collateral disabled": "122824",
"supply: 0 borrows, collateral enabled": "105795",
"supply: second action, same reserve": "105724",
"updateUserDynamicConfig: 1 collateral": "74523",
"updateUserDynamicConfig: 2 collaterals": "89391",
"updateUserRiskPremium: 1 borrow": "95712",
"updateUserRiskPremium: 2 borrows": "105392",
"usingAsCollateral: 0 borrows, enable": "59594",
"usingAsCollateral: 1 borrow, disable": "105756",
"usingAsCollateral: 1 borrow, enable": "42482",
"usingAsCollateral: 2 borrows, disable": "127305",
"usingAsCollateral: 2 borrows, enable": "42494",
"withdraw: 0 borrows, full": "127955",
"withdraw: 0 borrows, partial": "132851",
"withdraw: 1 borrow, partial": "159982",
"withdraw: 2 borrows, partial": "174540",
"withdraw: non collateral": "105902"
"borrow: first": "218686",
"borrow: second action, same reserve": "198603",
"liquidationCall (receiveShares): full": "387391",
"liquidationCall (receiveShares): partial": "386737",
"liquidationCall (reportDeficit): full": "464504",
"liquidationCall: full": "417500",
"liquidationCall: partial": "416846",
"permitReserve + repay (multicall)": "189215",
"permitReserve + supply (multicall)": "163961",
"permitReserve + supply + enable collateral (multicall)": "180327",
"repay: full": "143544",
"repay: partial": "148939",
"setUserPositionManagersWithSig: disable": "51471",
"setUserPositionManagersWithSig: enable": "73383",
"supply + enable collateral (multicall)": "155425",
"supply: 0 borrows, collateral disabled": "135042",
"supply: 0 borrows, collateral enabled": "118065",
"supply: second action, same reserve": "117942",
"updateUserDynamicConfig: 1 collateral": "77772",
"updateUserDynamicConfig: 2 collaterals": "95005",
"updateUserRiskPremium: 1 borrow": "111080",
"updateUserRiskPremium: 2 borrows": "125336",
"usingAsCollateral: 0 borrows, enable": "61116",
"usingAsCollateral: 1 borrow, disable": "122083",
"usingAsCollateral: 1 borrow, enable": "44004",
"usingAsCollateral: 2 borrows, disable": "147646",
"usingAsCollateral: 2 borrows, enable": "44016",
"withdraw: 0 borrows, full": "146679",
"withdraw: 0 borrows, partial": "156423",
"withdraw: 1 borrow, partial": "190959",
"withdraw: 2 borrows, partial": "208065",
"withdraw: non collateral": "121374"
}
64 changes: 32 additions & 32 deletions snapshots/Spoke.Operations.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
{
"borrow: first": "259297",
"borrow: second action, same reserve": "202163",
"liquidationCall (receiveShares): full": "335283",
"liquidationCall (receiveShares): partial": "334701",
"liquidationCall (reportDeficit): full": "360978",
"liquidationCall: full": "352919",
"liquidationCall: partial": "352337",
"permitReserve + repay (multicall)": "162009",
"permitReserve + supply (multicall)": "146712",
"permitReserve + supply + enable collateral (multicall)": "161141",
"repay: full": "117971",
"repay: partial": "137329",
"setUserPositionManagersWithSig: disable": "47039",
"setUserPositionManagersWithSig: enable": "68951",
"supply + enable collateral (multicall)": "141343",
"supply: 0 borrows, collateral disabled": "122824",
"supply: 0 borrows, collateral enabled": "105795",
"supply: second action, same reserve": "105724",
"updateUserDynamicConfig: 1 collateral": "74523",
"updateUserDynamicConfig: 2 collaterals": "89391",
"updateUserRiskPremium: 1 borrow": "149071",
"updateUserRiskPremium: 2 borrows": "199333",
"usingAsCollateral: 0 borrows, enable": "59594",
"usingAsCollateral: 1 borrow, disable": "159112",
"usingAsCollateral: 1 borrow, enable": "42482",
"usingAsCollateral: 2 borrows, disable": "229242",
"usingAsCollateral: 2 borrows, enable": "42494",
"withdraw: 0 borrows, full": "127955",
"withdraw: 0 borrows, partial": "132851",
"withdraw: 1 borrow, partial": "210836",
"withdraw: 2 borrows, partial": "257012",
"withdraw: non collateral": "105902"
"borrow: first": "300218",
"borrow: second action, same reserve": "243135",
"liquidationCall (receiveShares): full": "432271",
"liquidationCall (receiveShares): partial": "431617",
"liquidationCall (reportDeficit): full": "459955",
"liquidationCall: full": "462380",
"liquidationCall: partial": "461726",
"permitReserve + repay (multicall)": "183554",
"permitReserve + supply (multicall)": "163961",
"permitReserve + supply + enable collateral (multicall)": "180327",
"repay: full": "137883",
"repay: partial": "157678",
"setUserPositionManagersWithSig: disable": "51471",
"setUserPositionManagersWithSig: enable": "73383",
"supply + enable collateral (multicall)": "155425",
"supply: 0 borrows, collateral disabled": "135042",
"supply: 0 borrows, collateral enabled": "118065",
"supply: second action, same reserve": "117942",
"updateUserDynamicConfig: 1 collateral": "77772",
"updateUserDynamicConfig: 2 collaterals": "95005",
"updateUserRiskPremium: 1 borrow": "180903",
"updateUserRiskPremium: 2 borrows": "251853",
"usingAsCollateral: 0 borrows, enable": "61116",
"usingAsCollateral: 1 borrow, disable": "191903",
"usingAsCollateral: 1 borrow, enable": "44004",
"usingAsCollateral: 2 borrows, disable": "282159",
"usingAsCollateral: 2 borrows, enable": "44016",
"withdraw: 0 borrows, full": "146679",
"withdraw: 0 borrows, partial": "156423",
"withdraw: 1 borrow, partial": "258277",
"withdraw: 2 borrows, partial": "315090",
"withdraw: non collateral": "121374"
}
4 changes: 4 additions & 0 deletions snapshots/SupplyRepayPositionManager.Operations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"repayOnBehalfOf": "196331",
"supplyOnBehalfOf": "151793"
}
Loading
Loading