package
0.0.0-20230504143406-b839e021e15e
Repository: https://github.com/hyperledger/transact-sdk-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

NewSabrePayloadBuilder provides the builder for creating a new Sabre Payload.
NewSabreTransactionBuilder provides the builder for creating a new Sabre Transaction.
WithAction sets the sabre payload action returns error if actionName is invalid.
WithContract sets the sabre payload contract bytes.
WithContractName sets the sabre payload contract name.
WithContractVersion sets the sabre payload contract version.
WithExecuteContractPayload sets the sabre payload execute contract bytes.
WithInputs sets the sabre payload inputs.
WithNamespace sets the sabre payload namespace name.
WithNamespaceReadPermission sets the sabre payload namespace read permission.
WithNamespaceWritePermission sets the sabre payload namespace write permission.
WithOrgID sets the sabre payload org id.
WithOutputs sets the sabre payload outputs.
WithOwners sets the sabre payload owners.
WithPayloadBuilder provides the option for setting the ISabrePayloadBuilder for a Sabre Transaction.
WithSmartPermissionFunction sets the sabre payload smart permission function bytes.
WithSmartPermissionName sets the sabre payload smart permission name.
WithTransactionBuilder provides the option for setting the ITransactionBuilder for a Sabre Transaction.

# Constants

PikePrefix is the global address for pike.
SabreFamilyName is the Sawtooth Sabre transaction family name (sabre).
SabreFamilyVersion is the Sawtooth Sabre transaction family version (0.4).
SmartPermissionPrefix is the smart permission prefix for global state (00ec03).

# Structs

Contract is the object containing contract specificaiton.
SabrePayloadBuilder abstracts from sabre_pb2.SabrePayload to implement the builder pattern for sabre transaction payloads.
SabreTransactionBuilder implements ITransactionBuilder interface to build a Sabre Transaction.

# Interfaces

ISabrePayloadBuilder provides the builder interface for building new sabre payloads.

# Type aliases

SabrePayloadOption provides the functional options used for constructing a SabrePayload.
SabreTransactionOption provides functional options for customizing a SabreTransactionBuilder.