Documentation ¶
Index ¶
- type TransactionBuilder
- func (t *TransactionBuilder) Build(ctx context.Context) (*types.Transaction, error)
- func (t *TransactionBuilder) BuildDynamicTx(ctx context.Context) (*types.Transaction, error)
- func (t *TransactionBuilder) BuildLegacyTx(ctx context.Context) (*types.Transaction, error)
- func (t *TransactionBuilder) SetData(d []byte) common.TransactionBuilder
- func (t *TransactionBuilder) SetGas(g uint64) common.TransactionBuilder
- func (t *TransactionBuilder) SetGasFeeCap(g *big.Int) common.TransactionBuilder
- func (t *TransactionBuilder) SetGasPrice(g *big.Int) common.TransactionBuilder
- func (t *TransactionBuilder) SetGasTipCap(g *big.Int) common.TransactionBuilder
- func (t *TransactionBuilder) SetNonce(n uint64) common.TransactionBuilder
- func (t *TransactionBuilder) SetTo(address *gethCommon.Address) common.TransactionBuilder
- func (t *TransactionBuilder) SetValue(v *big.Int) common.TransactionBuilder
- type TransactionBuilderFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TransactionBuilder ¶
type TransactionBuilder struct {
// contains filtered or unexported fields
}
func (*TransactionBuilder) Build ¶
func (t *TransactionBuilder) Build(ctx context.Context) (*types.Transaction, error)
func (*TransactionBuilder) BuildDynamicTx ¶
func (t *TransactionBuilder) BuildDynamicTx(ctx context.Context) (*types.Transaction, error)
func (*TransactionBuilder) BuildLegacyTx ¶
func (t *TransactionBuilder) BuildLegacyTx(ctx context.Context) (*types.Transaction, error)
func (*TransactionBuilder) SetData ¶
func (t *TransactionBuilder) SetData(d []byte) common.TransactionBuilder
func (*TransactionBuilder) SetGas ¶
func (t *TransactionBuilder) SetGas(g uint64) common.TransactionBuilder
func (*TransactionBuilder) SetGasFeeCap ¶
func (t *TransactionBuilder) SetGasFeeCap(g *big.Int) common.TransactionBuilder
func (*TransactionBuilder) SetGasPrice ¶
func (t *TransactionBuilder) SetGasPrice(g *big.Int) common.TransactionBuilder
func (*TransactionBuilder) SetGasTipCap ¶
func (t *TransactionBuilder) SetGasTipCap(g *big.Int) common.TransactionBuilder
func (*TransactionBuilder) SetNonce ¶
func (t *TransactionBuilder) SetNonce(n uint64) common.TransactionBuilder
func (*TransactionBuilder) SetTo ¶
func (t *TransactionBuilder) SetTo(address *gethCommon.Address) common.TransactionBuilder
func (*TransactionBuilder) SetValue ¶
func (t *TransactionBuilder) SetValue(v *big.Int) common.TransactionBuilder
type TransactionBuilderFactory ¶
type TransactionBuilderFactory struct {
// contains filtered or unexported fields
}
func NewFactory ¶
func NewFactory(w common.Wallet) TransactionBuilderFactory
func (TransactionBuilderFactory) New ¶
func (f TransactionBuilderFactory) New() common.TransactionBuilder
Click to show internal directories.
Click to hide internal directories.