Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BalanceUpdate ¶
type BalanceUpdate struct { // https://github.com/OpenZeppelin/cairo-contracts/blob/main/src/openzeppelin/token/erc20/library.cairo#L20 // https://github.com/OpenZeppelin/cairo-contracts/blob/main/src/openzeppelin/token/erc721/library.cairo#L30 Event *types.Event ContractAddress string ContractType string }
type Contract ¶
type Contract struct { Address string StartBlock uint64 Handler func(types.Transaction) error }
type IndexerOption ¶
type IndexerOption interface {
// contains filtered or unexported methods
}
IndexerOption configures how we set up the connection.
func WithDebug ¶
func WithDebug() IndexerOption
func WithHttpClient ¶
func WithHttpClient(client http.Client) IndexerOption
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
Resolver is the resolver root.
func (*Resolver) Query ¶
func (r *Resolver) Query() gql.QueryResolver
Query returns gql.QueryResolver implementation.
func (*Resolver) Subscription ¶
func (r *Resolver) Subscription() gql.SubscriptionResolver
Subscription returns gql.SubscriptionResolver implementation.
Click to show internal directories.
Click to hide internal directories.