Class: Solace::SquadsSmartAccounts::SmartAccountIdentity

Inherits:
Data
  • Object
show all
Defined in:
lib/solace/squads_smart_accounts/types/smart_account_identity.rb

Overview

Immutable value object holding the full deterministic identity of a smart account — everything a client needs to persist for indexing before (or after) creating it on-chain.

Examples:

identity = program.
identity.settings_seed         # => 1234 (pass to create_smart_account)
identity.settings_address      # => base58 settings PDA
identity. # => base58 default vault PDA (index 0)

Instance Attribute Summary collapse

Instance Attribute Details

#settings_addressObject (readonly)

Returns the value of attribute settings_address

Returns:

  • (Object)

    the current value of settings_address



14
15
16
# File 'lib/solace/squads_smart_accounts/types/smart_account_identity.rb', line 14

def settings_address
  @settings_address
end

#settings_seedObject (readonly)

Returns the value of attribute settings_seed

Returns:

  • (Object)

    the current value of settings_seed



14
15
16
# File 'lib/solace/squads_smart_accounts/types/smart_account_identity.rb', line 14

def settings_seed
  @settings_seed
end

#smart_account_addressObject (readonly)

Returns the value of attribute smart_account_address

Returns:

  • (Object)

    the current value of smart_account_address



14
15
16
# File 'lib/solace/squads_smart_accounts/types/smart_account_identity.rb', line 14

def 
  @smart_account_address
end