Lux.Prisms.AgenticCompany.CreateJobPrism (Lux v0.5.0)
View SourceA prism that creates a new job in an existing AgenticCompany contract.
Example
iex> Lux.Prisms.AgenticCompany.CreateJobPrism.run(%{
...> company_address: "0xdf610daa6acc8c7ca4b68dfd2a7bed96bafeee34",
...> job_name: "Content Writer",
...> ceo_wallet_address: "0x1234..." # optional, defaults to WALLET_ADDRESS set in the environment variable
...> })
{:ok, %{
job_id: "0xabcd..." # The ID of the newly created job
}}
Summary
Functions
Callback implementation for Lux.Prism.handler/2
.
Returns the Prism struct for this module.