We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6600467 commit df47225Copy full SHA for df47225
1 file changed
cadence/contracts/FlowALPRebalancerPaidv1.cdc
@@ -242,6 +242,7 @@ access(all) contract FlowALPRebalancerPaidv1 {
242
let rebalancer <- create PositionRebalancer(
243
positionID: positionID
244
)
245
+ // will panic if the rebalancer already exists
246
self.storeRebalancer(rebalancer: <-rebalancer, positionID: positionID)
247
self.setSelfCapability(positionID: positionID).fixReschedule()
248
emit CreatedRebalancerPaid(positionID: positionID)
0 commit comments