Documentation ¶
Index ¶
- type Account
- func (a Account) Address() (addr common.Address)
- func (a Account) CallOpts() *bind.CallOpts
- func (a Account) CallOptsContext(ctx context.Context) *bind.CallOpts
- func (a Account) MarshalJSON() ([]byte, error)
- func (a *Account) SetAddress(addr common.Address)
- func (a *Account) SetSigner(signer *Signer)
- func (a *Account) SetSignerFromPrivateKey(privateKey string) (err error)
- func (a *Account) Signer() *Signer
- func (a *Account) TransactOpts(chainID *big.Int) (*bind.TransactOpts, error)
- func (a *Account) TransactOptsContext(ctx context.Context, chainID *big.Int) (*bind.TransactOpts, error)
- func (a *Account) UnmarshalJSON(data []byte) error
- type Signer
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 NewAccount ¶
func NewAccount() *Account
func NewAccountFromPrivateKey ¶
func NewAccountFromPrivateKey(privateKey *ecdsa.PrivateKey) *Account
func NewAccountFromSigner ¶
func NewAccountWithAddress ¶
func (Account) CallOptsContext ¶
func (Account) MarshalJSON ¶
func (*Account) SetAddress ¶
func (*Account) SetSignerFromPrivateKey ¶
func (*Account) TransactOpts ¶
func (*Account) TransactOptsContext ¶
func (*Account) UnmarshalJSON ¶
type Signer ¶
type Signer struct {
// contains filtered or unexported fields
}
func NewSignerFromPrivateKey ¶
func NewSignerFromPrivateKey(privateKey *ecdsa.PrivateKey) *Signer
func (Signer) MarshalJSON ¶
func (*Signer) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.