MCPcopy
hub / github.com/the-open-agent/openagent / ChainClientInterface

Interface ChainClientInterface

chain/client.go:19–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17import "fmt"
18
19type ChainClientInterface interface {
20 Commit(data string, lang string) (string, string, string, error)
21 Query(txId string, data string, lang string) (string, error)
22}
23
24func NewChainClient(providerType string, clientId string, clientSecret string, region string, networkId string, chainId string, endponit string, text string, UserKey string, UserCert string, SignKey string, SignCert string, ContractName string, ContractMethod string, lang string) (ChainClientInterface, error) {
25 var res ChainClientInterface

Callers 15

AddRecordsFunction · 0.65
DeleteCommentFunction · 0.65
DeleteStoreFunction · 0.65
CommitRecordFunction · 0.65
CommitRecordSecondFunction · 0.65
DeleteIssueFunction · 0.65
ChatWebhookVerifyMethod · 0.65
FilterQueryFunction · 0.65
fetchWebSearchAPIFunction · 0.65
fetchWebSearchHTMLFunction · 0.65
decodeDuckDuckGoURLFunction · 0.65

Implementers 4

EthereumClientchain/ethereum.go
ChainTencentChainmakerDemoClientchain/chainmaker_tencent_demo.go
ChainTencentChainmakerClientchain/chainmaker_tencent.go
ChainChainmakerClientchain/chainmaker.go

Calls

no outgoing calls

Tested by

no test coverage detected