Secp256k1Layout class
- Inheritance
- 
    - Object
- LayoutSerializable
- ProgramLayout
- Secp256k1Layout
 
Constructors
- 
          Secp256k1Layout({required ETHAddress ethAddress, required int numSignatures, required int signatureOffset, required int signatureInstructionIndex, required int ethAddressOffset, required int ethAddressInstructionIndex, required int messageDataOffset, required int messageDataSize, required int messageInstructionIndex, required List<int> signature, required List<int> message, required int recoveryId})
- Constructs a Secp256k1Layout instance.
- 
          Secp256k1Layout.fromBuffer(List<int> data)
- 
          Constructs a Secp256k1Layout instance from a buffer.
            factory
- 
          Secp256k1Layout.fromEthAddress({required ETHAddress address, required List<int> message, required List<int> signature, required int recoveryId, int instructionIndex = 0})
- 
          Create an secp256k1 layout with an Ethereum address.
            factory
- 
          Secp256k1Layout.fromPrivateKey({required ETHPrivateKey privateKey, required List<int> message, required int instructionIndex})
- 
          Create an secp256k1 layout with a private key.
            factory
Properties
- ethAddress → ETHAddress
- 
  Ethereum address used in the layout.
  final
- ethAddressInstructionIndex → int
- 
  Instruction index for the Ethereum address.
  final
- ethAddressOffset → int
- 
  Offset of the Ethereum address.
  final
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- instruction → Secp256k1ProgramInstruction
- 
  Instruction associated with the layout.
  final
- layout → StructLayout
- 
  Gets the layout structure.
  no setteroverride
- length → int
- 
  
  no setter
- 
  message
  → List<int> 
- 
  message bytes.
  final
- messageDataOffset → int
- 
  Offset of the message data.
  final
- messageDataSize → int
- 
  Size of the message data.
  final
- messageInstructionIndex → int
- 
  Instruction index for the message.
  final
- numSignatures → int
- 
  Number of signatures.
  final
- recoveryId → int
- 
  Recovery ID.
  final
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- 
  signature
  → List<int> 
- 
  signature bytes.
  final
- signatureInstructionIndex → int
- 
  Instruction index for the signature.
  final
- signatureOffset → int
- 
  Offset of the signature.
  final
Methods
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  serialize() → Map< String, dynamic> 
- 
  Serializes the layout.
  override
- 
  toBytes() → List< int> 
- 
  Converts the layout into bytes.
  override
- 
  toHex() → String 
- 
  Converts the program to a hexadecimal string.
  inherited
- 
  toJson() → Map< String, dynamic> 
- 
  
  inherited
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited