Documentation
¶
Index ¶
- type Chain
- type ChainOpts
- type Relayer
- func (r *Relayer) Close() error
- func (r *Relayer) GetChainInfo(ctx context.Context) (commontypes.ChainInfo, error)
- func (r *Relayer) GetChainStatus(ctx context.Context) (commontypes.ChainStatus, error)
- func (r *Relayer) HealthReport() map[string]error
- func (r *Relayer) LatestHead(ctx context.Context) (commontypes.Head, error)
- func (r *Relayer) ListNodeStatuses(ctx context.Context, pageSize int32, pageToken string) (stats []commontypes.NodeStatus, nextPageToken string, total int, err error)
- func (r *Relayer) Name() string
- func (r *Relayer) NewCCIPProvider(ctx context.Context, cargs commontypes.CCIPProviderArgs) (commontypes.CCIPProvider, error)
- func (r *Relayer) Ready() error
- func (r *Relayer) Replay(ctx context.Context, fromBlock string, args map[string]any) error
- func (r *Relayer) Start(ctx context.Context) error
- func (r *Relayer) TON() (commontypes.TONService, error)
- func (r *Relayer) Transact(ctx context.Context, from, to string, amount *big.Int, balanceCheck bool) error
- type Service
- func (s *Service) GetAccountBalance(ctx context.Context, address string, block *tontypes.BlockIDExt) (*tontypes.Balance, error)
- func (s *Service) GetBlockData(ctx context.Context, block *tontypes.BlockIDExt) (*tontypes.Block, error)
- func (s *Service) GetMasterchainInfo(ctx context.Context) (*tontypes.BlockIDExt, error)
- func (s *Service) GetTxExecutionFees(ctx context.Context, lt uint64) (*tontypes.TransactionFee, error)
- func (s *Service) GetTxStatus(ctx context.Context, lt uint64) (commontypes.TransactionStatus, tontypes.ExitCode, error)
- func (s *Service) HasFilter(ctx context.Context, name string) bool
- func (s *Service) RegisterFilter(ctx context.Context, filter tontypes.LPFilterQuery) error
- func (s *Service) SendTx(ctx context.Context, msg tontypes.Message) error
- func (s *Service) UnregisterFilter(ctx context.Context, name string) error
- type TxManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chain ¶
type Relayer ¶
type Relayer struct {
commontypes.UnimplementedRelayer
services.StateMachine
// contains filtered or unexported fields
}
func NewRelayer ¶
func (*Relayer) GetChainInfo ¶
func (*Relayer) GetChainStatus ¶
func (r *Relayer) GetChainStatus(ctx context.Context) (commontypes.ChainStatus, error)
func (*Relayer) HealthReport ¶
func (*Relayer) LatestHead ¶
func (*Relayer) ListNodeStatuses ¶
func (r *Relayer) ListNodeStatuses(ctx context.Context, pageSize int32, pageToken string) (stats []commontypes.NodeStatus, nextPageToken string, total int, err error)
func (*Relayer) NewCCIPProvider ¶
func (r *Relayer) NewCCIPProvider(ctx context.Context, cargs commontypes.CCIPProviderArgs) (commontypes.CCIPProvider, error)
func (*Relayer) TON ¶
func (r *Relayer) TON() (commontypes.TONService, error)
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Service) GetAccountBalance ¶
func (*Service) GetBlockData ¶
func (*Service) GetMasterchainInfo ¶
func (*Service) GetTxExecutionFees ¶
func (*Service) GetTxStatus ¶
func (s *Service) GetTxStatus(ctx context.Context, lt uint64) (commontypes.TransactionStatus, tontypes.ExitCode, error)
func (*Service) RegisterFilter ¶
Click to show internal directories.
Click to hide internal directories.