Documentation ¶
Index ¶
- type Account
- func NewKeyedAccount(key *ecdsa.PrivateKey) Account
- func NewKeyedAccountWithFeePayer(ctx context.Context, key *ecdsa.PrivateKey, feePayer FeePayer) (Account, error)
- func NewWalletAccount(account accounts.Account, wallet accounts.Wallet) (Account, error)
- func NewWalletAccountWithFeePayer(ctx context.Context, account accounts.Account, wallet accounts.Wallet, ...) (Account, error)
- func (acc Account) Address() common.Address
- func (acc Account) FeePayerAddress() common.Address
- func (acc Account) IsDelegated() bool
- func (acc Account) IsReadOnly() bool
- func (acc Account) PublicKey() ecdsa.PublicKey
- func (acc Account) SendTransaction(ctx context.Context, tx *types.Transaction) (common.Hash, error)
- func (acc Account) SignMessage(message []byte) ([]byte, error)
- func (acc Account) TxOpts() *ablbind.TransactOpts
- type FeePayer
- type MessageSigner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct {
// contains filtered or unexported fields
}
func NewKeyedAccount ¶
func NewKeyedAccount(key *ecdsa.PrivateKey) Account
func NewWalletAccount ¶
func (Account) FeePayerAddress ¶
func (Account) IsDelegated ¶
func (Account) IsReadOnly ¶
func (Account) SendTransaction ¶
func (Account) TxOpts ¶
func (acc Account) TxOpts() *ablbind.TransactOpts
type FeePayer ¶
type MessageSigner ¶
func NewKeyedMessageSigner ¶
func NewKeyedMessageSigner(key *ecdsa.PrivateKey) MessageSigner
func NewWalletMessageSigner ¶
Click to show internal directories.
Click to hide internal directories.