candidature

abstract fun candidature(leaderId: Long, minDepth: Int, maxDepth: Int, senderAddress: Address)

Sends a candidature for the election.

Parameters

leaderId

The id of the candidate.

minDepth

The minimum depth of the candidate.

maxDepth

The maximum depth of the candidate.

senderAddress

The address of the sender.

Throws

If a remote access error occurs.