verifier

package
v0.0.0-...-67c89e5 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2021 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ERC20Transfer

type ERC20Transfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log
}

type ExternalDetails

type ExternalDetails struct {
	Data []json.RawMessage `json:"data"`
}

type Opts

type Opts struct {
	Client ethclient.Client

	Submitter submit.Interface
	Builder   xdrbuild.Builder
	Log       *logan.Entry
	Streamer  getters.CreateWithdrawRequestHandler
	Config    config.Config
	Asset     watchlist.Details
}

type SentDetails

type SentDetails struct {
	Amount    string `json:"amount"`
	EthTxHash string `json:"eth_tx_hash"`
}

type Service

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

func New

func New(opts Opts) *Service

func (*Service) LogsSuccessful

func (s *Service) LogsSuccessful(receipt *types.Receipt, destination string, amount string) bool

func (*Service) Run

func (s *Service) Run(ctx context.Context)

Jump to

Keyboard shortcuts

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