Lux.Prisms.AgenticCompany.CreateCompanyPrism (Lux v0.4.0)
View SourceA prism that creates a new company using the AgenticCompanyFactory contract.
Example
iex> Lux.Prisms.AgenticCompany.CreateCompanyPrism.run(%{
...> company_name: "Some Test Company",
...> agent_token: "0x0000000000000000000000000000000000000000" # zero address for no token
...> })
{:ok, %{
company_address: "0x5678..." # The address of the newly created company contract
}}
Summary
Functions
Callback implementation for Lux.Prism.handler/2
.
Returns the Prism struct for this module.