Versions in this module Expand all Collapse all v1 v1.1.3 Feb 13, 2020 Changes in this version + type SimulatedBackend struct + func NewSimulatedBackend(alloc types.GenesisAlloc, gasLimit uint64) *SimulatedBackend + func (b *SimulatedBackend) AdjustTime(adjustment time.Duration) error + func (b *SimulatedBackend) BalanceAt(ctx context.Context, contract common.Address, blockNumber *big.Int) (*big.Int, error) + func (b *SimulatedBackend) CallContract(ctx context.Context, call truechain.CallMsg, blockNumber *big.Int) ([]byte, error) + func (b *SimulatedBackend) CodeAt(ctx context.Context, contract common.Address, blockNumber *big.Int) ([]byte, error) + func (b *SimulatedBackend) Commit() + func (b *SimulatedBackend) EstimateGas(ctx context.Context, call truechain.CallMsg) (uint64, error) + func (b *SimulatedBackend) FilterLogs(ctx context.Context, query truechain.FilterQuery) ([]types.Log, error) + func (b *SimulatedBackend) NonceAt(ctx context.Context, contract common.Address, blockNumber *big.Int) (uint64, error) + func (b *SimulatedBackend) PendingCallContract(ctx context.Context, call truechain.CallMsg) ([]byte, error) + func (b *SimulatedBackend) PendingCodeAt(ctx context.Context, contract common.Address) ([]byte, error) + func (b *SimulatedBackend) PendingNonceAt(ctx context.Context, account common.Address) (uint64, error) + func (b *SimulatedBackend) Rollback() + func (b *SimulatedBackend) SendTransaction(ctx context.Context, tx *types.Transaction) error + func (b *SimulatedBackend) StorageAt(ctx context.Context, contract common.Address, key common.Hash, ...) ([]byte, error) + func (b *SimulatedBackend) SubscribeFilterLogs(ctx context.Context, query truechain.FilterQuery, ch chan<- types.Log) (truechain.Subscription, error) + func (b *SimulatedBackend) SuggestGasPrice(ctx context.Context) (*big.Int, error) + func (b *SimulatedBackend) TransactionReceipt(ctx context.Context, txHash common.Hash) (*types.Receipt, error)