Module: SolanaRuby::DataTypes

Extended by:
DataTypes
Included in:
DataTypes
Defined in:
lib/solana_ruby/data_types.rb,
lib/solana_ruby/data_types/blob.rb,
lib/solana_ruby/data_types/layout.rb,
lib/solana_ruby/data_types/sequence.rb,
lib/solana_ruby/data_types/near_int64.rb,
lib/solana_ruby/data_types/unsigned_int.rb

Defined Under Namespace

Classes: Blob, Layout, NearInt64, Sequence, UnsignedInt

Instance Method Summary collapse

Instance Method Details

#blob1Object



21
22
23
# File 'lib/solana_ruby/data_types.rb', line 21

def blob1
  Blob.new(1)
end

#blob32Object



25
26
27
# File 'lib/solana_ruby/data_types.rb', line 25

def blob32
  Blob.new(32)
end

#near_int64Object



17
18
19
# File 'lib/solana_ruby/data_types.rb', line 17

def near_int64
  NearInt64.new
end

#uint32Object



9
10
11
# File 'lib/solana_ruby/data_types.rb', line 9

def uint32
  UnsignedInt.new(32)
end

#uint64Object



13
14
15
# File 'lib/solana_ruby/data_types.rb', line 13

def uint64
  UnsignedInt.new(64)
end

#uint8Object



5
6
7
# File 'lib/solana_ruby/data_types.rb', line 5

def uint8
  UnsignedInt.new(8)
end