hedera_node_client

package
v0.1.0-alpha-10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockHederaNodeClient

type MockHederaNodeClient struct {
	mock.Mock
}

func (*MockHederaNodeClient) GetClient

func (m *MockHederaNodeClient) GetClient() *hedera.Client

func (*MockHederaNodeClient) SubmitScheduleSign

func (m *MockHederaNodeClient) SubmitScheduleSign(scheduleID hedera.ScheduleID) (*hedera.TransactionResponse, error)

func (*MockHederaNodeClient) SubmitScheduledHbarTransferTransaction

func (m *MockHederaNodeClient) SubmitScheduledHbarTransferTransaction(
	transfers []transfer.Hedera,
	payerAccountID hedera.AccountID,
	memo string) (*hedera.TransactionResponse, error)

func (*MockHederaNodeClient) SubmitScheduledTokenBurnTransaction

func (m *MockHederaNodeClient) SubmitScheduledTokenBurnTransaction(id hedera.TokenID, amount int64, account hedera.AccountID, memo string) (*hedera.TransactionResponse, error)

func (*MockHederaNodeClient) SubmitScheduledTokenMintTransaction

func (m *MockHederaNodeClient) SubmitScheduledTokenMintTransaction(tokenID hedera.TokenID, amount int64, payerAccountID hedera.AccountID, memo string) (*hedera.TransactionResponse, error)

func (*MockHederaNodeClient) SubmitScheduledTokenTransferTransaction

func (m *MockHederaNodeClient) SubmitScheduledTokenTransferTransaction(
	tokenID hedera.TokenID,
	transfers []transfer.Hedera,
	payerAccountID hedera.AccountID,
	memo string) (*hedera.TransactionResponse, error)

func (*MockHederaNodeClient) SubmitTopicConsensusMessage

func (m *MockHederaNodeClient) SubmitTopicConsensusMessage(topicId hedera.TopicID, message []byte) (*hedera.TransactionID, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL