Documentation ¶
Index ¶
- type Gateway
- func (_m *Gateway) ExecuteScript(_a0 []byte, _a1 []cadence.Value) (cadence.Value, error)
- func (_m *Gateway) GetAccount(_a0 flow.Address) (*flow.Account, error)
- func (_m *Gateway) GetBlockByHeight(_a0 uint64) (*flow.Block, error)
- func (_m *Gateway) GetBlockByID(_a0 flow.Identifier) (*flow.Block, error)
- func (_m *Gateway) GetCollection(_a0 flow.Identifier) (*flow.Collection, error)
- func (_m *Gateway) GetEvents(_a0 string, _a1 uint64, _a2 uint64) ([]flow.BlockEvents, error)
- func (_m *Gateway) GetLatestBlock() (*flow.Block, error)
- func (_m *Gateway) GetLatestProtocolStateSnapshot() ([]byte, error)
- func (_m *Gateway) GetTransaction(_a0 flow.Identifier) (*flow.Transaction, error)
- func (_m *Gateway) GetTransactionResult(_a0 *flow.Transaction, _a1 bool) (*flow.TransactionResult, error)
- func (_m *Gateway) Ping() error
- func (_m *Gateway) SecureConnection() bool
- func (_m *Gateway) SendSignedTransaction(_a0 *flowkit.Transaction) (*flow.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gateway ¶
Gateway is an autogenerated mock type for the Gateway type
func NewGateway ¶ added in v0.36.0
NewGateway creates a new instance of Gateway. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*Gateway) ExecuteScript ¶
ExecuteScript provides a mock function with given fields: _a0, _a1
func (*Gateway) GetAccount ¶
GetAccount provides a mock function with given fields: _a0
func (*Gateway) GetBlockByHeight ¶
GetBlockByHeight provides a mock function with given fields: _a0
func (*Gateway) GetBlockByID ¶
GetBlockByID provides a mock function with given fields: _a0
func (*Gateway) GetCollection ¶
func (_m *Gateway) GetCollection(_a0 flow.Identifier) (*flow.Collection, error)
GetCollection provides a mock function with given fields: _a0
func (*Gateway) GetLatestBlock ¶
GetLatestBlock provides a mock function with given fields:
func (*Gateway) GetLatestProtocolStateSnapshot ¶ added in v0.30.3
GetLatestProtocolStateSnapshot provides a mock function with given fields:
func (*Gateway) GetTransaction ¶
func (_m *Gateway) GetTransaction(_a0 flow.Identifier) (*flow.Transaction, error)
GetTransaction provides a mock function with given fields: _a0
func (*Gateway) GetTransactionResult ¶
func (_m *Gateway) GetTransactionResult(_a0 *flow.Transaction, _a1 bool) (*flow.TransactionResult, error)
GetTransactionResult provides a mock function with given fields: _a0, _a1
func (*Gateway) SecureConnection ¶ added in v0.30.3
SecureConnection provides a mock function with given fields:
func (*Gateway) SendSignedTransaction ¶
func (_m *Gateway) SendSignedTransaction(_a0 *flowkit.Transaction) (*flow.Transaction, error)
SendSignedTransaction provides a mock function with given fields: _a0