logs

package
v0.0.0-...-7a1e3be Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: MIT Imports: 9 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(chainID *big.Int, db *db.DB, evm engine.EVMRequester) *Service

func (*Service) Get

func (s *Service) Get(w http.ResponseWriter, r *http.Request)

Get godoc

	@Summary		Fetch transfer logs
	@Description	get transfer logs for a given token and account
	@Tags			logs
	@Accept			json
	@Produce		json
	@Param			contract_address	path		string	true	"Token Contract Address"
 	@Param			acc_address	path		string	true	"Address of the account"
	@Success		200	{object}	common.Response
	@Failure		400
	@Failure		404
	@Failure		500
	@Router			/logs/transfers/{contract_address}/{acc_addr} [get]

func (*Service) GetAll

func (s *Service) GetAll(w http.ResponseWriter, r *http.Request)

func (*Service) GetAllNew

func (s *Service) GetAllNew(w http.ResponseWriter, r *http.Request)

func (*Service) GetNew

func (s *Service) GetNew(w http.ResponseWriter, r *http.Request)

func (*Service) GetSingle

func (s *Service) GetSingle(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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