Documentation ¶
Index ¶
- func CheckAuditorDB(network *integration.Infrastructure, tmsID token.TMSID, auditorID string, ...)
- func CheckBalance(network *integration.Infrastructure, id string, wallet string, typ string, ...)
- func CheckBalanceAndHolding(network *integration.Infrastructure, id string, wallet string, typ string, ...)
- func CheckBalanceWithLocked(network *integration.Infrastructure, id string, wallet string, typ string, ...)
- func CheckBalanceWithLockedAndHolding(network *integration.Infrastructure, id string, wallet string, typ string, ...)
- func CheckHolding(network *integration.Infrastructure, id string, wallet string, typ string, ...)
- func CheckIfExistsInVault(network *integration.Infrastructure, tmsID token.TMSID, id string, ...)
- func CheckOwnerDB(network *integration.Infrastructure, tmsID token.TMSID, ...)
- func CheckPublicParams(network *integration.Infrastructure, tmsID token.TMSID, ids ...string)
- func HTLCCheckExistenceReceivedExpiredByHash(network *integration.Infrastructure, id string, wallet string, hash []byte, ...)
- func HTLCLock(network *integration.Infrastructure, tmsID token.TMSID, id string, ...) (string, []byte, []byte)
- func HTLCNoCrossClaimTopology(tokenSDKDriver string) []api.Topology
- func HTLCNoCrossClaimWithOrionTopology(tokenSDKDriver string) []api.Topology
- func HTLCReclaimAll(network *integration.Infrastructure, id string, wallet string, ...)
- func HTLCReclaimByHash(network *integration.Infrastructure, id string, wallet string, hash []byte, ...)
- func HTLCSingleFabricNetworkTopology(tokenSDKDriver string) []api.Topology
- func HTLCSingleOrionNetworkTopology(tokenSDKDriver string) []api.Topology
- func HTLCTwoFabricNetworksTopology(tokenSDKDriver string) []api.Topology
- func IssueCash(network *integration.Infrastructure, wallet string, typ string, amount uint64, ...) string
- func IssueCashWithTMS(network *integration.Infrastructure, tmsID token.TMSID, issuer string, ...) string
- func ListIssuerHistory(network *integration.Infrastructure, wallet string, typ string) *token2.IssuedTokens
- func ListVaultUnspentTokens(network *integration.Infrastructure, tmsID token.TMSID, id string) []*token2.ID
- func PruneInvalidUnspentTokens(network *integration.Infrastructure, tmsID token.TMSID, ids ...string)
- func RegisterAuditor(network *integration.Infrastructure, opts ...token.ServiceOption)
- func Restart(network *integration.Infrastructure, ids ...string)
- func TestFastExchange(network *integration.Infrastructure)
- func TestHTLCNoCrossClaimTwoNetworks(network *integration.Infrastructure)
- func TestHTLCSingleNetwork(network *integration.Infrastructure)
- func TestHTLCTwoNetworks(network *integration.Infrastructure)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckAuditorDB ¶
func CheckAuditorDB(network *integration.Infrastructure, tmsID token.TMSID, auditorID string, walletID string, errorCheck func([]string) error)
func CheckBalance ¶
func CheckBalance(network *integration.Infrastructure, id string, wallet string, typ string, expected uint64, opts ...token.ServiceOption)
func CheckBalanceAndHolding ¶
func CheckBalanceAndHolding(network *integration.Infrastructure, id string, wallet string, typ string, expected uint64, opts ...token.ServiceOption)
func CheckBalanceWithLocked ¶
func CheckBalanceWithLocked(network *integration.Infrastructure, id string, wallet string, typ string, expected uint64, expectedLocked uint64, expectedExpired uint64, opts ...token.ServiceOption)
func CheckBalanceWithLockedAndHolding ¶
func CheckBalanceWithLockedAndHolding(network *integration.Infrastructure, id string, wallet string, typ string, expectedBalance uint64, expectedLocked uint64, expectedExpired uint64, expectedHolding int64, opts ...token.ServiceOption)
func CheckHolding ¶
func CheckHolding(network *integration.Infrastructure, id string, wallet string, typ string, expected int64, opts ...token.ServiceOption)
func CheckIfExistsInVault ¶
func CheckIfExistsInVault(network *integration.Infrastructure, tmsID token.TMSID, id string, tokenIDs []*token2.ID)
func CheckOwnerDB ¶
func CheckOwnerDB(network *integration.Infrastructure, tmsID token.TMSID, expectedErrors []string, ids ...string)
func CheckPublicParams ¶
func CheckPublicParams(network *integration.Infrastructure, tmsID token.TMSID, ids ...string)
func HTLCCheckExistenceReceivedExpiredByHash ¶ added in v0.3.0
func HTLCCheckExistenceReceivedExpiredByHash(network *integration.Infrastructure, id string, wallet string, hash []byte, exists bool, errorMsgs ...string)
func HTLCReclaimAll ¶ added in v0.3.0
func HTLCReclaimAll(network *integration.Infrastructure, id string, wallet string, errorMsgs ...string)
func HTLCReclaimByHash ¶ added in v0.3.0
func HTLCReclaimByHash(network *integration.Infrastructure, id string, wallet string, hash []byte, errorMsgs ...string)
func IssueCash ¶
func IssueCash(network *integration.Infrastructure, wallet string, typ string, amount uint64, receiver string) string
func IssueCashWithTMS ¶
func IssueCashWithTMS(network *integration.Infrastructure, tmsID token.TMSID, issuer string, wallet string, typ string, amount uint64, receiver string) string
func ListIssuerHistory ¶
func ListIssuerHistory(network *integration.Infrastructure, wallet string, typ string) *token2.IssuedTokens
func ListVaultUnspentTokens ¶
func ListVaultUnspentTokens(network *integration.Infrastructure, tmsID token.TMSID, id string) []*token2.ID
func PruneInvalidUnspentTokens ¶
func PruneInvalidUnspentTokens(network *integration.Infrastructure, tmsID token.TMSID, ids ...string)
func RegisterAuditor ¶
func RegisterAuditor(network *integration.Infrastructure, opts ...token.ServiceOption)
func Restart ¶
func Restart(network *integration.Infrastructure, ids ...string)
func TestFastExchange ¶
func TestFastExchange(network *integration.Infrastructure)
func TestHTLCNoCrossClaimTwoNetworks ¶
func TestHTLCNoCrossClaimTwoNetworks(network *integration.Infrastructure)
func TestHTLCSingleNetwork ¶
func TestHTLCSingleNetwork(network *integration.Infrastructure)
func TestHTLCTwoNetworks ¶
func TestHTLCTwoNetworks(network *integration.Infrastructure)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.