struct Fremkit::Eth::AccountAddress

Defined in:

common/address.cr

Instance Method Summary

Instance methods inherited from struct Fremkit::Address

bytes : Array(UInt8) bytes, check_format : Bool check_format, format_size : Int32 format_size, format_str : String format_str, from_bytes(bytes : Array(UInt8)) from_bytes, hex_str : String hex_str, little : Bool little, to_i : BigInt to_i, to_s to_s

Constructor methods inherited from struct Fremkit::Address

new(bytes : Array(UInt8), little : Bool = false)
new(str : String, little : Bool = false)
new

Instance methods inherited from class Object

from_rlp(rlp : Bytes) : Tuple(self, UInt32) from_rlp, to_rlp : Bytes to_rlp

Class methods inherited from class Object

from_rlp(rlp : Bytes) : Tuple(self, UInt32) from_rlp

Instance Method Detail

def check_format : Bool #
Description copied from struct Fremkit::Address

This should be overloaded to check that the size of the @bytes array corresponds to a valid address.


[View source]
def format_size : Int32 #
Description copied from struct Fremkit::Address

This should be overloaded to allocate the right size of bytes into @bytes


[View source]