Documentation ¶
Index ¶
- func GetAuthFromKeystore(path string, password string) (*bind.TransactOpts, error)
- func GetPrivateKayFromKeystore(path string, password string) (*ecdsa.PrivateKey, error)
- func IsSignatureValid(signer common.Address, data []byte, sig []byte) bool
- func RecoverSigner(data []byte, sig []byte) common.Address
- func SignData(privateKey *ecdsa.PrivateKey, data []byte) ([]byte, error)
- func SignHash(privateKey *ecdsa.PrivateKey, hash []byte) ([]byte, error)
- func SignPackedData(privateKey *ecdsa.PrivateKey, types []string, data []interface{}) ([]byte, error)
- func WaitMined(ctx context.Context, ec *ethclient.Client, tx *types.Transaction, ...) (*types.Receipt, error)
- func WaitMinedWithTxHash(ctx context.Context, ec *ethclient.Client, txHash string, blockDelay uint64) (*types.Receipt, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAuthFromKeystore ¶
func GetAuthFromKeystore(path string, password string) (*bind.TransactOpts, error)
func GetPrivateKayFromKeystore ¶
func GetPrivateKayFromKeystore(path string, password string) (*ecdsa.PrivateKey, error)
func SignPackedData ¶
func SignPackedData(privateKey *ecdsa.PrivateKey, types []string, data []interface{}) ([]byte, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.