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
#blob1 ⇒ Object
21
22
23
|
# File 'lib/solana_ruby/data_types.rb', line 21
def blob1
Blob.new(1)
end
|
#blob32 ⇒ Object
25
26
27
|
# File 'lib/solana_ruby/data_types.rb', line 25
def blob32
Blob.new(32)
end
|
#near_int64 ⇒ Object
17
18
19
|
# File 'lib/solana_ruby/data_types.rb', line 17
def near_int64
NearInt64.new
end
|
#uint32 ⇒ Object
9
10
11
|
# File 'lib/solana_ruby/data_types.rb', line 9
def uint32
UnsignedInt.new(32)
end
|
#uint64 ⇒ Object
13
14
15
|
# File 'lib/solana_ruby/data_types.rb', line 13
def uint64
UnsignedInt.new(64)
end
|
#uint8 ⇒ Object
5
6
7
|
# File 'lib/solana_ruby/data_types.rb', line 5
def uint8
UnsignedInt.new(8)
end
|