 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- func FetchSupplyCommitRPC(t *testing.T, ctx context.Context, client unirpc.UniverseClient, ...) *unirpc.FetchSupplyCommitResponse
- func ListAssetsRPC(t *testing.T, ctx context.Context, client taprpc.TaprootAssetsClient, ...) *taprpc.ListAssetResponse
- func ListBalancesRPC(t *testing.T, ctx context.Context, client taprpc.TaprootAssetsClient, ...) *taprpc.ListBalancesResponse
- func ListUtxosRPC(t *testing.T, ctx context.Context, client taprpc.TaprootAssetsClient, ...) *taprpc.ListUtxosResponse
- func NewAddrRPC(t *testing.T, ctx context.Context, client taprpc.TaprootAssetsClient, ...) *taprpc.Addr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchSupplyCommitRPC ¶
func FetchSupplyCommitRPC(t *testing.T, ctx context.Context, client unirpc.UniverseClient, assertPredicate func(*unirpc.FetchSupplyCommitResponse) error, req *unirpc.FetchSupplyCommitRequest) *unirpc.FetchSupplyCommitResponse
FetchSupplyCommitRPC calls the FetchSupplyCommit RPC and asserts that the returned response matches the given predicate. If the predicate is nil, only basic checks are performed (non-nil response).
If the assertion fails, the test is failed.
func ListAssetsRPC ¶
func ListAssetsRPC(t *testing.T, ctx context.Context, client taprpc.TaprootAssetsClient, assertPredicate func(*taprpc.ListAssetResponse) error, req *taprpc.ListAssetRequest) *taprpc.ListAssetResponse
ListAssetsRPC calls ListAssets RPC with the given request until the given assertion predicate returns no error or the timeout is reached. If the predicate is nil, only basic checks are performed (non-nil response).
If the assertion fails, the test is failed.
func ListBalancesRPC ¶
func ListBalancesRPC(t *testing.T, ctx context.Context, client taprpc.TaprootAssetsClient, assertPredicate func(*taprpc.ListBalancesResponse) error, req *taprpc.ListBalancesRequest) *taprpc.ListBalancesResponse
ListBalancesRPC calls ListBalances RPC with the given request until the given assertion predicate returns no error or the timeout is reached. If the predicate is nil, only basic checks are performed (non-nil response).
If the assertion fails, the test is failed.
func ListUtxosRPC ¶
func ListUtxosRPC(t *testing.T, ctx context.Context, client taprpc.TaprootAssetsClient, assertPredicate func(*taprpc.ListUtxosResponse) error, req *taprpc.ListUtxosRequest) *taprpc.ListUtxosResponse
ListUtxosRPC calls ListUtxos RPC with the given request until the given assertion predicate returns no error or the timeout is reached. If the predicate is nil, only basic checks are performed (non-nil response).
If the assertion fails, the test is failed.
func NewAddrRPC ¶
func NewAddrRPC(t *testing.T, ctx context.Context, client taprpc.TaprootAssetsClient, assertPredicate func(*taprpc.Addr) error, req *taprpc.NewAddrRequest) *taprpc.Addr
NewAddrRPC calls the NewAddr RPC and asserts that the returned address matches the given predicate. If the predicate is nil, only basic checks are performed (non-nil response).
If the assertion fails, the test is failed.
Types ¶
This section is empty.