Documentation ¶
Index ¶
Constants ¶
View Source
const ( HARDHAT = 31337 PURPOSE_INDEX = 44 COIN_TYPE_INDEX = 60 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EIP712Domain ¶
type EspressoClient ¶
func (*EspressoClient) SendInput ¶
func (e *EspressoClient) SendInput(payload string, namespace int)
type EspressoData ¶
type EspressoData struct { Account string `json:"account"` Domain EIP712Domain `json:"domain"` Types Types `json:"types"` PrimaryType string `json:"primaryType"` Message EspressoMessage `json:"message"` }
type EspressoListener ¶
type EspressoListener struct { InputRepository *cRepos.InputRepository InputterWorker *inputter.InputterWorker // contains filtered or unexported fields }
func NewEspressoListener ¶
func NewEspressoListener(espressoUrl string, namespace uint64, repository *cRepos.InputRepository, fromBlock uint64, w *inputter.InputterWorker) *EspressoListener
func (EspressoListener) Start ¶
func (e EspressoListener) Start(ctx context.Context, ready chan<- struct{}) error
func (EspressoListener) String ¶
func (e EspressoListener) String() string
type EspressoMessage ¶
type GraphQLQuery ¶
type GraphQLQuery struct {
Query string `json:"query"`
}
type GraphQLResponse ¶
type GraphQLResponse struct { Data struct { Inputs struct { TotalCount int `json:"totalCount"` } `json:"inputs"` } `json:"data"` }
type SigAndData ¶
type TypeDetail ¶
type Types ¶
type Types struct { EIP712Domain []TypeDetail `json:"EIP712Domain"` EspressoMessage []TypeDetail `json:"EspressoMessage"` }
Click to show internal directories.
Click to hide internal directories.