com.casper.sdk.model.transaction.entrypoint.RedelegateEntryPoint Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of casper-java-sdk Show documentation
Show all versions of casper-java-sdk Show documentation
SDK to streamline the 3rd party Java client integration processes. Such 3rd parties include exchanges & app developers.
The newest version!
package com.casper.sdk.model.transaction.entrypoint;
/**
* The `redelegate` native entry point, used to reduce a delegator's stake or remove the
* delegator if the remaining stake is 0, and after the unbonding delay, automatically
* delegate to a new validator.
*
* Requires the following runtime args:
*
- delegator": `PublicKey`
* - "validator": `PublicKey`
* - "amount": `U512`
* - "new_validator": `PublicKey`
*
* @author [email protected]
*/
public class RedelegateEntryPoint extends TransactionEntryPoint {
public RedelegateEntryPoint() {
super((byte) REDELEGATE_TAG, "Redelegate");
}
}