services

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertInputStatus

func ConvertInputStatus(cInputStatus cModel.CompletionStatus) model.InputCompletionStatus

Types

type Convert

type Convert struct {
	// contains filtered or unexported fields
}

func NewConvert

func NewConvert(inputRepository *repository.InputRepository) *Convert

type InputService

type InputService struct {
	AppRepository   repository.AppRepositoryInterface
	InputRepository repository.InputRepositoryInterface
	EpochRepository repository.EpochRepositoryInterface
}

func NewInputService

func NewInputService(inputRepository repository.InputRepositoryInterface, epochRepository repository.EpochRepositoryInterface, appRepository repository.AppRepositoryInterface) *InputService

func (*InputService) CreateInput

func (s *InputService) CreateInput(ctx context.Context, input model.Input) error

func (*InputService) CreateInputWithAddress

func (s *InputService) CreateInputWithAddress(ctx context.Context, appContract common.Address, input model.Input) error

Jump to

Keyboard shortcuts

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