Documentation ¶
Index ¶
Constants ¶
View Source
const (
PaymentGet = `paymentGet`
)
Variables ¶
View Source
var ( // State mappings StateMappings = m.StateMappings{}.Add( &schema.Payment{}, m.PKeyAttr(`Type`, `Id`), m.List(&schema.PaymentList{})) // state.list() method will return marshaled protobuf schema.PaymentList // Event mappings EventMappings = m.EventMappings{}. Add(&schema.PaymentEvent{}) )
Functions ¶
func NewEncryptOnDemandPaymentCC ¶
NewEncryptOnDemandPaymentCC Chaincode WITH schema mapping and encrypting data on demand (if encrypting key is provided in transient map)
func NewEncryptPaymentCC ¶
NewEncryptPaymentCC Chaincode with required encrypting (encrypting key must be provided in transient map) WITHOUT mapping
func NewEncryptedPaymentCCWithEncStateContext ¶
Chaincode WITH schema mapping and required encrypting
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.