Versions in this module Expand all Collapse all v0 v0.0.2 Mar 12, 2021 Changes in this version + var ErrCouldNotGetReceipt = "could not get receipt" + func BumpGas(config orm.ConfigReader, originalGasPrice *big.Int) (*big.Int, error) + func FindEthTxsRequiringGasBump(db *gorm.DB, address gethCommon.Address, ...) (etxs []models.EthTx, err error) + func FindEthTxsRequiringRebroadcast(db *gorm.DB, address gethCommon.Address, ...) (etxs []models.EthTx, err error) + func FindEthTxsRequiringResubmissionDueToInsufficientEth(db *gorm.DB, address gethCommon.Address) (etxs []models.EthTx, err error) + func GetNextNonce(db *gorm.DB, address gethCommon.Address) (*int64, error) + func IncrementNextNonce(db *gorm.DB, address gethCommon.Address, currentNonce int64) error + func NewEthConfirmer(store *store.Store, config orm.ConfigReader) *ethConfirmer + func SendEther(s *strpkg.Store, from, to gethCommon.Address, value assets.Eth) (etx models.EthTx, err error) + type EthBroadcaster interface + ProcessUnstartedEthTxs func(models.Key) error + Start func() error + Stop func() error + Trigger func() + func NewEthBroadcaster(store *store.Store, config orm.ConfigReader, ...) EthBroadcaster + type Log struct + Address common.Address + BlockHash common.Hash + BlockNumber uint64 + Data []byte + Index uint + Removed bool + Topics []common.Hash + TxHash common.Hash + TxIndex uint + func FromGethLog(gl *gethTypes.Log) *Log + func (l *Log) UnmarshalJSON(input []byte) error + func (l Log) MarshalJSON() ([]byte, error) + type Receipt struct + BlockHash common.Hash + BlockNumber *big.Int + Bloom gethTypes.Bloom + ContractAddress common.Address + CumulativeGasUsed uint64 + GasUsed uint64 + Logs []*Log + PostState []byte + Status uint64 + TransactionIndex uint + TxHash common.Hash + func FromGethReceipt(gr *gethTypes.Receipt) *Receipt + func (r *Receipt) UnmarshalJSON(input []byte) error + func (r Receipt) IsUnmined() bool + func (r Receipt) IsZero() bool + func (r Receipt) MarshalJSON() ([]byte, error)