Versions in this module Expand all Collapse all v1 v1.1.0 Jul 26, 2023 Changes in this version + type GasPriceDecider interface + GasPriceInWei func() decimal.Decimal + func NewGasStationGasPriceDecider(fallbackGasPrice decimal.Decimal) GasPriceDecider + func NewStaticGasPriceDecider(gasPrice decimal.Decimal) GasPriceDecider + type GasStationPriceDeciderWithFallback struct + FallbackGasPriceInWei decimal.Decimal + func (s GasStationPriceDeciderWithFallback) GasPriceInWei() decimal.Decimal + type GasStationRespBody struct + Average decimal.Decimal + Fast decimal.Decimal + type ISignService interface + AfterSign func() + Sign func(launchLog *LaunchLog) string + func NewDefaultSignService(privateKeyStr string, getNonce func(string) (int, error)) ISignService + type LaunchLog struct + BlockNumber sql.NullInt64 + CreatedAt time.Time + Data string + ExecutedAt time.Time + From string + GasLimit int64 + GasPrice decimal.NullDecimal + GasUsed sql.NullInt64 + Hash sql.NullString + ID int64 + ItemID int64 + ItemType string + Nonce sql.NullInt64 + Status string + To string + UpdatedAt time.Time + Value decimal.Decimal + type Launcher struct + BlockChain sdk.BlockChain + Ctx context.Context + GasPriceDecider GasPriceDecider + SignService ISignService + func NewLauncher(ctx context.Context, sign ISignService, hydro sdk.Hydro, ...) *Launcher + type StaticGasPriceDecider struct + PriceInWei decimal.Decimal + func (s StaticGasPriceDecider) GasPriceInWei() decimal.Decimal