burn_event

package
v1.5.2-rc-3 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func NewService

func NewService(
	bridgeAccount string,
	repository repository.Transfer,
	scheduleRepository repository.Schedule,
	feeRepository repository.Fee,
	distributor service.Distributor,
	scheduled service.Scheduled,
	feeService service.Fee,
	transferService service.Transfers,
	prometheusService service.Prometheus) *Service

func (Service) ProcessEvent

func (s Service) ProcessEvent(event payload.Transfer)

func (*Service) TransactionID

func (s *Service) TransactionID(id string) (string, error)

TransactionID returns the corresponding Scheduled Transaction paying out the fees to validators and the amount being bridged to the receiver address

Jump to

Keyboard shortcuts

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