Documentation ¶
Index ¶
- func EtherToWei(ether float64) (*big.Int, error)
- func GweiToWei(gwei float64) (*big.Int, error)
- func KeyID2Address(svc *kms.Client, id string) (common.Address, error)
- func NewKMSTransactor(svc *kms.Client, id string, chainID *big.Int) (*bind.TransactOpts, error)
- func SendEther(client *ethclient.Client, opts *bind.TransactOpts, to common.Address, ...) (*types.Transaction, error)
- type Signer
- func (s Signer) Address() common.Address
- func (s Signer) EthereumSign(msg []byte) (signature []byte, err error)
- func (s Signer) Pubkey() ([]byte, error)
- func (s Signer) SetAlias(alias string) error
- func (s Signer) SignDigest(digest []byte) (signature []byte, err error)
- func (s Signer) TransactOpts() (*bind.TransactOpts, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KeyID2Address ¶ added in v2.1.1
func NewKMSTransactor ¶
Types ¶
type Signer ¶
func (Signer) TransactOpts ¶
func (s Signer) TransactOpts() (*bind.TransactOpts, error)
Click to show internal directories.
Click to hide internal directories.