Forge v0.4.0 Forge.Account View Source

hanlde account state in MPT

Link to this section Summary

Link to this section Types

Link to this section Functions

Link to this function genesis(context) View Source
genesis(map()) :: Forge.AccountState.t()
Link to this function get(trie, addr) View Source
get(Forge.Mpt.t(), String.t()) :: Forge.AccountState.t()
Link to this function put(trie, addr, data, context) View Source
put(Forge.Mpt.t(), String.t(), Forge.AccountState.t(), map()) :: String.t()
Link to this function renaissance(account, new_balance, data, advance \\ true) View Source
renaissance(Forge.AccountState.t(), non_neg_integer(), String.t(), boolean()) ::
  Forge.AccountState.t()