service

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2025 License: LGPL-3.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 ProofSrv

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

func NewProof

func NewProof(cfg *expose.Config, pri *ecdsa.PrivateKey) *ProofSrv

func (*ProofSrv) RouterExecSwap

func (s *ProofSrv) RouterExecSwap(butterHost, toChain, txHash, slippage string) (map[string]interface{}, error)

func (*ProofSrv) RouterRetryMessageIn

func (s *ProofSrv) RouterRetryMessageIn(butterHost, toChain, txHash string) (map[string]interface{}, error)

func (*ProofSrv) SuccessProof

func (s *ProofSrv) SuccessProof(srcChain, desChain string, srcBlockNumber int64, logIndex uint) (map[string]interface{}, error)

func (*ProofSrv) TxExec

func (s *ProofSrv) TxExec(req *stream.TxExecOfRequest) (map[string]interface{}, error)

Jump to

Keyboard shortcuts

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