social / pragma.order /
Package pragma.order #
Types #
| Name | Summary |
|---|---|
OrderService is responsible for Pragma order syncing and management. | |
DAO node service for the unsafe_orders table: append-only grants made by UnsafeOrderRoutePlugin, keyed by pragmaSocialId. Multiple grants can exist per pragmaSocialId, one row per grant. | |
OrderProviderPlugin requires auth from IdProvider.UNSAFE_VALUE. chanceToErrorPerThousand is checked on every sync. It then checks UnsafeOrderRoutePlugin for any grants pending sync and, if there are any, grants exactly those and returns. Only when there’s nothing pending does it fall back to the chance-based random receive/revoke behavior (chanceToReceivePerThousand/chanceToRevokePerThousand) — both effectively disabled by default (chance 0). | |
Stand-in third-party storefront for testing the order/fulfillment pipeline without a real provider. Trusts the caller-supplied pragmaSocialId with no additional authorization check - this is a test/dev-only endpoint, not a production route. Grants/lists are persisted through UnsafeOrderService over the RPC bus rather than touching UnsafeOrderDaoNodeService directly. | |
Thin distributed service wrapping UnsafeOrderDaoNodeService, so callers such as UnsafeOrderRoutePlugin reach the DAO over the RPC bus rather than in-process. |