From 755fc681f8f45ac63de9863307a01284d6328c8f Mon Sep 17 00:00:00 2001 From: liobrasil Date: Tue, 31 Mar 2026 00:49:53 -0400 Subject: [PATCH] Restrict position connector constructors --- cadence/contracts/FlowALPPositionResources.cdc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cadence/contracts/FlowALPPositionResources.cdc b/cadence/contracts/FlowALPPositionResources.cdc index ba406725..be20721a 100644 --- a/cadence/contracts/FlowALPPositionResources.cdc +++ b/cadence/contracts/FlowALPPositionResources.cdc @@ -349,7 +349,7 @@ access(all) contract FlowALPPositionResources { /// drawDownSink access(self) let pushToDrawDownSink: Bool - init( + access(contract) init( id: UInt64, type: Type, pushToDrawDownSink: Bool @@ -420,7 +420,7 @@ access(all) contract FlowALPPositionResources { /// in the event the withdrawal puts the position under its target health access(self) let pullFromTopUpSource: Bool - init( + access(contract) init( id: UInt64, type: Type, pullFromTopUpSource: Bool