coinbase_agentkit.action_providers.superfluid package

Submodules

coinbase_agentkit.action_providers.superfluid.constants module

Constants for Superfluid action provider.

coinbase_agentkit.action_providers.superfluid.schemas module

Schemas for Superfluid action provider.

class coinbase_agentkit.action_providers.superfluid.schemas.CreateFlowSchema(**data)

Bases: BaseModel

Input argument schema for creating a flow.

flow_rate: str
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

recipient: str
token_address: str
class coinbase_agentkit.action_providers.superfluid.schemas.DeleteFlowSchema(**data)

Bases: BaseModel

Input argument schema for deleting a flow.

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

recipient: str
token_address: str
class coinbase_agentkit.action_providers.superfluid.schemas.UpdateFlowSchema(**data)

Bases: BaseModel

Input argument schema for updating a flow.

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

new_flow_rate: str
recipient: str
token_address: str

coinbase_agentkit.action_providers.superfluid.superfluid_action_provider module

Superfluid action provider.

class coinbase_agentkit.action_providers.superfluid.superfluid_action_provider.SuperfluidActionProvider

Bases: ActionProvider[EvmWalletProvider]

Provides actions for interacting with Superfluid protocol.

create_flow(wallet_provider, args)

Create a money flow using Superfluid.

Parameters:
  • wallet_provider (EvmWalletProvider) – The wallet provider instance.

  • args (dict[str, Any]) – Input arguments for the action.

Returns:

A message containing the action response or error details.

Return type:

str

delete_flow(wallet_provider, args)

Delete an existing money flow using Superfluid.

Parameters:
  • wallet_provider (EvmWalletProvider) – The wallet provider instance.

  • args (dict[str, Any]) – Input arguments for the action.

Returns:

A message containing the action response or error details.

Return type:

str

supports_network(network)

Check if network is supported by Superfluid actions.

Parameters:

network (Network) – The network to check support for.

Returns:

Whether the network is supported.

Return type:

bool

update_flow(wallet_provider, args)

Update an existing money flow using Superfluid.

Parameters:
  • wallet_provider (EvmWalletProvider) – The wallet provider instance.

  • args (dict[str, Any]) – Input arguments for the action.

Returns:

A message containing the action response or error details.

Return type:

str

coinbase_agentkit.action_providers.superfluid.superfluid_action_provider.superfluid_action_provider()

Create a new Superfluid action provider.

Returns:

A new Superfluid action provider instance.

Return type:

SuperfluidActionProvider

Module contents

Superfluid action provider for streaming payments.