MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / NewUpdatePermission

Function NewUpdatePermission

types/updatepermission.go:50–55  ·  view source on GitHub ↗

NewUpdatePermission returns new instance.

(header *UpdatePermissionHeader)

Source from the content-addressed store, hash-verified

48
49// NewUpdatePermission returns new instance.
50func NewUpdatePermission(header *UpdatePermissionHeader) *UpdatePermission {
51 return &UpdatePermission{
52 UpdatePermissionHeader: *header,
53 TransactionTypeMixin: *interfaces.NewTransactionTypeMixin(interfaces.TransactionTypeUpdatePermission),
54 }
55}
56
57// Sign implements interfaces/Transaction.Sign.
58func (up *UpdatePermission) Sign(signer *asymmetric.PrivateKey) (err error) {

Callers 2

UpdatePermissionFunction · 0.92
TestFullProcessFunction · 0.92

Calls 1

NewTransactionTypeMixinFunction · 0.92

Tested by 1

TestFullProcessFunction · 0.74