Execute messages
This section outlines the data structures for Warp messages.
Source Code
The source for Warp can be found on Github:
- Webapp: https://github.com/terra-money/warp-web-app
- Contracts: https://github.com/terra-money/warp-contracts
- SDK: https://github.com/terra-money/warp-sdk
Jobs
CreateJobMsg
Creates a job using a name, condition, execute messages, a reward, and other properties. Jobs are stored in an index. Successfully created jobs are given the Pending
status. Jobs can also contain create_job
transactions, allowing jobs to be chained together and executed from the same context.
You can view an example of a CreateJobMsg
message on Chainscope.
DeleteJobMsg
Allows the Job owner to delete a pending job. Deleted Job messages are still stored in the index and given a Cancelled
status.
UpdateJobMsg
Allows the job owner to update Job properties or add more rewards.
ExecuteJobMsg
Allows a keeper to execute a pending job if the conditions are met. Upon execution of the job, the reward will be released to the keeper. External inputs can be specified for the Job execution.
EvictJobMsg
Evict jobs in the queue and collect a 5% eviction fee.
CreateJobMsg
Creates a job using a name, condition, execute messages, a reward, and other properties. Jobs are stored in an index. Successfully created jobs are given the Pending
status. Jobs can also contain create_job
transactions, allowing jobs to be chained together and executed from the same context.
You can view an example of a CreateJobMsg
message on Chainscope.
DeleteJobMsg
Allows the Job owner to delete a pending job. Deleted Job messages are still stored in the index and given a Cancelled
status.
UpdateJobMsg
Allows the job owner to update Job properties or add more rewards.
ExecuteJobMsg
Allows a keeper to execute a pending job if the conditions are met. Upon execution of the job, the reward will be released to the keeper. External inputs can be specified for the Job execution.
Accounts
CreateAccountMsg
Create a Warp account. Warp accounts can be created with funds. When used along with the CreateJobMsg
, you can create an account, create a Job, and fund the account all in one transaction.
CreateAccountMsg
Create a Warp account. Warp accounts can be created with funds. When used along with the CreateJobMsg
, you can create an account, create a Job, and fund the account all in one transaction.
Config
UpdateConfigMsg
Update the config message for Warp configuration.
UpdateConfigMsg
Update the config message for Warp configuration.