Documentation
¶
Index ¶
- func BroadcastBlobMessage(t *testing.T, client *resty.Client) (*fftypes.Data, *resty.Response, error)
- func BroadcastMessage(client *resty.Client, data *fftypes.DataRefOrValue, confirm bool) (*resty.Response, error)
- func BurnTokens(t *testing.T, client *resty.Client, burn *fftypes.TokenTransferInput, ...) *fftypes.TokenTransfer
- func CleanupExistingSubscription(t *testing.T, client *resty.Client, namespace, name string)
- func CreateBlob(t *testing.T, client *resty.Client, dt *fftypes.DatatypeRef) *fftypes.Data
- func CreateContractSubscription(t *testing.T, client *resty.Client, event *fftypes.FFIEvent, ...) *fftypes.ContractSubscription
- func CreateDatatype(t *testing.T, client *resty.Client, datatype *fftypes.Datatype, confirm bool) *fftypes.Datatype
- func CreateFFI(t *testing.T, client *resty.Client, ffi *fftypes.FFI) (interface{}, error)
- func CreateSubscription(t *testing.T, client *resty.Client, input interface{}, expectedStatus int) *fftypes.Subscription
- func CreateTokenPool(t *testing.T, client *resty.Client, pool *fftypes.TokenPool, confirm bool) *fftypes.TokenPool
- func DeleteContractSubscription(t *testing.T, client *resty.Client, id *fftypes.UUID)
- func DeleteSubscription(t *testing.T, client *resty.Client, id *fftypes.UUID)
- func GetBlob(t *testing.T, client *resty.Client, data *fftypes.Data, expectedStatus int) []byte
- func GetBlockchainEvent(t *testing.T, client *resty.Client, eventID string) (interface{}, error)
- func GetContractEvents(t *testing.T, client *resty.Client, startTime time.Time, ...) (events []*fftypes.BlockchainEvent)
- func GetContractSubscriptions(t *testing.T, client *resty.Client, startTime time.Time) (subs []*fftypes.ContractSubscription)
- func GetData(t *testing.T, client *resty.Client, startTime time.Time, expectedStatus int) (data []*fftypes.Data)
- func GetDataForMessage(t *testing.T, client *resty.Client, startTime time.Time, ...) (data []*fftypes.Data)
- func GetEvent(t *testing.T, client *resty.Client, eventID string) (interface{}, error)
- func GetMemberHostname(filename string, n int) (string, error)
- func GetMemberPort(filename string, n int) (int, error)
- func GetMessages(t *testing.T, client *resty.Client, startTime time.Time, ...) (msgs []*fftypes.Message)
- func GetNamespaces(client *resty.Client) (*resty.Response, error)
- func GetOrgs(t *testing.T, client *resty.Client, expectedStatus int) (orgs []*fftypes.Organization)
- func GetTokenAccountPools(t *testing.T, client *resty.Client, identity string) (pools []*fftypes.TokenAccountPool)
- func GetTokenAccounts(t *testing.T, client *resty.Client, poolID *fftypes.UUID) (accounts []*fftypes.TokenAccount)
- func GetTokenBalance(t *testing.T, client *resty.Client, poolID *fftypes.UUID, ...) (account *fftypes.TokenBalance)
- func GetTokenPools(t *testing.T, client *resty.Client, startTime time.Time) (pools []*fftypes.TokenPool)
- func GetTokenTransfers(t *testing.T, client *resty.Client, poolID *fftypes.UUID) (transfers []*fftypes.TokenTransfer)
- func InvokeContractMethod(t *testing.T, client *resty.Client, req *fftypes.ContractCallRequest) (interface{}, error)
- func InvokeFFIMethod(t *testing.T, client *resty.Client, interfaceID, methodName string, ...) (interface{}, error)
- func MintTokens(t *testing.T, client *resty.Client, mint *fftypes.TokenTransferInput, ...) *fftypes.TokenTransfer
- func NewResty(t *testing.T) *resty.Client
- func PrivateBlobMessageDatatypeTagged(t *testing.T, client *resty.Client, orgNames []string) (*fftypes.Data, *resty.Response, error)
- func PrivateMessage(t *testing.T, client *resty.Client, data *fftypes.DataRefOrValue, ...) (*resty.Response, error)
- func QueryContractMethod(t *testing.T, client *resty.Client, req *fftypes.ContractCallRequest) (interface{}, error)
- func QueryFFIMethod(t *testing.T, client *resty.Client, interfaceID, methodName string, ...) (interface{}, error)
- func RequestReply(t *testing.T, client *resty.Client, data *fftypes.DataRefOrValue, ...) *fftypes.MessageInOut
- func TransferTokens(t *testing.T, client *resty.Client, transfer *fftypes.TokenTransferInput, ...) *fftypes.TokenTransfer
- type Member
- type Stack
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BroadcastBlobMessage ¶
func BroadcastMessage ¶
func BroadcastMessage(client *resty.Client, data *fftypes.DataRefOrValue, confirm bool) (*resty.Response, error)
func BurnTokens ¶
func BurnTokens(t *testing.T, client *resty.Client, burn *fftypes.TokenTransferInput, confirm bool) *fftypes.TokenTransfer
func CreateBlob ¶
func CreateContractSubscription ¶ added in v0.12.0
func CreateContractSubscription(t *testing.T, client *resty.Client, event *fftypes.FFIEvent, location *fftypes.JSONObject) *fftypes.ContractSubscription
func CreateDatatype ¶ added in v0.11.0
func CreateSubscription ¶
func CreateSubscription(t *testing.T, client *resty.Client, input interface{}, expectedStatus int) *fftypes.Subscription
func CreateTokenPool ¶
func DeleteContractSubscription ¶ added in v0.12.0
func DeleteSubscription ¶
func GetBlockchainEvent ¶ added in v0.12.0
func GetContractEvents ¶ added in v0.12.0
func GetContractSubscriptions ¶ added in v0.12.0
func GetDataForMessage ¶ added in v0.11.0
func GetMessages ¶
func GetNamespaces ¶
func GetNamespaces(client *resty.Client) (*resty.Response, error)
func GetOrgs ¶
func GetOrgs(t *testing.T, client *resty.Client, expectedStatus int) (orgs []*fftypes.Organization)
func GetTokenAccountPools ¶ added in v0.11.5
func GetTokenAccountPools(t *testing.T, client *resty.Client, identity string) (pools []*fftypes.TokenAccountPool)
func GetTokenAccounts ¶ added in v0.11.5
func GetTokenBalance ¶ added in v0.11.0
func GetTokenPools ¶
func GetTokenTransfers ¶
func InvokeContractMethod ¶ added in v0.12.0
func InvokeContractMethod(t *testing.T, client *resty.Client, req *fftypes.ContractCallRequest) (interface{}, error)
func InvokeFFIMethod ¶ added in v0.12.0
func MintTokens ¶
func MintTokens(t *testing.T, client *resty.Client, mint *fftypes.TokenTransferInput, confirm bool) *fftypes.TokenTransfer
func PrivateMessage ¶
func PrivateMessage(t *testing.T, client *resty.Client, data *fftypes.DataRefOrValue, orgNames []string, tag string, txType fftypes.TransactionType, confirm bool) (*resty.Response, error)
func QueryContractMethod ¶ added in v0.12.0
func QueryContractMethod(t *testing.T, client *resty.Client, req *fftypes.ContractCallRequest) (interface{}, error)
func QueryFFIMethod ¶ added in v0.12.0
func RequestReply ¶
func RequestReply(t *testing.T, client *resty.Client, data *fftypes.DataRefOrValue, orgNames []string, tag string, txType fftypes.TransactionType) *fftypes.MessageInOut
func TransferTokens ¶
func TransferTokens(t *testing.T, client *resty.Client, transfer *fftypes.TokenTransferInput, confirm bool) *fftypes.TokenTransfer
Types ¶
type Member ¶
type Member struct {
ExposedFireflyPort int `json:"exposedFireflyPort,omitempty"`
FireflyHostname string `json:"fireflyHostname,omitempty"`
Username string `json:"username,omitempty"`
Password string `json:"password,omitempty"`
UseHTTPS bool `json:"useHttps,omitempty"`
ExposedConnectorPort int `json:"exposedConnectorPort,omitempty"`
OrgName string `json:"orgName,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.