abstract class Fremkit::Core::State(A, T)

Overview

Abstract class to represent the state of a contract

Direct Known Subclasses

Defined in:

core/state.cr

Instance Method Summary

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 [](address : A) : T #

[View source]
def []=(address : A, value : T) : T #

[View source]
abstract def get_word(address : A) : T #

[View source]
abstract def has_address?(address : A) : Bool #

[View source]
abstract def set_word(address : A, value : T) #

[View source]