Versions in this module Expand all Collapse all v1 v1.0.0 Jan 28, 2026 Changes in this version + func GeneratePrice(basePrice int64, variancePercent int) int64 + func GenerateRequestID() string + type ContractAddresses struct + AppRegistry string + AutomationAnchor string + Governance string + PaymentHub string + PriceFeed string + RandomnessLog string + type Invoker struct + func NewInvoker(rpcURL string) (*Invoker, error) + func (inv *Invoker) Close() + func (inv *Invoker) GetPriceFeedLatest(ctx context.Context, symbol string) (map[string]interface{}, error) + func (inv *Invoker) PayToApp(ctx context.Context, appID string, amount int64, memo string) (string, error) + func (inv *Invoker) RecordRandomness(ctx context.Context, requestID string) (string, error) + func (inv *Invoker) UpdatePriceFeed(ctx context.Context, symbol string, roundID int64, price int64, ...) (string, error)