ChainID returns the chain ID for a given token ID and issuer Chain ID.
NameIDs returns valid NameIDs
ValidTokenNameIDs returns true if the nameIDs match the pattern for a valid token chain.
Entry has variables and methods common to all fat0 entries.
FAAddress computes the FAAddress corresponding to the rcdSigID'th RCD/Sig pair.
Sign the RCD/Sig ID Salt + Timestamp Salt + Chain ID Salt + Content of the factom.Entry and add the RCD + signature pairs for the given addresses to the ExtIDs. This clears any existing ExtIDs.
UnmarshalEntry unmarshals the content of the factom.Entry into the provided variable v, disallowing all unknown fields.
ValidExtIDs validates the structure of the ExtIDs of the factom.Entry to make sure that it has a valid timestamp salt and a valid set of RCD/signature pairs.
Issuance represents the Issuance of a token.
NewIssuance returns an Issuance initialized with the given entry.
MarshalEntry marshals the entry content as an Issuance.
UnmarshalEntry unmarshals the entry content as an Issuance.
Valid performs all validation checks and returns nil if i is a valid Issuance.
ValidData validates the Issuance data and returns nil if no errors are present. ValidData assumes that the entry content has been unmarshaled.
ValidExtIDs validates the structure of the external IDs of the entry to make sure that it has an RCD and signature. It does not validate the content of the RCD or signature.
|fat0||Package fat0 provides data types corresponding to valid FAT-0 entries for Transaction and Issuance as well as methods for validating the structure and content of the factom entry.|