MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / UpdateIdentityMetadata

Method UpdateIdentityMetadata

database/repository.go:64–64  ·  view source on GitHub ↗
(id string, metadata map[string]interface{})

Source from the content-addressed store, hash-verified

62 UpdateTransactionMetadata(ctx context.Context, id string, metadata map[string]interface{}) error
63 UpdateBalanceMetadata(ctx context.Context, id string, metadata map[string]interface{}) error
64 UpdateIdentityMetadata(id string, metadata map[string]interface{}) error
65 TransactionExistsByIDOrParentID(ctx context.Context, id string) (bool, error)
66 GetTransactionsByParent(ctx context.Context, parentID string, limit int, offset int64) ([]*model.Transaction, error) // Retrieves transactions by parent ID with pagination
67 IsTransactionRefunded(ctx context.Context, transaction *model.Transaction) (bool, error) // Checks if a transaction has already been refunded

Callers 1

updateEntityMetadataMethod · 0.65

Implementers 2

Datasourcedatabase/db.go
MockDataSourcedatabase/mocks/repo_mocks.go

Calls

no outgoing calls

Tested by

no test coverage detected