# Functions
No description provided by the author
ContractAdminIdentityOracleSigHash returns a Double SHA256 of the data required to identify a contract issuer and related information by an oracle.
InstrumentCodeFromBytes returns a ContractCode with the specified bytes.
CurrentTimestamp returns a Timestamp containing the current time.
DecodeInstrumentID decodes the instrument type and instrument code from an instrument ID.
Deserialize reads an action from a Tokenized OP_RETURN script.
DeserializeFlagOutputScript returns a flag value if the script is a flag script.
No description provided by the author
EntityPubKeyOracleSigHash returns a Double SHA256 of the data required to verify an association between an entity and a public key by an oracle.
EntityXPubOracleSigHash returns a Double SHA256 of the data required to verify an association between an entity and an extended public key by an oracle.
EstimatedBodyOfAgreementAmendmentResponse calculates information about the contract's response to an amendment request.
No description provided by the author
EstimatedBodyOfAgreementOfferResponseTxFee estimates the satoshi amount to add to the contract fee in the contract output of a body of agreement offer transaction.
No description provided by the author
EstimatedContractAmendmentResponse calculates information about the contract's response to an amendment request.
No description provided by the author
EstimatedContractOfferResponseTxFee estimates the satoshi amount to add to the contract fee in the contract output of a contract offer transaction.
EstimatedInstrumentDefinitionResponseTxFee estimates the satoshi amount to add to the contract fee in the contract output of a instrument definition transaction.
EstimatedInstrumentModificationResponse calculates information about the contract's response to an instrument modification request.
No description provided by the author
EstimatedResponse calculates information about the contract's response to a request.
EstimatedTransferResponse calculates information about the contract's response to a transfer request.
No description provided by the author
InstrumentCodeFromBytes returns a InstrumentCode with the specified bytes.
InstrumentCodeFromContract generates a "unique" deterministic instrument code from a contract public key hash and an instrument index.
InstrumentID encodes an instrument ID.
InstrumentIDForRaw returns the instrument ID for an instrument type and instrument code in byte slice form.
No description provided by the author
No description provided by the author
NewTimestamp returns a new timestamp from nanoseconds.
OrderAuthoritySigHash returns a Double SHA256 of the data in an order op return that needs to be signed by an authority for the OrderSignature field.
Serialize serializes an action into a Tokenized OP_RETURN script.
SerializeFlagOutputScript creates a locking script containing the flag value for a relationship message.
TransferOracleSigHash returns a Double SHA256 of the data required to identify a token receiver approval by an oracle.
WrapAction wraps an action in an envelope message.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ProtocolID is the current protocol ID.
TestProtocolID is the current protocol ID for testing.
Version of the Tokenized protocol.
# Variables
DefaultEndian specifies the order of bytes for encoding integers.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
------------------------------------------------------------------------------------------------ Timestamp represents a time in the Tokenized protocol.
# Type aliases
------------------------------------------------------------------------------------------------ ContractCode represents a unique identifier for a Tokenized static contract.