Examples.ETransparent.EJSON (Anoma v0.35.1)

Summary

Functions

I test the json encoding of an action.

I test the json encoding of a compliance unit.

I test the json encoding of a cps unit.

I test the json encoding of a resource

I test the json encoding of a transaction.

Functions

action()

@spec action() :: String.t()

I test the json encoding of an action.

arbitrary_action()

@spec arbitrary_action() :: Anoma.RM.Transparent.Action.t()

arbitrary_compliance_unit()

@spec arbitrary_compliance_unit() :: term()

arbitrary_cps_instance()

@spec arbitrary_cps_instance() :: Anoma.RM.Transparent.ProvingSystem.CPS.Instance.t()

arbitrary_resource()

@spec arbitrary_resource() :: Anoma.RM.Transparent.Resource.t()

arbitrary_transaction()

@spec arbitrary_transaction() :: Anoma.RM.Transparent.Transaction.t()

compliance_unit()

@spec compliance_unit() :: String.t()

I test the json encoding of a compliance unit.

cps_instance()

@spec cps_instance() :: String.t()

I test the json encoding of a cps unit.

resource()

@spec resource() :: String.t()

I test the json encoding of a resource

transaction()

@spec transaction() :: String.t()

I test the json encoding of a transaction.