WIP start events listener code

This commit is contained in:
lash 2024-10-19 15:19:19 +01:00
parent 113f1a5b34
commit 267e52091a
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746

20
event/lib.go Normal file
View File

@ -0,0 +1,20 @@
package event
import (
tevent "github.com/grassrootseconomics/eth-tracker/pkg/event"
trouter "github.com/grassrootseconomics/eth-tracker/pkg/router"
)
var (
typeTokenMint = "TOKEN_MINT"
typeTokenTransfer = "TOKEN_TRANSFER"
typeFaucetGive = "FAUCET_GIVE"
)
func processFaucetGive(db db.Db, payload map[string]any) {
var sessionId string
var tokenString string
var amount uint64
}