Re-exports§
Modules§
- Wrapped native functions for services to use
- Raw native functions for services to use
- These structs produce the same JSON and fracpack formats that the actions do.
- Interface for services which serve http
- Interfaces for standard services
- These structs produce the same JSON and fracpack formats that the actions do.
- Interface for services which support storing files
- Wrapped native functions for tests to use
- Raw native functions for tests to use
Macros§
- Construct an ad-hoc error from a string or existing non-
anyhow
error value.
Structs§
- An account number.
- A synchronous call
- The
Error
type, a wrapper around a dynamic error type. - Like AccountNumber, except FromStr and deserializing JSON require exact round-trip conversion
- The genesis action is the first action of the first transaction of the first block. The action struct’s fields are ignored, except rawData, which contains this struct.
- Represent inner type as hex in JSON.
- An HTTP header
- An HTTP reply
- An HTTP Request
- A serialized key (not owning)
- A contract method number.
- A serialized key
- Interface for services which serve http
- Simplifies calling into the service
- Interface for services which support storing files
- Simplifies calling into the service
- GraphQL Pagination through TableIndex
- Rules for TAPOS:
Enums§
- Identify database to operate on
Constants§
Traits§
- ToKey defines a conversion from a type to a sequence of bytes whose lexicographical ordering is the same as the ordering of the original type.
Functions§
- Create boot transactions
- crate::from_bin() and crate::to_bin() are incomplete. They’ll disappear when switch to fracpack is complete.
- Get initial actions
- Get sender of currently-executing action
- Get currently-executing service
- Creates boot transactions. This function reuses the same boot transaction construction as the psibase CLI, and is used to generate a wasm that may be called from the browser to construct the boot transactions when booting the chain from the GUI.
- Handle
/action_templates
request - Serve GraphiQL UI
- Handle
/graphql
request - Handle
/pack_action/
request - Handle
/schema
request - Serve index.html for a developer UI
- Serve a developer UI
- crate::from_bin() and crate::to_bin() are incomplete. They’ll disappear when switch to fracpack is complete.