Documentation ¶
Index ¶
- func CancunSenderPub(s ethTypes.Signer, tx *ethTypes.Transaction) ([]byte, error)
- func CloseOrLog(c io.Closer, logger *log.Logger)
- func EIP155SenderPub(s ethTypes.Signer, tx *ethTypes.Transaction) ([]byte, error)
- func Eip2930SenderPub(s ethTypes.Signer, tx *ethTypes.Transaction) ([]byte, error)
- func HomesteadSenderPub(tx *ethTypes.Transaction) ([]byte, error)
- func LondonSenderPub(s ethTypes.Signer, tx *ethTypes.Transaction) ([]byte, error)
- func OpenUtxNoVerify(utx *sdkTypes.UnverifiedTransaction) (*sdkTypes.Transaction, error)
- func QuantityFromBytes(value []byte) quantity.Quantity
- func RecoverPlainPub(sighash ethCommon.Hash, R, S, Vb *big.Int, homestead bool) ([]byte, error)
- func StringifyBytes(value []byte) string
- func StringifyNativeDenomination(amount *sdkTypes.BaseUnits) (string, error)
- func WriteOrLog(w io.Writer, p []byte, logger *log.Logger)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CancunSenderPub ¶ added in v0.1.17
CancunSenderPub is adapted from cancunSigner.Sender
func EIP155SenderPub ¶ added in v0.1.17
EIP155SenderPub is adapted from EIP155Signer.Sender
func Eip2930SenderPub ¶
Eip2930SenderPub is adapted from eip2930Signer.Sender
func HomesteadSenderPub ¶
func HomesteadSenderPub(tx *ethTypes.Transaction) ([]byte, error)
HomesteadSenderPub is adapted from HomesteadSigner.Sender
func LondonSenderPub ¶
LondonSenderPub is adapted from londonSigner.Sender
func OpenUtxNoVerify ¶
func OpenUtxNoVerify(utx *sdkTypes.UnverifiedTransaction) (*sdkTypes.Transaction, error)
OpenUtxNoVerify decodes the transaction inside an UnverifiedTransaction without verifying the authentication. And that's okay for our use case, where we obtain transactions that are known to be properly authenticated from a trusted node.
func QuantityFromBytes ¶
func RecoverPlainPub ¶
RecoverPlainPub is adapted from recoverPlain
func StringifyBytes ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.