types

package
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message struct {
	ID             string `json:"id"`
	ProjectID      uint64 `json:"projectID"`
	ProjectVersion string `json:"projectVersion"`
	Data           string `json:"data"`
}

type MessageWithTime added in v0.6.1

type MessageWithTime struct {
	Message
	CreatedAt time.Time
}

type Output

type Output string
const (
	OutputStdout           Output = "stdout"
	OutputEthereumContract Output = "ethereumContract"
	OutputSolanaProgram    Output = "solanaProgram"
)

type Task added in v0.4.1

type Task struct {
	ID       string     `json:"id"`
	Messages []*Message `json:"messages"`
}

type TaskState added in v0.4.1

type TaskState uint8
const (
	TaskStateInvalid TaskState = iota
	TaskStatePacked
	TaskStateDispatched

	TaskStateProved

	TaskStateOutputted
	TaskStateFailed
)

func (TaskState) String added in v0.4.1

func (s TaskState) String() string

type TaskStateLog added in v0.4.1

type TaskStateLog struct {
	TaskID    string
	State     TaskState
	Comment   string
	CreatedAt time.Time
}

type VM

type VM string
const (
	VMRisc0  VM = "risc0"
	VMHalo2  VM = "halo2"
	VMZkwasm VM = "zkwasm"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL