xgr

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2026 License: Apache-2.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EmbeddedAvailable

func EmbeddedAvailable() bool

func LoadEngineConfigFlex

func LoadEngineConfigFlex(any) (string, []byte, error)

Types

type Config

type Config struct {
	Logger      hclog.Logger
	EthRPCURL   string
	EngineEOA   string
	EnginePub33 []byte
	Sessions    any
}

type XGR

type XGR struct {
	// contains filtered or unexported fields
}

func New

func New(cfg Config) *XGR

func (*XGR) Control

func (x *XGR) Control(any) (any, error)

func (*XGR) EncryptXRC137

func (x *XGR) EncryptXRC137(any) (any, error)

func (*XGR) EstimateRuleGas

func (x *XGR) EstimateRuleGas(any) (any, error)

func (*XGR) GetCirculatingSupply

func (x *XGR) GetCirculatingSupply(any) (any, error)

func (*XGR) GetCoreAddrs

func (x *XGR) GetCoreAddrs(context.Context) (*coreAddrsResp, error)

func (*XGR) GetEncryptedLogInfo

func (x *XGR) GetEncryptedLogInfo(any) (any, error)

func (*XGR) GetGrantFeePerYear

func (x *XGR) GetGrantFeePerYear() (any, error)

func (*XGR) GetNextProcessId

func (x *XGR) GetNextProcessId(req getNextPidReq) (*getNextPidRes, error)

func (*XGR) GetPublicSale

func (x *XGR) GetPublicSale(context.Context) (*publicSaleResp, error)

func (*XGR) GetXRC137Meta

func (x *XGR) GetXRC137Meta(any) (any, error)

func (*XGR) ListGrants

func (x *XGR) ListGrants(any) (any, error)

func (*XGR) ListSessions

func (x *XGR) ListSessions(any) (any, error)

func (*XGR) ManageGrants

func (x *XGR) ManageGrants(any) (any, error)

func (*XGR) SessionAlive

func (x *XGR) SessionAlive(any, any) (any, error)

func (*XGR) StepExecuted

func (x *XGR) StepExecuted(any, any, any) (any, error)

func (*XGR) ValidateDataTransfer

func (x *XGR) ValidateDataTransfer(any) (any, error)

Engine-backed calls are intentionally stubbed in public builds.

func (*XGR) WakeUpProcess

func (x *XGR) WakeUpProcess(any) (any, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL