Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Caller ¶
type Caller interface {
Call(ctx context.Context, contract, entrypoint string, calldata []string) ([]data.Felt, error)
}
Caller -
type NodeRpcCaller ¶
type NodeRpcCaller struct {
// contains filtered or unexported fields
}
SequencerCaller -
func NewNodeRpcCaller ¶
func NewNodeRpcCaller(cfg config.DataSource) *NodeRpcCaller
NewNodeRpcCaller -
type NodeRpcConfig ¶
type NodeRpcConfig struct { RpcUrl string `yaml:"rpc_url" validate:"omitempty,url"` Rps int `yaml:"rps" validate:"omitempty,min=1"` Timeout uint64 `yaml:"timeout" validate:"min=1"` }
NodeRpcConfig -
type SequencerCaller ¶
type SequencerCaller struct {
// contains filtered or unexported fields
}
SequencerCaller -
func NewSequencerCaller ¶
func NewSequencerCaller(cfg config.DataSource) *SequencerCaller
NewSequencerCaller -
Click to show internal directories.
Click to hide internal directories.