Skip to content

Commit 755fc68

Browse files
committed
Restrict position connector constructors
1 parent 435891a commit 755fc68

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cadence/contracts/FlowALPPositionResources.cdc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ access(all) contract FlowALPPositionResources {
349349
/// drawDownSink
350350
access(self) let pushToDrawDownSink: Bool
351351

352-
init(
352+
access(contract) init(
353353
id: UInt64,
354354
type: Type,
355355
pushToDrawDownSink: Bool
@@ -420,7 +420,7 @@ access(all) contract FlowALPPositionResources {
420420
/// in the event the withdrawal puts the position under its target health
421421
access(self) let pullFromTopUpSource: Bool
422422

423-
init(
423+
access(contract) init(
424424
id: UInt64,
425425
type: Type,
426426
pullFromTopUpSource: Bool

0 commit comments

Comments
 (0)