Record Class StakeProgram.AuthorizeCheckedWithSeed
java.lang.Object
java.lang.Record
software.sava.solana.programs.stake.StakeProgram.AuthorizeCheckedWithSeed
- Enclosing class:
StakeProgram
public static record StakeProgram.AuthorizeCheckedWithSeed(byte[] discriminator, StakeAuthorize stakeAuthorize, byte[] seed, software.sava.core.accounts.PublicKey authorityOwner)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionAuthorizeCheckedWithSeed(byte[] discriminator, StakeAuthorize stakeAuthorize, byte[] seed, software.sava.core.accounts.PublicKey authorityOwner) Creates an instance of aAuthorizeCheckedWithSeedrecord class. -
Method Summary
Modifier and TypeMethodDescriptionsoftware.sava.core.accounts.PublicKeyReturns the value of theauthorityOwnerrecord component.byte[]Returns the value of thediscriminatorrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.read(byte[] data, int offset) read(software.sava.core.tx.Instruction instruction) byte[]seed()Returns the value of theseedrecord component.Returns the value of thestakeAuthorizerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AuthorizeCheckedWithSeed
public AuthorizeCheckedWithSeed(byte[] discriminator, StakeAuthorize stakeAuthorize, byte[] seed, software.sava.core.accounts.PublicKey authorityOwner) Creates an instance of aAuthorizeCheckedWithSeedrecord class.- Parameters:
discriminator- the value for thediscriminatorrecord componentstakeAuthorize- the value for thestakeAuthorizerecord componentseed- the value for theseedrecord componentauthorityOwner- the value for theauthorityOwnerrecord component
-
-
Method Details
-
read
public static StakeProgram.AuthorizeCheckedWithSeed read(software.sava.core.tx.Instruction instruction) -
read
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
discriminator
public byte[] discriminator()Returns the value of thediscriminatorrecord component.- Returns:
- the value of the
discriminatorrecord component
-
stakeAuthorize
Returns the value of thestakeAuthorizerecord component.- Returns:
- the value of the
stakeAuthorizerecord component
-
seed
public byte[] seed()Returns the value of theseedrecord component.- Returns:
- the value of the
seedrecord component
-
authorityOwner
public software.sava.core.accounts.PublicKey authorityOwner()Returns the value of theauthorityOwnerrecord component.- Returns:
- the value of the
authorityOwnerrecord component
-