Skip to content

Commit 9b105b1

Browse files
committed
chore: mark strategy config key helpers as view
1 parent ca91632 commit 9b105b1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cadence/contracts/FlowYieldVaultsStrategiesV2.cdc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1015,14 +1015,14 @@ access(all) contract FlowYieldVaultsStrategiesV2 {
10151015
)
10161016
}
10171017

1018-
access(self) fun getYieldToMoetSwapperConfigKey(_ uniqueID: DeFiActions.UniqueIdentifier?): String {
1018+
access(self) view fun getYieldToMoetSwapperConfigKey(_ uniqueID: DeFiActions.UniqueIdentifier?): String {
10191019
pre {
10201020
uniqueID != nil: "Missing UniqueIdentifier for swapper config key"
10211021
}
10221022
return "yieldToMoetSwapper_\(uniqueID!.id.toString())"
10231023
}
10241024

1025-
access(self) fun getMoetToCollateralSwapperConfigKey(_ uniqueID: DeFiActions.UniqueIdentifier?): String {
1025+
access(self) view fun getMoetToCollateralSwapperConfigKey(_ uniqueID: DeFiActions.UniqueIdentifier?): String {
10261026
pre {
10271027
uniqueID != nil: "Missing UniqueIdentifier for swapper config key"
10281028
}

0 commit comments

Comments
 (0)