Skip to main content Crate wavs_types Copy item path Source IWavsServiceHandler Generated by the following Solidity interface… IWavsServiceManager Generated by the following Solidity interface… contracts AddChainRequest AddServiceRequest AggregatorInput AnyDigest It is a string, but hex-encoded 32-byte hash ByteArray A newtype that wraps a [u8; N] using const generics.
and is serialized as a 0x prefixed hex string. ByteArrayError ChainConfigs Chains are identified by ChainKey, which is a combination of a namespace and id
for now - we natively support 3 namespaces: cosmos, evm, and dev ChainKey A ChainKey represents a blockchain network identifier, consisting of a namespace and a chain id.
The namespace indicates the type of blockchain (e.g., “ethereum”, “bitcoin”),
while the id specifies the particular network within that namespace (e.g., “1”, “cosmoshub”). ChainKeyId ChainKeyNamespace Component ComponentDigest It is a string, but hex-encoded 32-byte hash CosmosChainConfig CosmosChainConfigBuilder CosmosSubmitAction Credential A wrapper around a credential string that zeroizes on drop
This can be used to store sensitive information such as mnemonics, http auth tokens, or private keys DeleteServicesRequest DevTriggerStreamInfo DevTriggerStreamsInfo Duration Envelope EventId EventOrder EvmChainConfig EvmChainConfigBuilder EvmSubmitAction GetSignerRequest ListServicesResponse P2pStatus P2P network status for monitoring and readiness checks Permissions QuorumQueueId Registry SaveServiceResponse Service Service validation is a runtime check, and depends on: ServiceBuilder This struct is only used in the CLI to build up a service for later uploading. ServiceDigest It is a string, but hex-encoded 32-byte hash ServiceId It is a string, but hex-encoded 32-byte hash ServiceManagerEnvelope ServiceManagerSignatureData SignatureData SignatureKind Defines the signature configuration for cryptographic operations in WAVS. SimulatedTriggerRequest Submission TimerAction Timestamp TriggerAction A bundle of the trigger and the associated data needed to take action on it TriggerConfig UploadComponentResponse WasmResponse WavsSignature Workflow This captures the triggers we listen to, the components we run, and how we submit the result WorkflowBuilder WorkflowId It is a string, but with some strict validation rules. It must be lowercase alphanumeric: [a-z0-9-_]{3,36} AggregatorAction AggregatorBuilder AllowedHostPermission AnyChainConfig AtProtoAction ATProto Jetstream commit action types Builder ChainConfigError ChainKeyError ComponentBuilder ComponentSource DevHypercoreStreamState DevTriggerStreamSubscriptionKind EventIdSalt QuorumQueue ServiceError ServiceManager ServiceManagerBuilder ServiceStatus SignatureAlgorithm SignaturePrefix SignerResponse SigningError Submit SubmitAction SubmitBuilder Trigger TriggerBuilder TriggerData The data that came from the trigger and is passed to the component after being converted into the WIT-friendly type WasmResponseSizeError WorkflowIdError WAVS_ENV_PREFIX WavsSignable