module Platon::Sedes
Public Instance Methods
address()
click to toggle source
# File lib/platon/sedes.rb, line 7 def address Binary.fixed_length(20, allow_empty: true) end
big_endian_int()
click to toggle source
# File lib/platon/sedes.rb, line 31 def big_endian_int RLP::Sedes.big_endian_int end
binary()
click to toggle source
# File lib/platon/sedes.rb, line 35 def binary RLP::Sedes.binary end
hash32()
click to toggle source
# File lib/platon/sedes.rb, line 23 def hash32 Binary.fixed_length(32) end
int20()
click to toggle source
# File lib/platon/sedes.rb, line 11 def int20 BigEndianInt.new(20) end
int256()
click to toggle source
# File lib/platon/sedes.rb, line 19 def int256 BigEndianInt.new(256) end
int32()
click to toggle source
# File lib/platon/sedes.rb, line 15 def int32 BigEndianInt.new(32) end
trie_root()
click to toggle source
# File lib/platon/sedes.rb, line 27 def trie_root Binary.fixed_length(32, allow_empty: true) end