Versions in this module Expand all Collapse all v0 v0.6.5 Oct 7, 2019 Changes in this version + type Backend interface + BalanceAt func(ctx context.Context, address common.Address, blockNum *big.Int) (*big.Int, error) + DecryptPayload func(ctx context.Context, tx *types.Transaction) ([]byte, error) + GetSenderPublicKey func(t *types.Transaction) (*ecdsa.PublicKey, error) + NewKeyedTransactor func(key *ecdsa.PrivateKey) *bind.TransactOpts + func NewHandleNonceBackend(inner Backend, handleAddresses []common.Address) Backend + type HandleNonceBackend struct + func (b *HandleNonceBackend) BalanceAt(ctx context.Context, address common.Address, blockNum *big.Int) (*big.Int, error) + func (b *HandleNonceBackend) CallContract(ctx context.Context, call ethereum.CallMsg, blockNumber *big.Int) ([]byte, error) + func (b *HandleNonceBackend) CodeAt(ctx context.Context, contract common.Address, blockNumber *big.Int) ([]byte, error) + func (b *HandleNonceBackend) DecryptPayload(ctx context.Context, tx *types.Transaction) ([]byte, error) + func (b *HandleNonceBackend) EstimateGas(ctx context.Context, call ethereum.CallMsg) (usedGas uint64, err error) + func (b *HandleNonceBackend) FilterLogs(ctx context.Context, query ethereum.FilterQuery) ([]types.Log, error) + func (b *HandleNonceBackend) GetSenderPublicKey(t *types.Transaction) (*ecdsa.PublicKey, error) + func (b *HandleNonceBackend) NewKeyedTransactor(key *ecdsa.PrivateKey) *bind.TransactOpts + func (b *HandleNonceBackend) PendingCodeAt(ctx context.Context, account common.Address) ([]byte, error) + func (b *HandleNonceBackend) PendingNonceAt(ctx context.Context, account common.Address) (nonce uint64, err error) + func (b *HandleNonceBackend) SendTransaction(ctx context.Context, tx *types.Transaction) (err error) + func (b *HandleNonceBackend) SubscribeFilterLogs(ctx context.Context, query ethereum.FilterQuery, ch chan<- types.Log) (ethereum.Subscription, error) + func (b *HandleNonceBackend) SuggestGasPrice(ctx context.Context) (*big.Int, error) + func (b *HandleNonceBackend) TransactionByHash(ctx context.Context, txHash common.Hash) (tx *types.Transaction, isPending bool, err error) + func (b *HandleNonceBackend) TransactionReceipt(ctx context.Context, txHash common.Hash) (*types.Receipt, error) + type SimulatedBackendExt struct — darwin/amd64, linux/amd64, windows/amd64 + func NewSimulatedBackendExtended(alloc core.GenesisAlloc, gasLimit uint64) *SimulatedBackendExt + func (b *SimulatedBackendExt) AdjustTime(adjustment time.Duration) error + func (b *SimulatedBackendExt) BalanceAt(ctx context.Context, address common.Address, blockNum *big.Int) (*big.Int, error) + func (b *SimulatedBackendExt) CallContract(ctx context.Context, call ethereum.CallMsg, blockNumber *big.Int) ([]byte, error) + func (b *SimulatedBackendExt) CodeAt(ctx context.Context, contract common.Address, blockNumber *big.Int) ([]byte, error) + func (b *SimulatedBackendExt) Commit() + func (b *SimulatedBackendExt) DecryptPayload(ctx context.Context, tx *types.Transaction) ([]byte, error) + func (b *SimulatedBackendExt) EstimateGas(ctx context.Context, call ethereum.CallMsg) (usedGas uint64, err error) + func (b *SimulatedBackendExt) FilterLogs(ctx context.Context, query ethereum.FilterQuery) ([]types.Log, error) + func (b *SimulatedBackendExt) GetSenderPublicKey(t *types.Transaction) (*ecdsa.PublicKey, error) + func (b *SimulatedBackendExt) NewKeyedTransactor(key *ecdsa.PrivateKey) *bind.TransactOpts + func (b *SimulatedBackendExt) PendingCodeAt(ctx context.Context, account common.Address) ([]byte, error) + func (b *SimulatedBackendExt) PendingNonceAt(ctx context.Context, account common.Address) (uint64, error) + func (b *SimulatedBackendExt) Rollback() + func (b *SimulatedBackendExt) SendTransaction(ctx context.Context, tx *types.Transaction) error + func (b *SimulatedBackendExt) SubscribeFilterLogs(ctx context.Context, query ethereum.FilterQuery, ch chan<- types.Log) (ethereum.Subscription, error) + func (b *SimulatedBackendExt) SuggestGasPrice(ctx context.Context) (*big.Int, error) + func (b *SimulatedBackendExt) TransactionByHash(ctx context.Context, txHash common.Hash) (tx *types.Transaction, isPending bool, err error) + func (b *SimulatedBackendExt) TransactionReceipt(ctx context.Context, txHash common.Hash) (*types.Receipt, error) + type Transaction types.Transaction + func (t *Transaction) GetSenderPublicKey() (*ecdsa.PublicKey, error)