movePbCycleForward

Move the PB Cycle to the next phase. PB Cycle is moved between phases in a sequential way, so if the next phase is a transitional phase it will be skipped and the PB Cycle will be moved to the next immediate valid phase.

Permissions#

Only PB administrators are allowed to move PB Cycle forward.

Revert changes#

It is possible to move the PB Cycle backward by using the movePbCycleBackward mutation.

On success#

If opperation is successfull you'll receive the PB Cycle ID as response.

Possible errors#

In case of error you could receive any of next errors:

ErrorCodeDescription
UnauthorizedIER4002You are not authorized to access this resource. Only PB administrator can perform this operation.
No next phaseAGGER6045There are not an available next phase. Occurs when the PB Cycle is in the last phase.
No proposalsAGGER6047There are no proposals registered for this PB Cycle. Occurs when it is tried to move the PB Cycle to refinement and there are not registered proposals.
Results not ratifiedAGGER6048Voting results have not been ratified. Occurs when it is tried to move the PB Cycle to do phase but voting results need to be ratified by admins.
movePbCycleForward(
input: MovePBCycleForwardInput!
): MovePBCycleForwardPayload

Arguments#

input (MovePBCycleForwardInput!)#

Parameters for MovePBCycleForward

Type#

MovePBCycleForwardPayload#

Autogenerated return type of MovePBCycleForward